CHDK Wiki
 
(24 intermediate revisions by 16 users not shown)
Line 1: Line 1:
  +
  +
  +
  +
=='''This page is obsolete. Please head to: http://code.google.com/p/400plus/ for information on the latest hack of 400d.'''==
  +
  +
  +
  +
  +
  +
  +
----
  +
  +
  +
  +
  +
 
This page contains information that is eventually meant to result in a CHDK port for the 400D / Rebel XTi.
 
This page contains information that is eventually meant to result in a CHDK port for the 400D / Rebel XTi.
   
Line 6: Line 22:
 
:Latest Version v1.1.1
 
:Latest Version v1.1.1
 
:Firmware can be updated by end user and downloaded from Canon website. http://web.canon.jp/imaging/eosdigital3/e4kr3_firmware-e.html
 
:Firmware can be updated by end user and downloaded from Canon website. http://web.canon.jp/imaging/eosdigital3/e4kr3_firmware-e.html
:Firmware can be decrypted with the same utility that works for the 30D. http://chdk.setepontos.com/index.php/topic,134.msg2461.html#msg2461
+
:Firmware can be decrypted with the same utility that works for the Canon 30D. http://chdk.setepontos.com/index.php/topic,134.msg2461.html#msg2461
  +
:firmware is loaded at 0xFF810000
  +
  +
===Firmware content===
  +
Fir_tool 0.5 for 5D/30D/400D (9May2010)
  +
  +
fileLen = 0x4aad50
  +
---.fir header---
  +
0x000: modelId = 0x80000236, (400D / Rebel XTi, VxWorks)
  +
0x010: version = 1.1.0
  +
---ciphered part (xor)---
  +
xor_decoding [0x20-0x4aad50]... OK (0236_110_firmware.bin)
  +
0x020: checksum = 0xe365a664
  +
checksum computing [0x0-0x4aad50] is OK!
  +
0x024: updater offset = 0x30
  +
0x028: firmware pack offset = 0x127c90
  +
0x02c: = 0x0
  +
0x030: ---updater---
  +
0x127c90: ---firmware---
  +
0x127c90: (+0x000) firmware checksum = 0xea620eaa
  +
checksum computing [0x127c94-0x4aad50] is OK!
  +
0x127c94: number of files in the pack = 13
  +
0x127c98: offset to the file table = 0x18 (from 0x127c90)
  +
0x127c9c: header size = 0x220 (from 0x127c90). end of header = 0x127eb0
  +
0x127ca0: size of file table = 0x208
  +
0x127ca4: size after table = 0x382ea0
  +
0x127c88: (+0x018) files table
  +
+-flags--+-offset-+-length-+--name--------------------+
  +
0x127ca8: 0x0008 0x000220 0x01b040 BIND_RESOURCE
  +
0x127cd0: 0x0003 0x01b260 0x3594f0 MAIN_FIRMWARE
  +
0x127cf8: 0x0004 0x374750 0x000004 ModelID
  +
0x127d20: 0x0004 0x374754 0x000005 FirmwareVersion
  +
0x127d48: 0x0004 0x374759 0x00000a ICUVersion
  +
0x127d70: 0x0004 0x374763 0x0001f8 FileSizeTable
  +
0x127d98: 0x0004 0x37495b 0x001aff LensNameTbl
  +
0x127dc0: 0x0004 0x37645a 0x000094 LensPOTbl
  +
0x127de8: 0x0004 0x3764ee 0x000f2c AdjWbFix
  +
0x127e10: 0x0004 0x37741a 0x00469a CrwParam
  +
0x127e38: 0x0004 0x37bab4 0x00722c FlavorLutParam
  +
0x127e60: 0x0004 0x382ce0 0x000218 ColorAdjustDefaultAngel
  +
0x127e88: 0x000b 0x382ef8 0x0001c8 EEP
  +
0x127eb0: (+0x220) end of table, first file
   
 
== Hardware info ==
 
== Hardware info ==
Line 12: Line 69:
   
 
== Firmware Hack Info ==
 
== Firmware Hack Info ==
:A hacked firmware is in early development stage here (in the forum) :  http://chdk.setepontos.com/index.php/topic,3290.0.html
+
:A hacked firmware is developed (in the forum) :  http://chdk.setepontos.com/index.php/topic,3290.0.html
 
:
 
:
   
=== Download ===
+
=== Downloads ===
 
:
 
