supplierdeeply

code you HAVE RUN on your dslr

  • 141 Replies
  • 37945 Views
*

ASalina

Re: code you HAVE RUN on your dslr
« Reply #130 on: 08 / June / 2008, 11:29:16 »
Advertisements
Ok, I tried the disk dumper program and all that happened was that the camera rebooted. The menu asked for confirmation of upgrade and went to the "Loading" screen. The screen went black just before the reboot. So aside from rebooting it all went normally like with the leddumpers.

I'm going to check my work to be sure I did everything right.

UPDATE: Ok, I  retraced my steps and I did everything properly. I wonder if I should turn the blue led on at the start of the new tUpdMgr function. At least to be sure that execution reached that far.

I'll have to do that later, though.
« Last Edit: 08 / June / 2008, 11:55:46 by ASalina »

*

Offline mx3

  • ****
  • 372
Re: code you HAVE RUN on your dslr
« Reply #131 on: 08 / June / 2008, 13:18:34 »
Ok, I tried the disk dumper program and all that happened was that the camera rebooted. The menu asked for confirmation of upgrade and went to the "Loading" screen. The screen went black just before the reboot. So aside from rebooting it all went normally like with the leddumpers.
hm.
I expected just black screen accounting infinite loop in tUpdMgr task.
Maybe watchdog mechanism is responsible for reboot.

so there were no new file dUMP.bup on memory card?
maybe subfolder with some special name must be present on card...

so lets switch to plan B:
findout entry points of open,write,close procedures to use dumper2.bin ....

I wonder if I should turn the blue led on at the start of the new tUpdMgr function. At least to be sure that execution reached that far.

good idea
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

Re: code you HAVE RUN on your dslr
« Reply #132 on: 08 / June / 2008, 14:22:58 »
Interesting thing:
the whole rewriten Startup code is runned - but while it is runned the 0x800000 segment is changed.
It can be the reason why the startup code don't work properly. I hope my experiment is true. I summed the segment before and after (there are no global varibles changed)

Re: code you HAVE RUN on your dslr
« Reply #133 on: 09 / June / 2008, 12:26:11 »
The 0x800000 is modyfied while running startup. The modyfication is only at the first couple of bytes - so it don't affects the startup procedure. I don't know why the procedure don't work.

If anybody want some message log from doing something - write. I don't have much time - but I can test a short thing. Now all the functions of camera are working - and I can log what the camera do.


*

ASalina

Re: code you HAVE RUN on your dslr
« Reply #134 on: 09 / June / 2008, 16:07:26 »
I wonder if you can locate the light meter's address. I think it was _MAG_ who suggested using it as an input device the same way that the LED is an output device. Depending on its response time you could transmit data to the camera using an LED hooked up to the speaker output on your sound card. Then maybe you could start up that debugger program in the camera.
« Last Edit: 09 / June / 2008, 16:08:59 by ASalina »

Re: code you HAVE RUN on your dslr
« Reply #135 on: 09 / June / 2008, 16:13:26 »
What debug program?
_MAG_ suggested using the face sensor. It can be propably done. The funny thing is: the face sensor is printing temperature to log :-) new functionalyty ? JPG: Tv: ... Av: ... Temperature: 30'C :D

*

ASalina

Re: code you HAVE RUN on your dslr
« Reply #136 on: 09 / June / 2008, 16:21:37 »
What debug program?

Wasn't there some sort of diagnostics utility in that camera's firmware? We were talking about making a special battery grip to gain access to it. I don't know how useful it would be to you though.
Quote
_MAG_ suggested using the face sensor. It can be propably done.

Oh yeah, that was it.
Quote
The funny thing is: the face sensor is printing temperature to log :-) new functionalyty ? JPG: Tv: ... Av: ... Temperature: 30'C :D

You could have the camera take a photo when something reaches a certain temperature. I don't know why, though. :-)

*

Offline _MAG_

  • *
  • 47
Re: code you HAVE RUN on your dslr
« Reply #137 on: 10 / June / 2008, 00:51:22 »
I sink camera only know CPU temperature or battery temp.
Face sensor not detect temperature they detect present or not present light.
If light not present - (face close light) camera write 1 to FaceDetect register.
By normal led light when you send 1 to him. So need XOR data (light led when 0 sended)
need transfer   0   0  1    0
so need led     on on off on
in darknes of couse :)


*

Offline _MAG_

  • *
  • 47
Re: code you HAVE RUN on your dslr
« Reply #138 on: 10 / June / 2008, 00:57:36 »
The 0x800000 is modyfied while running startup. The modyfication is only at the first couple of bytes - so it don't affects the startup procedure. I don't know why the procedure don't work.

If anybody want some message log from doing something - write. I don't have much time - but I can test a short thing. Now all the functions of camera are working - and I can log what the camera do.
you can log what camera do when you attach lens? Startup camera without lens then attach lens in manual focus mode.
If possible write table like data read/writen - mem adress 

Re: code you HAVE RUN on your dslr
« Reply #139 on: 10 / June / 2008, 05:52:03 »
If possible write table like data read/writen - mem adress 

I can log what the camera "say" :-). Log what the Canon people see when they connect their magic console to the camera. The debug messages. I cannot log what memory is writen.

 

Related Topics