IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread - page 4 - General Discussion and Assistance - CHDK Forum

IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread

  • 678 Replies
  • 274852 Views
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #30 on: 31 / August / 2009, 05:06:52 »
Advertisements
Could you publish the code you where able to dump the 8MB firmware with fopen/fwrite/fflush/fclose? It will be a try for my SD1200IS.

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #31 on: 31 / August / 2009, 10:47:21 »
I think you misunderstand.  My code for dumping came after I already had a version of it and therefore I simply made a certain key in CHDK dump the firmware with those function.....

fopen()
loop from 0xff800000
fwrite(a byte)
next loop
fflush()
fclose()

So if you can find those 4 functions and if the canon camera lets you actually run those at the time in udumper then you can strip out the functions in udumper and add the fwrite loop.

fyi - I have never found a function wr() in my canon fw that actually lets me call it like udumper wants...

Harpo
Canon Models - SD300, SD780, & SX210

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #32 on: 02 / September / 2009, 04:19:39 »
Have a look at http://chdk.setepontos.com/index.php/topic,221.msg3245.html#msg3245 to see what jeff666's writes about the "wr"-function which stands for "WriteSDCard".

Meanwhile I verified, that my SD1200IS finds the signature, but calling the function do nothing. In the attachment you will find my full code compiling it with dryos.bat

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #33 on: 02 / September / 2009, 04:29:28 »
Interesting read.  Explains why I never found a wr function.  However, that said I still have never had any success with udumper.  I blinked it out.

The code you provided looks very similar (exact maybe) with what I tried with udumper but also for me it fails to exit the wr() function.

Harpo
Canon Models - SD300, SD780, & SX210

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #34 on: 04 / September / 2009, 12:18:20 »
Still have my fingers crossed Harpo. Happy that you're still working on the 780. Good luck.

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #35 on: 06 / September / 2009, 00:30:02 »
Anyone have any suggestions for an ALTernate ALT key?  The SD780 lacks a print key and this is the mapping.  Any suggestions?

   { 0, KEY_UP          , 0x00000008 },
   { 0, KEY_DOWN      , 0x00000004 },
   { 0, KEY_LEFT      , 0x00000001 },
   { 0, KEY_RIGHT      , 0x00000002 },


   { 1, KEY_SET      , 0x00004000 },
   { 1, KEY_PLAY      , 0x00080000 },
   { 1, KEY_MENU      , 0x00000800 },

   { 2, KEY_SHOOT_FULL   , 0x00001001 },
   { 2, KEY_SHOOT_HALF   , 0x00000001 },
   { 2, KEY_ZOOM_IN   , 0x00004000 },
   { 2, KEY_ZOOM_OUT   , 0x00002000 },
   { 2, KEY_PRINT      , 0x00000040 }, //doesn't exist
   { 2, KEY_DISPLAY   , 0x00000040 }, //swapped for print atm

I've thought about using display (as seen above) but there are canon menus that use DISP as an access key.   I've thought about using a combo of KEY_SET + KEY_MENU but that pops up the Canon clock which kinda gets annoying.

Maybe KEY_ZOOM_IN/OUT + KEY_DISPLAY?

Thoughts on this?

Thanks,
Harpo
Canon Models - SD300, SD780, & SX210

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #36 on: 06 / September / 2009, 05:18:24 »
I got the German version (aka IXUS 100) with firmware 1.0.0.0. Nothing happens when having PS.FI2 in the root of my SD card.

Is there now an easy way to dump my firmware as well? How can I upgrade?

Doesn't the Wiki miss an entry of a accelerometer in the specifications (pics get rotated when rotating the camera).

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #37 on: 06 / September / 2009, 06:27:10 »
How about shoot-half + set?.  I'm thinking if people have already set up the positioning and framing of their camera, this key combo should do nothing to change it (if they have AEL and AFL set).  I don't recall any functions in the chdk menus that require shoot-half + set.  Zoom+display seems a bit fiddly because you might accidentally change the zoom, which of course disengages AFL and AEL. 

Anyone have any suggestions for an ALTernate ALT key?  The SD780 lacks a print key and this is the mapping.  Any suggestions?

   { 0, KEY_UP          , 0x00000008 },
   { 0, KEY_DOWN      , 0x00000004 },
   { 0, KEY_LEFT      , 0x00000001 },
   { 0, KEY_RIGHT      , 0x00000002 },


   { 1, KEY_SET      , 0x00004000 },
   { 1, KEY_PLAY      , 0x00080000 },
   { 1, KEY_MENU      , 0x00000800 },

   { 2, KEY_SHOOT_FULL   , 0x00001001 },
   { 2, KEY_SHOOT_HALF   , 0x00000001 },
   { 2, KEY_ZOOM_IN   , 0x00004000 },
   { 2, KEY_ZOOM_OUT   , 0x00002000 },
   { 2, KEY_PRINT      , 0x00000040 }, //doesn't exist
   { 2, KEY_DISPLAY   , 0x00000040 }, //swapped for print atm

I've thought about using display (as seen above) but there are canon menus that use DISP as an access key.   I've thought about using a combo of KEY_SET + KEY_MENU but that pops up the Canon clock which kinda gets annoying.

Maybe KEY_ZOOM_IN/OUT + KEY_DISPLAY?

Thoughts on this?

Thanks,
Harpo


*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #38 on: 06 / September / 2009, 08:00:00 »
Maybe long-press MENU ?

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #39 on: 06 / September / 2009, 10:50:12 »
Place the PS.FI2 in the root of the card.  Start with the PLAY button.  Goto menu and select firmware upgrade.  This will load the new PS.FI2 file.

And for the easy dump of FW nope.
And for the missing entry you are correct.  I had forgotten about that (not that I put the specs on there) but it may be an interesting feature avenue in CHDK.

I got the German version (aka IXUS 100) with firmware 1.0.0.0. Nothing happens when having PS.FI2 in the root of my SD card.

Is there now an easy way to dump my firmware as well? How can I upgrade?

Doesn't the Wiki miss an entry of a accelerometer in the specifications (pics get rotated when rotating the camera).
Canon Models - SD300, SD780, & SX210

 

Related Topics


SimplePortal © 2008-2014, SimplePortal