Eos 400d ( Rebel XTI ) - page 15 - DSLR Hack development - CHDK Forum
supplierdeeply

Eos 400d ( Rebel XTI )

  • 1871 Replies
  • 836336 Views
Re: Eos 400d ( Rebel XTI )
« Reply #140 on: 24 / August / 2009, 22:00:13 »
Advertisements
Great work on the ISO hack. Next thing 3200 in the menu and visual hack for the entire menu system?
60, 70, 80, 90, 100 second etc exposures would be useful, dont have a remote and holding shutter for bulb sucks :P

Re: Eos 400d ( Rebel XTI )
« Reply #141 on: 25 / August / 2009, 06:37:59 »
Could someone please help me on how to install it on my canon 400d. if i understand correctly the firware is loaded from the CF instead from the ROM of the camera. Thus if you replace the CF then the camera would boot from the original ISO? Thanks In Advance.

*

Offline T.B.

  • *
  • 19
Re: Eos 400d ( Rebel XTI )
« Reply #142 on: 25 / August / 2009, 13:44:22 »
Yes.

Re: Eos 400d ( Rebel XTI )
« Reply #143 on: 25 / August / 2009, 19:56:06 »
HOWTO:

1. use a fully charged battery. you need CF card reader and windows. on a mac, use windows under bootcamp/vmware fusion.

2. update to latest firmware (1.1.1) by downloading the latest firmware, copying it into the root of CF, and running "update firmware" in the setup menu.

3. empty your CF, download testfir.fir from http://chdk.setepontos.com/index.php/topic,1618.0.html and copy it into the root of your CF.

4. insert CF, and then run firmware update again using testfir.fir the screen will go blank. wait 5 minutes, turn off, take battery out and back in.

5. insert CF into card reader and perform a quick format.

6. IF Card <= 4GB (fat12/fat16)

download cardtricks: http://chdk.wikia.com/wiki/Cardtricks run it, choose CF drive, tick "cf boot sector" and then click "make bootable."

ELSE IF card > 4GB (fat32)

use HxD : http://mh-nexus.de/en/downloads.php?product=HxD run as administrator, goto extras -> options -> security -> 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.

7. download autoexec.bin from here: http://depositfiles.com/files/jbygql51l copy it into CF.

8. 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.

9. to use additional ISO values, choose one of the 100,200,400,800,1600, and then push the print button to access more ISOs. (80/100/125/160/200/250/320/400/500/640/800/1000/1250/ 1600/2000/2500/3200)

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 (i see no difference.)

10. to use spot metering, go to metering selection screen, then push the print button. to go back to "evaluative metering", you have to select other metering modes first, and then back to "evaluative metering", because the camera thinks you are at "evaluative" although you are at "spot metering".

11. to view shutter actuation count, which was only viewable by canon themselves, go to menu, push print button, push menu button again twice, ("factory menu" appears), enter factory menu, then push print button to enter "debug mode". after a beep, go back and set spot metering. and you will see the camera writing something to the CF (CF light). eject CF, insert it into card reader, you will see a file called STDOUT.txt, search the textfile for "Release". there you see a number and that is the shutter count.

thanks very much thaibv and Foldesa of CHDK for this wonderful hack.


*

Offline thaibv

  • **
  • 57
  • Canon 400d: Spot, ISO 3200 and more
Re: Eos 400d ( Rebel XTI )
« Reply #144 on: 25 / August / 2009, 22:16:42 »
Hi all,

@raingrove:
Thanks for a great guidance.

Let me make some comments.

4. insert CF, and then run firmware update again using testfir.fir the screen will go blank. wait 5 minutes, turn off, take battery out and back in.

The testfir.fir make changes to 400d's boot flags immediately, so count down from 10 after testfir.fir blank your display screen. No need to wait 5 minutes.


9. ......
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 (i see no difference.)

I think iso 16/32/40/50 are same as iso 160/132/140/150. Please test and post your comments so i can decide to keep them available or not

10. .... to go back to "evaluative metering", you have to select other metering modes first, and then back to "evaluative metering", because the camera thinks you are at "evaluative" although you are at "spot metering".

I will correct it soon and upload .bin file and source code too

-- ------FYI-------------
Dont have much time so no big Progress.   Realy got stuck finding how to make and display a custom dialog. Not success to understand Canon's CreateDialogBox function (in firmware). It is very complicated.  I dont know much about VXwork and Camera hardware. Still google for some documents.

so inform you some ideas
- Found out that there are alot focus point combinations others than Canon defaults such as cross; all points at top, at bottom, at left, at right; center point and 4 nearest points ...  i'm trying to make it work.
- Not sure if it can be enable focus confirmation for manual lens or not. if yes, you dont have to spend too much money  for AF confirm mount (i have some M42 lens  :D).
- Can we partition CF card to protect boot loader and the bin file from format or erase.
- 60, 70, 80, 90, 100 second etc exposures would be useful, dont have a remote and holding shutter for bulb sucks (as requested by nicholas-c)
« Last Edit: 25 / August / 2009, 23:12:04 by thaibv »
999 Members and 9999 Guests are viewing this board.

