SX20 IS firmware dump, I need help! - page 2 - General Discussion and Assistance - CHDK Forum  

SX20 IS firmware dump, I need help!

  • 125 Replies
  • 56368 Views
*

Offline RaduP

  • *****
  • 926
Re: SX20 IS firmware dump, I need help!
« Reply #10 on: 11 / September / 2009, 23:11:01 »
Advertisements
Different cameras have different LED addresses..
You might have to scan the whole memory to find them.

*

Offline jan

  • *
  • 48
  • PowerShot SX20 IS (100f)
    • cms -db
Re: SX20 IS firmware dump, I need help!
« Reply #11 on: 12 / September / 2009, 06:45:00 »
So it is normal that the power LED stays on when using the firm update method?

I could't find any LEDs in the range from 0xC0220000 to 0xC02202FF (where similar cameras had at least some of the LEDs) using the "normal" LED cycling code. Maybe I should search a bit more or try with a modified CHDK loader.

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SX20 IS firmware dump, I need help!
« Reply #12 on: 12 / September / 2009, 06:59:12 »
@jan
You can have a look to the attachement from this post; this is for the SX10, the "old style" way (diskboot method & old encryption)...

*

Offline jan

  • *
  • 48
  • PowerShot SX20 IS (100f)
    • cms -db
Re: SX20 IS firmware dump, I need help!
« Reply #13 on: 12 / September / 2009, 08:16:04 »
@fe50
I looked through your code and have a question about it. In Make.bat some zeros are added to the file, in my version there aren't any zeros added. Maybe my camera doesn't even execute the code, because the file is too small. Or is there an error message displayed in this case?


*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SX20 IS firmware dump, I need help!
« Reply #14 on: 12 / September / 2009, 09:26:58 »
@fe50
I looked through your code and have a question about it. In Make.bat some zeros are added to the file, in my version there aren't any zeros added. Maybe my camera doesn't even execute the code, because the file is too small. Or is there an error message displayed in this case?
Yes and No !

No, you'll never get an error message when the camera runs your code.

If the camera (to be precise: the camera's fw update mechanism/loader) rejects the file, you'll get an error msg from the camera GUI. This happens e.g. when the PID does not fit to the camera's fw.
But if the camera accept & run your code, either your code will be executed - or the camera crashes without any messages...

Yes, the zeros / size is necessary, otherwise the code may not be accepted - LOL, that's CHDK magic, it's written down here in the forum, i think somewhere in the udumper posts...

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SX20 IS firmware dump, I need help!
« Reply #15 on: 12 / September / 2009, 09:42:38 »

*

Offline jan

  • *
  • 48
  • PowerShot SX20 IS (100f)
    • cms -db
Re: SX20 IS firmware dump, I need help!
« Reply #16 on: 12 / September / 2009, 10:19:19 »
How can I get a FI2 file which is bigger, so the camera loads it? When creating one from a 100 KB diskboot.bin the size of PS.FI2 is only 1.8 KB. Can I just append zeros like when creating the diskboot.bin or is it more complicated?

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SX20 IS firmware dump, I need help!
« Reply #17 on: 12 / September / 2009, 10:34:30 »
How can I get a FI2 file which is bigger, so the camera loads it? When creating one from a 100 KB diskboot.bin the size of PS.FI2 is only 1.8 KB. Can I just append zeros like when creating the diskboot.bin or is it more complicated?

yep, from the dryos.bat in udumper source:
Quote
zero | dd bs=1k count=20 >> diskboot.bin
will append 20 * 1k = 20k zeroes to the file (change diskboot.bin to ps.fi2, of course)

hth,
wim


*

Offline jan

  • *
  • 48
  • PowerShot SX20 IS (100f)
    • cms -db
Re: SX20 IS firmware dump, I need help!
« Reply #18 on: 12 / September / 2009, 15:00:42 »
This doesn't work on my camera. When going to firm update in the menu the camera displays "Update File Error!!!".

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SX20 IS firmware dump, I need help!
« Reply #19 on: 12 / September / 2009, 15:09:33 »
This doesn't work on my camera. When going to firm update in the menu the camera displays "Update File Error!!!".
What P-ID do you use ? Should be 31E4 (hex)...if the fw update file is for another camera model (i.e. has another P-ID), the file will be rejected with "Update file error".
You'll get this error msg also when the encoding is wrong (e.g. a wrong fi2 key).

 

Related Topics