code you HAVE RUN on your dslr - DSLR Hack development - CHDK Forum supplierdeeply

code you HAVE RUN on your dslr

  • 141 Replies
  • 87249 Views
code you HAVE RUN on your dslr
« on: 13 / May / 2008, 13:37:28 »
Advertisements
I want to ask what code you have run on your camera. Succesfully? Faulty? Effects? Wierd effects?
Please describe exacly what code, on which camera, and what it have done.

Less ideas in this thread - more facts please.

Re: code you HAVE RUN on your dslr
« Reply #1 on: 13 / May / 2008, 14:06:27 »
Runned by me on 400D:

1. code without attached data pack (0 in address of the pack). - Camera didn't run it - said it's corrupt.
2. infinite loop with attached empty data pack - Camera hung (succes :-)
3. setting memory like in eventproc_EdLedBlink - No led blinked :-\
4. jump to the FF810000 - no effect
5. eventproc_SelfReset - reseted to the loading process. effect: "Loading..."-black-"Loading..."-black ...
6. I runed vxWorks create+close procedures from the firmware (1.1.1) on file A:\SUC.TXT - didn't create a file on the CF card :\

Any ideas what next to run ? :-)

WARNING: running the eventproc_SelfReset is hazardous - once my camera wanted to load firmware even after getting the batteries out. I think that I took out the batteries in the wrong moment of code. Only method I found to restart my camera was to write the orginal firmware to the CF and load it.

WARNING: when I jumped to FF810000, and after I opened the CF cover - it hanged with wierd display - I had to pull out the small 3V battery to reset
« Last Edit: 13 / May / 2008, 14:15:11 by owerlord »

*

Offline Seklth

  • **
  • 54
  • 400D
Re: code you HAVE RUN on your dslr
« Reply #2 on: 13 / May / 2008, 15:47:49 »
Yes, no use SelfReset... it's bad... i took out batteries it more wrong moment - and now my camera in service-center for repair =)

One way for find restart - analyse code of dialog MnFirmVersionUp - see function CreateDialogBox_MnFirmVersionUp in this idb. I cann't understand, where handled  press of "set" button =)

ftp://80.92.105.79/pub/seklth/CHDK/400D_E4KR3111_FF810000.idb

@owerlord
if you found some OS and C function  - strcpy, memcmp, etc - please, public it
« Last Edit: 13 / May / 2008, 15:59:01 by Seklth »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: code you HAVE RUN on your dslr
« Reply #3 on: 13 / May / 2008, 16:16:20 »
i took out batteries it more wrong moment - and now my camera in service-center for repair =)


are they repairing it for free? what did you tell them?


*

Offline Seklth

  • **
  • 54
  • 400D
Re: code you HAVE RUN on your dslr
« Reply #4 on: 13 / May / 2008, 16:27:23 »
i took out batteries it more wrong moment - and now my camera in service-center for repair =)


are they repairing it for free? what did you tell them?

yes, free. i have service guarantee. nothing original - "my camera not worked (not power on)" =)

Re: code you HAVE RUN on your dslr
« Reply #5 on: 13 / May / 2008, 17:53:27 »
What is the best way to public my findings? .map? Is there a way to export from IDA only these names that I entered? atleast the names that are not sub_ ?

*

Offline Seklth

  • **
  • 54
  • 400D
Re: code you HAVE RUN on your dslr
« Reply #6 on: 14 / May / 2008, 02:52:56 »
Good, if you create "Dump data base to IDC". Edit this idc more easer to public only need funtions)

Re: code you HAVE RUN on your dslr
« Reply #7 on: 14 / May / 2008, 17:19:05 »
I had no time to do it - but I will soon.

In the mean time:
7. runned task_Startup by BL to it, and then eventproc_EdLedBlink. Nothing happened.

I don't know how to restart the system. How chdk does anyway?


*

Offline jeff666

  • ****
  • 181
  • A720IS
Re: code you HAVE RUN on your dslr
« Reply #8 on: 14 / May / 2008, 20:19:57 »
I don't know how to restart the system. How chdk does anyway?

CHDK restarts the cam by executing restart-code.

Check your firmware for the string "Restart called". If it exists it is probably used in the restart-function. Call this function to restart the camera.

Cheers.

*

Offline Seklth

  • **
  • 54
  • 400D
Re: code you HAVE RUN on your dslr
« Reply #9 on: 15 / May / 2008, 00:14:48 »
Nothing.

Code have string
FW:FFB6C018 DCD atRestart           ; "tRestart"

But near not have any "understandable" fun?tion, that restarted.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal