Olympus e/mju/stylus series FW analysis - page 3 - Non-CANON cameras development - CHDK Forum

Olympus e/mju/stylus series FW analysis

  • 46 Replies
  • 31072 Views
*

Offline RaduP

  • *****
  • 908
Re: Olympus e/mju/stylus series FW analysis
« Reply #20 on: 30 / March / 2009, 17:16:30 »
Advertisements
Great job!
Do you have any link to the CPU instruction set and encoding datasheet?

Re: Olympus e/mju/stylus series FW analysis
« Reply #21 on: 30 / March / 2009, 18:07:09 »
You can grab instruction manual from here.

*

Offline RaduP

  • *****
  • 908
Re: Olympus e/mju/stylus series FW analysis
« Reply #22 on: 31 / March / 2009, 01:00:28 »
Thanks!
From what I looked at that pdf, there is no encoding specification there. Any idea where I could get that?

Re: Olympus e/mju/stylus series FW analysis
« Reply #23 on: 31 / March / 2009, 03:06:56 »
What do you mean by "encoding specification"?


Re: Olympus e/mju/stylus series FW analysis
« Reply #24 on: 31 / March / 2009, 15:33:00 »
Ok! First step has been made. I've managed to update E-520 body with modified firmware :-) I've made minor modifications to show key hex values while button is pressed.

Yes, it looks like IDA with mn103 module can dissasemble this fw.
But I am not sure about loading address -- I still can't find any sense in the disassembled code :(
No strings2code matches, no any clues, nothing.

Can you describe your way of disassembling?
Show your patch of update, if it's possible :) Maybe symbol table? :)

P.S. I have no Olympus camera now, but have a lot of different firmwares for it.

Re: Olympus e/mju/stylus series FW analysis
« Reply #25 on: 31 / March / 2009, 16:09:00 »
Can you describe your way of disassembling?

1. Download fw here.
2. Use oly_web_fwbin_decrypt2 to split and decrypt fw.
3. Load 00.40040000.00000100.00.body to IDA and set processor to Panasonic mn....
4. Create ROM section: set start address to 0x40040020
5. Input file: set loading address to 0x40040020
6. Set range from 0x40040020 to 0x402014E8, press C and select Analyse
7. Let IDA do its (or her ;-)) job

[...] Maybe symbol table?

Unfortunately there is no symbol table at all. Especially as we know it from VxWorks (oh well - old, good Surfboard times ;-))

*

Offline RaduP

  • *****
  • 908
Re: Olympus e/mju/stylus series FW analysis
« Reply #26 on: 31 / March / 2009, 17:16:15 »
What do you mean by "encoding specification"?

I mean, how each instruction and its operands translate into machine code.

Re: Olympus e/mju/stylus series FW analysis
« Reply #27 on: 31 / March / 2009, 17:38:16 »
I mean, how each instruction and its operands translate into machine code.

Oh sure! Download this. U'll find machine codes in appendix.


*

Offline RaduP

  • *****
  • 908
Re: Olympus e/mju/stylus series FW analysis
« Reply #28 on: 31 / March / 2009, 21:50:59 »
Great, thanks!

Re: Olympus e/mju/stylus series FW analysis
« Reply #29 on: 08 / April / 2009, 15:11:44 »
Ok! First step has been made. I've managed to update E-520 body with modified firmware :-) I've made minor modifications to show key hex values while button is pressed.
Can I ask, how did you upgrade the modified FW?
// Wictor

 

Related Topics