SX200is Porting - page 5 - DryOS Development - CHDK Forum

SX200is Porting

  • 1105 Replies
  • 542727 Views
*

Offline Darkness

  • **
  • 72
  • SX200IS 100D
Re: SX200is Porting
« Reply #40 on: 22 / August / 2009, 09:13:12 »
Advertisements
Darkness, just to add to your reading, the attached may help you.
It's the loader directory contents (I used the ixus980_sd990-100e as a base) that I used for the dump of 100C.
Don't forget you need to encode the PS.Fi2 file.
OK, I set up my environment (Windows 7 RC).

I didn't know where to put the ixus980_sd990 folder but I put it under
D:\CHDK\src\branches\grand\loader\ixus980_sd990
and I am able to compile it (by just typing gmake).

Now how do I use this main.bin file exactly? And what is that about PS.Fi2, this is new to me...
Could you give a few instructions? It seems to me that a lot of information is scattered everywhere.
SX200IS 100D

*

Offline OldGit

  • ****
  • 303
Re: SX200is Porting
« Reply #41 on: 22 / August / 2009, 09:36:57 »
Darkness,
yes all info is well scattered, fun isn't it ?.
the PS.Fi2 encoding as I understand it adds the "key validation" to the output file.
Look at Fi2.inc.txt in the platform directory, you will need the keys, these are NOT posted anywhere due to copyright etc.
If you search the posts on this forum you will find details of how to find the keys, you need the "d4" setting.
The main.c I posted is where all the work is done for blinking, once you have the keys and select the PS.Fi2 option you can use the Firmware Update option on the Camera to try things out.
To get you started I have attached the compiled files ready encoded for the SX200.
Have fun, OldGit
SX200 IS-100C

*

Offline Darkness

  • **
  • 72
  • SX200IS 100D
Re: SX200is Porting
« Reply #42 on: 22 / August / 2009, 10:02:59 »
Thanks OldGit,

If I put the PS.Fi2 file and my compiled main.bin on the card it seems to work.

If I update the firmware in the menu, the focus led starts blinking!
Now I only need to get my circuit together and try to find the correct timing. Don't have a scope  ???

And then, hopefully we can the get 1.00D firmware  :-X

That DISKBOOT.BIN, is that your attempted CHDK port?
If I put that on the card, my camera does not boot up...
SX200IS 100D

*

Offline OldGit

  • ****
  • 303
Re: SX200is Porting
« Reply #43 on: 22 / August / 2009, 10:30:47 »
Drakness
the Firmware Update option uses the PS.Fi2 file, the compile generates the Diskboot.bin as well.
Diskboot.bin would be used to boot with the power button.
This is not working at present. For dumping / blinking just use the PS.Fi2 file.
Your main.bin is also not used in this process.

If you are going to change the timing you will need to understand the main.c file and how it sets up the timing, the copy I posted is setup for 9600 baud.

The posts on blinking the software should provide all the info you need.
Have fun, OldGit
SX200 IS-100C


Re: SX200is Porting
« Reply #44 on: 22 / August / 2009, 16:31:12 »
OK, I located an IR serial dongle for a PC serial port interface (I hope it's sensitive enough for the visible light on the front of the camera and I need to attach it to the camera somehow) and I can run the dumper program posted above via the update firmware on my SX200. Any specifics on how to set up Realterm to capture the data, I assume it's just capture the raw bytes as they are sent. We'll see what I get.
Canon sx200is 100d

Re: SX200is Porting
« Reply #45 on: 22 / August / 2009, 17:10:42 »
The serial IR dongle is a bust, need to switch out the sensor to one that's visible light sensitive I guess. I'll keep at it.
Canon sx200is 100d

*

Offline reyalp

  • ******
  • 14079
Re: SX200is Porting
« Reply #46 on: 22 / August / 2009, 18:02:05 »
I didn't know where to put the ixus980_sd990 folder but I put it under
D:\CHDK\src\branches\grand\loader\ixus980_sd990
and I am able to compile it (by just typing gmake).
If you are really using grands branch you shouldn't be. This is really old. Use the trunk.
Don't forget what the H stands for.

*

Offline OldGit

  • ****
  • 303
Re: SX200is Porting
« Reply #47 on: 23 / August / 2009, 01:02:03 »
Any specifics on how to set up Realterm to capture the data, ....
xevious,
Read the Wiki on dumping the software (For Devs / Porting CHDK), near the bottom of the page you will find details of how to setup Realterm.

Also I stumbled on a thread where reyalp (I think it was) had looked at the sx200 dump and thinks he may have found the problem with diskboot not working on these newer cams. This may open the possibility of udumper being of use.
Sorry I can't seem to find the thread again but it may be worth you doing a search.

Good luck.
OldGit
SX200 IS-100C


*

Offline reyalp

  • ******
  • 14079
Re: SX200is Porting
« Reply #48 on: 23 / August / 2009, 01:26:32 »
Don't forget what the H stands for.

Re: SX200is Porting
« Reply #49 on: 23 / August / 2009, 13:05:58 »
Hi,

got my SX200 yesterday and i'm really interested in this hacking project...
based on the good information of reyalp and OldGit here is the firmware dump for
the 100d SX 200 IS firmware.
You can find it here: http://rapidshare.com/files/270602740/sx200-100d.zip

cya

fyi: firmware was dumped with modified udumper.

 

Related Topics