Re: Eos 400d ( Rebel XTI )
« Reply #145 on: 26 / August / 2009, 12:58:37 »
2 sec self-timer would be nice.

*

Offline ahoffmannphotography

  • *
  • 6
  • http://www.flickr.com/photos/ahoffmannphotography/
Re: Eos 400d ( Rebel XTI )
« Reply #146 on: 26 / August / 2009, 17:22:06 »
Hi.
 So I dont know much about software codes and stuff like that. I was able to load the test firmware. But because my CF Card is formatted as FAT32 i need to change something with a hex editor. I have the editor but i dont know what 0x5C or 0x47 means. How do i find where to edit the hex code??
 Thanks so much!!!!!

Re: Eos 400d ( Rebel XTI )
« Reply #147 on: 27 / August / 2009, 07:10:53 »
Hi ahoffmannphotography,

to find the address is not difficult.
Open your HxD and look to the left side. There are the offsets of the address.
If you want to find address 0x5C go to offset 00000050 (this is the row you want to find).
Now you have to find the right column... go to column 0C ... thats it you are on Address 0x5C.

The same for address 0x47: go to row 00000040 and to column 07

Now you can change the strings on the right side of the HxD window.

Hope this is helpful for you!
« Last Edit: 27 / August / 2009, 07:22:52 by Lefty »


*

Offline Zibri

  • **
  • 53
Re: Eos 400d ( Rebel XTI )
« Reply #148 on: 27 / August / 2009, 08:56:35 »
Hi all,

@raingrove:
Thanks for a great guidance.

Let me make some comments.

4. insert CF, and then run firmware update again using testfir.fir the screen will go blank. wait 5 minutes, turn off, take battery out and back in.

The testfir.fir make changes to 400d's boot flags immediately, so count down from 10 after testfir.fir blank your display screen. No need to wait 5 minutes.


9. ......
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 (i see no difference.)

I think iso 16/32/40/50 are same as iso 160/132/140/150. Please test and post your comments so i can decide to keep them available or not

10. .... to go back to "evaluative metering", you have to select other metering modes first, and then back to "evaluative metering", because the camera thinks you are at "evaluative" although you are at "spot metering".

I will correct it soon and upload .bin file and source code too

--------FYI-------------
Dont have much time so no big Progress.   Realy got stuck finding how to make and display a custom dialog. Not success to understand Canon's CreateDialogBox function (in firmware). It is very complicated.  I dont know much about VXwork and Camera hardware. Still google for some documents.

so inform you some ideas
- Found out that there are alot focus point combinations others than Canon defaults such as cross; all points at top, at bottom, at left, at right; center point and 4 nearest points ...  i'm trying to make it work.
- Not sure if it can be enable focus confirmation for manual lens or not. if yes, you dont have to spend too much money  for AF confirm mount (i have some M42 lens  :D).
- Can we partition CF card to protect boot loader and the bin file from format or erase.
- 60, 70, 80, 90, 100 second etc exposures would be useful, dont have a remote and holding shutter for bulb sucks (as requested by nicholas-c)


GREAT WORK.
Focus point patterns could be cool.
Also different self timer options could be great.

Keep it up, dude!

*

Offline ahoffmannphotography

  • *
  • 6
  • http://www.flickr.com/photos/ahoffmannphotography/
Re: Eos 400d ( Rebel XTI )
« Reply #149 on: 27 / August / 2009, 11:17:55 »
Hi,

First of all thanks Lefty for your help. I had absolutely no idea what all that means. But I think I did something wrong.
 So i followed the instructions, and  when I pop in my CF card with the .bin file., my camera turns on because I can see the green light turn on, but the screen is black and the camera is unresponsive. When I remove the CF card, the camera works fine so I must have done something wrong with the CF Card.

http://farm3.static.flickr.com/2509/3862382228_8a256c81dc_o.png

This is a screenshot of the hex editor and what I did to the CF Card. I was wondering if anyone could tell me if i did anything wrong on that step of the process. If not what else could I have done wrong?

 I greatly appreciate the help!


Edit:
  I also tried modifying my fat16 CF card by changing he strings at 0*40 and 0*2B but that gets the same results. Do I need to extract the .bin file?

Edit2:
 I just redid the entire process. Now when i turn my camera on and look through the viewfinder, I see the green bar on the bottom but I cant take a picture. The AF works when i press the shutter down half way but nothing happens when I push it down all the way. The screen is black and no other buttons seem to work. When i try to turn off my camera it wont so I have to remove the battery. And the blue light does not light up when I turn the camera on. Can anyone help me?
« Last Edit: 27 / August / 2009, 17:33:10 by ahoffmannphotography »

 

Related Topics