CHDK for new Canon PowerShot SX200 IS? - page 9 - Feature Requests - CHDK Forum

CHDK for new Canon PowerShot SX200 IS?

  • 141 Replies
  • 85283 Views
Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #80 on: 01 / July / 2009, 04:59:21 »
Advertisements
Would it now also be possible to create a dumper for the IXUS 100 / SD780 ?

Well, we don't know yet if the dumpers I made work, but you can try my attempt at the SX200IS dumper. The LED addresses are probably wrong, but I don't think that should make a difference. Let us know what happens.

*

Offline mx3

  • ****
  • 372
Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #81 on: 01 / July / 2009, 05:06:41 »
Well, we don't know yet if the dumpers I made work, but you can try my attempt at the SX200IS dumper.
do not forget that .fi2 files must be made with corresponding camera ID.
so above links to .fi2 files are not suitable for ixus 100.
any of these diskboot.bin can be used in combination with cardtricks
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #82 on: 01 / July / 2009, 05:22:18 »
Well, we don't know yet if the dumpers I made work, but you can try my attempt at the SX200IS dumper.
do not forget that .fi2 files must be made with corresponding camera ID.
so above links to .fi2 files are not suitable for ixus 100.
any of these diskboot.bin can be used in combination with cardtricks

Absolutely right, sorry. Here's a quick PS.FI2 for the SD780IS:

http://www.mweerden.net/download/udumper_sd780is/PS.FI2

Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #83 on: 01 / July / 2009, 05:27:00 »
Here are my attempts to dumpers for both the D10 and SX200IS. If all goes well these should give a green light and dump the firmware. Let me know if I messed up.

Dumper for D10:
http://www.mweerden.net/download/udumper_d10/PS.FI2
http://www.mweerden.net/download/udumper_d10/DISKBOOT.BIN
http://www.mweerden.net/download/udumper_d10/main.c

Dumper for SX200IS:
http://www.mweerden.net/download/udumper_sx200is/PS.FI2
http://www.mweerden.net/download/udumper_sx200is/DISKBOOT.BIN
http://www.mweerden.net/download/udumper_sx200is/main.c

(For some reason I'm no longer allowed (or at least not given the option) to add attachments to posts.)


I just tried the SX200 dumper, and I'm sad to report that I've had no success so far. I've prepared my card using CardTricks 1.44 and the NewDryOS button, replaced the diskboot.bin with the one you provided, locked the card, turned on the camera, and nothing happened (like I assume it's supposed to). However, even after waiting a few minutes nothing shows up in the empty.dum when using the Strings program. I tried turning on the camera with both the ON/OFF button and the Play button. Also, I copied the ps.fi2 file onto the card, unlocked it, and did the Firm Update from the Play menu. Both the blue and green LEDs light up on the back of the camera, but after a few minutes nothing shows up on the card. Once I thought I had something as notepad showed some gibberish, but the strings program showed nothing and after copying the file to my hard drive it also showed nothing, so it must have been a glitch with notepad. Anyway, thanks for the effort. Is there any way you could make a firmware blinker for the SX200? Or perhaps a version of the SD dumper that would blink an LED while it was writing to the SD card? If there's anything else I can do or if I'm doing something wrong, please let me know.
Cameras: SX200 IS 100c US, S3 IS US

Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #84 on: 01 / July / 2009, 07:00:31 »
Same goes for IXUS 100 IS (just for the record)

Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #85 on: 01 / July / 2009, 08:05:32 »
Here's an different approach (I look for the second firmware address after "BOOTDISK"):

http://www.mweerden.net/download/udumper_alt/sx200is_PS.FI2
http://www.mweerden.net/download/udumper_alt/sd780is_PS.FI2
http://www.mweerden.net/download/udumper_alt/DISKBOOT.BIN
http://www.mweerden.net/download/udumper_alt/main.c

If this doesn't work, then I'm out of "easy" ideas. The only alternative I can think of is to explore the firmware a bit by selectively blinking small parts (very slow blinking can easily be used to manually retrieve small blocks of data) hoping to find something very similar to other firmwares. This method is a bit more elaborate.

Is there any way you could make a firmware blinker for the SX200? Or perhaps a version of the SD dumper that would blink an LED while it was writing to the SD card?

I've no experience with real blinkers, but as far as I understand this requires some tweaking to get the right speed etc. It is probably much easier if the person with the "blinker setup" can compile his/her own images.

Blinking a LED while writing is not possible, I think. We (try to) call a firmware function that does the writing, which means we basically no longer have any control over the camera. It might be possible if one could write small blocks iteratively, but in my experience the firmware function never returns control to our code.

Same goes for IXUS 100 IS (just for the record)

Thanks for letting us know.

Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #86 on: 01 / July / 2009, 08:57:32 »
Is there any way you could make a firmware blinker for the SX200?

Since I do not have a SX200, I cannot do anything directly... If there is some interest (let me know), I can publish a small howto based on the D10. Since it looks it has common points with the SX200, it may be useful.

Anyway, my blinker is quite a hack, and only works on linux (since I use python's alsa module), but it has the advantage that it can be easily adapted...

*

Offline mx3

  • ****
  • 372
Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #87 on: 01 / July / 2009, 09:15:24 »
one more idea about dumping:
it would be nice to find out IO addresses of SD card controller of recent cameras and compare them.
if these addresses are the same it would be worth to make low-level driver which would make all the work with sector reading/writing.
adding some free FAT system driver would not take long...

http://www.larwe.com/zws/products/dosfs/index.html
http://elm-chan.org/fsw/ff/00index_e.html
http://efsl.be/
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #88 on: 01 / July / 2009, 09:51:13 »
Is there any way you could make a firmware blinker for the SX200?

Since I do not have a SX200, I cannot do anything directly... If there is some interest (let me know), I can publish a small howto based on the D10. Since it looks it has common points with the SX200, it may be useful.

Anyway, my blinker is quite a hack, and only works on linux (since I use python's alsa module), but it has the advantage that it can be easily adapted...

I don't know how much documentation is available on this, but I think it is always useful to document the special things you've done so others don't have to reinvent everything.

One thing you could do is try the dumper I made for the D10 and see if you can get that to work. If it won't work it might indicate that WriteSDCard is no longer suitable for dumping (e.g. because it depends on something that isn't initialised yet). Another possibility is that the first parameter has to be something different.

one more idea about dumping:
it would be nice to find out IO addresses of SD card controller of recent cameras and compare them.
if these addresses are the same it would be worth to make low-level driver which would make all the work with sector reading/writing.
adding some free FAT system driver would not take long...

This is something that crossed my mind as well. A very quick (and shallow) look shows 0xCXXXXXXX addresses that are the same and 0x4XXXXXXX addresses that are not. The latter might be not be a problem if it is something you have to pass through via the static addresses first.

Re: CHDK for new Canon PowerShot SX200 IS?
« Reply #89 on: 01 / July / 2009, 15:23:40 »
Hey I got a sx200, too (and linux :).
Am I able to help in some way?

 

Related Topics


SimplePortal © 2008-2014, SimplePortal