the collaborative CHDK build - page 2 - CHDK Releases - CHDK Forum  

the collaborative CHDK build

  • 249 Replies
  • 167323 Views
*

Offline mkmenuts

  • **
  • 61
  • SD700 (1.01b)
Re: the collaborative CHDK build
« Reply #10 on: 03 / July / 2008, 14:09:41 »
Advertisements
Amazin' job everyone, thanks!

Is there any chance the latest video improvments (AF, no sound during zoom) be ported to the SD700?

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: the collaborative CHDK build
« Reply #11 on: 03 / July / 2008, 16:34:54 »
Bg~: ;)

mkmenuts: I don't have the skills to do that. :/ (At least yet. ;) Perhaps ewavr will implement it sooner or later.


By the way, just uploaded new builds (r431).

*

Offline cyril42e

  • ***
  • 111
  • SD1000/Ixus70 1.02a
    • CR-TEKnologies
Re: the collaborative CHDK build
« Reply #12 on: 03 / July / 2008, 22:38:38 »
Is there any chance the latest video improvments (AF, no sound during zoom) be ported to the SD700?

Porting AF during zoom requires doing something like that (here for SD1000):
Code: (diff) [Select]
platform/ixus70_sd1000/sub/102a/stubs_min.S:13
-DEF(movie_status,0xBB550)
+DEF(movie_status,0xBB558)
+DEF(some_flag_for_af_scan, 0xCDB4) // found in _SsPrepareSeq.c__444+0x58, CMP R2,#0 | LDREQ R3,=0xCDB4 | STREQ R2,[R3]
platform/ixus70_sd1000/sub/102a/stubs_entry_2.S:28
+NHSTUB(MakeAFScan, 0xFFB000D0) // _sub_FFB000D0__SsPrepareSeqBase.c__572
+NHSTUB(ExpCtrlTool_StartContiAE, 0xFF96553C) // SetFocusLensDefaultCondition_3
+NHSTUB(ExpCtrlTool_StopContiAE,  0xFF96556C) // SetFocusLensDefaultCondition_5
include/camera.h:372,CAMERA_ixus70_sd1000
+ #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1
 
 //----------------------------------------------------------
 #elif defined (CAMERA_ixus700_sd500)

I had a look for SD700, MakeAFScan was not easy to find as file names change, line numbers change, code change... But I think it is:
Code: [Select]
DEF(some_flag_for_af_scan, 0x6F2E0) // found in _PrepareSeq.c__1056+0x59, CMP R2,#0 | LDREQ R3,=0x6F2E0 | STREQ R2,[R3]
NHSTUB(MakeAFScan, 0xFF95FDEC) // _sub_FF95FDEC__PrepareSeq.c__1280
NHSTUB(ExpCtrlTool_StartContiAE, 0xFF90353C) // SetFocusLensDefaultCondition_3
NHSTUB(ExpCtrlTool_StopContiAE,  0xFF90356C) // SetFocusLensDefaultCondition_5

I compiled a juciphox with AF in video for SD700 101b, can you try it mkmenuts please? Don't forget to set the AF key in Video Parameters menu before.

*

Offline mkmenuts

  • **
  • 61
  • SD700 (1.01b)
Re: the collaborative CHDK build
« Reply #13 on: 04 / July / 2008, 04:38:05 »
Hi cyril42e,

That's what I call a fast response! And the thing works!

The AF is engaged properly when I press "set" during video.

Did you find the mic on/off switch in your travels thru the firmware dump? Is the sound turned off during AF as well as zoom in EWAVR's solution?

Big thanks,

Adam


*

Offline cyril42e

  • ***
  • 111
  • SD1000/Ixus70 1.02a
    • CR-TEKnologies
Re: the collaborative CHDK build
« Reply #14 on: 04 / July / 2008, 06:57:35 »
Did you find the mic on/off switch in your travels thru the firmware dump?

Actually I didn't look for them yet, even on my SD1000, I wasn't monitoring the changesets yet when EWAVR did this improvement for A series. I will try to do that.

Is the sound turned off during AF as well as zoom in EWAVR's solution?
Yes it seems so.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: the collaborative CHDK build
« Reply #15 on: 04 / July / 2008, 13:23:56 »
All A-series cameras uses very similar audiochip types, and functions to turm on/off microphone are the same (can be found using signature search). But SD-, G-, S-series cameras has other audiochips with different control functions. For SD500 I can only turn off microphone, but cannot turn on it back. :(
So, for other cameras I can only point to function which send control data to audiochip. For example for SD700 1.00b this is sub_FF82E2E4 (near "AudioIC.c" string and it uses SendSioDataWithExclusion()). Functions which turn on/off microphone must use this sub_FF82E2E4.

*

Offline cyril42e

  • ***
  • 111
  • SD1000/Ixus70 1.02a
    • CR-TEKnologies
Re: the collaborative CHDK build
« Reply #16 on: 04 / July / 2008, 14:39:11 »
Yes I indeed failed to find the TurnOn/OffMic functions. I tried to find similar instructions pattern with multiline regexp, and also where it's called from and what it calls, but no result...

I've ported AF key to SD1000 1.01b too, but I have not found SD700 1.00b firmware, and SD1000 1.01a firmware is strange: 8MB, named empty.dum, and IDC scripts take forever to run...

So for SD1000 1.01b:
Code: [Select]
DEF(some_flag_for_af_scan, 0xCDB4)
NHSTUB(MakeAFScan, 0xFFB00050)
NHSTUB(ExpCtrlTool_StartContiAE, 0xFF96553C)
NHSTUB(ExpCtrlTool_StopContiAE,  0xFF96556C)

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: the collaborative CHDK build
« Reply #17 on: 13 / July / 2008, 20:00:07 »
latest build can be found here: zSHARE - Free File, Image and Video Hosting

hope i merged everything correctly, compiles fine though :)


*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: the collaborative CHDK build
« Reply #18 on: 14 / July / 2008, 05:00:09 »
(just committed a little something (= updated curve stuff) & compiled)

Attached is a symbol file I use. It's a work in progress. I think most of the symbols were made by Barney Fife.

*

Offline eheil

  • *
  • 12
Re: the collaborative CHDK build
« Reply #19 on: 14 / July / 2008, 20:52:49 »
Holy [admin: avoid swearing please], this is cool, but it seems very flaky on my A570IS. 

While I was fooling around with it, I had the chdk menu suddenly disappear while I was navigating it a couple times; when I enabled the edge mode (which is spifftacular) the text of the chdk menus started going nuts, turning into gibberish, and finally, while this build is loaded I can't seem to use a USB cable to download pics at *all*.  The camera and the computer act like the USB cable's not there.

That's kind of a dealbreaker. :(

Any ideas on what might be causing that?  Something I can disable to prevent it maybe?

I would really like to be able to use this build, especially the nice new scripts available for it, but I do not want to sacrifice my USB-ability.


 

Related Topics