SD940 (IXUS120) porting thread - page 53 - DryOS Development - CHDK Forum

SD940 (IXUS120) porting thread

  • 542 Replies
  • 218016 Views
Re: SD940 (IXUS120) porting thread
« Reply #520 on: 30 / August / 2011, 14:00:49 »
Advertisements
You have to actually start the camera in "Play" mode.   This means you start the camera by pressing the "Play" [>] button on the back of the camera - not the On/Off button on the top of the camera.

Thanks x1000 :) :)

*

Offline rudi

  • ***
  • 129
  • A590IS_101B, SX260HS_100B
Re: SD940 (IXUS120) porting thread
« Reply #521 on: 11 / September / 2011, 09:58:10 »
I'm looking for a full dump from version 102c.

Here's what I have on  my SD940 1.02C port:

Binaries (1.02C):
http://www.zshare.net/download/8383614653354d3f/
This link ist to old and the dump on http://www.box.net/chdk is to small for finsig2.

I think a wrong stubs_entry.S is the bug on CHDK-DE trunk for version 102c.

rudi

Re: SD940 (IXUS120) porting thread
« Reply #522 on: 11 / September / 2011, 10:05:33 »
I think a wrong stubs_entry.S is the bug on CHDK-DE trunk for version 102c.

rudi :  what bug are you seeing ?  and what stubs_entry.S is possibly wrong ?  does it match what's in the international versions - I thought that I checked all of them using the new sigfinder ...

meanwhile,  I'll look and see if I have a better dump of the 1.02c

Update :   here you go  http://www.box.net/shared/uvtjug4ylqsa4c22e5do
« Last Edit: 11 / September / 2011, 10:25:59 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline rudi

  • ***
  • 129
  • A590IS_101B, SX260HS_100B
Re: SD940 (IXUS120) porting thread
« Reply #523 on: 11 / September / 2011, 13:12:19 »
rudi :  what bug are you seeing ?  and what stubs_entry.S is possibly wrong ?  does it match what's in the international versions - I thought that I checked all of them using the new sigfinder ...
At first, thanks a lot for dump. The new sigfinder works fine.

for example (Changeset 800):
Code: [Select]
NSTUB(GetZoomLensCurrentPoint                 ,0xffa3a7a8) //old
NSTUB(GetZoomLensCurrentPoint                 ,0xff93a7a8) //new
  or
DEF(task_MovieRecord                        ,0xffa3d648) //old
DEF(task_MovieRecord                        ,0xff93d648) //new

remark:
I generated with finsig2 new stubs_entry.S files for all DryOS Cams on chdkde-trunk and cleaned-up all related stubs_entry_2.S files (Changeset 763).

rudi

Re: SD940 (IXUS120) porting thread
« Reply #524 on: 11 / September / 2011, 13:22:01 »
remark:
I generated with finsig2 new stubs_entry.S files for all DryOS Cams on chdkde-trunk and cleaned-up all related stubs_entry_2.S files (Changeset 763).

rudi

While you are updating the IXUS120, you might want to look at a patch that I just posted that fixes a major bug affecting all firmware versions of that camera :  http://chdk.setepontos.com/index.php?topic=650.msg73050#msg73050
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SD940 (IXUS120) porting thread
« Reply #525 on: 13 / September / 2011, 20:38:11 »
UPDATE NOTE :   all firmware versions updated on Sept 12 2011 with a major fix in capt_seq.c.    This allows USB remote operation to work properly in "Synch" modes and may fix other random bugs.   There have been quite a few other cleanups that affect the SD940 so a new download for most users is probably in order.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline TomP

  • *
  • 11
Re: SD940 (IXUS120) porting thread
« Reply #526 on: 08 / November / 2011, 15:10:06 »
Hi,

I bought the CAMremote from VP-Systems and a Canon Ixus 120.
I want to automatically trigger the camera using an RC-remote.

Unfortunately it doesn't seem to be working.
When I start the CHDK script from VP-systems (http://vp-systems.eu/download/cr1sdm.bas) The camera freezes a while and crashes a few seconds later (black screen).

Isn't the firmware port stable enough? Could I be doing something wrong?

Thanks,

Tom

Re: SD940 (IXUS120) porting thread
« Reply #527 on: 08 / November / 2011, 15:24:57 »
The port has been pretty stable for almost a year now.  But this script may be exercising somethings new.

Did you enable USB remote in the Canon menus before running the script?  Did you enable any other USB remote options?
Also, what firmware version are you using ?

I'll take a look at the script tonight on my SD940.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline TomP

  • *
  • 11
Re: SD940 (IXUS120) porting thread
« Reply #528 on: 08 / November / 2011, 18:02:11 »
Yes i enabled usb remote. I tried several options.
The firmware version is the B one.

Re: SD940 (IXUS120) porting thread
« Reply #529 on: 08 / November / 2011, 20:04:00 »
When I start the CHDK script from VP-systems (http://vp-systems.eu/download/cr1sdm.bas) The camera freezes a while and crashes a few seconds later (black screen).
Okay, here's the main problem - this script is written for SDM not CHDK.   SDM forked away from CHDK several years ago and created its own version, adding special commands to uBasic (amongst other differences).

For example,  line 10 in the script has the statement :   sync_off.    This is a SDM command but not used in CHDK.  CHDK will shutdown when it hits an unrecognized statement like that.

Having said that,  I think that the set_zoom 0 statement on line 9 should be a valid CHDK uBASIC command but it seems to crash on both my SD940 and G10 cameras.  So the set_zoom code for  CHDK maybe needs to be looked at.

If I comment out the zoom lines and the sync_off line, the script runs and waits for USB pulses.  However,  once it gets one, it still hangs up.  I have not traced further through the code for more SDM only commands.  But with a little work,  it should be possible to trace through those and convert from SDM back to clean CHDK code.
« Last Edit: 08 / November / 2011, 20:31:06 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal