Is anyone working on the SD630/Ixus 65? I can help. - page 2 - General Discussion and Assistance - CHDK Forum supplierdeeply

Is anyone working on the SD630/Ixus 65? I can help.

  • 37 Replies
  • 24448 Views
*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #10 on: 18 / December / 2007, 17:50:56 »
Advertisements
At least, you need to rewrite file capt_seq.c (it made for another camera, a620), in file /platform/generic/main.c uncomment code for replacing CaptSeqTask and in file /platform/ixus65/sub/100a/lib.c check raw file size and its buffer address.

But I tried to do this and insert cail's code into Grand's branch. Whether it is successful, I do not know, but you can try - http://www.zshare.net/download/5731306020f24b/ - sources (incl. truncated primary.bin) and compiled binaries.

Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #11 on: 18 / December / 2007, 18:09:45 »
Thanks for doing that, ewavr. It must be close -- with your version, I can load CHDK properly. I can select "raw" in the menu.

When I take a picture, the camera snaps the shutter and then turns off. Could be an address issue. I will start looking at the code.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #12 on: 18 / December / 2007, 18:26:21 »
If camera shuts down only when shooting raw (and shoots jpeg only correctly), you can try to change PARAM_FILE_COUNTER (in shooting.c) from 0x2F to other value (0x2E?).
« Last Edit: 18 / December / 2007, 18:28:14 by ewavr »

Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #13 on: 18 / December / 2007, 19:56:38 »
Hmm, interesting.

I made the adjustment to PARAM_FILE_COUNTER -- but when I go to compile, I get this error:

--> main.elf
conf.o: In function 'conf_change_alt_mode_button':
conf.c:(.text+0x94): undefined reference to 'kbd_set_alt_mode_key_mask'
collect2: ld returned 1 exit status
C:\CHDK\gcc\bin\gmake[1]: ***[main.elf] Error 1
gmake: *** [all-recursive] Error 1

All other packages compile, except for the IXUS65 package.


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #14 on: 19 / December / 2007, 03:01:54 »
You need  "gmake clean fir" (not "gmake fir") after changing  compilation target. kbd_set_alt_mode_key_mask() function used for s2/s3 only.

Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #15 on: 19 / December / 2007, 07:53:23 »
Rabotayet!!

In shooting.c, changing PARAM_FILE_COUNTER to 0x2E or 0x34 works. (but why?)

Compiled properly with "gmake PLATFORM=ixus65 PLATFORMSUB=100a clean fir"

Thank you for all the help, ewavr! I will upload a file later..

Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #16 on: 19 / December / 2007, 07:56:48 »
I should be clear -- when I say "works", I mean that raw support works. I haven't verified the other functions yet.

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #17 on: 19 / December / 2007, 12:05:06 »
Rabotayet!!

In shooting.c, changing PARAM_FILE_COUNTER to 0x2E or 0x34 works. (but why?)
You should check which of these values returns a correct file number (it uses for RAW-file naming) and stick with it.
CHDK Developer.


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #18 on: 19 / December / 2007, 13:03:46 »
Based on the analysis of firmware, this value must be 0x34.

And in stubs_min.S need to replace wrong addresses to

DEF(zoom_busy, 0x79E20)
DEF(focus_busy, 0x7A13C)
DEF(movie_compression, 0x617C)

And please, test all tables in files /platform/ixus65/main.c and /platform/ixus65/shooting.c
« Last Edit: 19 / December / 2007, 13:21:48 by ewavr »

Re: Is anyone working on the SD630/Ixus 65? I can help.
« Reply #19 on: 19 / December / 2007, 20:42:23 »
I made the suggested changes, recompiled, and uploaded the file here:

http://www.zshare.net/download/57596109d2f646/

I did not test tables. I will test the tables in shooting.c and main.c later this week. For now, most functions seem to work... it would be cool to get builds from other authors...

 

Related Topics