:
:Here : http://code.google.com/p/400d/downloads/list
+
:[http://code.google.com/p/400plus/downloads/list 400plus project on Google Code]
 
:
 
:
   
 
=== Installation ===
 
=== Installation ===
  +
:Please use updated information here: http://code.google.com/p/400plus/wiki/FirmwareHackInstallation
:
 
:(Copied/pasted from here : [http://chdk.setepontos.com/index.php/topic,3290.msg38630.html#msg38630 http://chdk.setepontos.com/index.php/topic,3290.msg38630.html#msg38630])
 
:Detailled instrructions here : http://400d.googlecode.com/files/400d_autoexec_bin_guide.doc
 
:
 
#use a fully charged battery. you need CF card reader and windows. on a mac, use windows under bootcamp/vmware fusion.
 
#update to latest firmware (1.1.1) by downloading the latest firmware from Canon, copying it into the root of CF, and running "update firmware" in the setup menu.
 
#empty your CF, download testfir.fir from [http://chdk.setepontos.com/index.php/topic,1618.0.html http://chdk.setepontos.com/index.php?action=dlattach;topic=1618.0;attach=1531] or here http://rapidshare.com/files/295423346/testfir.fir.html and copy it into the root of your CF.
 
#insert CF, and then run firmware update again using testfir.fir the screen will go blank. wait 10 secs, turn off, take battery out and back in. (Should be revert by flashing the latest canon firmware - TO BE VERIFIED)
 
#insert CF into card reader and perform a quick format.
 
#IF Card &lt;= 4GB (fat12/fat16)<br />download cardtricks: [[Cardtricks|http://chdk.wikia.com/wiki/Cardtricks]] or here (V144) http://rapidshare.com/files/295423572/CardTricks-144-SFX.exe.html run it, choose CF drive, tick "cf boot sector" and then click "make bootable."<br />ELSE IF card &gt; 4GB (fat32)<br />use HxD:[http://mh-nexus.de/en/downloads.php?product=HxD http://mh-nexus.de/en/downloads.php?product=HxD] run as administrator, goto extras -&gt; options -&gt; security -&gt; uncheck "open disk as readonly by default", then open CF card using the 5th button (cd, floppy and HDD icon) in the toolbar, then carefully write "EOS_DEVELOP" at 0x47 and "BOOTDISK" at 0x5C. save and exit.
 
#download the latest autoexec.bin from here: [http://code.google.com/p/400d/downloads/list http://code.google.com/p/400d/downloads/list], rename it in AUTOEXEC.BIN copy it into CF.
 
#safely remove CF, insert it into camera, if the blue print led of the camera briefly lights up when the camera is turned on, the hack is successfully loaded.
 
   
  +
=== Functionalities ===
:<u>Please note that after the point 4 above&nbsp;:</u>
 
:When power on, your cam behave as follow:<br />- Without a card in: In turn on with warning message "No CF card"<br />- With not bootable card: It turn on with no message<br />- With a bootable card in and a correct autoexec.bin file at the root directory of this card, it run the autoexec.bin file.&nbsp; <br />- With a bootable card in and this card have no autoexec.bin file or bad autoexec.bin file, your cam power will turn on and show a message on lcd screen about lack of autoexec.bin
 
:
 
   
  +
:Please refer to the guide at: http://code.google.com/p/400plus/wiki/UserGuide
=== Functionnalities (To be documented) ===
 
   
 
=== Credits ===
   
 
:
 
:'''''Additionnal ISO&nbsp;Values'''''
 
::To set ISO: Press ISO button and set ISO to 100, 200 ...1600<br />Then press "Direct Print" button repeatedly to set ISO.<br />If you set ISO 100 and press Direct Print repeatedly, you will get&nbsp; 100-&gt;125-&gt;160-&gt;32-&gt;40-&gt;50-&gt;80-&gt;100<br />Others are:&nbsp;&nbsp; 200-&gt; 250-&gt; 320;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 400-&gt; 500-&gt; 640;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 800-&gt;100-&gt;1250;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1600-&gt;2000-&gt;2200-&gt;3200<br />Actual ISO&nbsp;Value is show on screen <br /><br />TO&nbsp;BE&nbsp;VERIFIED&nbsp;: ISO levels 16/32/40/50 can also be enabled if you go to menu and turn "shoot without CF" ON, but not sure if they really work
 
:<br />'''''Spot Metering'''''
 
::To use spot metering,<br />Go to metering selection screen,<br />Then push the print button&nbsp;: Spot Metering is displayed on Screen within the normal Metering icon by a point<br />
 
:'''''Factory Menu'''''
 
::Go to menu,<br />Push print button,<br />Push menu button again twice,<br />"Factory menu" appears<br />There is a specific topic about this Factory Menu in forum&nbsp;: http://chdk.setepontos.com/index.php/topic,4171.0.html <br />
 
::
 
:'''''View Shutter actuation count'''''
 
::To view shutter actuation count, which was only viewable by canon themselves,<br />Enter factory menu (see above),<br />Then push print button to enter "debug mode".<br />After a beep, go back and set spot metering<br />You will see the camera writing something to the CF (CF light).<br />Eject CF, insert it into card reader,<br />You will see a file called STDOUT.txt,<br />Search the textfile for "Release"&nbsp;: there you see a number and that is the shutter count.<br />
 
:'''''Focus Frame pattern'''''
 
::How to choose Focus frame pattern:<br />'''Normal use: ''' &nbsp;<br />- Press focus frame button to show FP dialog, use main dial or Up/Down/Left/Right button to choose focus point. <br />- Press focus frame button again to close dialog.<br /><br />'''Pattern use: ''' <br />- Fast press forcus frame button twice to show FP dialog. if you hear a beep and the dialog showed, use Direct Print button to change pattern (if you press the focus frame button not fast enough, the dialog not showed). &nbsp;- Press focus frame again to return to default canon focus frame mode.&nbsp;
 
:
 
 
=== Credits ===
 
:
 
 
(Apologies for mistakes)
 
(Apologies for mistakes)
  +
:Big thanks goes to:
:Hack&nbsp;: Owerlord, Seklth, Thaibv & Foldesa from CHDK&nbsp;Forum, big thanks to them
+
:for the initial work: Owerlord, Seklth, Thaibv & Foldesa from CHDK&nbsp;Forum
:Installation&nbsp;: raingrove (and thaibv BTW)
 
  +
:for the current project: EduPerez, Sergei, 0xAF
 
:Installation&nbsp;: raingrove, thaibv, 0xAF
 
[[Category:Development]]
 
[[Category:Development]]
  +
[[Category:Cameras]]
  +
[[Category:DSLR]]

Latest revision as of 21:09, 11 July 2012


This page is obsolete. Please head to: http://code.google.com/p/400plus/ for information on the latest hack of 400d.




This page contains information that is eventually meant to result in a CHDK port for the 400D / Rebel XTi.

Firmware info

Version

Latest Version v1.1.1
Firmware can be updated by end user and downloaded from Canon website. http://web.canon.jp/imaging/eosdigital3/e4kr3_firmware-e.html
Firmware can be decrypted with the same utility that works for the Canon 30D. http://chdk.setepontos.com/index.php/topic,134.msg2461.html#msg2461
firmware is loaded at 0xFF810000

Firmware content

Fir_tool 0.5 for 5D/30D/400D (9May2010)

fileLen = 0x4aad50
---.fir header---
0x000: modelId = 0x80000236, (400D / Rebel XTi, VxWorks)
0x010: version = 1.1.0
---ciphered part (xor)---
xor_decoding [0x20-0x4aad50]... OK (0236_110_firmware.bin)
0x020: checksum = 0xe365a664
checksum computing [0x0-0x4aad50] is OK!
0x024: updater offset = 0x30
0x028: firmware pack offset = 0x127c90
0x02c: = 0x0
0x030: ---updater---
0x127c90: ---firmware---
0x127c90: (+0x000) firmware checksum = 0xea620eaa
checksum computing [0x127c94-0x4aad50] is OK!
0x127c94: number of files in the pack = 13
0x127c98: offset to the file table = 0x18 (from 0x127c90)
0x127c9c: header size = 0x220 (from 0x127c90). end of header = 0x127eb0
0x127ca0: size of file table = 0x208
0x127ca4: size after table = 0x382ea0
0x127c88: (+0x018) files table
+-flags--+-offset-+-length-+--name--------------------+
0x127ca8: 0x0008 0x000220 0x01b040 BIND_RESOURCE
0x127cd0: 0x0003 0x01b260 0x3594f0 MAIN_FIRMWARE
0x127cf8: 0x0004 0x374750 0x000004 ModelID
0x127d20: 0x0004 0x374754 0x000005 FirmwareVersion
0x127d48: 0x0004 0x374759 0x00000a ICUVersion
0x127d70: 0x0004 0x374763 0x0001f8 FileSizeTable
0x127d98: 0x0004 0x37495b 0x001aff LensNameTbl
0x127dc0: 0x0004 0x37645a 0x000094 LensPOTbl
0x127de8: 0x0004 0x3764ee 0x000f2c AdjWbFix
0x127e10: 0x0004 0x37741a 0x00469a CrwParam
0x127e38: 0x0004 0x37bab4 0x00722c FlavorLutParam
0x127e60: 0x0004 0x382ce0 0x000218 ColorAdjustDefaultAngel
0x127e88: 0x000b 0x382ef8 0x0001c8 EEP
0x127eb0: (+0x220) end of table, first file

Hardware info

DIGIC II, ARM946ES VxWorks 5.5.1 EOS 400D already provides many of the CHDK features.

Firmware Hack Info

A hacked firmware is developed (in the forum) :  http://chdk.setepontos.com/index.php/topic,3290.0.html

Downloads

400plus project on Google Code

Installation

Please use updated information here: http://code.google.com/p/400plus/wiki/FirmwareHackInstallation

Functionalities

Please refer to the guide at: http://code.google.com/p/400plus/wiki/UserGuide

Credits

(Apologies for mistakes)

Big thanks goes to:
for the initial work: Owerlord, Seklth, Thaibv & Foldesa from CHDK Forum
for the current project: EduPerez, Sergei, 0xAF
Installation : raingrove, thaibv, 0xAF