sd200/ixus30 - page 5 - Firmware Dumping - CHDK Forum

sd200/ixus30

  • 60 Replies
  • 32741 Views
*

Offline I30

  • *
  • 2
Re: sd200/ixus30
« Reply #40 on: 27 / July / 2008, 12:19:43 »
Advertisements
One more question about I30.
I was able befor installing original Canon WIA on XP and TWIN and w2k drivers to use the camera and USB cabel as removable flash drive. Now it isn't possible. Is there any solutions?

Re: sd200/ixus30
« Reply #41 on: 28 / July / 2008, 08:45:39 »
Hi,
today I found CHDK, of course not for my Ixus 30
but I downloaded the environment ... and had a look at helping to port CHDK to this CAM
looks like a lot of work and some trial and error

Before I start, is there a high risk to destroy my cam with a buggy CHDK port?
The other question is, are there any experienced users who did already port, maybe to Ixux 50 to help a little?

thanks
best regards
Michael

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: sd200/ixus30
« Reply #42 on: 28 / July / 2008, 12:38:21 »
So you see I failed, but as I said there has to be one small error, maybe only one char that is wrong somewhere and prevents the camera from booting.

I don't think you can that easily destroy your camera with a wrong chdk, if you don't want to,
if you want to, you simply overwrite the whole flash or a part and you're done.
CHDK itself doesn't change the flash at all, only the ram, which is gone after getting the battery out.

Hope you have more luck, if you think you can use anything I did till now with some old trunk, just tell me.
But I don't know that much about it, as I didn't do much recently.

Re: sd200/ixus30
« Reply #43 on: 15 / August / 2008, 12:18:37 »
Hi!

Just some random things i figured out which might be useful:

I had a broken ixus40 and bought a pcb for it on ebay.
The seller messed up his items so he sent me an ixus 30 pcb (mainboard).
Its totally the same board like in the ixus40 except there is one additional oscillator and the main one has a different clockspeed.
I think for the ixus30 ccd they needed a different/second clock source.

Up to then i didn't know it was an ixus30 pcb so i installed in my ixus40.
The results are quite interesting: the cam was working !
But after having a closer look the image was somehow distorted (part of the right part of the image overlays the left side)
I guess because of the different ccd resolution (more pixels)

But this means that the ixus30 Firmware should be the same like the ixus40 except
some differences in the CCD handling routines!
So taking my ixus40 source and modifying the adresses should do the trick!
Maybe some parts of the asm in kbd.c/shooting.c need to be modified as well
but just for the adresses i guess.
So it shouldn't be too hard to port it to the ixus30 ;)


*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: sd200/ixus30
« Reply #44 on: 01 / September / 2008, 12:53:28 »
Thanks for that tip, the addresses of stubs_entry_2.S are really very similar.
I have created a new platform from ixus40 and trunk 495, is that the working version?

boot.c should be ready.
stubs_entry_2.S is also checked

stubs_entry.S has to be checked
**_min.S has to be done
every thing else is not done till now.

I have restarted that port with the new version so I hope everybody can now check the files and do some changes.
If somebody with less experience finds something, he can post it here.
The others will get full access to my small assembla svn.
I'm running out of time again, because I leave for a trip this/next weekend. ;)
If I did anything wrong, let me know please.
/ - chdk/ixus30 - Trac
svn is here then: Revision 0: /

Please anyone try :)

« Last Edit: 01 / September / 2008, 13:02:57 by jetzt »

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: sd200/ixus30
« Reply #45 on: 01 / September / 2008, 17:55:06 »
So I have to give the tip: Do late-at-night/last-hour-of the day modifications where you don't know what you are really doing.
I did like that and to my great surprise a quick build does the following:

*Starting up the camera with card unlocked and fir update from menu:
Short off the on with flashing up lcd screen and going of again (power led and disp go off)

*Starting up the camera with locked card(bootable):
Camera turns on, stays on, HAPPY, and shows chdk splash. Keypresses are no use.

So could anyone please read my last post and tell me a bit how to go on. (I couldn't find that much information for me the DAU/stupid on the further porting process.)

Especially stubs_min.S seems important, but I have absolutly no idea on how to get the values.

Please write a few lines here, figuring it out through try and error is so strenous!

jetzt ^^

Edit: loaded changes, if there are any to the svn from the last post.
Edit2: Starting up in rec mode (the above tests in play mode) gives splash screen, live picture(even with open battery latch) but no key reactions.
movie mode goes on with splash and startupsound and goes blackscreen / dead again.
« Last Edit: 02 / September / 2008, 13:09:41 by jetzt »

*

Offline RBerenguel

  • *
  • 6
  • Canon SD200/Ixus30
Re: sd200/ixus30
« Reply #46 on: 29 / October / 2008, 10:57:50 »
Weell... as a SD200/Ixus30 user and almost able to do some C hacking (almost!) I'll try to help with this. I don't plan to buy another Canon model sooo I want CHDK on this! I'll try to set up the environment and look what I have to do in the next few days (/weeks) and after that, well let's see. Jetzt, if you are "still here" please say something!

As an update: I just compiled a firmware from your repository, so it looks like the environment is OK. Later at home I'll try it on the real camera and start from here. By the way, I think you did the hardest work (from my igoring distance!) dumping and finding the starting points, I could not have done it!
« Last Edit: 29 / October / 2008, 11:24:47 by RBerenguel »

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: sd200/ixus30
« Reply #47 on: 29 / October / 2008, 11:16:22 »
Yes I'm still there, but as you could have noticed I'm still a student and hacking is not the top-most priority...
However if you need me to do something, if you need any help, tell me, I hope I know something.
I started this svn at assembla, if you would like to we can keep the current state there.
As I said I didn't check porting progress the last weeks, I think there is already some progress in ixus_40, so we should try to get something recent from there first.
What do you think?


*

Offline RBerenguel

  • *
  • 6
  • Canon SD200/Ixus30
Re: sd200/ixus30
« Reply #48 on: 29 / October / 2008, 11:21:10 »
Completely. I'm also a student (kind of, in the mid of my phd) so I don't have completely full time. For now I'll have some work to set up environment and such things (not used to subversion, using a mac... these things) and learn how does chdk work and structure. If I have some urgent and dumb question I'll ask, you know far more than myself :) Svn at assembla sounds good, I'll ask you for a password (it is needed for uploading, isn't it?) as soon as I have something & I can use svn reliably (my last attemps at a Windows PC under emacs were... well, quite funny)

I'll try to keep you (and all sd200 users) informed. If anyone else wants to join... come on!

*

Offline RBerenguel

  • *
  • 6
  • Canon SD200/Ixus30
Re: sd200/ixus30
« Reply #49 on: 29 / October / 2008, 13:43:35 »
Ok, first dumb & lame question. How do I get it to work? I made my SD card bootable, but is no help. It doesn't boot (completely black, no led active) Also, why does the makefile generate 3 .fir?

Thank you :)

 

Related Topics