Ixus 200IS/SD980 1.01c porting thread - page 6 - General Discussion and Assistance - CHDK Forum supplierdeeply

Ixus 200IS/SD980 1.01c porting thread

  • 108 Replies
  • 32526 Views
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #50 on: 25 / August / 2010, 06:42:13 »
Advertisements
I noticed that in boot.c file.

task_Startup_my() method has following line commented

//         "BL      sub_FF83A2F8\n"    // start diskboot.bin

is this right? as far as what I understand if I uncomment it.. diskboot will try to load.. and again restart.. which will get into infinite loop?

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #51 on: 25 / August / 2010, 07:03:57 »
hmm not getting where exactly the issue is appearing.. I will just give behaviour..

when I start the cam.. and do firmware update.. it restarts cam.. it plays startup sound.. shows canon logo on screen.. and led light blinks on back 1st time.. and then 2nd time also it blinks.. and camera just turns off. but when 2nd time it blinks.. LED just turns on.. and doesnt get off.. camera turns off.. while LED is on.. camera turns off.. and LED also off.

*

Offline RaduP

  • *****
  • 890
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #52 on: 25 / August / 2010, 14:23:13 »
Well, that ASM cod needs to be modified, because every camera and firmware version will have the functions and stuff at different addresses.
So what you must do is take IDA or some other asm disassembler and look at the code from the firmware, get the right addresses and replace them in my code.

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #53 on: 25 / August / 2010, 14:28:43 »
ya I am planning to do that.. I am trying to get original firmware.. which I am unable to get with UDumper.. so wll have to use blinker method.. which I will try in couple days.

you have ported to 1.00c right? is it in SVN?


Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #54 on: 25 / August / 2010, 15:13:22 »
ok I got the issue..

in boot.c file, in task_Startup_my() method.. last line is

B sub_FF8165B0

and here it is causing the issue, making camera crash and turn off. any idea?

when I tried changing its address to something else.. it just show me canon logo.. and camera turned off.. so I belive FF8165B0 is code to start DryOS and after that it will hook CHDK.. but I am unable to find what is happening or where execution is going after B sub_FF815B0
« Last Edit: 25 / August / 2010, 15:34:45 by dhavalhirdhav »

*

Offline RaduP

  • *****
  • 890
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #55 on: 25 / August / 2010, 16:59:27 »
The firmware has been dumped already, there is a link to it somewhere in this thread. And I only ported the first version of the firmware, I forgot what version that is.

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #56 on: 25 / August / 2010, 22:54:19 »
link on this thread for firware is dead :(

*

Offline RaduP

  • *****
  • 890
Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #57 on: 25 / August / 2010, 23:18:25 »


Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #58 on: 25 / August / 2010, 23:44:12 »
Thank you :) will start work on this very soon.

Re: Ixus 200IS/SD980 1.01c porting thread
« Reply #59 on: 29 / August / 2010, 16:21:46 »
worked tonight on this for about hour.. and made very little progress.. found two LED Addresses.

for Green and Orange

so now we have AF, Green and Orange

#define LED_PR         0xC0220130
#define LED_ORANGE     0xC0220134
#define LED_AF         0xC0223030

also updated Wikia page - http://chdk.wikia.com/wiki/Ixus_200

 

Related Topics