CHDK Forum

Canon DSLR Development (+ other development) => DSLR Hack development => Topic started by: Foldesa on 11 / March / 2009, 13:08:07

Title: Eos 400d ( Rebel XTI )
Post by: Foldesa on 11 / March / 2009, 13:08:07
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 14 / March / 2009, 07:01:09

HEADS-UP INFO!  8)

You can find the current active project called "400plus" here: http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/)
Please read the latest pages of this thread for up-to-date information.








NOTE: UPDATING IN PROGRESS.

Canon EOS 400D hack.

Summary of new features:
1. Maximum ISO value (From 1600 to 3200)
2. Customizable ISO value (ISO 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200)
3. Spot Metering
4. Auto ISO function in A-DEP, M, AV, TV, P mode
5. Customizable Shutter Speed
6. Customizable AEB value (+-2.3EV, +-2.7EV, +-3.0EV, +-3.3EV, +-3.7EV, +-4.0EV, +-4.3EV, +-4.7EV, +-5.0EV)
7. Factory Menu
8. Focus Frame pattern
9. Shutter Count
10. Safety Shift


Unlock Guide:
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 (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. download cardtricks 1.45 : http://chdk.setepontos.com/index.php/topic,4214.0.html (http://chdk.setepontos.com/index.php/topic,4214.0.html) (first download link). Run it to self extract the archive. Run the binary extracted, choose CF drive, tick "cf boot sector" and then click "make bootable."
7. download latest autoexec.bin from the list below and copy the ONLY AUTOEXEC.BIN to CF card.
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.


Latest autoexec.bin

13 Dec 2010
Download: http://www.mediafire.com/?pq6b8ssor0br9s6 (http://www.mediafire.com/?pq6b8ssor0br9s6)
Fixed: Camera was resetting "realtime ISO change" flag after battery was pulled out.

13 Dec 2010
Download: http://www.mediafire.com/?sifobxd5x3iu7xx (http://www.mediafire.com/?sifobxd5x3iu7xx)
In this file i changed a button which selects the center AF pattern from DP to Set button.
Added raw to full auto and other auto modes. Use DP in main screen to switch to raw or back to jpeg.

07 Dec 2010
Download: http://www.mediafire.com/?2nxtjmbhkjk4ldw (http://www.mediafire.com/?2nxtjmbhkjk4ldw)
New:  I couldn't get the dial work with custom AF  patterns, so i split pattern selection. Use left, right, up, bottom and DP (for center) to change pattern.
Added  "DP for changing ISO" in info screen.I probably should name it as "Non-Standard ISO"

01 Dec 2010
Download: http://www.mediafire.com/?fjaf266j7jao2l4 (http://www.mediafire.com/?fjaf266j7jao2l4)
New: This version will reset ISO to first lower "standard" ISO.

30 Nov 2010
Download: http://www.mediafire.com/?dnngy94dtgnjjp6 (http://www.mediafire.com/?dnngy94dtgnjjp6)
Fixed: can't choose under 1600iso with print button ! Possible to put and see 3200iso, with left/right buttons, but I discover lower iso in Exif

28 Nov 2010
Download: http://www.mediafire.com/?g8ruauja8bc8kcd (http://www.mediafire.com/?g8ruauja8bc8kcd)
New: AV compensation, Flash compensation and AEB works the same way as all other controls - left button to decrease and right button to increase

28 Nov 2010
Download: http://www.mediafire.com/?6vpwfpd8ovd67bd (http://www.mediafire.com/?6vpwfpd8ovd67bd)
Fixed print + zoom_in buttons combination.
Show ISO in viewfinder will not reset to Off anymore. I had it off, because it saves shutter speed twice (shutter as ISO and then old shutter) to show ISO in viewfinder. So it probably aging flash memory in camera.
Settings in Info menu now can be saved with set or print buttons.


26 Nov 2010
Download: http://www.mediafire.com/?k4hdcaquw5acfde (http://www.mediafire.com/?k4hdcaquw5acfde)
Av comp                       (+-6)
Flash exp. comp            (+-6)
AEB                              (+-6)
Safety Shift                   (on,off)
Release Count               (display count)
Show ISO in Viewfinder  (on,off)
Color Temperature         (1800-11000K)
Flash                             (on,0ff)
AF Assist Beam              (on,off)

        Use Up and Down keys to change menu. Left and Right to change settings. Av+- to change a sign in Av comp and Flash exp comp. Av+- in Color Temperature will set temperature by preset values: 2200,3200,4000,5200,6000,7000K. Use Set to save (Av,Flash,AEB,ColorTemp.).
   To change ISO(100,200,400,800,1600,3200) while looking through viewfinder press left or right key. If Show ISO in Viewfinder is on new ISO will be shown in viewfinder while key is pressed (only works in Tv and M modes. I didn't find memory location of info bar string).   
    ISO 16,32,40,50,80   was removed. Is there any benefit from ISOs lower than 100? You can't use it to lower Shutter speed or aperture.

01 Nov 2010
Download: http://www.filefactory.com/file/b4170gd/n/autoexec_2010-11-01a.rar (http://www.filefactory.com/file/b4170gd/n/autoexec_2010-11-01a.rar)
New: Moved Safety Shift and AEB to Info screen. To get to Info screen press menu, then disp. button. Use Up, Down, Left and Right buttons to set.

*There are too many old autoexec.bin before this, please go through the forum
Title: Re: Eos 400d ( Rebel XTI )
Post by: Seklth on 14 / March / 2009, 16:19:28
start it - http://chdk.setepontos.com/index.php/topic,1618.0.html (http://chdk.setepontos.com/index.php/topic,1618.0.html) -  testfir.fir
do it - http://chdk.setepontos.com/index.php/topic,2001.0.html (http://chdk.setepontos.com/index.php/topic,2001.0.html)
use it - http://chdk.setepontos.com/index.php/topic,1631.msg18193.html#msg18193 (http://chdk.setepontos.com/index.php/topic,1631.msg18193.html#msg18193)
=)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 15 / March / 2009, 05:26:19
Hi Seklth,

Thanks for the help :) I've read it, tryed it but no luck.
I've used the bootableCF to write the "BOOTDISK" and "EOS_DEVELOP" labels to the cf card's MBR. Checked it so the labels are in correct place. Copyed the autoexec.bin from autoexec.bin.iso_change.rar the the root of Cf, and nothing happend. I can't set the ISO to 3200 :(
I have 400d with 1.1.1 firmware, and a 1 GB CF card. Can you help what did I miss ?

Regards and thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 15 / March / 2009, 07:50:41
Sorry It's my mistake. The AUTOEXEC.BIN does write STDOUT.TXT to the CF card. But ISO 3200 doesent apear :(
Title: Re: Eos 400d ( Rebel XTI ) steps for auto ISO
Post by: Foldesa on 16 / March / 2009, 16:30:17
HI again :)

I have done lots of reading and thinking. I have analyzed probably all the autoexec.bin files I found on this forum. Now I made my own :) It set's the ISO values.
It uses eventproc_SetIsoValue(value);  and eventproc_PrintDefIso(value);
On the 400d ( Rebel XTI ) I found these values, that I could shoot some pictures:
Iso 100=70
Iso 125=75
Iso 160=77
Iso 200=80
Iso 320=85
Iso 400=90
Iso 800=100
Iso 1600=110
So if I want to set iso 125 then I give the two calls 75 as value.
But I have noticed, when I set iso to 125 or 160 it displays iso100, but shoots as iso 125... and for the 320 it displays 200.
I found a number around 32000 that displays AUTO ISO in any mode ( TV, AV, M ) but it doesent work at all.

I think the final program would look something like this:
Pressing Direct print button ( or Custom Function ) enables auto iso ( Displays AUTO ISO -if i can find that number agan ;).
Pressing shutter half sets iso to 100.
reads shutter speed
   if it falls below a certain number then sets 1 step higher iso, and call the functions to measure light again
if correct iso obtained sets it
releaseing shutter button Displays AUTO ISO again


Does anybody know how to acces the dirvect print button event ?

Regards

A
Title: Re: Eos 400d ( Rebel XTI )
Post by: Seklth on 17 / March / 2009, 17:42:47
>Does anybody know how to acces the dirvect print button event ?
see my code - http://chdk.setepontos.com/index.php/topic,1631.msg18193.html#msg18193 (http://chdk.setepontos.com/index.php/topic,1631.msg18193.html#msg18193)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 19 / March / 2009, 17:34:01
Thanks again Seklth,

I have to correct the number. The correct values are:
Iso Auto=0
Iso 32=60
Iso 40=61
Iso 50=63
Iso 80=70
Iso 100=73
Iso 125=76
Iso 160=78
Iso 200=80
Iso 250=83
Iso 320=86
Iso 400=89
Iso 500=92
Iso 640=93
Iso 800=97
Iso 1000=100
Iso 1250=102
Iso 1600=105
Iso 2000=108
Iso 2500=110
ISO 3200=111

But ISO-AUTO doesent work. It just displays it. And ISO 3200 works fine, but gives way too mutch noise :(

Now I'm trying to read shutter speed, and focal lenght. And try to figure out wath happend when I press the shutter button half way.

Regards A
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 04 / June / 2009, 03:07:35
Thank you!
Tried today and it work for me.

Let do it:
- Quick Format your CF card in Windows explorer. Don't use Cardtricks to format the card (Cardtricks takes about 5 minutes or longer). I use a 2GB CF card and use fat16 type.

- Use Cardtricks: http://chdk.wikia.com/wiki/Cardtricks (http://chdk.wikia.com/wiki/Cardtricks) to make your card bootable

- Use HxD soft: http://mh-nexus.de/en/downloads.php?product=HxD (http://mh-nexus.de/en/downloads.php?product=HxD) to open the Master Boot Record (MBR) of your CF card Logical Disk Drive (your drive letter may be: I, or H, or G ...). Check the address 0x40 to find the text string: "BOOTDISK" (that Cartricks have written) to make sure you choose correct drive. Then put the text string:"EOS_DEVELOP" at the address 0x2B.
Note: you need to goto menu Extras -> Options -> Security (on tab General) -> uncheck "Open disk as readonly by default" to turn of readonly mode.

- Download and extract Foldesa's  autoexec.bin file to the root directory or your card drive.
- Insert the card into your 400d and turn it on, you will see the blue led blinked.

How to set Iso:
Each time the blue led blinked, your camera's iso value is increase 1 level from 100 to 125, 160, 200, 320, 400,800, 1600 (see previous Foldesa's post).
Half press Shutter button to choose an ISO and check shutter speed your camera displayed. If speed is too slow, Release Shutter button and half press it again after the led blinked once more. Then you can see shutter speed increased. Deep press Shutter button to take picture and press Display button to see the real ISO value

Sorry for my English!
Soon, I will post my autoexec.bin file base on Sekth code, that easier to control Iso (from 32 to 3200) and can set "Spot Mettering" mode
 :D


Title: Re: Eos 400d ( Rebel XTI )
Post by: whim on 04 / June / 2009, 03:40:31
@thaibv

Quote
- Use HxD soft: http://mh-nexus.de/en/downloads.php?product=HxD (http://mh-nexus.de/en/downloads.php?product=HxD) to open the Master Boot Record (MBR) of your CF card Logical Disk Drive (your drive letter may be: I, or H, or G ...). Check the address 0x40 to find the text string: "BOOTDISK" (that Cartricks have written) to make sure you choose correct drive. Then put the text string:"EOS_DEVELOP" at the address 0x2B.

,,, or activate "CF bootsector" in CardTricks during previous step

cheers,

wim
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 04 / June / 2009, 04:30:36
Thanks Whim!

I already activated "CF bootsector" in CardTricks  but it does not work.

Could you show me how to do it right.

Thank you!
Title: Re: Eos 400d ( Rebel XTI )
Post by: emklap on 04 / June / 2009, 07:31:22
Dont you have to set a new crc check-sum value in the header, after modifying a string and encrypting it again?

This checksum is present in the 40D FW at byte 0x20-0x23 of the file header.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 04 / June / 2009, 13:35:29
Dont you have to set a new crc check-sum value in the header, after modifying a string and encrypting it again?

This checksum is present in the 40D FW at byte 0x20-0x23 of the file header.

I tried it. The problem I'm getting is that there is every string twice. Try to search for some strings. You will find it in two places. If i change the first one, calculate checksum, then I can upload the frimware. But the srings doesent change. If i replace both srings, or only the second one and calc checksum it can't be uploadad. There must be a second checksum somewere that has to be calculated before the first one in the heather. Mayxbe it is for the srings, and the header's chksum is for the whole file. The best way would be to integrate into canon's system menu, but i did not find a way (yet).
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 07 / June / 2009, 11:47:44
Hi again,

Here is my autoexec.bin that allow setting iso from 32,40, 50 .... 3200.
http://www.filefactory.com/file/ag5b25e/n/AUTOEXEC_BIN (http://www.filefactory.com/file/ag5b25e/n/AUTOEXEC_BIN)

To set ISO: Press ISO button on your 400d and set ISO to 100, 200 ...1600, then press "Direct Print" button repeatedly to set ISO.

If you set ISO 100 and press Direct Print repeatedly, you will get 
ISO:             100->125->160->32->40->50->80->100
Others are:   200-> 250-> 320 ;  400-> 500-> 640; 800->100->1250; 
                    1600->2000->2200->3200
When you press Direct Print to change Iso, it change your Metering Mode to    "Spot". Spot Metering is helpful when shooting object that is small and hight contrast to background.  The downside is that you have to you change metering mode each time you change ISO with Direct Print button (if you don't like Spot)

Hope all normal 400D user (like me) can take advantage of this hack.
Thank you again Foldesa,  Sekth  and all Members!
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 11 / June / 2009, 22:43:41
ISO-AUTO doesent work. It just displays it. And ISO 3200 works fine, but gives way too mutch noise :(
Now I'm trying to read shutter speed, and focal lenght. And try to figure out wath happend when I press the shutter button half way.

@Foldesa

Tried ISO 4000, 5000 but image completly dark or had vertical lines. So I think 400d can not go behind ISO 3200 limit.

I find out that after turn on Canon Factory mode (EnterFactoryMode,0xFF828148), you can change iso on the fly, don't have to wait 4 sec. until  the viewfinder's display turn off.

Have you got any progress on shutter speed hack?

Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 12 / June / 2009, 11:57:16
Yep, I also faced the problem with iso higher then 3200. This must be the maximum of the sensor.
The past few weeks I had very little time :( My tries vere mostly adding/replaceing strings in the system menu. No success.  Now I'm tring to catch, waht happend when the camera is turned on, and laguage packs are initialized.
Meanwhile can we see your source for spot met., Factory mode atc?
Regards
A
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhyrePhoX on 12 / June / 2009, 16:21:04
nice progress guys. do you have some example images taken with the "new" iso ranges? probably in raw? can you upload them somewhere, please?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 12 / June / 2009, 18:18:55
All the iso settings from 32 to 3200 can be used with raw format. I've posted a code before, but if you tell me ( us ) what iso you want I can post a specific code and bin for you.
Regard
FoldesA

Sorry. You mean imeges. Tomorrow I will add some link for different ISO settings. I guess you are interested in iso 3200 for noise :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhyrePhoX on 12 / June / 2009, 18:27:46
yes, iso3200 and also the (new) low iso range :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 12 / June / 2009, 23:59:39
Hi again,

   Here are links to my code and bin file.
Bin: http://www.filefactory.com/file/ag6fd49/n/AUTOEXEC_BIN (http://www.filefactory.com/file/ag6fd49/n/AUTOEXEC_BIN)
Code: http://www.filefactory.com/file/ag6fd5c/n/autoexec_bin_rar (http://www.filefactory.com/file/ag6fd5c/n/autoexec_bin_rar)

   Now you can change ISO and Spot metering mode separately.
Press Direct print to change iso on the fly,  press  Direct print while holding down AV+- button change Mettering mode to Spot.

   Press Drive mode button while holding down AV+- button turn on Factory mode. You will see Factory menu appear in the camera's main menu 1. Try Factory menu does not harm your Cam.

Note: Sometimes, it hang my 400d  and I have to turn it off then back on  and rarely have to remove the battery to restart.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 13 / June / 2009, 03:50:40
As promised, here are two full size pictures of ISO 3200. A dark and a bright one.

http://web.axelero.hu/ednyfoldes/ISO/DARK.JPG (http://web.axelero.hu/ednyfoldes/ISO/DARK.JPG)
http://web.axelero.hu/ednyfoldes/ISO/BRIGHT.JPG (http://web.axelero.hu/ednyfoldes/ISO/BRIGHT.JPG)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 14 / June / 2009, 10:03:33
Hi all,
Some pictures for you.

http://www.filefactory.com/file/ag62d9f/n/IMG_ISO12_JPG (http://www.filefactory.com/file/ag62d9f/n/IMG_ISO12_JPG)
http://www.filefactory.com/file/ag62eae/n/IMG_ISO100_JPG (http://www.filefactory.com/file/ag62eae/n/IMG_ISO100_JPG)
http://www.filefactory.com/file/ag62ea7/n/IMG_ISO400_JPG (http://www.filefactory.com/file/ag62ea7/n/IMG_ISO400_JPG)
http://www.filefactory.com/file/ag62eb2/n/IMG_ISO640_JPG (http://www.filefactory.com/file/ag62eb2/n/IMG_ISO640_JPG)
http://www.filefactory.com/file/ag62ec0/n/IMG_ISO1600_JPG (http://www.filefactory.com/file/ag62ec0/n/IMG_ISO1600_JPG)
http://www.filefactory.com/file/ag62ed3/n/IMG_ISO3200_JPG (http://www.filefactory.com/file/ag62ed3/n/IMG_ISO3200_JPG)

Iso 12 and 100 have no difference, Iso 3200 is nod bad.

Metering modes:
http://www.filefactory.com/file/ag62eeh/n/IMG_Spot_JPG (http://www.filefactory.com/file/ag62eeh/n/IMG_Spot_JPG)
http://www.filefactory.com/file/ag62ef1/n/IMG_Partial_JPG (http://www.filefactory.com/file/ag62ef1/n/IMG_Partial_JPG)
http://www.filefactory.com/file/ag62ege/n/IMG_Evaluative_JPG (http://www.filefactory.com/file/ag62ege/n/IMG_Evaluative_JPG)
Title: Re: Eos 400d ( Rebel XTI )
Post by: matthias87 on 15 / June / 2009, 12:11:15
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 15 / June / 2009, 17:32:00
No, This is not an iso file or some sort.
If you read carefully, the post you'll find that thaibv wrote it step by step, how to use it.
here: http://chdk.setepontos.com/index.php/topic,3290.msg34785.html#msg34785 (http://chdk.setepontos.com/index.php/topic,3290.msg34785.html#msg34785)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 15 / June / 2009, 22:14:25
Have a nice day,

Finaly find out why it hang my camera sometimes and corrected it. Now it work like built in features   :lol
Here are links for you:

Bin file: http://depositfiles.com/files/qprih7jiz (http://depositfiles.com/files/qprih7jiz)
Source: http://depositfiles.com/files/1byt0v0ct (http://depositfiles.com/files/1byt0v0ct)

My 400d does overexposure if setting ISO lower than 100, Others values are OK.
Could some one please test and post result here.

Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 15 / June / 2009, 22:17:39
Title: Re: Eos 400d ( Rebel XTI )
Post by: matthias87 on 16 / June / 2009, 06:41:25
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 16 / June / 2009, 09:15:21
I did all this things step by step, too, and i think my entries in the hex editor are allright.


is there anyone with a working 400d with 3200iso?

what have i to do with the source? what is the confirmation for iso 3200?
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 16 / June / 2009, 11:37:52
Same here.

This is, waht i've done:
http://img291.imageshack.us/img291/9996/cardtricks2.jpg (http://img291.imageshack.us/img291/9996/cardtricks2.jpg) <-- Cardtricks screenshot
http://img145.imageshack.us/img145/103/hxd2.jpg (http://img145.imageshack.us/img145/103/hxd2.jpg) <-- HxD screenshot
Your .bin file (http://depositfiles.com/files/qprih7jiz (http://depositfiles.com/files/qprih7jiz)) is in root-directory.

But when i put the card into my 400D, nothing happens. And now?
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 12:27:07
Hi all,

@ bugmenot, matthias87
Full guide here: http://depositfiles.com/files/ctyp3iso9 (http://depositfiles.com/files/ctyp3iso9)

@ T.B.
Set your Cam iso to 1600, wait 4 secs until your viewfinder display turn off and press Direct Print button.  After your 400d sounds "beep beep", take a picture then press DISP. and find ISO value.
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 16 / June / 2009, 12:48:24
Set to ISO1600 -> Done
Wait 4 secs until your viewfinder display turn off -> The viewfinder display never turned on?
press direct print -> nothings happens. :(
take a picture, press DISP and find ISO value -> nothing :(

Something is wrong here :(
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 12:56:57
Set to ISO1600 -> Done
Wait 4 secs until your viewfinder display turn off -> What do you mean? The big display? It turns off after 30 secs (Auto-Power-Off!).  And nothing happens when it turns off and i press "Direct Print".
Do you mean "review-time", after i've taken a picture?

When you press shutter button halfway down, your viewfinder display some information in green.
After release shutter button, you should wait 4 sec until it off then press DirectPrint.

Press DISP. one or two times while in review time to show image data (include ISO value).
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 16 / June / 2009, 13:09:03
I edited my posting above.

No. Nothing happens. But the card is prepared like your guide. Look at the screenshots.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 13:13:33
@T.B.

Remove your battery and try again once more.
 
To make sure that your card is prepared correctly: Does your Drect Print button blink in blue several times right after power on?

and What is your firmware version?  Please update to the lastest 1.1.1
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 16 / June / 2009, 13:22:54
I removed battery. I removed backup battery, too.

The cam resets, i've to adjust time and date. All settings are deleted. But the button doesn't blink.
What can be wrong with the CF-Card? You can see the screenshots. I think, everything is all right?

Firmwareversion is 1.1.1
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 13:41:56
@ T.B.
I've download mine uploded .bin file from http://depositfiles.com/files/qprih7jiz (http://depositfiles.com/files/qprih7jiz)
and tested in my 400d. It work fine.

I'm sure that your card still can not boot (not bootable), but please try this:
- Delete the file autoexec.bin from your card 's root directory.
- Insert your card into your 400d and turn the power on.
->If your camera turn on normaly, your card is not bootable
->If your camera can not turn on, your card is bootable (and it hang because it can not find the autoexec.bin file)

Good luck!
Title: Re: Eos 400d ( Rebel XTI )
Post by: matthias87 on 16 / June / 2009, 13:52:25
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 16 / June / 2009, 13:56:07
Same for me.
I have latest 1.1.1 FW (on XTi body),  2 different cards (512 Kingston  and 2048 Sandisk), one formated in camera and second using system tools( parted).
Camera doesn't blink with autoexec.bin and can start without it ( even after removing of both batteries.)
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 16 / June / 2009, 13:58:24
Yeah, full agree, ive tried it with an platinum 1gb and a sandisk extreme III 2gb --> no blue light

pls show me the place in hex, where "bootdisk" should stand (0x40) cant find this (maybe as coordinates or a screenpicture)
Title: Re: Eos 400d ( Rebel XTI )
Post by: matthias87 on 16 / June / 2009, 13:59:46
See one page before, there is a fullguide with many pictures.
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 16 / June / 2009, 14:07:19
oh thanks, im sorry, didnt see this page in the doc

which cf card are you using thaibv
i know from much other people that it doesnt work - and evereyone cant believe that their card is not bootable...
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 16 / June / 2009, 14:07:57
I can turn on camera normally....

Another way to turn CF-Card bootable? Cardtricks says "bootable" and hxd shows "BOOTABLE" at 0x40...
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 14:10:20
Very sorry,
I don't know why. Let me check it.
I will reflash my 400d firmware, reprepare my card and test it again.
Please wait!
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 16 / June / 2009, 14:34:30
hi guys, hi thaibv

thank you for your help and your efforts,

i'm also have the problem with a bootable card.
my camera starts everytime (with/without card)
My cards a Sandisk Ultra II  GB and TRANSCEND 133 2GB and my camera are a eos 400D (bought in germany) with 1.1.1 FW
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 15:05:50
Hi all,

Reflashed my 400d firmware, format and prepare my card again and it work like a charm.
I use Transcend 2gb 133x. My firmware 1.1.1 downloaded from Canon USA site here: http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&fcategoryid=139&modelid=14257#DownloadDetailAct (http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&fcategoryid=139&modelid=14257#DownloadDetailAct)

Very sorry!
Now my local time is 2 am, will borrow another card tomorrow and find out why. 
Title: Re: Eos 400d ( Rebel XTI )
Post by: matthias87 on 16 / June / 2009, 15:18:45
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 15:39:12
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 16 / June / 2009, 16:02:49
pls explain again, step by step, how to select iso3200, maybe there is the problem...
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhyrePhoX on 16 / June / 2009, 16:11:47
if it doesnt boot the hack you cant set the iso...
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 16 / June / 2009, 17:24:48
IT WORKS :-)

i do the posted steps by thaibv and load the testfir.fir on the cf card (http://chdk.setepontos.com/index.php/topic,1618.0.html (http://chdk.setepontos.com/index.php/topic,1618.0.html)). After i go to fw-updade at the camera menu, the cam loads and "hang off".

i removed the akku and started the camere seconde time, and i see a blue led blinking.
If i put a "normal" CF Card, it work normaly...


THANKS GUYS FOR YOU HELP!!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 16 / June / 2009, 17:50:35
bingo!

Thank you guy! And tahibv!

But it doesn't show the ISO on the display? Is it right?....
Another question: What is "Factory Mode"?....

Great work! testfir.fir is the trick
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 16 / June / 2009, 17:54:55
this is right, you have to remember your iso settings, or looking to the information of the last picture.

thaibv said something about reset the metring-mode from spot to default, with the factory mode
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 16 / June / 2009, 18:10:05
ah factory-mode

if you press it, you have at the cam-menu a new point "factory" and you can do some camera test/checks ;-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 16 / June / 2009, 21:48:14
IT WORKS :-)

i do the posted steps by thaibv and load the testfir.fir on the cf card (http://chdk.setepontos.com/index.php/topic,1618.0.html (http://chdk.setepontos.com/index.php/topic,1618.0.html)). After i go to fw-updade at the camera menu, the cam loads and "hang off".

i removed the akku and started the camere seconde time, and i see a blue led blinking.
If i put a "normal" CF Card, it work normaly...

THANKS GUYS FOR YOU HELP!!!


Oh my God!
Thank you Lykantroph! you have a big finding.

Sorry guys! That's all my mistakes. I don't remember exactly when, but i am sure that i tried the file testfir.fir before as Lykantroph did above.

I really confused about the name of that topic is 'Rescue' and what Owerlord said:


Why I'm writing it? Two reasons:

1. So if you'll break the camera like that, mayby it will help you (attached .fir and AUTOEXEC.BIN)
2. As I said in a other thread: I'm not rich man - I was terrified when It happened (guarantee expired, so much money!), and I had to write somewhere :-)


So I think the testfir.fir file is for rescue only (if I brick my cam) and did not recognize that it is the key step. :-X

But now everything are OK, please enjoy the hack.
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 17 / June / 2009, 02:42:23
doesn't matter thaibv. :D

Now it works :-) Thanks a lot for the autoexec.bin
Can you maybe tell us what other features are still available?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 17 / June / 2009, 11:14:32
I don't know about many features more, but I'm working on some auto iso functions. It's not fully ready, but it will be :-) After this i want to integrate functions in the system menu, so we don't have to press keys, to enable them. Simpli select it from menu. Untill then enjoy these bin's.
A
Title: Re: Eos 400d ( Rebel XTI )
Post by: matthias87 on 17 / June / 2009, 11:51:33
Sooo happy, you made my week ;)

Big thanks to the developer and helper of the hack!!!

Title: Re: Eos 400d ( Rebel XTI )
Post by: PhyrePhoX on 17 / June / 2009, 12:51:44
i guess this is the first DSLR modification that really is released to the public. congratz. this will be big news for the dslr sites - i guess. hopefully this will be explored more, and more devs come join in on the fun (without financial interests of course :D).
btw welcome to the elite circle of devs on this board, Foldesa. Time to introduce yourself, i mean, you havent really been active before the 400d hack on this board here, have you ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 17 / June / 2009, 13:32:53
am i allowed to write a full howto, for sure with thanks to thaibv and lykantroph, with the links to the files
and upload it on another german board?
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 17 / June / 2009, 15:29:34
yes, really great work guys!!!

thaibv and foldesa you spoke something about shutter speed? what you mean?
Is it maybe possible to raise the picturefrequenzy?
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 17 / June / 2009, 15:38:20
Foldesa, it would be great, if everyone could use iso3200 as if it is normal in the cam integrated!

So, i dont think that it is possible that you could enable a faster shutter speed, maybe at the expense of a new shutter ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 17 / June / 2009, 21:54:12
am i allowed to write a full howto, for sure with thanks to thaibv and lykantroph, with the links to the files
and upload it on another german board?

Bugmenot, may be you can. Becoz the moderartor PhyrePhoX wrote:
 
i guess this is the first DSLR modification that really is released to the public. congratz. this will be big news for the dslr sites - i guess. hopefully this will be explored more, and more devs come join in on the fun (without financial interests of course :D).

But you should ask The Moderator for allowance, I think.
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhyrePhoX on 18 / June / 2009, 00:34:06
lol. go ahead :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 18 / June / 2009, 02:04:06
Wow, hold your horses :)
So many requests ( witch I also want ;) ) and so little time. I only have a few hours a week for this. My family and work takes most of my time.
Anyway, I think enableing ISO 3200 in menu should not be hard. There is a string for this in the firmware. Maybe it's a hidden function. I will try to find it after my wisit to Prague :) Then I will finish auto iso. After this I will try integration to system menu. This is the order for me. Maby someone else is tring such things, and share our expiriances.
A
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 18 / June / 2009, 10:40:43
Go slow foldesa, doesn't matter. Your work until is great.

I wish i can help you but my asm knowledge is realy smalllll....  ::)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 23 / June / 2009, 15:54:38
Very nice !
I also got crazy not booting anything before I understood testfir.fir was a necessary step.

Now I have a few questions:

1) What does testfir.fir ??
2) Where does it come from ?

I don't just wish to use this hack but to contribute as much as I can.

About AUTOEXEC.BIN, which is the best at the moment?

I noticed people is using cygwin and an arm toolchain to build it.
Where can I find more infos?
Title: Re: Eos 400d ( Rebel XTI )
Post by: davo_fn on 23 / June / 2009, 16:32:40
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 23 / June / 2009, 16:42:50
Some success :-) There is a "cf_extend_iso" hidden custom function. This enables ISO3200 to apear in the system menu. Some bugs with it. It doesent appear always. In a few days I will post the code and the bin file, when it's stable.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 23 / June / 2009, 16:44:01
Title: Re: Eos 400d ( Rebel XTI )
Post by: davo_fn on 23 / June / 2009, 16:51:25
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 23 / June / 2009, 21:56:48
Well, davo, not really since the bootloader is changed.. but I tested it and you can safely go for it.
Just remember FIRST to "upgrade" to testfir.fir THEN put AUTOEXEC.BIN on the CF and make it bootable.
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 24 / June / 2009, 08:43:46
Some success :-) There is a "cf_extend_iso" hidden custom function. This enables ISO3200 to apear in the system menu. Some bugs with it. It doesent appear always. In a few days I will post the code and the bin file, when it's stable.
Great work!
ISO3200 in menu, spot-metering in menu and its mostly perfect! Thank you!

- okay, more frames per second, or an Auto-ISO-function would be great - ;) but...
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 24 / June / 2009, 14:03:39
Foldesa, which file do you analyse and with which software?
Title: Re: Eos 400d ( Rebel XTI )
Post by: davo_fn on 24 / June / 2009, 16:28:14
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 25 / June / 2009, 11:49:13
Do you know if there is a way to make this work on a 350D  too ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 28 / June / 2009, 21:38:11
any news? keep us posted!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 29 / June / 2009, 14:58:51
Please be patient. I have so little time, since I've become a father on 1th on june  :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: lykantroph on 29 / June / 2009, 15:14:12
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 29 / June / 2009, 15:37:46
Please be patient. I have so little time, since I've become a father on 1th on june  :D
Best wishes ;) ! All the best for your child!

But when you are online the next time, please tell me, which file  with which software to analyse?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 29 / June / 2009, 18:57:04
Please be patient. I have so little time, since I've become a father on 1th on june  :D

I'm also fresh from fatherhood .. I can understand you well..
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Ffarm3.static.flickr.com%2F2585%2F3664753565_2cef0db735_m.jpg&hash=35cdbbbb75591ef35e8b1a35a3963f0e)

I have patience I was just curious about any progress..
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 30 / June / 2009, 02:01:27
Please be patient. I have so little time, since I've become a father on 1th on june  :D

Congratulation!
There's many new father here. Me too  :D

Some news:
- Now I can make it show correct ISO value on screen, it change when set ISO from Cannon iso dialog and  when press DP button to hack ISO also.   Only when switch it back on, it show incorrect number (if switch off before with a value other than the original 100, 200, 400, 800, 1600).
- Another secret thing is I can write down Shutter Release count that Canon hide from public (to a file in CF card).

Wait for more hours, I will post my bin file and code when at home after work.
  
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 30 / June / 2009, 13:07:15
I don't get it !!! Damn  >:(
For some reasons I can't always turn on ISO 3200 in the menu. Sometimes it goes, sometimes not. I'm tearing my hear out :) My cameara is half dead anway. The dust delete hardware is broken... Anyway I will try :-)

Zibri, You mean you can display other walues not just 100, 200, 400, 800, 1600 ? Can for exampl.:320 be shown ? It would be great :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 30 / June / 2009, 13:36:48
Best wishes ;) ! All the best for your child!

But when you are online the next time, please tell me, which file  with which software to analyse?

Let me help you tell me! :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 30 / June / 2009, 13:43:59
No spesific program. Just the decoded firmware and function lists, and some logs created when the camera is running and features are called and lots of try.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 30 / June / 2009, 15:24:51
Hi,

Here my new files:  **updated: Download newer files here: http://chdk.setepontos.com/index.php/topic,3290.msg36095.html#msg36095 (http://chdk.setepontos.com/index.php/topic,3290.msg36095.html#msg36095)
Bin: http://depositfiles.com/files/mdlitu1zy (http://depositfiles.com/files/mdlitu1zy)
Code: http://depositfiles.com/files/v16vcrkmg (http://depositfiles.com/files/v16vcrkmg)

How to use:
-Press DP button-> change iso
-Press Left arrow to display Mestering Dialog, then press DP button -> Spot meter
-Press Menu button to show camera menu then press DP to enter Factory mode (After camera beep, press Menu button twice to see Factory menu)
- Go in to "Factory Menu" dialog then press DP again to active Debug mode. After a beep, you will see CF red led blink when you press any button on your Cam. It write log to a file named 'STDOUT.txt' at the card's root directory.  To know yours shutter release count, set Spot metering when in debug mode then take out and insert your CF card into cardreader, open this file in Notepad and search for string: Release.

note: the bin file have bugs. Some time it turn off display and you have to switch off then back on.

regards,
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 30 / June / 2009, 17:37:50
Another great work! Nothing for real use, but it looks great.

It displays the ISO, the handling is better.

The shuttercount works!
But what is "RecentErrorX" ..... ?

Will you build an ISO-Function, that let us control the ISO-Settings in the menu?
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 30 / June / 2009, 20:16:17
why not, do nothing for real use while it display real iso on screen?

"RecentError..." is some last Canon's loged error (guess: cannot focus, Error 99, Batery empty, no cf card, card full...)

Full ISO seting menu?  Have no answer now but may be in future.

thanks for trying!
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 01 / July / 2009, 08:49:56
Sorry, but if i'll take a picture and the camera turns off display.... No, its not for productive use. Not for ME ;)

I'm testing the aktual autoexec.bin with my 2gb CF, the older one on 4gb CF. Both are working. The older one perfectly!

If i can help you, just say a word. I would do my best.
Title: Re: Eos 400d ( Rebel XTI )
Post by: bugmenot on 01 / July / 2009, 11:02:51
The shutter realese count is great! Some photos more than the seller told me, but not much :D

Did you noticed the comment before: "*** unofficial information ***" There you can also look how often e.g. Error1 was noticed by the camera!

Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 01 / July / 2009, 11:32:07
Oh. An ISO-problem?

If i set ISO to 100, the EXIf says ISO100
If i set ISO to 125 the Exif says ISO160
Ii i set ISO to 80 the exif says ISO100

If i set ISO to 3200 the EXIF says ISO 1600
And so on.

The problem is, if i set ISO1600 and press the "direct-print-button", dhe Camera sets ISO 2000, but displays ISO 1600. (Exif = ISO2000). If i press the "direct-print-button" twice, camera sets ISO to 2500 (EXIF) and displays 2000....
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 01 / July / 2009, 11:59:52
@ T.B.
Yes, I have corrected the error and upload it.
Pls download here.
bin: http://depositfiles.com/files/q3qf9wlmi (http://depositfiles.com/files/q3qf9wlmi)
code: http://depositfiles.com/en/rmv/4635584710418704 (http://depositfiles.com/en/rmv/4635584710418704)

I think it turn off display sometimes becoz you press DP too fast and continuously.
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 01 / July / 2009, 16:43:43
Thanks for the new .bin file! You are very fast.
Yes, you're right. Today, i was at a private poolparty. I shot with your actual .bin file to test it.
I could reproduce the error, when i changed the ISO blind and fast.

But i had another problem: Sometimes, i get the "Error99". I would say, every 20-30 picture (RAW+L) couldn't be saved, because there was an Error99...
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 02 / July / 2009, 18:01:11
Hello thaibv.
Your code download  link in reply #91 doesn't work, it looks like code for file deleting.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 05 / July / 2009, 21:34:51
Ahhhh,

Sorry, I copy and paste wrong link

The corect one is here: http://depositfiles.com/files/utoebjg8m (http://depositfiles.com/files/utoebjg8m)
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: EOS 400 D MAN on 08 / July / 2009, 15:51:37
Do you think it is possible to add Auto-ISO?
Sorry for my bad English.

Michael
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 08 / July / 2009, 21:35:38
Everything is possible.
At the moment the top priority should be to have the right ISO in the display.
Title: Re: Eos 400d ( Rebel XTI )
Post by: EOS 400 D MAN on 09 / July / 2009, 09:03:03
Yes that is more important.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 10 / July / 2009, 01:36:47
Do you really think AUTO ISO will be a good features in Creative Mode?

I think extend Auto-ISO range over 400 in Auto and Image modes is better
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 10 / July / 2009, 13:20:16
Hi again,

woud you like something to test?

Please:
bin: http://depositfiles.com/files/xmvw5wzu8 (http://depositfiles.com/files/xmvw5wzu8)
code: http://depositfiles.com/files/qhjxzdmmd (http://depositfiles.com/files/qhjxzdmmd)

it is nearly no error but turn off display if press DP toooo fast.  Spend several hours to find out why it switch off display but not success. It become a pain now  :'(
Title: Re: Eos 400d ( Rebel XTI )
Post by: briveira on 11 / July / 2009, 04:46:50
mmh, after taking a 3200 ISO picture the screen does not work (it does not show the photo just taken), and hungs doing other things (like changing ISO, has just happened to me, had to remove battery) - but spot measurement works very well
Title: Re: Eos 400d ( Rebel XTI )
Post by: briveira on 11 / July / 2009, 04:51:51
Also, it does not go below ISO 80 (maybe it shouldnt :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: briveira on 11 / July / 2009, 05:02:14
thaibv, the one in msg #91 works better for me
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 11 / July / 2009, 23:45:38
Hi again,

Tested and know for sure that the error that turn off disp cause by Canon System MessageQueue Function. It cannot handle too much key press in a little time (when press DP too fast and continuously). So have to slow it down

Pls try this version:
bin: http://depositfiles.com/files/x8gvyr8jh (http://depositfiles.com/files/x8gvyr8jh)
code: http://depositfiles.com/files/kwcyvo9o4 (http://depositfiles.com/files/kwcyvo9o4)

will check CreateMessageQueue Procedure and post result.

@briveira:
thanks for testing. Pls download my first posted bin file to try iso lower than 80, but infact it unusable.
  
Title: Re: Eos 400d ( Rebel XTI )
Post by: briveira on 12 / July / 2009, 06:44:40
thaibv, ISO3200 now works, and I was unable to hang the camera (for now)  :)  

there's one problem left: somehow after changing ISO to a non standard one, you cannot change to ISO 100; as a software developer, without looking through the source code, it is as if the menu code does not notice the change to ISO 100 because it shows it as the default selected option whenever you have a non-standard ISO selected

of course, you can change to another stardard ISO (200, 400...) and then go to ISO 100, just move the menu selection
Title: Re: Eos 400d ( Rebel XTI )
Post by: briveira on 12 / July / 2009, 08:06:35
mmmmh, managed to hang it again pressing DP very fast...
here is the STDOUT.TXT http://briveira.com/400dchdk/STDOUT.TXT (http://briveira.com/400dchdk/STDOUT.TXT)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 12 / July / 2009, 08:11:10
@ briveira
you are right  
Quote
the menu code does not notice the change to ISO 100 because it shows it as the default selected option whenever you have a non-standard ISO selected
, this is not a problem.

I will change some code to force it set iso to 100 when press SET right after show ISO diaglog.

I shoot a hundred pic today and it turn off my 400d's display one, and i face another problem that when in play mode delete button not work.
 
Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 15 / July / 2009, 00:06:32
Hi again,

Could some one hang your 400d using this bin file pls!  :D
bin: http://depositfiles.com/files/jdmun9g0c (http://depositfiles.com/files/jdmun9g0c)

enjoy it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: mx3 on 15 / July / 2009, 03:50:28
thaibv
I wonder did you publish source code of your project?
would not it be useful to upload it to svn?
I think it would accelerate development...

...
edit: found source code :-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: rfssksd on 15 / July / 2009, 15:01:38
Hi again,

Could some one hang your 400d using this bin file pls!  :D
bin: http://depositfiles.com/files/jdmun9g0c (http://depositfiles.com/files/jdmun9g0c)

enjoy it.

This last release works greatly on my 400d, but I noticed a little bug, when you set ISO 2500 the LCD wrongly displays "ISO 2200".

I think this will be fixed very easily.

Thanks to the developers for working on this hack!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 15 / July / 2009, 21:50:12
Hi all,
This last release works greatly on my 400d, but I noticed a little bug, when you set ISO 2500 the LCD wrongly displays "ISO 2200".

Oh yes, this bug stay there for a month.

The correct one here:
bin: http://depositfiles.com/files/0zwohq1wl (http://depositfiles.com/files/0zwohq1wl)
code: http://depositfiles.com/files/ii78hnswj (http://depositfiles.com/files/ii78hnswj)
Title: Re: Eos 400d ( Rebel XTI )
Post by: mx3 on 16 / July / 2009, 06:43:49
you are using DMY scheme to name files. that is not very good for file sorting.
can you use YMD? :-)
Y - year, M - month, D - day
I'm not owner of DSLR.
Just watching your progress :-)
Good Job!!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: matthias87 on 19 / July / 2009, 16:40:34
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 22 / July / 2009, 10:18:43
No Answer is a good answer:

The newest .bin is the best. No problems!
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 23 / July / 2009, 22:40:54
Hi again,

Too busy preparing company half year financial report, so have not much time for this .bin project.

Here a copy that can set iso 16, 32, 40, 50.  Bin: http://depositfiles.com/files/rppxv8lkt (http://depositfiles.com/files/rppxv8lkt)
But it has some limit:
 - Can not display iso vavule of 16, 32, 40, 50.
 - Pictures seem to be overexposed at these low iso (infact ISO80 overexposed 1/3 av)

Bye!
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 30 / July / 2009, 03:33:45
Hi,

can disp iso 16, 32, 40, 50 on screen now, will upload soon after test ok.

really get stuck, can't find a way to show spot mesure image on screen and don't know how to create a custom menu too.

 
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 02 / August / 2009, 08:25:03
Hi again,

Here are .bin and source code files that can display iso 16, 32, 40,50 on screen (have to use a difference way to show these low iso values, so it blink/flash screen).
bin: http://depositfiles.com/files/oe1vx3kai (http://depositfiles.com/files/oe1vx3kai)
code: http://depositfiles.com/en/rmv/2154911844222577 (http://depositfiles.com/en/rmv/2154911844222577)

New features:
set: Shoot without card ON to access low iso speeds
set: Beep  ON  to enable  auto AV compensation for low iso speeds

Objective task:  Spot mesure's image on screen
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 03 / August / 2009, 07:06:37
Working.
But the "beep"..... i hate the beep.... ;)
Isn't it able to put more/these functions into the CFn.?

What do you mean with: "Objective task:  Spot mesure's image on screen"? Your next "project"?
What about the ISO3200 in the menu?


And BIG thanks for your great work! I really like it :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Lefty on 03 / August / 2009, 11:10:55
Hi thaibv,

your new .bin File works great.
I just installed it on my 400D.

Only one thing... I disabled the beep tone in the menu but there is still a beep while changing the aperture value (scrolling the wheel). This is very annoying i think.

Do you know why the photos are overexposed on ISO lower than 100? Is it because ISO 100 is the minimum sensitivity of our sensor?


Thanks for your great work! My EOS is hacked now... how cool is that!
I hope we hear more of you soon.

Lefty
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 04 / August / 2009, 07:25:28
Hi,

@T.B. and  Lefty: 
- I foget to remark a test code, so it beep when scroll the wheel (will correct soon). This test it to enable AvComp setting to +4 or -4 stop (default is 2)
- If you don't like the beep, I will eliminate all beep sound folow your setting of Beep in main menu. But this way, could you advice me a default Canon's function that I can use to signal my code when to turn on/of the auto change AvComp.

@ T.B.:  I concentrate on showing Spot image on display now, becoz Canon have no hidden Iso 3200 option to unhide (sure).  The only way to show it is to make a custom dialog with full range ISO selection (hide default ISO dialog). But I still have difficulty on how to create a dialog. Too much work :'(

FYI: found out a method to display low ISO value that don't flash/blink screen. Keep checking new post.
       
Title: Re: Eos 400d ( Rebel XTI )
Post by: Lefty on 04 / August / 2009, 11:36:29
Hi,

its not easy to find a suitable function for AvComp.
I think the best is to take a totally needless function, maybe Menu3 -> Print order-> Set up -> Date on/off or FileNo. on/off.
I never use the print functions on my EOS (maybe others do?).

But... why not enable AvComp by default when low ISO is enabled?

regards,
Lefty
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 05 / August / 2009, 22:07:09
Hi,
I've just uploaded new files here
Bin: http://depositfiles.com/files/7kp2livfw (http://depositfiles.com/files/7kp2livfw)
Code: http://depositfiles.com/files/g83nmqofy (http://depositfiles.com/files/g83nmqofy)

Set Video System to NTSC/PAL to turn Auto AvComp on/off respectively. No anoying beep sound  :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 06 / August / 2009, 11:04:51
Great! No annoying beep sound.

BTW: You could use every function in print-menu. Noone needs this menu.... ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 09 / August / 2009, 05:05:54
Hello,

Finaly it is completed. Here are my lastest .bin and code files for 400d.
bin: http://depositfiles.com/files/hb6wg7y00 (http://depositfiles.com/files/hb6wg7y00)
code: http://depositfiles.com/files/tn7h7n13n (http://depositfiles.com/files/tn7h7n13n)

Now you have Spot meter, full ISO range from 16 to 3200, auto Av compensation for low ISO (16 to 80) and especially it can display ISO value, Spot meter logo on screen.

Although it slow your 400d a little and you could not take a pic at 0.2 sec after turn on as original. However what you gain are much better.

One thing I worry about is my 400d's card door and card socket  :D(open/close, insert/remove a thousand times for test).   
Title: Re: Eos 400d ( Rebel XTI )
Post by: Lefty on 09 / August / 2009, 09:55:51
Good work!
The new release works fine. :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 09 / August / 2009, 12:13:53
Yes. Great work. Spot meter logo is working fine (a little bit small, but okay!)!

Very good! :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: jogreher on 09 / August / 2009, 13:52:16
Good work!
The new release works fine.
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhyrePhoX on 09 / August / 2009, 19:29:18
hey thaibv you should consider checking in your code in a public subversion repository, like we did with chdk. doesnt cost anything but its very useful. and it's not even difficult, even a child can do it. but it has a lot of advantages.
great stuff ur doing by the way. one day i will try it on my roommates 400d.
Title: Re: Eos 400d ( Rebel XTI )
Post by: whoever on 10 / August / 2009, 12:17:28
It would also be nice to edit the dedicated wiki page (http://chdk.wikia.com/wiki/400D), to reflect the state-of-the-art.

edit: And then, perhaps, to change the color of the corresponding link on the For Developers (http://chdk.wikia.com/wiki/For_Developers) page.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nikta on 12 / August / 2009, 14:00:18
hi and thanks

I believe that the last release has a bug with iso setting

you will see no differences between Iso 1600 and 3200 as well as iso 16 - 100 (i.e. sensibility of sensor in Iso 1600 is the same as iso 3200 if you shoot with the same time and ap.)

but the spotmetering is fantastic !

In release of post #120 the iso works fine

thanks




Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 13 / August / 2009, 08:19:43
Full ack.
Sometimes it seems to work. The actual release is a little bit buggy
Title: Re: Eos 400d ( Rebel XTI )
Post by: Lefty on 13 / August / 2009, 13:09:54
Yep there is a bug!

If you take a photo in Manual Mode there is no difference between ISO 1600 and ISO 3200.
In AV Mode the exposure time changes between ISO 1600 and ISO 3200 (this is ok) but the ISO 3200 photo is underexposed.
Title: Re: Eos 400d ( Rebel XTI )
Post by: denis-cubic on 14 / August / 2009, 16:28:57
This is a very good job!
But i can only set iso to 80 not to 16!

And so on where can i activate the other functions? Do you have a readme or infofile. Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: nikta on 15 / August / 2009, 01:59:54
@ denis-cubic-->

set: Shoot without card ON to access low iso speeds
Title: Re: Eos 400d ( Rebel XTI )
Post by: denis-cubic on 15 / August / 2009, 09:11:24
The Picture in ISO 16-80 is the same as in 100 ... no difference!?

Where or how can i access the other new features?
Title: Re: Eos 400d ( Rebel XTI )
Post by: photogenic on 15 / August / 2009, 11:24:17
Hi!
Is it possible to tag images with a number?
I would like to set a number of four digits in the menu, which is saved within the EXIF data of each picture.

This function would be really useful as I could pre-organize my pictures on the fly with numbers.
Title: Re: Eos 400d ( Rebel XTI )
Post by: gratiz on 16 / August / 2009, 20:07:50
can someone tell me where i can grab a dump of the firmware on which this stuff work ?

i would like to port that stuff to the 1000D.

thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 18 / August / 2009, 11:55:13
Hi,

@Lefty, T.B., nikta
sorry for the late, i've just have a vacaction.
yeah, you are right, the last release have a bug.
Pls download the correct one here: http://depositfiles.com/files/jbygql51l (http://depositfiles.com/files/jbygql51l)

@denis-cubic
Shot many pic at iso 16, 32, 40, 50, 80 but i think it really iso 116, 132, 140, 150, 180 respectively

@photogenic
Really dont understand your question, each pic already have their own unique 4 digit number yet.

@gratiz
1000d is new model, you will lost guarranty if try this
Title: Re: Eos 400d ( Rebel XTI )
Post by: gratiz on 18 / August / 2009, 17:27:35
it doenst modify anything in flash. only in the ram so i dont think it can destroy anything.
i allready wrote a dumper for the firmware. deassembled it and now i want to search for the needed functions
offsets and try some of the first builds.

so maybe someone can help me out with a 400d dump to compare the functions ....
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 18 / August / 2009, 19:26:18
it doenst modify anything in flash. only in the ram so i dont think it can destroy anything.

The test.fir change boot flags in your cam's cmos rom, so your cam can boot up from card.

Dont know whether 1000d use VxWork or DryOS, pls read other topics.
if it use vxwork, there are alot text string and code for debug. Let search for string ex: ISO, 1600, 800, 400, 200, Av,Tv, A-DEP... or longer: StartUp, FileCounter, FaceSensor, LcdController, GUI Changed.

 
Title: Re: Eos 400d ( Rebel XTI )
Post by: gratiz on 18 / August / 2009, 20:56:04
the 1000D uses vxworks like the 400D.

strings:
"host:/tornado2.2/target/proj/juno/default/vxWorks"
ROM:FF810008 aCopyright19992 DCB "Copyright 1999-2001 ARM Limited",0xA
ROM:FF810008                 DCB "Copyright 1999-2001 Wind River Systems, Inc."

sig also work fine ;)

and the code also gets loaded to 0x1900 like with the 400D

ROM:FF8100DC                 MOV     R12, SP
ROM:FF8100E0                 STMFD   SP!, {R4,R11,R12,LR,PC}
ROM:FF8100E4                 SUB     R11, R12, #4
ROM:FF8100E8                 MOV     R4, R0
ROM:FF8100EC                 LDR     R3, =0x37840
ROM:FF8100F0                 SUB     R2, R3, #0x1900
ROM:FF8100F4                 MOV     R3, R2,LSR#2 
ROM:FF8100F8                 LDR     R0, =off_FFD51840
ROM:FF8100FC                 MOV     R1, #0x1900
ROM:FF810100                 MOV     R2, R3
ROM:FF810104                 BL      sub_FF81011C
ROM:FF810108                 MOV     R0, R4
ROM:FF81010C                 BL      usrInit
ROM:FF810110                 LDMDB   R11, {R4,R11,SP,PC}


i allready compared the dump with a 1.0.8 400D dump and its near the same. thats why it shouldnt be a big problem to port it to the 1000D.

ROM:FFFF439C aEos_develop    DCB "EOS_DEVELOP",0     ; DATA XREF: sub_FFFF4144+11Co
ROM:FFFF439C                                         ; sub_FFFF4144+138o ...
ROM:FFFF43A8 aBootdisk       DCB "BOOTDISK",0        ; DATA XREF: sub_FFFF4144+12Co
ROM:FFFF43A8                                         ; sub_FFFF4144+148o ...

is also there and ..

ROM:FFFF30B4 aAutoexec_bin   DCB "AUTOEXEC.BIN",0    ; DATA XREF: sub_FFFF3004+48o
ROM:FFFF30B4                                         ; sub_FFFF3004+6Co



Title: Re: Eos 400d ( Rebel XTI )
Post by: nicholas-c on 24 / August / 2009, 22:00:13
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
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 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.
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 25 / August / 2009, 13:44:22
Yes.
Title: Re: Eos 400d ( Rebel XTI )
Post by: raingrove 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 (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 (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 (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 (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.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv 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)
Title: Re: Eos 400d ( Rebel XTI )
Post by: raingrove on 26 / August / 2009, 12:58:37
2 sec self-timer would be nice.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ahoffmannphotography 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!!!!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Lefty 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!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri 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!
Title: Re: Eos 400d ( Rebel XTI )
Post by: ahoffmannphotography 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 (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?
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 28 / August / 2009, 11:30:39
Hi,

@ahoffmannphotography
if you can see the blue led blink when turn on your 400d with a CF card in, your cam is ready for the hack,  it must be something wrong with firmware or .bin file.
please make sure your cam run lastest firmware ver: 1.1.1 and use your cam to format your card (don't format in windows).  then use cardtricks to make it bootable, use HxD to change label.

edit: if your card already have the hack installed and your cam hang, not bootup, format it in windows first, after that insert into your cam and format it again.

edit2: Please read the guide from Raingrove here: http://chdk.setepontos.com/index.php/topic,3290.msg38630.html#msg38630 (http://chdk.setepontos.com/index.php/topic,3290.msg38630.html#msg38630)

Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 28 / August / 2009, 14:31:54
I Followed the Instructions and they work great. One thing i would like to ask is how to does spot metering work. I managed to switch meter from partial to spot but i don't know which area is being metered? Does it work like center metering ?

Title: Re: Eos 400d ( Rebel XTI )
Post by: ahoffmannphotography on 28 / August / 2009, 17:26:57
wow just got it to work absolutely incredible!!!! Thanks everyone for your help! One more question, when i try to do the shutter actautions thing i get the .txt file and then search for "release" but it says that this word has not been found????

This is what I got (sorry for the long post):

  2373:  108110 [!] sz: 03, code: B8, hex: 03B800
  2374:  108110 [!] sz: 03, code: 8D, hex: 038D00
  2375:  108120 [MC] T:0002, S:0100, 46
  2376:  108120     sw:0184(0000)
  2377:  108120 [MC] T:0004, S:0100, 47
  2378:  108120     act:0141
  2380:  108120 [!] sz: 04, code: 31, hex: 04310101
  2381:  108120 [MC] T:0001, S:0100, 48
  2382:  108120     info:0049
  2383:  108120 [STM] event: 1, 00:00:000, 0
  2385:  108130 [!] sz: 04, code: 74, hex: 0474EF01
  2386:  108140 [MC] T:0001, S:0100, 49
  2387:  108140 [MAIN] Temp. 239(EF)
  2388:  108140 [FACE] Temperature:31 TempGain:0
  2389:  118760 [!] sz: 04, code: A7, hex: 04A70000
  2390:  118760 [!] sz: 04, code: A8, hex: 04A80000
  2391:  118760 [!] sz: 05, code: 8C, hex: 058C000000
  [TFT-OLC] Notify Change.
------------------
--- Change OLC ---
------------------
 String   :
2392:  118760 [!] sz: 0A, code: 81, hex: 0A815016000044003000
  2393:  118760 [!] sz: 04, code: 80, hex: 04800000
  2394:  118760 [!] sz: 04, code: 80, hex: 04800100
  2395:  118760 [!] sz: 03, code: 8D, hex: 038D00
  2396:  118760 [!] sz: 03, code: 8D, hex: 038D00
  2397:  118760 [!] sz: 03, code: 51, hex: 035101
  2398:  118760 [MC] T:0002, S:0100, 50
  2399:  118770     sw:0167(0000)
  2400:  118770 [MC] T:0002, S:0100, 51
  2401:  118770     sw:0168(0000)
  2402:  118770 [MC] T:0004, S:0100, 52
  2403:  118770     act:0140
  2404:  118770 [MAIN] Olc Counter 0000
  2405:  118770 [MC] T:0004, S:0100, 53
  2406:  118770     act:0129
  2407:  118770 [MC] T:0004, S:0100, 54
  2408:  118770     act:0128
  2409:  118770 [MC] T:0004, S:0100, 55
  2410:  118770     act:0128
  2411:  118770 [MC] T:0004, S:0100, 56
  2412:  118770     act:0141
  2413:  118770 [MC] T:0004, S:0100, 57
  2414:  118770     act:0141
  2415:  118770 [MC] T:0001, S:0100, 58
  2416:  118770     ctrl:0081
  2417:  118770 [MAIN] Idle to GUI.
  2418:  118770 [!] sz: 04, code: 74, hex: 0474EF01
  2419:  118780 [MC] T:0001, S:0100, 59
  2420:  118780 [MAIN] Temp. 239(EF)
  2424:  118780 [MC] T:0012, S:0100, 60
  2425:  118780 [MC] T:0012, S:0100, 61
  2428:  118790 [FACE] Temperature:31 TempGain:0
  2431:  118790 [!] sz: 04, code: 74, hex: 0474EF01
  2432:  118790 [MC] T:0001, S:0100, 62
  2433:  118790 [MAIN] Temp. 239(EF)
  2434:  118790 [FACE] Temperature:31 TempGain:0
  2435:  118810 [!] sz: 0A, code: 81, hex: 0A81502C000054103000
  2436:  118810 [MC] T:0004, S:0100, 63
  2437:  118810     act:0129
  2438:  118860 [MC] T:0012, S:0100, 64
  2440:  118880 [!] sz: 03, code: 8D, hex: 038D00
  2441:  118880 [MC] T:0004, S:0100, 65
  2442:  118880     act:0141
  2447:  118900 [MC] T:0007, S:0100, 66
  2448:  118900 [MAIN] StartFaceSensor.
  2449:  118900 [MAIN] FaceSensor On(0)
  2450:  118900 [MAIN] cannot TFT OLC. 1, 0, 00000002
  2451:  118900 [MC] guimode_idle
  2452:  118900 [MC] GUI Changed :1
  2453:  118900 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2454:  118900 [STM] event: 1, 00:00:000, 0
  2455:  118900 [MC] T:0004, S:0002, 67
  2456:  118900     act:0129
  2457:  118900 [FACE] StartFaceSensorReadyToActive: state = READY[2]
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: ahoffmannphotography on 28 / August / 2009, 17:28:32
 2458:  118900 [DISPPOW] Turn Off Start
  2459:  118900 [LCD] DisableLcdController
  2460:  118920 [MC] T:0028, S:0002, 68
  2461:  118920 [MAIN] TFT OLC
  2462:  118920 [LCD] EnableLcdBackLight
  2463:  118920 [FACE] FaceStatus: state =  0
  2467:  118920 [MC] T:0006, S:0002, 69
  2474:  118930 [MC] T:0007, S:0002, 70
  2475:  118930 [MC] GUI Changed :7
  2476:  118930 [STM] event: 1, 00:00:000, 0
  2483:  119060 [DISPPOW] Turn Off Complete
  2484:  119060 [DISPPOW] Turn On Start
  2500:  119310 [LCD] EnableLcdController
  2501:  119310 [DISPPOW] Turn On Complete
  2502:  119490 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2503:  119490 [MC] T:0004, S:0002, 71
  2504:  119490     act:0129
  2505:  120040 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2506:  120040 [MC] T:0004, S:0002, 72
  2507:  120040     act:0129
  2508:  120540 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2509:  120540 [MC] T:0004, S:0002, 73
  2510:  120540     act:0129
  2511:  121090 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2512:  121090 [MC] T:0004, S:0002, 74
  2513:  121090     act:0129
  2514:  121590 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2515:  121590 [MC] T:0004, S:0002, 75
  2516:  121590     act:0129
  2517:  122140 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2518:  122140 [MC] T:0004, S:0002, 76
  2519:  122140     act:0129
  2520:  122640 [!] sz: 0A, code: 81, hex: 0A81502D000054003000
  2521:  122640 [MC] T:0004, S:0002, 77
  2522:  122640     act:0129
[TFT-OLC] Notify Change.
------------------
--- Change OLC ---
------------------
 String   :
 Av     : F1.8
  2523:  122820 [!] sz: 05, code: 8C, hex: 058C000000
  2524:  122820 [!] sz: 04, code: 80, hex: 04800000
  2525:  122820 [!] sz: 0A, code: 81, hex: 0A815016000044003000
  2526:  122820 [MC] T:0004, S:0002, 78
  2527:  122820     act:0140
  2528:  122820 [MAIN] Olc Counter 0000
  2529:  122820 [MC] T:0004, S:0002, 79
  2530:  122820     act:0128
  2531:  122820 [MC] T:0004, S:0002, 80
  2532:  122830     act:0129
  2534:  128210 [!] sz: 04, code: AE, hex: 04AE0000
  2535:  128210 [MC] T:0002, S:0002, 81
  2536:  128210     sw:0174(0000)
  2537:  128220 [MC] T:0012, S:0002, 82
  2538:  128220 [MC] T:0012, S:0002, 83
  2539:  128240 [!] sz: 18, code: 90, hex: 1890010300000002FF015016004800000000501
  2540:  128250 [!] sz: 1A, code: 91, hex: 1A9100000005010000010100000000000001000
  2541:  128250 [!] sz: 16, code: 92, hex: 169200000000000000010000000000000000000
  2542:  128250 [!] sz: 04, code: 93, hex: 04930201
  2543:  128250 [!] sz: 04, code: 31, hex: 04310101
  2544:  128250 [MC] T:0005, S:0002, 84
  2545:  128250     info:0144
  2546:  128250     info:0145
  2547:  128250     info:0146
  2548:  128250     info:0147
  2549:  128250 [MC] T:0001, S:0002, 85
  2550:  128250     info:0049
  2551:  128260 [STM] event: 1, 00:00:000, 0
  2552:  128260 [STM] event: 1, 00:00:000, 0
  2553:  128260 [STM] event:12, 00:00:000, 0
  2554:  128260    SB : r-----FF, 22
  2555:  128260 [MC] T:0012, S:0002, 86
  2556:  128260 [!] sz: 03, code: 5C, hex: 035C01
  2557:  128260 [MC] T:0001, S:0002, 87
  2558:  128260     ctrl:0092
  2559:  128260 [MAIN] Idle to GUI.
  2560:  128260 [AS] Interval : 126s
  2561:  128260 [MAIN] ActiveSweep to GUI at Terminate.
  2562:  128260 [STM] event:21, 00:00:000, 0
  2568:  128280 [MC] T:0006, S:0040, 88
  2577:  128330 [MC] T:0007, S:0040, 89
  2578:  128330 [AS] Interval : 126s
  2579:  128330 [MC] guimode_idle
  2580:  128330 [MC] GUI Changed :1
  2581:  128330 [STM] event: 1, 00:00:000, 0
  2584:  128340 [MC] T:0007, S:0040, 90
  2585:  128340 [MC] GUI Changed :3
  2586:  128340 [STM] event: 1, 00:00:000, 0
  2590:  128360 [AS] Interval : 126s
  2591:  128370 [MC] T:0006, S:0040, 91
  2592:  128370 [!] sz: 04, code: 62, hex: 04628001
  2593:  128370 [MC] T:0001, S:0040, 92
  2594:  128370     ctrl:0098
  2595:  128370 [GUI-AS] startMnActiveSweepExec
  2598:  128390 [MC] T:0006, S:0040, 93
  2599:  128400 [AS] Interval : 126s
  2600:  128400 [AS] Start Active Sweep.
  2601:  128420 [AS] Pattern : 1
  2602:  128420 [AS] AS_CHK success. L->H->L
  2603:  128420 [AS] go pattern.
  2604:  128420 [AS]    pulse 92.
  2608:  128470 [AS]    pulse 93.
  2609:  128520 [AS]    pulse 94.
  2610:  128570 [AS]    pulse 95.
  2611:  128630 [AS]    pulse 96.
  2612:  128680 [AS]    pulse 97.
  2613:  128730 [AS]    pulse 98.
  2614:  128780 [AS]    pulse 99.
  2615:  128830 [AS]    pulse 100.
  2616:  128880 [AS]    pulse 101.
  2617:  128930 [AS]    pulse 102.
  2618:  128980 [AS]    pulse 103.
  2619:  129030 [AS]    pulse 104.
  2620:  129080 [AS]    pulse 105.
  2621:  129130 [AS]    pulse 106.
  2622:  129180 [AS]    pulse 107.
  2623:  129230 [AS]    pulse 108.
  2624:  129280 [AS]    pulse 109.
  2625:  129340 [AS]    pulse 110.
  2626:  129390 [AS]    pulse 111.
  2627:  129440 [AS] End Active Sweep.
  2629:  129440 [MC] T:0006, S:0040, 94
  2630:  129440 [MAIN] Idle to GUI.
  2644:  129500 [MC] T:0007, S:0040, 95
  2645:  129500 [AS] Interval : 0s
  2646:  129500 [AS] Cannot act by OVERRUN
  2647:  129500 [MC] guimode_idle
  2648:  129500 [MAIN] RequestShutDown
  2649:  129500 [MC] GUI Changed :1
  2650:  129500 [DISPPOW] EnableTurnOnDisplay
  2651:  129500 [MC] T:0013, S:0040, 96
  2652:  129500 [STM] event: 1, 00:00:000, 0
  2653:  129500 [DISPPOW] Turn Off Start
  2654:  129500 [LCD] DisableLcdController
  2655:  129510 [FACE] StopFaceSensorToReady: state = ACTIVE[3]
  2656:  129510 [FACE] StopFaceSensorToIdle: state = READY[2]
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 28 / August / 2009, 22:54:37
I Followed the Instructions and they work great. One thing i would like to ask is how to does spot metering work. I managed to switch meter from partial to spot but i don't know which area is being metered? Does it work like center metering ?

evaluative:  mesure whole viewframe
spot:  3% at the center
partial: ~10% at the center
center weight: not sure 40 or 60% viewframe but 10% at the center is most impacted


Quote from: ahoffmannphotography
get the .txt file and then search for "release" but it says that this word has not been found?

You forget to set spot mesure before take out card and view file .txt
Read guide step 11
Title: Re: Eos 400d ( Rebel XTI )
Post by: ahoffmannphotography on 29 / August / 2009, 01:01:24
wonderful thanks got it to work. wow 30,000 shutter actuations didnt think itd be that many
Title: Re: Eos 400d ( Rebel XTI )
Post by: hersa_wex on 30 / August / 2009, 03:04:37
Hello,

I have some question.

You mention about
Quote
please make sure your cam run lastest firmware ver: 1.1.1 and use your cam to format your card (don't format in windows).  then use cardtricks to make it bootable, use HxD to change label.

But in the 3rd step update firmware with testfir.fir, then the cam will blank screen. Need to remove battery and card. Do I need to insert the CF card into the cam and on it to format the card? Then only use cardtrick to make my CF bootable?

Quote
3. empty your CF, download testfir.fir from http://chdk.setepontos.com/index.php/topic,1618.0.html (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.


Please advise. Thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 30 / August / 2009, 03:32:30
Hi,

after run testfir.fir, pullout and reinsert battery, no need to remove CF card. then turn on and format the card using camera menu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: hersa_wex on 30 / August / 2009, 07:21:29
Thanks for the reply. I did it.  :D :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: cat on 31 / August / 2009, 20:43:57
Thanks a lot Thaibv 4 such a gr8 effort & hardwork to empower the cams with more features.  :-*

The hack got installed successfully.
But strangely i managed w/o HxD step.Did not find anything like 0x47.  :o There were hex addresses only & as per ur earlier clue, the rows & columns didn't match to show number 47.

+ earlier, the cardtricks said my 4gb cf needs to be formatted as fat16 & now my cf shows up on computer as canon dc drive.

Nothing to worry since hack works like charm.  :) But just wana know more reg details of loading it correctly.I'm about to mod couple of my friends' Powershots too.

Wishlist-

1]Just like iso hack, can u hack shutter speed too? Precise in camera Long exposures more than 30 secs in bulb mode viz 60, 80, 120sec upto 5 min. So no need to pack/carry crappy 555 timer based intervalometer[& its battery] for night photography & startrails

2]Currently only 3 custom pic.styles are supported. Can we have Custom profiles like 40D which remember  other settings like mode/metering/iso etc?
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 31 / August / 2009, 22:25:31
Hi,
@cat
Sorry I'm wrong, Cardtrick only work with fat 16 (just edited my previous post)
So use your cam to format your 4g card then use HxD to change label.

Tried hack shutter speed already, but canon protect the shutter very carefully. Can set the speed to 1/5000, 1/8000 but when taking picture it change to 1/4000. Becoz it is a precise and expensive component so not try hard to hack it

Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 02 / September / 2009, 07:54:24
Hi again,
Have a day off today, The Nation Day of Vietnam (2 Sep.). Nowhere to go so playing with camera and code.

Here my lastest release http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list)
New:
- Correct Evaluative mode set (now you can open dialog and press set button to active Evaluative mode, dont have to move cursor)
- Focus frame pattern. add 42 more patterns for your 400d, dont know 40d, 50d or higher models have this feature or not.
  Not easy to make it work, but the final code is very simple.

How to choose Focus frame pattern:
Normal use:  
- Press focus frame button to show FP dialog, use main dial or Up/Down/Left/Right button to choose focus point.
- Press focus frame button again to close dialog.

Pattern use:
- 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).  
- Press focus frame again to return to default canon focus frame mode.  

Hope ours Direct Print button not died too soon :lol
Title: Re: Eos 400d ( Rebel XTI )
Post by: gescheit on 02 / September / 2009, 10:53:22
Good news:) 
Title: Re: Eos 400d ( Rebel XTI )
Post by: Foldesa on 02 / September / 2009, 13:07:35
Hello again.
Sorry for a long time missed out, but I have very little time for programming.

thaibv you've made great process grats :-)

As I was trying to get AUTO ISO work I found out the correct values for shutter speeds. You can see them in the bottom of this post. The current shutter speed can be found at *(int*)(0x16b7c). So a simple "minimum shutter speed" auto iso can be written easily. But I didn't find any data corresponding to lens focal distance. This is required to make a really good auto iso.
In the next 3 weeks I can't access my laptop. Thaibv if you feel enough time on your hands, maybe you can implement a small while loop for a simple auto iso. If not i will post it in a few weeks.

Regards A

1/4000 0x98
1/3200 0x95
1/2500 0x93
1/2000 0x90
1/1600 0x8d
1/1250 0x8b
1/1000 0x88
1/800  0x85
1/640  0x83
1/500  0x80
1/400  0x7d
1/320  0x7b
1/250  0x78
1/200  0x75
1/160  0x73
1/125  0x70
1/100  0x6d
1/80   0x6b
1/60   0x68
1/50   0x65
1/40   0x63
1/30   0x60
1/25   0x5d
1/20   0x5c
1/15   0x58
1/13   0x55
1/10   0x53
1/8    0x50
1/6    0x4c
1/5    0x4b
1/4    0x48
0"3    0x45
0"4    0x43
0"5    0x40
0"6    0x3d
0"8    0x3b
1"     0x38
1"3    0x35
1"6    0x33
2"     0x30
2"5    0x2d
3"2    0x2b
4"     0x28
5"     0x25
6"     0x24 or 0x23
8"     0x20
10"    0x1d or 0x1c
13"    0x1b
15"    0x18
20"    0x15 or 0x14
25"    0x13
30"    0x10
Bulb   0x0c
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 03 / September / 2009, 12:00:02
Hi again,
Have a day off today, The Nation Day of Vietnam (2 Sep.). Nowhere to go so playing with camera and code.

Here my lastest release http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list)
New:
- Correct Evaluative mode set (now you can open dialog and press set button to active Evaluative mode, dont have to move cursor)
- Focus frame pattern. add 42 more patterns for your 400d, dont know 40d, 50d or higher models have this feature or not.
  Not easy to make it work, but the final code is very simple.

How to choose Focus frame pattern:
Normal use:  
- Press focus frame button to show FP dialog, use main dial or Up/Down/Left/Right button to choose focus point.
- Press focus frame button again to close dialog.

Pattern use:
- 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). 
- Press focus frame again to return to default canon focus frame mode. 

Hope ours Direct Print button not died too soon :lol

Nice work, but when shooting at 50 ISO all pictures are overexposed :(
Title: Re: Eos 400d ( Rebel XTI )
Post by: frogcement on 03 / September / 2009, 17:36:27
I just found this today, this is absolutely incredible work! Thanks for publishing it.
So far so good except for the following..

Is there anyway to get a 8gb or 16gb CF card to work?

Thanks for any info.
--
Keith

EDIT:--------------

my bad, i looked back thru some posts and found this:

FAT16:
at 0x2B "EOS_DEVELOP"
at 0x40 "BOOTDISK"

FAT32:
at 0x47 "EOS_DEVELOP"
at 0x5C "BOOTDISK"

all is well with my 8GB card now. ;-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 03 / September / 2009, 21:22:05
Hi,

@Foldesa
I think focal distance value only available while pressing shutter half way down.

@ frogcement:
Cheers, enjoy it.

@ Zibri
Yes, overexposed. Really I thing 400d's sensor minimum iso value is 100. So I wrote some code to auto Av for them, pls set Video to NTSC/PAL to turn on/ off auto Av.
-----------

Again, please post your opinion on lower 100 iso values, so i can decide to keep them available or not.
Thanks!



Title: Re: Eos 400d ( Rebel XTI )
Post by: frogcement on 03 / September / 2009, 22:41:08
Again, please post your opinion on lower 100 iso values, so i can decide to keep them available or not.
Thanks!

I've noticed that when i go down to ISO 80, my AV+/-
reading goes to -2/3 of a stop. I then have to increase
it manually back to "0".

I haven't had a chance to pixel peep at the difference
of ISO 80 vs. ISO 100, but will try to find time and report
my findings. Again, thank you for your great work.
--
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 04 / September / 2009, 11:13:10
Hi frogcement,

If you set iso 80 and increase manualy back to 0, yours image will overexposed.

When set iso 16, Av will auto down to -3, and at iso 16 image will too too bright, loss details if increase Av comp to 0.


Note: Have found a bug. Double press Focus Frame button to enter Pattern mode, then press Menu or Picture button cause display off when exit menu or Picture viewer mode

Edit: Pls move your finger over Face sensor or press Shutter button half way down to turn display back on. Dont worry, correct it very easy.
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 04 / September / 2009, 11:15:36
Great Work! I don't use the Low-ISO Settings - but the other functions are great.
The new focus-pattern are very useful. All my CF-Cards now are working with your autoexec.bin.

Very good work!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 04 / September / 2009, 11:20:38
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.

ReleaseCount:   6841

:D
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 04 / September / 2009, 11:24:44
By the way.. in the TEST MENU how does the autofocus check work ?
I have many errors when trying the AF CHECK..
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 04 / September / 2009, 11:28:08
Hi,
My shutter release 11641. It is said that some 400d pass 50,000 and still alive  

Edit: open len front cap, point your cam to something farer than 50cm and run AF test, you'll see your lens auto change focus. wait and see result (all lens minimum focus length less than 50cm)

Mine have 3 fails. Len 50mm F1.8 Mark II
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 04 / September / 2009, 12:37:25
How does  Focus frame pattern work? what does the feature exactly do. I will install it tonight due that i don't my cf reader with me at the moment. ;-(
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 04 / September / 2009, 13:09:54
Hi,
My shutter release 11641. It is said that some 400d pass 50,000 and still alive  

Edit: open len front cap, point your cam to something farer than 50cm and run AF test, you'll see your lens auto change focus. wait and see result (all lens minimum focus length less than 50cm)

Mine have 3 fails. Len 50mm F1.8 Mark II

Yes.. I know that!
I pointed the camera to something to focus on..
Start the AF check.
It goes all the way to infinite then to miniumum the it focuses.
But the exit code is ERROR.
I wonder why.

(same lens here:  50mm F1.8 Mark II )

Title: Re: Eos 400d ( Rebel XTI )
Post by: Vathek on 05 / September / 2009, 11:07:43
Hi to all, I just installed the testfir and it's very good to have spot metering!!

The only problem is that I wrongly started the SW_CHECK in ServiceMenu and now I have a red X on the SW_CHECK :(

All other checks are ok (green circle), but isn't there a way to force the test to complete successfully? Or better, what do I have to do to pass the test successfully?

Thank you very much! I hope to find a solution for that... (I tried installing again the original 1.1.1. fw from canon but the red X is still there... :( )


EDIT

I managed to find that I have to check all buttons to let the test pass, the problem is that I have four buttons/functions that I cannot find...

They are: 1.Accessory, 2.Main Dial1, 3,Main Dial2, 15.EXT ST,  what I have to do to pass this four tests?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 05 / September / 2009, 14:42:55
No need to pass tests.. That X is not saved anywhere.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Vathek on 05 / September / 2009, 15:15:52
No need to pass tests.. That X is not saved anywhere.

What do you mean? If I shut down and switch on the camera, that X still remain, the strange thing is that for other 2 test (screen and dial) I'm able to pass them...

In particular there are those 4 lines that I cannot pass inside the SW TEST (switch test I suppose)... but before entering it I remember there was a green circle... (probably from the factory)...

So I'm guessing if there's a way to force the test, or to make the test succeeded by writing the right values somewhere in the flash...

P.S.
Are you that "Zibri" known for the ZiPhone sw ? :P
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 05 / September / 2009, 15:48:36
vathek: yes I am "that" zibri (didn't know there were clones around).

What I meant is that that X doesn't change anything.
To pass tests usually sequences of keys or test patterns must be used.
Who cares ?

(I wondered about the autofocus test because I wish to know if that happens to everybody or just me)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Vathek on 05 / September / 2009, 19:07:23
vathek: yes I am "that" zibri (didn't know there were clones around).

What I meant is that that X doesn't change anything.
To pass tests usually sequences of keys or test patterns must be used.
Who cares ?

(I wondered about the autofocus test because I wish to know if that happens to everybody or just me)


Ok, I know that, but that X on the sw test makes me go mad :)
I'm a bit meticolous and I would like to pass that test...  so I have to figure out what the 4 lines are...

As I said before I was able to pass all lines (by pressing all switches) of the sw test except the following four:
1.Accessory
2.MAIN DIAL1
3,MAIN DIAL2
...
15.EXT ST

If someone knows how to do it, please let me know :)

(Just to explain to everyone I had to press all the switches on the camera and all the lines except those four went green.  Whenever all lines in a test are green the test is done right. If some lines are gray or not highlighted, the test fails with the number of failed lines... so I got a fail of 4.

If I remove the time/date battery, will the failed check remain?

EDIT
Well, I started a parallel topic on the factory menu for the EOS 400D, it's here:
http://chdk.setepontos.com/index.php/topic,4171.0.html (http://chdk.setepontos.com/index.php/topic,4171.0.html)

Probably it's better to continue there for issues related to the Factory Menu
Title: Re: Eos 400d ( Rebel XTI )
Post by: frogcement on 06 / September / 2009, 16:28:25
Hi frogcement,

If you set iso 80 and increase manualy back to 0, yours image will overexposed.

When set iso 16, Av will auto down to -3, and at iso 16 image will too too bright, loss details if increase Av comp to 0.

Great, thanks for the info. I don't see any improvement below ISO 80.
And it might just be wishful thinking that ISO 80 is better than ISO100.
Another question. What exactly does the testfir.fir do? I assume it's just an add on to the current loaded firware, correct? Where can I find the source code for testfir.fir?
Thanks,
Keith
Title: Re: Eos 400d ( Rebel XTI )
Post by: paten on 10 / September / 2009, 14:09:48
spot metering is very valuable for my 400D thx a million for this one :D

btw my ReleaseCount is: 66625

i can't believe it's above 50.000 0_0 and still alive :D *hopefully...
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 13 / September / 2009, 08:31:49
Hi,

Just uploaded new file here: http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list)
New:
- Focus point Pattern mode light illumination
- Corrected bug: display off when exit menu or Picture viewer mode if enter Menu or Picture viewer while Pattern dialog on.

Edit: name of bin file now added release date. Please rename to AUTOEXEC.BIN after copy to CF card.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ahoffmannphotography on 13 / September / 2009, 15:06:28
hi guys quick question,
  normally when you increase the ISO, the file size goes up.
 i.e the same picture at 1600 vs 100 ISO will be much larger. This then results in the remaining free space picture count to go down when you increase the ISO, yet this is not true when I switch from ISO 1600 to lets say ISO 3200. In fact the remaining number of pictures goes up. But when I download the image, the ISO 3200 is actually about 1mb bigger than the ISO 1600 picture.
   I also noticed that the file size under ISO 100 doesn't change.
   In compared all the images at all possible ISO and noticed that all ISOs under 100 dont make a difference. In my opinion this option is unnecessary and I think we should be looking at other things to change, not lowering the ISO.

 Anyways amazing jobs guys, you just made my old 400d 10 times better!!!!!! Thanks!!!!!!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: maiohwmai on 14 / September / 2009, 05:56:05
thaibv:

actually i found it's quite easy to active the hidden iso value.
i tried to set the hidden iso value (even they are not listed in menu) with PC software based on EDSDK,
it works fine. no firmware modification required.
i've tesed 350d with iso from 6 - 3200, all iso <= 1600 are worked, but 3200 not.
i guess some firmware hack is needed to extend the high iso.

i'm keep working with 350d.
cheers!
Title: Re: Eos 400d ( Rebel XTI )
Post by: fsnfs on 15 / September / 2009, 05:01:31
I have found that 400D flash light sync. speed is not 1/200; it is ok while 1/250, can crack it?


Hi,

Just uploaded new file here: http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list)
New:
- Focus point Pattern mode light illumination
- Corrected bug: display off when exit menu or Picture viewer mode if enter Menu or Picture viewer while Pattern dialog on.

Edit: name of bin file now added release date. Please rename to AUTOEXEC.BIN after copy to CF card.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 15 / September / 2009, 11:21:52
hi guys quick question,
  normally when you increase the ISO, the file size goes up.

Well.. the size goes up because higher iso values have more noise and noise is much more difficult to compress.
At low ISOs the noise is almost absent so the size won't change a bit.
Title: Re: Eos 400d ( Rebel XTI )
Post by: T.B. on 16 / September / 2009, 08:56:05
Yes - but the remaining pictures goes up, if you use ISO 3200 or 2000 instead of 1600....
Title: Re: Eos 400d ( Rebel XTI )
Post by: sadiesdad on 16 / September / 2009, 15:11:27
Hi,

Just uploaded new file here: http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list)
New:
- Focus point Pattern mode light illumination
- Corrected bug: display off when exit menu or Picture viewer mode if enter Menu or Picture viewer while Pattern dialog on.

Edit: name of bin file now added release date. Please rename to AUTOEXEC.BIN after copy to CF card.

Now what exactly does this do? i have loaded it, but do not seem to notice any difference.
Title: Re: Eos 400d ( Rebel XTI )
Post by: fsnfs on 17 / September / 2009, 04:30:17
anyone notice the flash light limite is not 1/200 it can up to 1/250 ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: bcomebilly on 17 / September / 2009, 20:03:22
Hi,

Just uploaded new file here: http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list)
New:
- Focus point Pattern mode light illumination
- Corrected bug: display off when exit menu or Picture viewer mode if enter Menu or Picture viewer while Pattern dialog on.

Edit: name of bin file now added release date. Please rename to AUTOEXEC.BIN after copy to CF card.

Hi thaibv.
Hi installed the chdk firmware on my 400D. It's all ok. But the filename of the images is changed in _MG_5000 (the old filename was IMG_5000).
Is this a modify of the new firmware?

Another question, can You explain this "Focus point Pattern mode light illumination "?
Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: frogcement on 17 / September / 2009, 20:53:19

Hi thaibv.
Hi installed the chdk firmware on my 400D. It's all ok. But the filename of the images is changed in _MG_5000 (the old filename was IMG_5000).
Is this a modify of the new firmware?

Another question, can You explain this "Focus point Pattern mode light illumination "?
Thanks

Some how or another you changed from sRGB color space to adobeRGB color space. Just go into your settings and change it back to small rgb
cheers. . . .
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 18 / September / 2009, 03:23:27
Hi,
Another question, can You explain this "Focus point Pattern mode light illumination "?

Red and blue led blink when you double press focus button to notice you "Focus point pattern mode" on.

------ FYI -- ------
can change position of items in Canon default dialogs (ex: Iso dialog, Measure mode dialog) but
not success to add something to those default dialogs.
Title: Re: Eos 400d ( Rebel XTI )
Post by: maiohwmai on 20 / September / 2009, 23:28:56
thaibv:
have you ever test your hack with usb connection?
i noticed your modification at line 235, line 283 and line 417 in entry.S
this maybe cause usb function failed (at lease on 350d)
try to do some "ADD" to get the right value 0x386d4000 and 0xc00000b8.
Title: Re: Eos 400d ( Rebel XTI )
Post by: SoNic on 23 / September / 2009, 20:44:41
Thank you for your time and for sharing this with us!
Worked like a charm...
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 02:09:52
Hi, I'm starting having problems with hight ISO's iso's greater then 100. The images are getting Horizontal Lines in them. The Greater the ISO the more line and the image produced is reddish. What could cause this issue and how could i solve it?

Thanks
Etienne 
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 27 / September / 2009, 02:39:37
Hi, I'm starting having problems with hight ISO's iso's greater then 100. The images are getting Horizontal Lines in them. The Greater the ISO the more line and the image produced is reddish. What could cause this issue and how could i solve it?

Thanks
Etienne  

reset all camera settings and custom functions too.

does it happen at all Iso speed greater than 100?
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 02:42:11
Done It Already But Still Invain. what could causing this ? Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 27 / September / 2009, 02:56:29
don't know why, too little information to guess a reason
pls try this:
format your cf and reboot your cam from default canon rom.
take some pic and post result
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 03:00:20
sure will do some sample shots this afternoon. formatted the cf and booted from the default rom. Issue still persits. When the issue first started was  when i was using the default rom. Could it be a ccd failure?
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 27 / September / 2009, 03:06:45
not sure that the CCD error

try change lens, clean the ccd surface, reflash rom
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 03:16:35
I Re flashed with the original 1.1.1 rom again problem still there and i changed 3 lens and problem still there.  I never cleaned the CCD. Could you please guide me on how to clean it?
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 27 / September / 2009, 03:46:56
pls google for how to clean CCD and upload an image so I can see yours problem
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 03:57:19
pls google for how to clean CCD and upload an image so I can see yours problem


This is the Image

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi517.photobucket.com%2Falbums%2Fu337%2Ftetu_024%2FIMG_8483Probs.jpg&hash=5a33b3fdf158812aa2270ccf256f0e13)
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 03:58:24
The Above was taken with ISO 200 one could notice horizontal lines passing through the image
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 27 / September / 2009, 09:38:50
sound like you have a bad CCD, but very strange that ISO 100 is OK

To make sure that it is not caused by a bad CF card, Pls try this final test to make conclusion:

Remove CF card, Set "Custom Function 10" to 1, Set "Shoot without card" on, set "Review time" to hold and take some picture at low iso, low shutter speed, high iso, high shutter speed...  Press Direct Print button same time with Zoom button to zoom image and find whether horizontal lines occurence or not.

Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 10:05:21
So @ low ISO (ISO 100) image OK.
@ low shutter  with ISO 100 image OK
@ high iso (ISO 1600) image turns into red with lines
@ high shutter speed with ISO 100 image OK.

It really strange because if the CCD is faulty then all images at any ISO are wrong i suppose.
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 10:11:58
I placed a raw file @ the following URL i don't know if it could help u diagnose the issue.

http://rapidshare.com/files/285641882/IMG_8396.CR2 (http://rapidshare.com/files/285641882/IMG_8396.CR2)
Title: Re: Eos 400d ( Rebel XTI )
Post by: tetu_024 on 27 / September / 2009, 17:06:54
Could a large speaker magnet cause this issue?Like electro magnetic interference?  Because now i recall that the camera bag was near a Sub Woofer. From there onwards the images started to get like that. Is there a way to degauss the cmos? or else discharge it totally ?

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: frogcement on 27 / September / 2009, 19:08:23
Could a large speaker magnet cause this issue?Like electro magnetic interference?  Because now i recall that the camera bag was near a Sub Woofer. From there onwards the images started to get like that. Is there a way to degauss the cmos? or else discharge it totally ?

Thanks
I guess anything is possible, take out 'both' batteries and let the camera sit for about 20 minutes. See if that helps. If it doesn't it looks like your CMOS sensor is toast.
Title: Re: Eos 400d ( Rebel XTI )
Post by: frogcement on 27 / September / 2009, 19:16:14
Could a large speaker magnet cause this issue?Like electro magnetic interference?  Because now i recall that the camera bag was near a Sub Woofer. From there onwards the images started to get like that. Is there a way to degauss the cmos? or else discharge it totally ?

Thanks
I was looking at your posted photo again, were there any high power lines around where you were shooting this? And the obvious dumb question, does it still look like this when you take pictures at home?
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 27 / September / 2009, 21:41:11
I placed a raw file @ the following URL i don't know if it could help u diagnose the issue.

http://rapidshare.com/files/285641882/IMG_8396.CR2 (http://rapidshare.com/files/285641882/IMG_8396.CR2)

I checked your CR2 file and found out that you shot at ISO 100 and it also have alot horizoltal lines, but image info show that you apply Dust Delete Data. Dont you try to turn Dust delete data off? May be it could help.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 28 / September / 2009, 14:41:23
thaibv: any progress on firmware feature additions?
Title: Re: Eos 400d ( Rebel XTI )
Post by: loopfst on 28 / September / 2009, 20:45:46
Hello, thaibv. Thanks for your work.

We can restore the original CMOS? (unTESTFIR.FIR)

"The test.fir change boot flags in your cam's cmos rom, so your cam can boot up from card."

Canon Eos Utility not working properly to me. CFcard is 8Gb Fat32.
Changes work well, but EOS Utility and USB blocks the camera. The reading light blinks once, then stops and locks the camera. We must remove the battery to reset.

AUTOEXEC.BIN also causes a slight delay when turning, that's not very important, but I want to go back in time.

thank you very much.
(sorry,i speak little English)
Title: Re: Eos 400d ( Rebel XTI )
Post by: thanos on 29 / September / 2009, 10:37:51
This is the most fantastic firmware hack ever. Just made my 400D compete easily with the 40D.  :xmas
The 3200ISO images can easily be cleaned with DPP and/or noise ninja.
Many thanks for the superb work and waiting to see what comes next.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 29 / September / 2009, 21:50:16
Hi,

We can restore the original CMOS? (unTESTFIR.FIR)

"The test.fir change boot flags in your cam's cmos rom, so your cam can boot up from card."

Canon Eos Utility not working properly to me. CFcard is 8Gb Fat32.
Changes work well, but EOS Utility and USB blocks the camera. The reading light blinks once, then stops and locks the camera. We must remove the battery to reset.

I will check camera USB connection. If you wan to go back, simply format your CF card.

Title: Re: Eos 400d ( Rebel XTI )
Post by: SoNic on 30 / September / 2009, 08:42:27
I did have problems with Canon Utility (not seeing the camera) but after I did reinstall it and apply the patches from Canon site it is working. USB was fine all the time.

One of the guys that tried this reported that his camera slowed down more and more while he was using the hack - I didn't shoot a lot of pics with it so I cannot tell if it is true.
I wonder if the camera in this mode isn't writting constantly some info in the internal memory? Like a debug file? If yes, can it be turned off?

Also, formating the card is not what he asked, but setting the flags in the firmware back on the same condition (as in not booting rom CF cards). Like the "bootflag" utility existing for 350D.
Title: Re: Eos 400d ( Rebel XTI )
Post by: thaibv on 30 / September / 2009, 13:01:14
Hi again,

thaibv: any progress on firmware feature additions?

Sorry, no time so no progress

One of the guys that tried this reported that his camera slowed down more and more while he was using the hack - I didn't shoot a lot of pics with it so I cannot tell if it is true.
I wonder if the camera in this mode isn't writting constantly some info in the internal memory? Like a debug file? If yes, can it be turned off?

Also, formating the card is not what he asked, but setting the flags in the firmware back on the same condition (as in not booting rom CF cards). Like the "bootflag" utility existing for 350D.

I didnt shoot very much too, but if the hack slowed down your Cam you should turn it of and back on.  If you dont go into Fatory menu and press DP to turn debug mode on, your cam dont write anything to CF card

Flashing boot flags is a dangerous routine. if it fail you will have an expensive paper weight. So fomat CF card to force your cam boot from original rom is risk-free.


I checked usb connection (copy image, transfer image) and shot in EOS utility found no problem (Sorry, i don't have 8GB card for test).
Title: Re: Eos 400d ( Rebel XTI )
Post by: loopfst on 30 / September / 2009, 17:26:01
I tested with a 4GB card to them. Check the USB cable and probe on two computers.
With many images on the card, EOS Utility crashes the camera. (Freeze).
So best not to touch the boot flags, ok.
Within my abilities as an amateur, I wanted to find the source of the problem. I like the EOS Utility, but will have to work with a USB CF reader. No problem. I prefer the current improvements and future to arrive.

Where can I find information about "FACTORY MENU? Specifically AF CK.

Thanks for your time.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Vathek on 01 / October / 2009, 04:29:21
Where can I find information about "FACTORY MENU? Specifically AF CK.

There's a thread for Factory Menu on 400D
http://chdk.setepontos.com/index.php/topic,4171.0.html (http://chdk.setepontos.com/index.php/topic,4171.0.html)

Actually I didn't try the AF CK because I don't like to get messy with failed tests, but someone (Zibri, I guess) already tried the AF CK.

Before starting to test the factory menu I'd prefer to have a way for restoring the factory results (all passed) in the rom.
In fact the tests write some flag in the FLASH memory, so if you can't pass some tests, the "failed" flag will be written in the flash and actually I have not found a way to restore the "success" flag. The only way is to pass the test but sometimes they're quite cryptic.



Title: Re: Eos 400d ( Rebel XTI )
Post by: frogcement on 02 / October / 2009, 00:14:32
Hello to all, Just an update on my usage.  I have done some pixel peeping, and i can see no advantage to any ISO below 100. OTOH 3200iso work wonderfully and all the mid iso's are great, ability to fine tune exposure with iso is nice. I have all my cards working 1gb 2gb 4gb 8gb and 16gb the 8 and 16 were a bit tricky but work well. As far as the USB issues, i can report no trouble at all even remote shooting with the EOS utility work fine 'UNLESS' i leave spot metering or ISO3200 on before pluging it in to USB. So, make sure metering is in a normal "un-hacked" setting and ISO also.
So far this is working great, thanks for this great project!
Take Care . . . .
--
Title: Re: Eos 400d ( Rebel XTI )
Post by: lightAddict on 06 / October / 2009, 20:25:02
I have to say i am loving the changes to my rebel
amazing job thaibv
i was reading strobist today and he was talking about having a camera that would calculate the white balance of a scene and display the coresponding gel combination of gels to match the flash to the scene. from one of the comments there it semed that the calculations involved may be a little complex for the rebel to do so i was also wondering if it would be possible to get the white balance in Kelvin to display on the camera in some way.  i was thinking it could be possible to display the value of the custom white balance when you set it or having it replace something from the third playback display option
i have some coding skills not really enough for this kind of work but i would be willing to try if someone could help get me started
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 07 / October / 2009, 08:33:06
Actually I didn't try the AF CK because I don't like to get messy with failed tests, but someone (Zibri, I guess) already tried the AF CK.

Yep.. I did it.. but I see no problem in having a failed test.. it's failed because it's not completed. That doesn't change the camera functionality.
And I just wanted to explore the menu..
Title: Re: Eos 400d ( Rebel XTI )
Post by: ashinkizer on 08 / October / 2009, 16:23:44
Hi all,

First of all, many thanks for this hack, love it.

The main reason I installed CHDK is to run those uBasic scripts. Specifically I want the intervalomter:
http://chdk.wikia.com/wiki/UBASIC/Scripts:_Ultra_Intervalometer (http://chdk.wikia.com/wiki/UBASIC/Scripts:_Ultra_Intervalometer)

Is there any way to do this with the 400D or is this only possible with the P&S cameras?


Ash
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 09 / October / 2009, 13:26:37
yep.. I agree.. scripting is a killer app for cameras
Title: Re: Eos 400d ( Rebel XTI )
Post by: zuNN on 10 / October / 2009, 09:16:33
intervalometer is a great feature to add.... anyway great job!!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 13 / October / 2009, 05:09:25
To Foldesa/Seklth/thaibv:

Thanks for that great hack ! I love the spot metering && adjustable iso range ! It's reallya great 400D improvement.

I am also offering some times && competences. I don't know how high should my programming skills be to help you.

I have no real ability in ASM or ARM. On the contrary, I think I am as good at C than I am bad @ASM (never tried, except a few things with SSE/MMX)

If you come back there, I really would love having a talk with you, and see if I can help in any way.

I'll send you my mail in a PM just after that post.

Keep up the good work !

Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 15 / October / 2009, 05:57:56
Ok, I feel a little bit more comfortable with the code.

I noticed that 16,32,64,80, well, all iso < 100 does not work as expected. I may have to do some little research.

I'll try to play a little with my own autoexec.bin and see what happens.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 15 / October / 2009, 19:38:13
gull: play? meaning? what tests are you going to make?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 16 / October / 2009, 03:30:16
I have a good programming experience, but C/C++. I've never got into firmware/anythingelse hacking before.

By playing I mean cleaning the code (mainly adding comments for my understanding), and try to enlarge the shutter speed adjustment.

I know Foldesa is trying to play with auto-iso mode, and that he already started some research on the shutter speed.

Don't worry, if ever I complete anything, I'll post it right there.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brouno on 20 / October / 2009, 06:49:01
Thanks a lot Owerlord, Seklth, Thaibv & Foldesa for you great work;

Installed it this week-end, work like a charm on my 400D

An image @ISO2500, Spot metering:
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg33.imageshack.us%2Fimg33%2F5481%2Fmg1868.jpg&hash=81c010da7db08f1c02c29f09d38b3462)

Black & White, there is some noise at this ISO Level  ::)

... Oh and I updated the CHDK Wiki page on the 400D, with all the useful information found in this thread. Hope it is OK for you.
It's here : http://chdk.wikia.com/wiki/400D (http://chdk.wikia.com/wiki/400D)

Thanks again,
Brouno.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 20 / October / 2009, 08:36:04
Ok, I did some search on how it should work and how to implement it, and I need some advices about it.

First, do you think it's possible to

1) Get the dial moves & value (for adjusting shutter speed && duration between two shot)
2) Displaying a value and some text on the lcd
3) Get the arrow key events ( for moving between shutter speed / duration )
4) Looping shoot / wait for the wanted duration / shoot, until a new key press

If all that is near possible (I can avoid some steps, or trick them), then it's how I would make it work:

-going to the shoot style menu ( I mean single, continuous, timed )
-press the print button bring you to the intervalometer dialog
-choose the shutter speed && duration (perhaps allowing arrow key move between them=
-pressing the 'take a photo button' start the infernal loop
-pressing it a new time stop it and bring you back to the main menu

If it's too complicated, then we can avoid the shutter speed part ( it signify that you must choose it before entering the intervalometer function)

The loop would look like this:

-going to the shoot style menu ( I mean single, continuous, timed )
-press the print button bring you to the intervalometer dialog
-choose duration
-pressing the 'take a photo button' start the infernal loop
-pressing it a new time stop it and bring you back to the main menu

I am searching in the function.txt what could help me to achieve that, but if some are more experienced and can help me I take all you give.


Title: Re: Eos 400d ( Rebel XTI )
Post by: Brouno on 21 / October / 2009, 04:25:38
Checking some things I get the following behavior with the used testfir.fir (using this one : http://chdk.setepontos.com/index.php/topic,1618.0.html (http://chdk.setepontos.com/index.php/topic,1618.0.html))

When there is no Card in the cam, just putting the battery (not switch ON), I get a message :

"
Firmware update program
------------------------------
Update file
cannot be found.
Please turn off the power
switch and reload the
battery and try again.
"

If the card is not bootable, I get the same message, when putting battery
If the card is bootable, but without the autoexec.bin file, when switch the cam ON, I get no message, LCD is Off (unable to switch it on), Cam is not functionnal (No shutter release)

Is there another testfir.fir somewhere ?

Thanks a lot
Title: Re: Eos 400d ( Rebel XTI )
Post by: katzer1 on 23 / October / 2009, 02:08:17
awesome patch.
it worked once i made my cf card bootable with cardtricks.

cheers,
 Erez
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 25 / October / 2009, 16:28:36
Another great feature to add is a sort of scripting via a text file on the cf card... scripting camera function would be great!
Title: Re: Eos 400d ( Rebel XTI )
Post by: dankas on 26 / October / 2009, 07:42:47
Wow guys, works great!!!

I've got one ?, and I know it's pretty custom, not so widely needed, but still...

it was only the other day that I realized that my newly bought TTL flash cord when connected to camera and my 380 EX flash, my 400d doesn't support FEC (and this is by the book)...apparently Canon thought if you shoot with off camera flash you might use something better then full about canon 380EX flash.

Just wondering, is it possible to somehow full camera when ttl cable is connected instead of regular flash...so that my FEC still works ;-) tnx a lot

greetings from Croatia
Title: Re: Eos 400d ( Rebel XTI )
Post by: gwapongkabayo on 03 / November / 2009, 22:48:08
hmm, i'm wondering if the 400d can be hacked to enable the red-eye/timer light to be used as auto-focus assist lamp?  ???
Title: Re: Eos 400d ( Rebel XTI )
Post by: Fredo78 on 05 / November / 2009, 09:55:06
Hello everybody,

First of all thanks for this work, it's look great.

I'm a diver and I use my 400D underwater, the spot measurement can be very helpfull but ...

I can't have any access to the print button when I am underwater. My housing hasn't got the print button available...

Is it possible to change this and to use another button, like the jump button (or trash button when not viewing any photo) ?

Regards

Fred from france
Title: Re: Eos 400d ( Rebel XTI )
Post by: xxxpongxxx on 11 / November / 2009, 03:27:41
have tested this one... and works really great.

was wondering, is there any possibility of creating partitions for the memory card? so that it does not get removed everytime u click format?

because after some time... the mem card will have all sorts of "used" space even though it is empty.
Title: Re: Eos 400d ( Rebel XTI )
Post by: darthvedor on 12 / November / 2009, 04:27:56
@Foldesa/Seklth/thaibv/Others

Thanks to all those involved in making this wonderful hack. Was about to sell my 400D and came accross this hack. Have been using it for a month and Its been working flawlessly. I will never sell my 400D now. You all made life so much simpler. Was wondering if there are any more hacks in future? Am I demanding too much?  :) I will be watching this space.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sergey07 on 12 / November / 2009, 08:34:31
I've been reading this thing a lot and decided I try it for myself, but I'm a little hesitant on the installation, I don't know anything about the hacking thing. Can anyone teach me how to install this firmware? also is there a way to go back to the original firmware if I want to?
Title: Re: Eos 400d ( Rebel XTI )
Post by: ditzah on 12 / November / 2009, 09:10:11
:) Apparently you did not read this topic a lot as you said.
All the instructions can be found at the beginning of the discussion.
And yes, you can go back to the original thing by just formatting your card.
Title: Re: Eos 400d ( Rebel XTI )
Post by: jordan_michael on 14 / November / 2009, 12:30:45
Hi, all!

Thanks a lot to those who contributed to this hack.  Made a lot of people happy!

I just want to report a problem that some users might have experienced as well.

I use a 4G and 1G CF card.  I ran Vista Home Premium and all my Canon utilities are the latest (e.g. EOS Utility 2.6.10).

The hack works perfectly with my camera.

But when I try to connect it to the PC, EOS utility won't download the pictures and the camera is left hanging (even after you turn off the switch) until you remove the batteries completely.  While it hangs, there's no visible activity (no blinking lights, etc.) on the camera.

I tried staying connected longer to see if EOS utility will appear.  I tried accessing the camera using windows explorer and I'm able to access the contents but it takes several minutes before it is able to go down each folder.  EOS utility when connect to the computer still.

I tried formatting the card using FAT and FAT32 but the behavior remains the same.  

I also tried setting the camera at "spot metering" and iSO3200.  I also tried it at "evaluative metering" and ISO100.  As well as different combinations.  Behavior remains the same (EOS utility cannot download).

I noticed though that when the number of shots is small (as in around 5), the camera and EOS utility connects.  When the number of pics are high (e.g. 15), that's when the failed connection occurs.

What gives?

I also noticed that the battery runs out faster.  But I need to make more observations.

Regards,
Jordan C.

Title: Re: Eos 400d ( Rebel XTI )
Post by: red_fox6000 on 17 / November / 2009, 21:52:20
TO THOSE WHO ARE EXPERIENCING PROBLEM WITH TRANSFERING IMAGES:

When you install CHKD to your memory card, EOS utility blocks the hack for i don't know what reason..so if you usb connect the your camera to PC/laptop, or use a card reader to transfer images, EOS utility will not allow you to transfer the images.

-I use a 2GB CF card, my 400D hangs everytime I USB connect it to PC
-Via card reader, I cannot transfer images because the PC cannot read the files..

SOLUTION:

-I use another PC without EOS Utility to perform the transfer operation. - Works normally
Title: Re: Eos 400d ( Rebel XTI )
Post by: sergey07 on 19 / November / 2009, 07:42:59
Isn't there any fix on the firmware for that? I'm really dependent on EOS util to transfer and sort my images......I wouldn't want to give up ISO 3200 and spot metering.....
Title: Re: Eos 400d ( Rebel XTI )
Post by: aidanw on 22 / November / 2009, 17:34:00
Using Lightroom to transfer images from the camera directly works great

I'm using the better ISO 1/3 steps (surprisingly usable at ISO3200, just pretend it's compact camera at ISO400 :-), new focus patterns (I like the "X" shaped 5-point pattern) and the spot metering is quite useful in some situations too.

I haven't tried AutoISO yet
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 22 / November / 2009, 18:33:40
TO THOSE WHO ARE EXPERIENCING PROBLEM WITH TRANSFERING IMAGES:

When you install CHKD to your memory card, EOS utility blocks the hack for i don't know what reason..so if you usb connect the your camera to PC/laptop, or use a card reader to transfer images, EOS utility will not allow you to transfer the images.

-I use a 2GB CF card, my 400D hangs everytime I USB connect it to PC
-Via card reader, I cannot transfer images because the PC cannot read the files..

SOLUTION:

-I use another PC without EOS Utility to perform the transfer operation. - Works normally

I have not tried EOS Utility but I am using "ZoomBrowser EX Memory Card Utility". No problems using it with the hack.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 23 / November / 2009, 04:44:23
The EOS utility works fine with a card reader and the mode 'monitor folder'.

Title: Re: Eos 400d ( Rebel XTI )
Post by: sergey07 on 25 / November / 2009, 08:18:06
slight problem: I formatted my CF using the camera, not realizing that the hack was gone until i actually needed the ISO...I copied testfir.fir again but it won't work anymore...do I have to flash it again?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 25 / November / 2009, 09:36:16
NO ! Delete testfir.fir from your CF, it's not use !

You have to do the following:
-Reformatting the CF with the bootflag on
-Copying Autoexec.bin
-profit
Title: Re: Eos 400d ( Rebel XTI )
Post by: Fredo78 on 30 / November / 2009, 06:09:47
Hello everybody,

First of all thanks for this work, it's look great.

I'm a diver and I use my 400D underwater, the spot measurement can be very helpfull but ...

I can't have any access to the print button when I am underwater. My housing hasn't got the print button available...

Is it possible to change this and to use another button, like the jump button (or trash button when not viewing any photo) ?

Regards

Fred from france
Title: Re: Eos 400d ( Rebel XTI )
Post by: kmnfive on 30 / November / 2009, 17:13:38
you guys are [admin: avoid swearing please] brilliant. i love the new features.

three cheers for the genius behind this...

thanks =D
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 03 / December / 2009, 01:57:28
Hi,
Thanks  everybody for your great work!

As I was trying to get AUTO ISO work I found out the correct values for shutter speeds. You can see them in the bottom of this post. The current shutter speed can be found at *(int*)(0x16b7c). So a simple "minimum shutter speed" auto iso can be written easily. But I didn't find any data corresponding to lens focal distance. This is required to make a really good auto iso.

Looks like *(int*)(0x16b7c) only works in M and Tv modes. It doesn't get updated in others.
Title: Re: Eos 400d ( Rebel XTI )
Post by: kittyn on 07 / December / 2009, 00:56:17
After installing this hack I'm having problems transferring photos from my camera to my computer through USB... sometimes it works if I delete some pictures off my camera before attaching it to the computer.  I've tried using windows explorer, lightroom, (import photos from device), eos utility, everything! What happens is the program will just sit there and freeze, and the camera will also freeze.  You can't turn the camera off unless you pull the battery out, at which point lightroom will unfreeze.  Is there any way to fix this? (Can i just uninstall EOS utility?)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 12 / December / 2009, 03:04:55
I can get current shutter speed this way:
   int shutter;
   shutter=*(int*)(0x27E48);
   shutter&=~0xFFFFFF00;
Title: Re: Eos 400d ( Rebel XTI )
Post by: lglass on 12 / December / 2009, 14:13:19
Hello Again....
I finally got the extened ISO and spot meter function to work on my 400D.
One small problem....
The functions only work with the "HACK" card in the camera!
Oddly enough, I can take images and the DCIM folder some how installs itself with out formating in the camera. If I install a clean camera "formated" card, the "HACK" functions don't work....

Anybody have any ideas?
Please share.
By the way, i lam using card tricks V 1.44. Can this be the problem?

tim
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 14 / December / 2009, 15:22:55
Strange.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Patryk on 15 / December / 2009, 05:02:14
Iglass -hmm lemme guess... its normal that "hack" functions does not work with clean card without hack?

If it works same for the powershot's and dslr's cameras. Why do You think that something LOADED to camera FROM THE MEMORY CARD will work in camera with CLEAN CF CARD, unprepared, just formatted WITHOUT any file?
Title: Re: Eos 400d ( Rebel XTI )
Post by: lglass on 15 / December / 2009, 07:54:20
patryk...
Iglass -hmm lemme guess... its normal that "hack" functions does not work with clean card without hack?

If it works same for the powershot's and dslr's cameras. Why do You think that something LOADED to camera FROM THE MEMORY CARD will work in camera with CLEAN CF CARD, unprepared, just formatted WITHOUT any file?

I was under the impression that the "hack" was supposed to write itself to the camera OS.
I spoke with a Canon tech at Canon USA yesterday and he said it is possible to write the "hack " to the camera OS, but Canon's policy is not to reveal that info to customers...he owns an xti and was aware of the "hack" and in so many words, said he had written it to the camera OS and no longer need the boot card to acquire the added features...
thats why...

tim
Title: Re: Eos 400d ( Rebel XTI )
Post by: whim on 15 / December / 2009, 09:45:43
@Iglass

I doubt if Canon would still honour the guarantee if you change the firmware ...
Also, RAM-based hacks are a lot safer: just imagine yourself accidentally grabbing
the wrong (hypothetical) real firmware hack and applying it  :(

wim
Title: Re: Eos 400d ( Rebel XTI )
Post by: lglass on 15 / December / 2009, 14:23:43
Whim

@Iglass

I doubt if Canon would still honour the guarantee if you change the firmware ...
Also, RAM-based hacks are a lot safer: just imagine yourself accidentally grabbing
the wrong (hypothetical) real firmware hack and applying it  :(

wim

Camera is long out of warranty...and the tech did say one must be very careful if attempting to moify the camera OS..i'm willing to risk it. I have a 40D and just ordered a 7D...sooo, it would be interesting to see if I could do it...if successful, the rewards would be great...if i miss...i'd have a door stop... albeit an expensive one...

just sayin'....

tim
Title: Re: Eos 400d ( Rebel XTI )
Post by: xiongjason on 16 / December / 2009, 05:45:46
I have upgrade the testfir.fir for spot and 3200iso. But now, I want to undo the hack.
I know the testfir must modify the boot flag. Is there anybody know how to undo the hack?
I mean reverse the testfir.fir's effect.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 16 / December / 2009, 07:07:17
If you just want to stop using the added spot metering and 3200 iso, just delete autoexec.bin from your CF.

I saw somewhere a modified testfir who reverse the state of the boot flag, but I don't see why it can be needed.

Just format your CF will bring you to a point where near nothing except the boot flag is still modified.

Title: Re: Eos 400d ( Rebel XTI )
Post by: PhyrePhoX on 16 / December / 2009, 13:43:34
patryk...
Iglass -hmm lemme guess... its normal that "hack" functions does not work with clean card without hack?

If it works same for the powershot's and dslr's cameras. Why do You think that something LOADED to camera FROM THE MEMORY CARD will work in camera with CLEAN CF CARD, unprepared, just formatted WITHOUT any file?

I was under the impression that the "hack" was supposed to write itself to the camera OS.
I spoke with a Canon tech at Canon USA yesterday and he said it is possible to write the "hack " to the camera OS, but Canon's policy is not to reveal that info to customers...he owns an xti and was aware of the "hack" and in so many words, said he had written it to the camera OS and no longer need the boot card to acquire the added features...
thats why...

tim
either you lie to us about the story or that canon usa guy was bullshitting you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: leduard on 16 / December / 2009, 16:16:29
Hi,
I saw on the newer cameras an option to microcalibrate your camera to a lens.
That would be a major breaktrough with this firmware. I have 3 lenses: 50mm 1.8 MK2, 28-105 USM II, 70-300 USM, and every one of them has a bit of back/front focusing. D
So... is that technically possible to have this included in the hack ?

THX & Cheers,
Eduard
Title: Re: Eos 400d ( Rebel XTI )
Post by: lglass on 16 / December / 2009, 16:38:01
patryk...
Iglass -hmm lemme guess... its normal that "hack" functions does not work with clean card without hack?

If it works same for the powershot's and dslr's cameras. Why do You think that something LOADED to camera FROM THE MEMORY CARD will work in camera with CLEAN CF CARD, unprepared, just formatted WITHOUT any file?

I was under the impression that the "hack" was supposed to write itself to the camera OS.
I spoke with a Canon tech at Canon USA yesterday and he said it is possible to write the "hack " to the camera OS, but Canon's policy is not to reveal that info to customers...he owns an xti and was aware of the "hack" and in so many words, said he had written it to the camera OS and no longer need the boot card to acquire the added features...
thats why...

tim
either you lie to us about the story or that canon usa guy was bullshitting you.
pretty brazen thing to say...
i have no reason to lie to anybody and i wouldn't know if the canon guy was bullshitting me or not....
for the same reason, what would he gain by lieing to me???
hell i came to this forum looking for answers from the "masters" and what do i get???
a "moderating" handing out insults...
class act dude...

tim
Title: Re: Eos 400d ( Rebel XTI )
Post by: reyalp on 16 / December / 2009, 17:20:46
pretty brazen thing to say...
i have no reason to lie to anybody and i wouldn't know if the canon guy was bullshitting me or not....
Given these facts
1) the actual hack, as made in this forum, only loads from the card
2) you've clearly stated in your earlier posts that you unfamiliar with the technical details
3) you claim that some unspecified "canon" guy told you something that is known to be untrue of the hack developed in this forum.
The logical conclusions are
1) you misunderstood and "canon guy" was talking about either
   a) the fact that the bootflag must be modified for the hack to load at all
   b) the theoretical possibility of storing a hack in the camera
   c) a different hack, unknown to the members of this forum
   d) his own personal modification, unknown to the members of this forum
2) you made up the "canon guy" in the bizarre misapprehension that someone would implement/reveal this feature if you claimed it was possible
3) the "canon guy" told you something untrue, either through his own misunderstanding or deliberately.
I would personally expect something closer to #1a or #1b, but we have seen things like #2 more often than you would think.

While I wouldn't put it the way PhyrePhoX did, insisting to the people who made the hack that it does something something that it cannot actually do does not make a very good impression.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 16 / December / 2009, 17:46:35
I think the Canon guy (if he is real) have perhaps made a modded firmware.

If it's the case, harsh him until we have the sources !!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: lglass on 16 / December / 2009, 17:54:52
pretty brazen thing to say...
i have no reason to lie to anybody and i wouldn't know if the canon guy was bullshitting me or not....
Given these facts
1) the actual hack, as made in this forum, only loads from the card
2) you've clearly stated in your earlier posts that you unfamiliar with the technical details
3) you claim that some unspecified "canon" guy told you something that is known to be untrue of the hack developed in this forum.
The logical conclusions are
1) you misunderstood and "canon guy" was talking about either
   a) the fact that the bootflag must be modified for the hack to load at all
   b) the theoretical possibility of storing a hack in the camera
   c) a different hack, unknown to the members of this forum
   d) his own personal modification, unknown to the members of this forum
2) you made up the "canon guy" in the bizarre misapprehension that someone would implement/reveal this feature if you claimed it was possible
3) the "canon guy" told you something untrue, either through his own misunderstanding or deliberately.
I would personally expect something closer to #1a or #1b, but we have seen things like #2 more often than you would think.

While I wouldn't put it the way PhyrePhoX did, insisting to the people who made the hack that it does something something that it cannot actually do does not make a very good impression.
I have nothing to gain or lose by what the the canon tech told me. indeed, he said that canon as well as many other camera builders cripple their software...he said he was aware of your "hack", he said it was possible to write the hack to the OS...I may have misunderstood what he was saying (but i don't think so),ie, it was possible to write, enable, or what ever you chose to call it, the features of your hack to the camera OS...
I did not make up the canon guy...you've called me a lier again....and i don't appreciate it...
I have asked for tech support from your people, and for all intents and purposes, received none...
I post something you don't like and y'all come out of the woodwork like termites...

I'm pleased that the "hack" works...I would just like to be able to install it permanently to my camera so i don't have to worry about accidently mixing cf cards with my 40D, or my 7D when it arrives...

i don't believe i was "insisting" anything...i just said that it seems to be possible...

Having dealt with navigation and survey grade GPS for many years, I have been told straight out from a Garmin designer and a trimble designer (software geeks) that it is much more efficient to build the same electronic package and cpu, install it in different models, then  cripple the OS in some fashion for marketing purposes...
why would camera manufacturers be any different?

and speaking of good impressions...perhaps you need to polish your social skills...

happy holidays....

tim
Title: Re: Eos 400d ( Rebel XTI )
Post by: reyalp on 16 / December / 2009, 18:29:57
I did not make up the canon guy...you've called me a lier again....and i don't appreciate it...
No I didn't. I said it was one of several possible explanations, and explicitly said I didn't think it was the most likely.
Quote
i don't believe i was "insisting" anything...i just said that it seems to be possible...
... after the people who actually made the hack told you it was not.

Note that no one is saying it is technically impossible to do, we're just telling you this hack doesn't work that way, and anyone who said otherwise is wrong. Writing to on-board flash isn't hard, but eventually someone would brick their camera and get all pissed about it, regardless of how many warnings and disclaimers were put up. Plus developers would be at a high risk of bricking their cameras, which would get expensive real fast. Flash cards are cheap, if you can afford multiple DSLR systems, having enough to dedicate a few to each camera should not be a major burden.
Title: Re: Eos 400d ( Rebel XTI )
Post by: lglass on 16 / December / 2009, 18:57:06
I did not make up the canon guy...you've called me a lier again....and i don't appreciate it...
No I didn't. I said it was one of several possible explanations, and explicitly said I didn't think it was the most likely.
Quote
i don't believe i was "insisting" anything...i just said that it seems to be possible...
... after the people who actually made the hack told you it was not.

Note that no one is saying it is technically impossible to do, we're just telling you this hack doesn't work that way, and anyone who said otherwise is wrong. Writing to on-board flash isn't hard, but eventually someone would brick their camera and get all pissed about it, regardless of how many warnings and disclaimers were put up. Plus developers would be at a high risk of bricking their cameras, which would get expensive real fast. Flash cards are cheap, if you can afford multiple DSLR systems, having enough to dedicate a few to each camera should not be a major burden.

fair enough....
misunderstanding from the "hack" writer's intent on my part...
and the tech (remember there is always the " this call may be" ...thingie) so the tech was honest but as you stated, could not divulge the proprietary canon info about the "hows, whens, or whys")...
i understand that....
i'm also a little ocd about my toys...it's not about being able to afford multiple systems, it is being able to modify something so it works the way you would like it to...
I used to build dragsters and build extremely modified engines...
the thrill was about taking a small block v-8 rated at 150 hp and make it crank out 500 hp...
hopefully, you'll undrestand the analogy....

cheers,

tim

and that's all there is to it...making an xti behave like a 40D....
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 17 / December / 2009, 03:58:29
lglass, just FYI if your 40D doesn't have the bootflag on, having the autoexec.bin in the CF isn't going to do anything else than some few kilobytes lying on the CF.

You can mix your card without problem, except if you have also modded your 40D (And I dunno if it is possible, I am lazy to check the wiki)
Title: Re: Eos 400d ( Rebel XTI )
Post by: xiongjason on 17 / December / 2009, 04:33:36
If you just want to stop using the added spot metering and 3200 iso, just delete autoexec.bin from your CF.
I saw somewhere a modified testfir who reverse the state of the boot flag, but I don't see why it can be needed.
Just format your CF will bring you to a point where near nothing except the boot flag is still modified.

Can u find the topic about the"modified testfir ", tks
I want to go back to original just for boot flag on is more card-reading and power-consume.
Title: Re: Eos 400d ( Rebel XTI )
Post by: lglass on 17 / December / 2009, 17:33:10
Gull..

lglass, just FYI if your 40D doesn't have the bootflag on, having the autoexec.bin in the CF isn't going to do anything else than some few kilobytes lying on the CF.

You can mix your card without problem, except if you have also modded your 40D (And I dunno if it is possible, I am lazy to check the wiki)

I'm ignorant and won't pretend to be otherwise...
having said that, you're saying as long as the testfir.fir file is not intentionally (or otherwise) installed to my 40D, i can safely interchange cards between all my cameras...just make sure i have the .bin file on a card and my xti will do as as the "hack" is intended...

I really like the "hack" it seems to improve the camera across the board....the metering is incredible and it seems to focus faster without as much hunting...of course, it may be like driving a clean car...they always seem to run better...

tim
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 19 / December / 2009, 04:19:07
Here is my AUTOEXEC file: http://www.filefactory.com/file/a12g99e/n/AUTOISO.zip (http://www.filefactory.com/file/a12g99e/n/AUTOISO.zip)
It's simple auto iso logics. What i can't understand, if it freezes on same iso, i can't reset program by pulling batteries out. Have to load another autoexec from http://chdk.wikia.com/wiki/400D (http://chdk.wikia.com/wiki/400D) to reset it. Does it use flash memory to store variables?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 20 / December / 2009, 01:41:55
Another AUTOEXEC.BIN and sources:
 http://www.filefactory.com/file/a13hg3d/n/autoexec_low_iso100_autoiso_20091222.rar (http://www.filefactory.com/file/a13hg3d/n/autoexec_low_iso100_autoiso_20091222.rar)
It's AUTOEXEC.BIN.20090913 from http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list) with added autoiso in Av and P modes. To activate autoiso  turn "shoot without CF" ON (after activation, sometimes you have to press print button once), and if you need to change other additional functions  turn it off.  Auto Compensation doesn't work right when switching from 80 and lower to 200 and higher, so iso 80 and lower is disabled.

12.22.09: Updated autoexec.bin
Title: Re: Eos 400d ( Rebel XTI )
Post by: altezza04 on 23 / December / 2009, 03:45:38
hey, the AUTO ISO is awesome!!!

Can it work together with other function? Because once i set Auto ISO, i can't set the Focus Framing & Spot Metering.

Another AUTOEXEC.BIN and sources:
 http://www.filefactory.com/file/a13hg3d/n/autoexec_low_iso100_autoiso_20091222.rar (http://www.filefactory.com/file/a13hg3d/n/autoexec_low_iso100_autoiso_20091222.rar)
It's AUTOEXEC.BIN.20090913 from http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list) with added autoiso in Av and P modes. To activate autoiso  turn "shoot without CF" ON (after activation, sometimes you have to press print button once), and if you need to change other additional functions  turn it off.  Auto Compensation doesn't work right when switching from 80 and lower to 200 and higher, so iso 80 and lower is disabled.

12.22.09: Updated autoexec.bin
Title: Re: Eos 400d ( Rebel XTI )
Post by: Fredo78 on 23 / December / 2009, 08:50:36
Hello Sergei,

First of all thanks for this work, it's look great.

I'm a diver and I use my 400D underwater, the spot measurement can be very helpfull but ...

I can't have any access to the print button when I am underwater. My housing hasn't got the print button available...

Is it possible to change this and to use another button, like the jump button (or trash button when not viewing any photo) ?

Regards

Fred from france
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / December / 2009, 15:34:34

Can it work together with other function? Because once i set Auto ISO, i can't set the Focus Framing & Spot Metering.


It will work together with other functions. You need to set other functions before switching to autoiso. Then if you need to change focus framing, spot metering, etc. again:  turn autoiso off, change it, turn autoiso on. I know, it is too many buttons to press. I can't figure out how to put autoiso on the same loop with other functions.

Fred, i don't think i will be able to help you with the print button.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kampf on 06 / January / 2010, 18:16:15
Another AUTOEXEC.BIN and sources:
 http://www.filefactory.com/file/a13hg3d/n/autoexec_low_iso100_autoiso_20091222.rar (http://www.filefactory.com/file/a13hg3d/n/autoexec_low_iso100_autoiso_20091222.rar)
It's AUTOEXEC.BIN.20090913 from http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list) with added autoiso in Av and P modes. To activate autoiso  turn "shoot without CF" ON (after activation, sometimes you have to press print button once), and if you need to change other additional functions  turn it off.  Auto Compensation doesn't work right when switching from 80 and lower to 200 and higher, so iso 80 and lower is disabled.

12.22.09: Updated autoexec.bin
Sorry for my bad English.
I have looked the program listing responsible for function AutoISO. (main.c) From it I have understood that for ISO100 and ISO200 the shutter speed varies from 1/100 to 1/200. For ISO400 from 1/30 to 1/125. For ISO800 from 1/15 to 1/40.

Whether it is possible to make so, what on ISO400 and on ISO800 the shutter speed varied from 1/100 to 1/200?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 06 / January / 2010, 20:25:29
can anyone implement all function in a custo menu like with the 350d modded firmware?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 08 / January / 2010, 06:33:49
Shuter speed set points was set to 100-200 in autoiso:
http://www.filefactory.com/file/a17895a/n/autoexec_100_200_autoiso_20100108.zip (http://www.filefactory.com/file/a17895a/n/autoexec_100_200_autoiso_20100108.zip)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 08 / January / 2010, 07:32:02
what do you mean?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 08 / January / 2010, 07:37:32
Sorry for my bad English.
I have looked the program listing responsible for function AutoISO. (main.c) From it I have understood that for ISO100 and ISO200 the shutter speed varies from 1/100 to 1/200. For ISO400 from 1/30 to 1/125. For ISO800 from 1/15 to 1/40.

Whether it is possible to make so, what on ISO400 and on ISO800 the shutter speed varied from 1/100 to 1/200?
Shuter speed set points was set to 100-200 in autoiso:
http://www.filefactory.com/file/a17895a/n/autoexec_100_200_autoiso_20100108.zip (http://www.filefactory.com/file/a17895a/n/autoexec_100_200_autoiso_20100108.zip)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kampf on 08 / January / 2010, 20:24:15
Sergei. Many thanks. The program works correctly.
Title: Re: Eos 400d ( Rebel XTI )
Post by: latlon on 10 / January / 2010, 12:36:47
A friend of mine gave me the hint for the firmware hack v1.1.1 and we both enjoy the new features now, especially the additionnal ISO values -- THANK YOU to the responsible guys for the work you performed!   8)

Is there any chance to enlarge the Auto Exposere Bracketing (AEB) function to +/-3EV...?  That would be another tremendous benefit -- the camera given +/-2EV are so annoying while creating DRI und HDR pictures...   ::)

Regards!
Marco, Germany
Title: Re: Eos 400d ( Rebel XTI )
Post by: sergey07 on 11 / January / 2010, 08:12:00
I have a slight problem, I use 2 CF cards now. and I both formatted them when I bought the new one, so I lost functionality of the hack. Now, when I made the Cf bootable and put in the new autoexec.bin, the camera does not work with that CF, while it works with the newly formatted one. What do I do to put back the hack?
Title: Re: Eos 400d ( Rebel XTI )
Post by: mrc67 on 11 / January / 2010, 19:15:30
First of all thanks so much for your fantastic work, I really love it in particular ISO enhancements!

I would like to point out an idea.

I noticed few places where to store settings (in example autoiso in "Shot without CF", Auto Adjust Exposure in PAL/NTSC video format)
Couldn't be useful to destiny the last picture style User3 to store settings?
This way you could store 4 settings also with multiple values.

Thanks again :-)
Bye!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 11 / January / 2010, 19:54:05
HINT for all:

go grab WINIMAGE (for pc) and copy your bootable ( + autoexec) and empty card.
then use the image to copy back on as many card as you like.. the image will resize automatically.
No hassle.
Title: Re: Eos 400d ( Rebel XTI )
Post by: darthvedor on 12 / January / 2010, 01:37:19
I have a slight problem, I use 2 CF cards now. and I both formatted them when I bought the new one, so I lost functionality of the hack. Now, when I made the Cf bootable and put in the new autoexec.bin, the camera does not work with that CF, while it works with the newly formatted one. What do I do to put back the hack?

Check the size of the CF. The instructions for 4GB (fat16) and > 4GB (fat32) Cards differ, just incase u may have missed that part.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 12 / January / 2010, 07:59:28
If anybody's interested in autoiso, here is another autoexec:  
http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip (http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip)
Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point for Av and P (after switch from M or Tv to Av or P). And maximum speed will be minimum + 2/3 .
Title: Re: Eos 400d ( Rebel XTI )
Post by: lorenzo353 on 12 / January / 2010, 11:38:34
Sergei,

please, do you know the memory layout of the 400D ?

Lorenzo
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 13 / January / 2010, 06:41:08
I don't
Title: Re: Eos 400d ( Rebel XTI )
Post by: sergey07 on 14 / January / 2010, 06:06:51
I have a slight problem, I use 2 CF cards now. and I both formatted them when I bought the new one, so I lost functionality of the hack. Now, when I made the Cf bootable and put in the new autoexec.bin, the camera does not work with that CF, while it works with the newly formatted one. What do I do to put back the hack?

Check the size of the CF. The instructions for 4GB (fat16) and > 4GB (fat32) Cards differ, just incase u may have missed that part.

Thast's where I'm having my problem, I followed the instructions because my new card is a sandisk extreme 4gb. But the program specified doesn't make the cf bootable...
Title: Re: Eos 400d ( Rebel XTI )
Post by: xxxpongxxx on 14 / January / 2010, 12:30:10
you dont need it to be bootable, just do the editing that is indicated
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ant on 14 / January / 2010, 16:59:33
Please, can anybody upload here FlashROM dump for 400D, wich working with 'autoiso' hack ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: sadiesdad on 15 / January / 2010, 19:01:04
If anybody's interested in autoiso, here is another autoexec: 
http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip (http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip)
Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point for Av and P (after switch from M or Tv to Av or P). And maximum speed will be minimum + 2/3 .
If anybody's interested in autoiso, here is another autoexec: 
http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip (http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip)
Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point for Av and P (after switch from M or Tv to Av or P). And maximum speed will be minimum + 2/3 .
What does this actually mean?
Do you need to got to M or TV first for auto iso to work, and how do you turn auto iso off if not needed? ???
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 16 / January / 2010, 07:05:38
You will need to go in M or Tv modes only if you want to change lowest shutter speed in auto iso. Software in the camera saves shutter speed value from M,Tv in memory. It will be in memory even if camera is off. Auto iso will read that value and use it as set point.
To turn off auto iso set "shoot without CF" to OFF.
Title: Re: Eos 400d ( Rebel XTI )
Post by: obitus on 16 / January / 2010, 07:30:56
You will need to go in M or Tv modes only if you want to change lowest shutter speed in auto iso. Software in the camera saves shutter speed value from M,Tv in memory. It will be in memory even if camera is off. Auto iso will read that value and use it as set point.
To turn off auto iso set "shoot without CF" to OFF.
Hello, you guys are great! This is what I always wanted with my beloved 400D!! Auto-ISO!

Now, what is the difference between the Auto ISO version of 2010-01-08 and 2010-01-12? Both work for me.
Does the Auto-ISO take into account the focal length?
One remark: to turn back on Auto-ISO, I need to set "shoot without CF" to ON and then switch AV-TV-AV then it works again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 16 / January / 2010, 15:30:21
Does the Auto-ISO take into account the focal length?
It doesn't. I didn't find where firmware stores focal length.
In Auto-ISO v.2010-01-08 shuttter speed was set to 100-200 and can't be changed. In v.2010-01-12 you can set lowest shutter speed to any value. 
Title: Re: Eos 400d ( Rebel XTI )
Post by: Gull_Code on 18 / January / 2010, 04:31:28
did you updater the code on google.code, or can you provide it ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: obitus on 19 / January / 2010, 15:29:01
Hello,
I just wanted to say that the Auto ISO is fantastic, works great, even with the new ISO values like 3200 or 1000! Being able to store the minumum shutter value is great.
One idea: could it be possible to set a maximum ISO value? Difficult to store that value, I imagine though.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 20 / January / 2010, 03:36:13
One idea: could it be possible to set a maximum ISO value?
AUTOEXEC.BIN and sources:
http://www.filefactory.com/file/a2d2eg8/n/autoexec_autoiso_2010-01-20.rar (http://www.filefactory.com/file/a2d2eg8/n/autoexec_autoiso_2010-01-20.rar)
Same as 2010-01-12, but for maximum ISO value it will look in  User Def. 3 Sharpness setting. So maximum ISO will be: sharpness value * 1/3 stop + lowest shutter set point.
 
Thanks to mrc67.
I noticed few places where to store settings (in example autoiso in "Shot without CF", Auto Adjust Exposure in PAL/NTSC video format)
Couldn't be useful to destiny the last picture style User3 to store settings?
This way you could store 4 settings also with multiple values.

did you updater the code on google.code, or can you provide it ?

I don't think i can update existing project for 400d on code.google.com
Title: Re: Eos 400d ( Rebel XTI )
Post by: djs on 20 / January / 2010, 05:14:27
Hello
First, sorry for my bad english (i'm french)
Congratulation for your job on 400D firmware, it's simply excellent !
Juste one question for me : How can i Set maximum ISO for the auto ISO mode. I d'ont understand : "So maximum ISO will be: sharpness value * 1/3 stop + lowest shutter set point."
What is "1/3 stop" ?
Why don't set fixed ISO value for each sharpness value ?
ex :
0 : 200
1 : 400
2 : 500
3 : 640
4 : 800
5 : 1600
6 : 2400
7 : 3200

Thanks you

EDIT :

And for value of CONTRAST, why don't set shutter speed

ex:
0 : = Tv or M mode
1 : = focal length
2 : focal length / 1.5
3 : focal length / 2
4 : focal length / 3
5 : focal length / 4
6 : focal length / 8
7 : focal length * 2
Title: Re: Eos 400d ( Rebel XTI )
Post by: drinian on 20 / January / 2010, 12:16:40
Hi, MANY THANKS for your awesome work on the firmware! It really helps me take better photographs, especially spot metering is very useful.

I have got a problem that is a bit specific: I own a used Sigma 400mm f5.6 APO Telemacro which - due to a change in the Canon EF protocol - won't work with any other aperture than 5.6 on recent EOS cameras. This is the case with several older Sigma lenses. 
I heard that this is due to some command sent from the body is not answered by the lens.
This leads to an Err99 at apertures higher than 5.6. The optical quality of the lens is outstanding (some say it's even better than the Canon 400mm f5.6), so I would really like to be able to work with all aperture settings.

Would it be possible to alter the firmware so it won't check the answer to this command?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 20 / January / 2010, 14:45:27
Juste one question for me : How can i Set maximum ISO for the auto ISO mode. I d'ont understand : "So maximum ISO will be: sharpness value * 1/3 stop + lowest shutter set point."
What is "1/3 stop" ?

  Oh! It's my fault. I meant: " for maximum shutter speed  set point it will look in  User Def. 3 Sharpness setting. So maximum  shutter will be: sharpness value * 1/3 stop + lowest shutter set point. ".
The sharpness value in User Def. 3 is how many times program will increase lowest shutter speed to next higher value to calculate  max shutter set point.
 Example:
      If minimum shutter is 100 and sharpness is 2 the max shutter will be 160.
      If minimum shutter is 200 and sharpness is 2 the max shutter will be 320.
      If minimum shutter is 400 and sharpness is 3 the max shutter will be 800.

I will work on maximum ISO value when i will have time.
Title: Re: Eos 400d ( Rebel XTI )
Post by: djs on 21 / January / 2010, 03:31:08
So maximum ISO cannot be set ???
3200 ISO is bad for noise and quality image. I think maximum ISO set to 800 is a good idea.
I wiil try to modify main.c and recompile it but i have errors.
What your GNU ARM compiler ?
Thanks you
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 21 / January / 2010, 08:03:32
http://www.filefactory.com/file/a2d83hf/n/autoexec_autoiso_2010-01-21.zip (http://www.filefactory.com/file/a2d83hf/n/autoexec_autoiso_2010-01-21.zip)
To set maximum ISO, change contract and saturation values in User3.
     Contrast values:
              -1 100
               0 200
               1 400
               2 800
               3 1600
               4 3200
Use saturation values from 0 to 4 to set how many times you want to increase main ISO to the next higher value.
  Example:   contrast 2 and saturation 1 will set ISO 1000.
Then switch to Tv or M mode and back to Av or P. You will see your max ISO as ISO value.
Title: Re: Eos 400d ( Rebel XTI )
Post by: djs on 21 / January / 2010, 08:43:07
Oh yes !
Thanks you a lot for this release :)

No way for add focal length in auto ISO calcul ?
Can I help you (to find focal var or other ?)

BR
Title: Re: Eos 400d ( Rebel XTI )
Post by: obitus on 21 / January / 2010, 15:11:49
http://www.filefactory.com/file/a2d83hf/n/autoexec_autoiso_2010-01-21.zip (http://www.filefactory.com/file/a2d83hf/n/autoexec_autoiso_2010-01-21.zip)
To set maximum ISO, change contract and saturation values in User3.
     Contrast values:
              -1 100
               0 200
               1 400
               2 800
               3 1600
               4 3200
Use saturation values from 0 to 4 to set how many times you want to increase main ISO to the next higher value.
  Example:   contrast 2 and saturation 1 will set ISO 1000.
Then switch to Tv or M mode and back to Av or P. You will see your max ISO as ISO value.

Hello Sergey,
thanks for this release and your efforts.

I tested this release and did as you wrote. I set Max ISO to 800 for example (Contrast = 2, Saturation = 0), went to P, back to Av. Display showed ISO 800. Then I metered on something bright, ISO on display switched to ISO 100 as it should. But when I take the photo, it shows ISO 800 in the review. I think the saved ISO is wrong though (versus the real ISO of the picture), since the shutter speed and aperture in the saved photo are as metered just before taking the picture, only the ISO is at 100. But if ISO were really 800, to photo would have been overexposed.
When I meter on something dark, ISO does not go beyond 800, so this part works.
I hope this can be of any help.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 21 / January / 2010, 16:16:10
  I didn't see that problem until i pulled the battery out. To clear it, i had to turn AutoISO off and on. Print button in M or TV mode will clear it too.
Title: Re: Eos 400d ( Rebel XTI )
Post by: obitus on 25 / January / 2010, 15:11:25
 I didn't see that problem until i pulled the battery out. To clear it, i had to turn AutoISO off and on. Print button in M or TV mode will clear it too.

Hello, I did pull the battery out, put it back in, and now it works. Great!
By the way, when your firmware is running, spot metering does not work in AV anymore, but only in TV.
Title: Re: Eos 400d ( Rebel XTI )
Post by: xxxpongxxx on 26 / January / 2010, 03:57:57
any chance of having something like an intervalometer?
Title: Re: Eos 400d ( Rebel XTI )
Post by: alasdair on 27 / January / 2010, 06:15:33
Hi, I'm fairly new to all this and I've got a question...
but first of all - THANK YOU for doing such an amazing job! To have these extended ISO values and of course the spot metering is really fantastic.

Well, some days ago someone asked about changing the braketing (AEB) from +/-2 EV to +/-3 EV. Unfortunately I can't find any reply to his question yet. Does it mean it's impossible to realize or aren't enough of you interested in this?
To change the braketing up to +/-3 EV (or maybe 4!) will improve HDR images very much.

reards
Alasdair
Title: Re: Eos 400d ( Rebel XTI )
Post by: paten on 30 / January / 2010, 00:55:19
If anybody's interested in autoiso, here is another autoexec:  
http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip (http://www.filefactory.com/file/a19a8ah/n/autoexec_autoiso_20100112.zip)
Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point for Av and P (after switch from M or Tv to Av or P). And maximum speed will be minimum + 2/3 .

WOW! Another new feature! my old 400D can be a new camera with ur hack thx again sergei
Title: Re: Eos 400d ( Rebel XTI )
Post by: paten on 30 / January / 2010, 00:57:47
 I didn't see that problem until i pulled the battery out. To clear it, i had to turn AutoISO off and on. Print button in M or TV mode will clear it too.

Hello, I did pull the battery out, put it back in, and now it works. Great!
By the way, when your firmware is running, spot metering does not work in AV anymore, but only in TV.

yeah i have the same problem, but not a big prob i think,.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 03 / February / 2010, 00:35:27
I tested this release and did as you wrote. I set Max ISO to 800 for example (Contrast = 2, Saturation = 0), went to P, back to Av. Display showed ISO 800. Then I metered on something bright, ISO on display switched to ISO 100 as it should. But when I take the photo, it shows ISO 800 in the review. I think the saved ISO is wrong though (versus the real ISO of the picture), since the shutter speed and aperture in the saved photo are as metered just before taking the picture, only the ISO is at 100. But if ISO were really 800, to photo would have been overexposed.
When I meter on something dark, ISO does not go beyond 800, so this part works.
I hope this can be of any help.

Just small fixes in AutoISO:
http://www.filefactory.com/file/a2h51eb/n/autoexec_autoiso_2010-02-03.zip (http://www.filefactory.com/file/a2h51eb/n/autoexec_autoiso_2010-02-03.zip)
Title: Re: Eos 400d ( Rebel XTI )
Post by: sadiesdad on 04 / February / 2010, 07:11:29
Sergei,

What are the changes? I have installed but see no differences
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 04 / February / 2010, 07:41:33
Spot meter  icon was not showing on the screen after power cycle, and sometimes AutoISO was locked to highest ISO after CF card  reinsertion.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 04 / February / 2010, 10:08:15
Good work sergei! How about putting everything in a menu like on the 350d?
Title: Re: Eos 400d ( Rebel XTI )
Post by: mrc67 on 06 / February / 2010, 04:16:27
Hi Sergei,
first of all I would like to thank you because your work is superb!

I'm sorry but I'm a bit confused about available options...
For example I cannot get any ISO lower than 100 but I cannot remember why... 
I would like to write down a minimal (really minimal) instruction page.

ISO change: normal ISO select, then sub stop regulation with direct print
Autoiso: use "Shoot w/o  CF" option, ON=auto-iso OFF=manual-iso
Spot metering: In metering mode selection highlight Evaluative and press direct print
AF group schemas:  rapid double push AF-Point and then change schema with direct print button
   
Autoiso maxiso..... sorry here I'm lost (surely my fault)
If we get that simple text file it could be put into source archive so anyone can get it updated anytime.

I' here to prepare it also if you would and you like the idea...

Bye...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 08 / February / 2010, 03:30:52
http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip (http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip)

    Auto Exposure Bracketing:

   Go to menu,
   Picture Style,
   Select User Def. 3 and press jump.
   Set Color tone value to desired AEB:
      -4   +-2.3EV
      -3   +-2.7EV
      -2   +-3.0EV
      -1   +-3.3EV
       0   +-3.7EV
       1   +-4.0EV
       2   +-4.3EV
       3   +-4.7EV
       4   +-5.0EV
   To enable(disable) AEB go to "Drive mode" menu and press print. Blue light means enabled, red - disabled.

    AutoISO:

   To enable AutoISO go to "ISO speed" menu and press print button. Blue light - enabled, Red - disabled.
   To set maximum ISO, change contract and saturation values in User3.
   Contrast values:
              -1 100
               0 200
               1 400
               2 800
               3 1600
               4 3200
   Use saturation values from 0 to 4 to set how many times you want to increase main ISO to the next higher value.
      Example:   contrast 2 and saturation 1 will set ISO 1000.
     Then switch to Tv or M mode and back to Av or P. You will see your max ISO as ISO value
   Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point
        for Av and P (after switch from M or Tv to Av or P).

       ISO 16,32,40,50
          "shoot without CF" ON
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 08 / February / 2010, 11:07:09
Very good work, Sergei, but it's confusing and not "photographer friendly" I think the next step will be to fire up a NEW menu just pressing the print button and put all settings there.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 08 / February / 2010, 14:09:44
I will, if I find a way to do it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: djs on 09 / February / 2010, 06:28:56
Fantastic work !
Congratulation !

AutoIso work fine and so good to have possibility to set max ISO :)
No news about calculation of AutoIso with Focal length parameter ?

Thanks you
Title: Re: Eos 400d ( Rebel XTI )
Post by: BTP52 on 10 / February / 2010, 05:19:41
Thanks you from BTP
Title: Re: Eos 400d ( Rebel XTI )
Post by: alasdair on 10 / February / 2010, 12:44:20
Hi Sergei,

thanks a lot for this great work!
The new AEB-parameter are exactly what I was looking for. Really, really lovely!
Title: Re: Eos 400d ( Rebel XTI )
Post by: vladovg on 16 / February / 2010, 10:22:47
"Very good work, Sergei, but it's confusing and not "photographer friendly" I think the next step will be to fire up a NEW menu just pressing the print button and put all settings there."


It will be very good if you manage to do it.Fantastic job thank you:)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 18 / February / 2010, 06:53:21
Does anybody know if address  0x16B60+0x28 is NVRAM? ISO value stays the same in that location even after batteries was out. I'm thinking about how many writing cycles it can handle because of AutoISO updates ISO so frequently. 
Title: Re: Eos 400d ( Rebel XTI )
Post by: buzz3 on 19 / February / 2010, 23:20:28
Many thanks for your great jobs!!

Is it possbile to enable the support of TTL or A-TTL External Flash in 400D?
Title: Re: Eos 400d ( Rebel XTI )
Post by: mrc67 on 20 / February / 2010, 03:54:34
Hi Sergei,
as high iso is my preferred option I have a question to ask you:

- the camera (if enabled) has built in noise reduction for shot times over 1 second.
It would be very interesting to try performing noise reduction indipendently from exposure time.

- An addictiional very useful feature would be to fix min ISO for noise reduction application
 
Thanks,
bye, Marco.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Paincookie on 23 / February / 2010, 14:43:17
Hi,

I have a Problem with the hack.

It works fine, but about 300 pics, the battery is emty. Normal are 700-800 pics possible.

Now i need help to remove the Hack.

Sorry about my bad english.

Greetings from Austria
Title: Re: Eos 400d ( Rebel XTI )
Post by: xxxpongxxx on 23 / February / 2010, 16:39:00
to remove the hack, just reformat your memory card, it will be gone since it is the one you placed in the memory card which activates the hack in your camera
Title: Re: Eos 400d ( Rebel XTI )
Post by: Paincookie on 23 / February / 2010, 17:00:44
I know, but the bootloader is not even on the CF card, but on the camera. I want to flash the bootloader back to original state.

the change and continue running even looking for a file on the CF card.
Title: Re: Eos 400d ( Rebel XTI )
Post by: peabody on 23 / February / 2010, 19:02:09
The bootflag changing program for the 350D appears to have been written so that it simply flips the relevant bit(s) to their opposite state.  So to change them back to factory default, you would just run the program again.

But I've seen nothing suggesting the 400D bootflag modifier was written that way.  If someone knows for sure, maybe they will say so.

If it wasn't written that way, perhaps it could be?  Surely it would be a very minor change to the source code, perhaps using the 350D source code as a guide.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brouno on 02 / March / 2010, 13:31:22
I know, but the bootloader is not even on the CF card, but on the camera. I want to flash the bootloader back to original state.

the change and continue running even looking for a file on the CF card.

Flash again with the Canon original Firmware.
Title: Re: Eos 400d ( Rebel XTI )
Post by: peabody on 02 / March / 2010, 16:38:07
I know, but the bootloader is not even on the CF card, but on the camera. I want to flash the bootloader back to original state.

the change and continue running even looking for a file on the CF card.

Flash again with the Canon original Firmware.

Others have reported that does not restore the boot flag.
Title: Re: Eos 400d ( Rebel XTI )
Post by: MrKiller on 03 / March / 2010, 13:09:38
I know, but the bootloader is not even on the CF card, but on the camera. I want to flash the bootloader back to original state.

the change and continue running even looking for a file on the CF card.

Flash again with the Canon original Firmware.

Others have reported that does not restore the boot flag.


This really don't change bootflag, tryed it last night and camera stil reads fw from card when powered  on.
Title: Re: Eos 400d ( Rebel XTI )
Post by: peabody on 03 / March / 2010, 13:21:34
Is the source code for the bootflag modifier available?  It's testfir.fir if I remember correctly.

Title: Re: Eos 400d ( Rebel XTI )
Post by: Paincookie on 07 / March / 2010, 10:35:01
I still search for a source code or a program with which I can read the boot loader and can create a "modified testfir.fir".

that the camera always check the CF slot, I realize, but normal is not lighting up when changing lenses. And after 120 Raws is already the first graduation of the battery indicator off.

Please help me. I am in 2 weeks on vacation and can not replace the battery every 200-300 photos.
Title: Re: Eos 400d ( Rebel XTI )
Post by: riversen on 12 / March / 2010, 01:27:03
thaibv,

I just wanted to say thank you!  I just installed the hook into the firmware!  It works great and makes me feel like I have a whole new camera with features I believed should have always been there.
 
[img]http://www.photoshop.com/accounts/468d1daea41d417ebac38f00bdbc7bb4/px-assets/b66ff7e6c0754e2fad969ae7fd056bf0[flash=200,200]

I attempted to install a link to picture of the new settings as seen in Photoshop... ISO 3200 with spot metering... awesome!
Title: Re: Eos 400d ( Rebel XTI )
Post by: mrc67 on 13 / March / 2010, 14:49:51
Thanks again for he wonderful work! Now we can get out the very best of 400d.

I woud like to share with you some conclusions from some test I did.
With High ISO, if shooting in JPG, Picture Style play a strong role with noise:
a Picture style too much agressive on sharpening and colors pushes high the noise.

With ISO over 2000 try Neutral Picture Style (or something very similar to it)
 to keep noise under control.
 
Ciao, ;)
Marco.
Title: Really need everyone's HELP!
Post by: joker97 on 16 / March / 2010, 21:07:52
I've done the hack and it works beautifully on the 400D! YAY! now the boo ...

After taking all the pics i tried to connect camera to computer via USB.
The camera/CF Freezes when i open the CF folder on the computer
- it displays about 16 RAW or 40 jpgs (fine) and then freezes & windows explorer ('My Computer') becomes unresponsive
- i run the original autoexec.bin (tried the 3 earliest/stablest ones)
- windows 7 64 bit
- under 16 RAW files are fine
- sandisk speed II ultra 2gb card

perculiarities:
1) CF card is fine with card reader
2) not booting with hack (ie delete autoexec.bin) - does not crash
3) uninstalling all canon programs does not solve
4) this is very perculiar

- when camera booted without hack - cr2 files appear as white icon (camera does not freeze)
- when camera booted with hack cr2 files - THUMBNAILS are shown! (i dont use any cr2 codecs)


QUESTION:
- seems like the camera can't handle displaying too many files on computer - why??? any ideas?
- why can i see thumbnails with the hack - does this have anything to do with the crash?


PS i dont think it's my OS as i installed a clean 32-bit win 7 just for the sake of testing and it's the same result
BOOHOO HELP! It seems it's only me suffering from this problem?!
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 19 / March / 2010, 14:37:47
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 22 / March / 2010, 18:40:39
Reporting with exactly the same problem as joker97.

Using:
1) Windows 7 Ultimate 64-bit
2) 4GB Kingston CF
3) AUTOEXEC.BIN.20090913 source- http://code.google.com/p/400d/downloads/list (http://code.google.com/p/400d/downloads/list)

Got to try out Windows Vista/XP
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 23 / March / 2010, 14:14:37
Anyone else having problems with the hack using Windows 7 ?  ???

I am experiencing no problems on Vista x64 with AUTOEXEC.BIN.20090913.
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 24 / March / 2010, 04:14:12
Update.

1) Tried Windows Vista Business 32 bit
2) Disable Antivirus
3) Clear Camera setting

Same result.
Title: Re: Eos 400d ( Rebel XTI )
Post by: mrc67 on 26 / March / 2010, 15:53:20
Title: Re: Eos 400d ( Rebel XTI )
Post by: joker97 on 01 / April / 2010, 17:32:01
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 01 / April / 2010, 20:27:43
joker97 and wtm0325... this is really odd.  ;)

I have had  no problems at all. Sorry, but I have no advice for you. Seems like you have tried everything. You could try the forum over at photography-on-the-net, they have a thread running http://photography-on-the.net/forum/forumdisplay.php?f=9 (http://photography-on-the.net/forum/forumdisplay.php?f=9)

Hello fellow forum-members! Anybody want to share their experience and help out here? Anybody?
Title: Re: Eos 400d ( Rebel XTI )
Post by: fabian.off on 06 / April / 2010, 16:51:29
Update.

1) Tried Windows Vista Business 32 bit
2) Disable Antivirus
3) Clear Camera setting

Same result.


Hey there!
I'm experiencing pretty much the same things, except:

1) I use Mac OS X 10.6
2) The freeze only happens, when I have > 300 photos (no matter if raw or not, I think) on my card

As I really love the new features, there is no way of me getting away from them :-)
So, by now, I use my old and slow cf-reader, too.

Let's hope someone will sometimes come up with a great solution.
What about having a key pressed at boot up, determining whether to load the custom firmware or not?
Like, when the blue led is lightened?

Have a great night everybody!
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 08 / April / 2010, 04:57:36
POSSIBEL SOLUTION OR WORKAROUND !!

See this thread over at POTN ( photography-on-the-net) from user WALTA http://photography-on-the.net/forum/showthread.php?t=742806&page=45 (http://photography-on-the.net/forum/showthread.php?t=742806&page=45)  ( post #661 )

His solution:
Use card reader.
or
Use EOS utility to transfer.

Could this be helpful to some of the users having problems with the hack ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 09 / April / 2010, 03:14:10
Sorry for the late reply, I just back from holiday in Krabi, Thailand :D

I didn't really test other solution ever since I bought a card reader.

The problem arises when using windows explorer to drag and drop the photos exactly like WALTA photography-on-the-net said.

Still, there no way for me to turn back, the spot metering and ISO 3200 is just superb :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: pommesgabel on 11 / April / 2010, 07:15:03
Aww, all this is such great work. Thanks to all you developers and the others who helped by telling bugs and all this :)

I now have a question. Somehow I got confused about all those functions, here a new and there a new, and now the old ones need to be activated somewhere else and all those stuf... Has anyone of you a quick idea of how to activate/deactivate and control all new functions and could write it down as a guide? I would be so thankful. - Thanks in advance!
-- pommesgabel from Germany
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 12 / April / 2010, 11:43:32
Agree. It is not user friendly the way it is now. I think Sergei mentioned in an earlier post that he will try to make it better, maybe implement everything into one menu, like they did with the 350D hack, but it is difficult.

As for now, I am using the first version. I like the other features but it is just to complicated.

I think you need to go back a few pages and write down all the different functions on paper if you want to use the latest hack.
Title: Re: Eos 400d ( Rebel XTI )
Post by: danielpublic on 12 / April / 2010, 13:08:42
Title: Re: Eos 400d ( Rebel XTI )
Post by: mrc67 on 12 / April / 2010, 19:06:30
Anyway after suggesting this Sergej included into latest distribution file a
text document Functionalities.txt esplaining all this!
It is very clear and well explained.

I think you could refer to it...

Ciao,
Marco.
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 13 / April / 2010, 07:48:39
Title: Re: Eos 400d ( Rebel XTI )
Post by: John_Doe2 on 13 / April / 2010, 07:51:11
 :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: fabian.off on 15 / April / 2010, 12:18:41
Update.

1) Tried Windows Vista Business 32 bit
2) Disable Antivirus
3) Clear Camera setting

Same result.


Hey there,

could you please test the attached version for your problem?
I have rewritten the procedures initializing the mod of Sergei. Original version see http://chdk.setepontos.com/index.php/topic,3290.msg46593.html#msg46593 (http://chdk.setepontos.com/index.php/topic,3290.msg46593.html#msg46593).
All features work as always, but no more memory interruptions should occur, freezing the cam.

As stated earlier, I was not able to even get a preview of more than 300 pics. Now, using my version, I can copy up to 7.5gb of pics at once, with no freezes at all! (Well, that's the size of my card, so no more pics possible :) )

Maybe this also solves your problem.
Title: Re: Eos 400d ( Rebel XTI )
Post by: M.G on 16 / April / 2010, 12:38:48
Update.

1) Tried Windows Vista Business 32 bit
2) Disable Antivirus
3) Clear Camera setting

Same result.


Hey there,

could you please test the attached version for your problem?
I have rewritten the procedures initializing the mod of Sergei. Original version see http://chdk.setepontos.com/index.php/topic,3290.msg46593.html#msg46593 (http://chdk.setepontos.com/index.php/topic,3290.msg46593.html#msg46593).
All features work as always, but no more memory interruptions should occur, freezing the cam.

As stated earlier, I was not able to even get a preview of more than 300 pics. Now, using my version, I can copy up to 7.5gb of pics at once, with no freezes at all! (Well, that's the size of my card, so no more pics possible :) )

Maybe this also solves your problem.


I have installed your version.
Fixed the problem of using Eos utility for more than 300 pics.
But when used, i get an ERR 99 after a few continues pictures.
Seems like it interferes with the buffer, only the first pic of the series is saved on the card.

Hope you can check and fix this bug.
thanks!
:-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: fabian.off on 18 / April / 2010, 13:50:43
I have installed your version.
Fixed the problem of using Eos utility for more than 300 pics.
But when used, i get an ERR 99 after a few continues pictures.
Seems like it interferes with the buffer, only the first pic of the series is saved on the card.

Hope you can check and fix this bug.
thanks!
:-)

Hey there,

I also ran in this problem when I do more than 1 photo. I will investigate this more and hope to be able to fix it very soon.

Thanks for your testing nevertheless!
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 19 / April / 2010, 11:32:19
Thanks fabian.off & M.G for the testing,was too excited with my 400d shooting  8)

Currently I am using the AutoISO autoexec from Sergei, and would like report one bug.
http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip (http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip)

If the AutoISO is enabled, the pictures in the buffer will never transfer to CF card if you use other preset mode eg Auto, Portrait, Landscape, Sports, Macro, Night view, Non-flash. The red light keeps going and it will only transfer to CF card if you change back any other manual mode eg. AV, TV, M, P, A-DEP

Anyone encounter the same problem?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 20 / April / 2010, 06:44:22
Thanks fabian.off & M.G for the testing,was too excited with my 400d shooting  8)

Currently I am using the AutoISO autoexec from Sergei, and would like report one bug.
http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip (http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip)

If the AutoISO is enabled, the pictures in the buffer will never transfer to CF card if you use other preset mode eg Auto, Portrait, Landscape, Sports, Macro, Night view, Non-flash. The red light keeps going and it will only transfer to CF card if you change back any other manual mode eg. AV, TV, M, P, A-DEP

Anyone encounter the same problem?

Try this AUTOEXEC.BIN. I think i got that error corrected.
http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip (http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip)
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 20 / April / 2010, 10:34:26
Thanks Sergei, this works like a charm
http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip (http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip)]
Title: Re: Eos 400d ( Rebel XTI )
Post by: M.G on 21 / April / 2010, 12:21:50
Thanks fabian.off & M.G for the testing,was too excited with my 400d shooting  8)

Currently I am using the AutoISO autoexec from Sergei, and would like report one bug.
http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip (http://www.filefactory.com/file/a2207h9/n/autoexec_autoiso_2010-02-08.zip)

If the AutoISO is enabled, the pictures in the buffer will never transfer to CF card if you use other preset mode eg Auto, Portrait, Landscape, Sports, Macro, Night view, Non-flash. The red light keeps going and it will only transfer to CF card if you change back any other manual mode eg. AV, TV, M, P, A-DEP

Anyone encounter the same problem?

Try this AUTOEXEC.BIN. I think i got that error corrected.
http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip (http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip)


Hey Sergei.
Hope you can help resolve the problem with Fabian's version.
Thanks.
 :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Crisma on 22 / April / 2010, 09:01:55
Hi guys,
needless to say you are doing a great job!

Thanks alot to all the developers like Foldesa, Sekth, Thaibv, Sergei and all the others whose every accomplishment is of benefit for the community and owners of the 400d!

I always thought not having a spot metering mode was a pity, and that 3600 iso could be great with PP, as well as the intermediate isos (from 400 to 800).

Someone on other forums are debating wether it is a real "unlock" of functions or not... is it?

Auto ISO must be great as well, but haven't installed it so far: hope it could be integrated into a friendly menu and that someone could help out Sergei and all the other developers in this great work!

I wish I knew how to program firmwares... I would stick to it every night for this digital buddy!  :P

Great work so far and... THANK YOU ALL!   :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / April / 2010, 05:11:28
Update.

1) Tried Windows Vista Business 32 bit
2) Disable Antivirus
3) Clear Camera setting

Same result.


Hey there,

could you please test the attached version for your problem?
I have rewritten the procedures initializing the mod of Sergei. Original version see http://chdk.setepontos.com/index.php/topic,3290.msg46593.html#msg46593 (http://chdk.setepontos.com/index.php/topic,3290.msg46593.html#msg46593).
All features work as always, but no more memory interruptions should occur, freezing the cam.

As stated earlier, I was not able to even get a preview of more than 300 pics. Now, using my version, I can copy up to 7.5gb of pics at once, with no freezes at all! (Well, that's the size of my card, so no more pics possible :) )

Maybe this also solves your problem.


I have installed your version.
Fixed the problem of using Eos utility for more than 300 pics.
But when used, i get an ERR 99 after a few continues pictures.
Seems like it interferes with the buffer, only the first pic of the series is saved on the card.

Hope you can check and fix this bug.
thanks!
:-)
I was trying to understand why camera was freezing and replaced two files (entry.S, init.c) with earlier version from Thaibv's AUTOEXEC.BIN. Looks like everything works now.
http://www.filefactory.com/file/b13f7c9/n/autoexec_autoiso_2010-04-23.zip (http://www.filefactory.com/file/b13f7c9/n/autoexec_autoiso_2010-04-23.zip) 
Title: Re: Eos 400d ( Rebel XTI )
Post by: M.G on 23 / April / 2010, 13:00:04
Works! :D
Thanks, one more thing i noticed.
When you set an ISO value, work with it and enter ISO menu again and don't change the setting- the ISO drops to 100.

Great work!  :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Doraty236 on 25 / April / 2010, 04:00:38
Share links on Rapidshare.com autoexec_autoiso_2010-04-23.zip 
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 25 / April / 2010, 11:10:37
Reupload in Rapidshare
http://rapidshare.com/files/380016819/autoexec_autoiso_2010-04-23.zip.html (http://rapidshare.com/files/380016819/autoexec_autoiso_2010-04-23.zip.html)

Thank you very much Sergei :D Now no more freezing during transfer of photos in windows explorer, I tested with 160++ pictures.

Like M.G. said, if we enter the ISO menu without changing any value, it automatically revert back to ISO 100 upon exit.

Best work :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 27 / April / 2010, 03:39:22
When you set an ISO value, work with it and enter ISO menu again and don't change the setting- the ISO drops to 100.

  If you enter ISO menu when not standard ISO been used, it will preselect ISO 100. I don't know how to select different ISO on that screen from the program or to modify ISO values in the menu. All what I can do is to stop it from changing ISO to 100 on exit (unless it was selected with arrows).
Title: Re: Eos 400d ( Rebel XTI )
Post by: M.G on 27 / April / 2010, 04:11:51
Hi Sergei.
I think that stopping it from changing to ISO 100, will solve it.
Guess it will remain on what was preselected.
And again Thanks.
:-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 27 / April / 2010, 05:39:12
http://www.filefactory.com/file/b153hbg/n/autoexec_autoiso_2010-04-27.zip (http://www.filefactory.com/file/b153hbg/n/autoexec_autoiso_2010-04-27.zip)
 I did some changes to Auto AV compensation for low ISO speeds(16-80). It didn't return camera to original Av when ISO 100-1600 was selected from menu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: M.G on 27 / April / 2010, 05:56:27
Thanks!

Great work!
:-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 29 / April / 2010, 14:31:20
@Sergei

Good Job man, I love this !
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 30 / April / 2010, 09:09:21
This software is really growing up now and is an excellent addition to the 400d (XTI) firmware!  I wish to thank all those that put in their free time to help get these features added to the camera.  I am now using the latest AUTOEXEC.BIN from Sergei on all my CF cards and am very happy with the results.

I would ask others who use this software to offer up any new ideas for future features here on the forum so we can keep this thread alive and continue to enhance our 400d's.

I have one that I can suggest if it is possible to perform:

@Sergei you added a great fix to keep a working ISO if you enter the ISO menu and do not press an arrow key to exit the menu - THIS IS GREAT and very much appreciated!  Can you do something similar with SPOT Metering? - I often use Spot metering - but if I press the Metering menu arrow the camera will automatically revert me back to "Evaluative" Metering even if I only press the shutter release button (cancel) afterwards and do not select "Evaluative" Metering with the selection button?

Just a suggestion for a future enhancement.

Great job on your work!  Thanks again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 01 / May / 2010, 19:55:50
A feature request to enhance AEB even more.  Is this possible?

As we already know (for AEB) if we select "drive mode" and choose "self-timer/remote control" the 400d will automatically take 3 shots if AEB is enabled.  This is great but why did Canon limit us to 3? Would it be possible to enhance the firmware to change the number to a value we have saved in User Def 3 (for sharpness maybe)?

Here is an example of what I would propose (most of this is already implemented ;) :

    Auto Exposure Bracketing
   Go to menu, Picture Style, Select User Def. 3 and press jump.
   Set Color tone value to desired AEB:
      -4   +-2.3EV
      -3   +-2.7EV
      -2   +-3.0EV
      -1   +-3.3EV
       0   +-3.7EV
       1   +-4.0EV
       2   +-4.3EV
       3   +-4.7EV
       4   +-5.0EV

        Set Sharpness value to number of bracketed shots to take:
                  0  = n/a or default to 3
                  1  = n/a or default to 3
                  2  = n/a or default to 3
                  3  = 3
                  4  = 4
                  5  = 5
                  6  = 6
                  7  = 7

   To enable(disable) AEB go to "Drive mode" menu and press print. Blue light means
   enabled, red - disabled.
Title: Re: Eos 400d ( Rebel XTI )
Post by: buzz3 on 04 / May / 2010, 09:24:47
Thanks!  It's wonderful for the changes of AV Compensation for low ISO speed.

But the camera will sometimes hung up when selecting the low ISO by pressing the Direct Print button and requires to reset by removing the battery.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 04 / May / 2010, 15:54:39
But the camera will sometimes hung up when selecting the low ISO by pressing the Direct Print button and requires to reset by removing the battery.
Let me know if camera still freezes with this bin.
http://www.filefactory.com/file/b17bgh2/n/autoexec_autoiso_2010-05-04.zip (http://www.filefactory.com/file/b17bgh2/n/autoexec_autoiso_2010-05-04.zip)
Title: Re: Eos 400d ( Rebel XTI )
Post by: buzz3 on 05 / May / 2010, 09:02:25
Many thanks!  My camera hasn't frozen with the bin.
Title: EOS 400D Hack Summary Part 1
Post by: wtm0325 on 05 / May / 2010, 13:45:49
Canon EOS 400D hack.

Summary of new features:
1. Maximum ISO value (From 1600 to 3200)
2. Customizable ISO value (ISO 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200)
3. Spot Metering
4. Auto ISO function in A-DEP, M, AV, TV, P mode
5. Customizable Shutter Speed
6. Customizable AEB value (+-2.3EV, +-2.7EV, +-3.0EV, +-3.3EV, +-3.7EV, +-4.0EV, +-4.3EV, +-4.7EV, +-5.0EV)
7. Factory Menu
8. Focus Frame pattern
9. Shutter Count
10. Safety Shift NEW!


Unlock Guide:
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 (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. download cardtricks 1.45 : http://chdk.setepontos.com/index.php/topic,4214.0.html (http://chdk.setepontos.com/index.php/topic,4214.0.html) (first download link). Run it to self extract the archive. Run the binary extracted, choose CF drive, tick "cf boot sector" and then click "make bootable."
7. download latest autoexec.bin from the list below and copy the ONLY AUTOEXEC.BIN to CF card.
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.


Latest autoexec.bin

29 May 2010
Download: http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip (http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip)
New: Added Safety Shift. To enable - go to "AF mode" and press print button. Double red light - enabled, single red - disabled. AutoISO was removed from this bin. It was to slow to be usable.

04 May 2010  
Download: http://www.filefactory.com/file/b17bgh2/n/autoexec_autoiso_2010-05-04.zip (http://www.filefactory.com/file/b17bgh2/n/autoexec_autoiso_2010-05-04.zip)
Solved: Camera will sometimes hung up when selecting the low ISO by pressing the Direct Print button and requires to reset by removing the battery.

27 Apr 2010
Download: http://www.filefactory.com/file/b153hbg/n/autoexec_autoiso_2010-04-27.zip (http://www.filefactory.com/file/b153hbg/n/autoexec_autoiso_2010-04-27.zip)
Solved: Camera didn't return to original Av when ISO 100-1600 was selected from menu.

23 Apr 2010
Download: http://www.filefactory.com/file/b13f7c9/n/autoexec_autoiso_2010-04-23.zip (http://www.filefactory.com/file/b13f7c9/n/autoexec_autoiso_2010-04-23.zip)
Solved: Camera freezed when transfering photos direct via USB in windows explorer.

20 Apr 2010
Download: http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip (http://www.filefactory.com/file/b131f71/n/autoexec_autoiso_2010-04-20.zip)
Solved: Pictures in the buffer will never transfer to CF card in preset mode eg Auto, Portrait, Landscape, Sports, Macro, Night view, Non-flash if AutoISO enabled.

*There are too many old autoexec.bin before this, please go through the forum



1,2. Maximum and Customizable ISO value

To use additional ISO values, choose one of the 100,200,400,800,1600, and then push the print button to access more ISOs.

ISO Range
 ISO 100 - 16, 32, 40, 50, 80, 100, 125, 160
 ISO 200 - 200, 250, 320,
 ISO 400 - 400, 500, 640,
 ISO 800 - 800, 1000, 1250,
 ISO 1600 - 1600, 2000, 2500, 3200

*To enable ISO 16,32,40,50, turn "shoot without CF" ON


3. Spot metering
Go to metering selection screen, then push the "print" button.
To go back to other metering, select the metering and press "set" button.

TO BE CONTINUE.. PLEASE READ NEXT POST
Title: EOS 400D Hack Summary Part 2
Post by: wtm0325 on 05 / May / 2010, 13:47:27
4,5,6. Auto ISO function in A-DEP, M, AV, TV, P mode / Customizable Shutter Speed and AEB value

*To enable AutoISO go to "ISO speed" menu and press "print" button. Blue light - enabled, Red - disabled.

*To enable(disable) AEB go to "Drive mode" menu and press "print" button. Blue light - enabled, Red - disabled.

Always go to menu, Picture Style, Select User Def. 3 and press jump for configuration as below.

** User Def. 3 Summary
Sharpness    - next higher value for Minimum Shutter Speed
Contrast      - Maximum Auto ISO value
Saturation   - next higher value for Maximum Auto ISO (to set special ISO)
Color tone  - Customizable AEB

AFTER CHANGES MADE, ALWAYS SWITCH TO TV or M MODE AND BACK TO AV or P MODE.


** User Def. 3 Summary

Sharpness   - next higher value for Minimum Shutter Speed

Shutter Speed Range -
BULB, 30", 25", 20", 15", 13", 10", 8", 6", 5", 4", 3"2, 2"5, 2", 1"6, 1"3, 1", 0"8, 0"6, 0"5, 0"4, 0"3,
1/4, 1/5, 1/6, 1/8, 1/10, 1/13, 1/15, 1/20, 1/25, 1/30, 1/40, 1/50, 1/60, 1/80, 1/100, 1/125, 1/160, 1/200,
1/250, 1/320, 1/400, 1/500, 1/640, 1/800, 1/1000, 1/1250, 1/1600, 1/2000, 1/2500, 1/3200, 1/4000

The sharpness value in User Def. 3 is how many times program will increase lowest shutter speed to next higher value to calculate  max shutter set point.
 
   Example:
      If minimum shutter is 100 and sharpness is 2 the max shutter will be 160.
      If minimum shutter is 200 and sharpness is 2 the max shutter will be 320.
      If minimum shutter is 400 and sharpness is 3 the max shutter will be 800.

* Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point for Av and P (after switch from M or Tv to Av or P).

NOTE: This is not working for me. I tried to refocus but it still goes below the minimum shutter if my ISO is too low for low light.

Technical reason:
  AutoIso probably reacts on light changes too slow (have to pre-focus few times before it sets right speed). It gets current shutter speed value from LCD screen, which updates with delay and sometimes it will increase/decrease in steps. That's why AutoIso so slow. I can't find  any better place to get current shutter speed from. Don't have enough knowledge in disassembly. If anybody know good resources about disassembly in arm feel free to send me a link. Thanks.


Contrast    - Maximum Auto ISO value

Contrast values - from -1 to 4
-1 = ISO 100
 0 = ISO 200
 1 = ISO 400
 2 = ISO 800
 3 = ISO 1600
 4 = ISO 3200

Example 1: If Contrast value is -1 (ISO 100), the ISO will automatically change from 16 to 100.

Example 2: If Contrast value is 3 (ISO 1600), the ISO will automatically change from 16 to 1600.


Saturation  - next higher value for Maximum Auto ISO (to set special ISO)

Saturation value - from 0 to 4

ISO Range - 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200


Example 1: If Contrast value is -1 (ISO 100), Saturation value is 1, the maximum ISO value is 125. (see ISO Range above)

Example 2: If Contrast value is 1 (ISO 400), Saturation value is 4, the maximum ISO value is 1000. (see ISO Range above)

    
Color tone  - Customizable AEB

Color tone value - from -4 to 4
-4 = +-2.3EV
-3 = +-2.7EV
-2 = +-3.0EV
-1 = +-3.3EV
 0 = +-3.7EV
 1 = +-4.0EV
 2 = +-4.3EV
 3 = +-4.7EV
 4 = +-5.0EV
  

7. Factory Menu
Go to menu, push "print" button, push "menu" button again twice, "Factory Menu" appears
Specific topic about Factory Menu in forum : http://chdk.setepontos.com/index.php/topic,4171.0.html (http://chdk.setepontos.com/index.php/topic,4171.0.html)

8. Focus Frame Pattern
Fast press focus frame button twice to show FP dialog. (You must press the focus frame button fast enough)
If you hear a beep and the dialog showed, use "Direct Print" button to change pattern.
Press focus frame again to return to default canon focus frame mode.

*Note that external AF assist capability (via Speedlite or ST-E2) will not work with pattern AF modes.

9. Shutter Count
Go to menu, push "print" button, push "menu" button again twice,
Enter Factory Menu in menu screen, push "print" button to enter "debug mode".
After a beep, go back and set spot metering. You will see the camera writing something to the CF (CF light).
Eject CF and insert into card reader, open STDOUT.txt. Press Ctrl + F to open "find toolbox" and type "Release". The number under Release is your shutter count.

10. Safety Shift
To enable - go to "AF mode" and press print button.
Double red light - enabled, single red - disabled.
**AutoISO was removed from this bin. It was to slow to be usable.

KINDLY LET ME KNOW IF THERE'S ANY ADD-ON OR MISTAKE IN THE SUMMARY. I REALLY HOPE THIS HELPS THE COMMUNITY 8)

EDITED: Safety Shift
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 05 / May / 2010, 18:51:59
   AutoIso probably reacts on light changes too slow (have to pre-focus few times before it sets right speed). It gets current shutter speed value from LCD screen, which updates with delay and sometimes it will increase/decrease in steps. That's why AutoIso so slow. I can't find  any better place to get current shutter speed from. Don't have enough knowledge in disassembly. If anybody know good resources about disassembly in arm feel free to send me a link. Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: fabian.off on 06 / May / 2010, 09:14:35
If anybody know good resources about disassembly in arm feel free to send me a link. Thanks.

If you know IDA Pro, you will love this one: http://seklth.ru/chdk/400D_E4KR3111_FF810000_20080929.rar (http://seklth.ru/chdk/400D_E4KR3111_FF810000_20080929.rar)
You may easily find where shutter speed is stored by tracing down the olc-Task, which updates the display.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 07 / May / 2010, 15:35:01
Thanks fabian.off.
Title: Re: Eos 400d ( Rebel XTI )
Post by: festol on 11 / May / 2010, 21:21:10
Just a quick thank you note - after an initial hang on on boot a second attempt has installed perfectly.

Cheers for all your efforts and i look forward to any further additions or enhancements you may have.


On that note, is AEB of 5 or 7 shots a possibility at all?

cheers
/festol
Title: Re: Eos 400d ( Rebel XTI )
Post by: buzz3 on 16 / May / 2010, 06:36:41
I have an old Speedlite 540EZ which only supports TTL and A-TTL using for my old film camera.  But Canon only offers E-TTL for 400D.  Please be suggested to enable the E-TTL feature for 400D!  Thanks a lot.
Title: Re: Eos 400d ( Rebel XTI )
Post by: rocky on 19 / May / 2010, 23:48:42
Awesome stuff, love it!!
I cant seem to get the min shutter speed to work in auto iso by following instructions above. Any ideas?
Title: Re: Eos 400d ( Rebel XTI )
Post by: pugwash on 21 / May / 2010, 04:03:19
I can't get the minimum shutter speed in autoiso to work either.  I follow the above instructions to the letter but the shutter speed often dips well below the minimum I set (1/125s when out shooting under tree canopies where the light changes rapidly and I'm trying to get pics of wildlife).  The ISO does alter but often the shutter speed is taken down to about 1/60s (sometimes slower) with the ISO remaining at 100, 200, 320. etc. (max set to 500) and the end result is a photo with motion or hand-held camera blur.

I thought perhaps I wasn't using the autoiso in the correct manner but I couldn't see how.  Is the minimum set shutter speed working or is it the delay involved in using the info from the LCD as mentioned above that is causing the problem?

Sergei.......I hope the above comment doesn't sound like a complaint.  This is excellent work you have done and I really must express my thanks for this and the resulting improvements to the 400d that you have given us.
Title: Re: Eos 400d ( Rebel XTI )
Post by: KiRA on 21 / May / 2010, 14:50:07
it would be nice if u would incorporate to set/choose from different timer values, 80% 10s on timer is too much  :(
put 2,5,10 or at leat 5,10
thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: hobbes on 22 / May / 2010, 14:11:54

Saturation  - next higher value for Maximum Auto ISO

Saturation value - from 0 to 4

ISO Range - 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200


Example 1: If Contrast value is -1 (ISO 100), Saturation value is 1, the maximum ISO value is 125. (see ISO Range above)

Example 2: If Contrast value is 1 (ISO 400), Saturation value is 4, the maximum ISO value is 1000. (see ISO Range above)


I don't really understand what this "next higher value for maximum auto ISO" is. wtm0325, kann you explain this to me? The max auto ISO value, I get, it works pretty well. But if he auto ISO range is already defined by the contrast parameter, what does this "next higher value for max auto ISO" do?

By the way, I am also unable to use the minimum shutter speed: I have the auto ISO on, I'm in P mode, I go to M mode, set the shutter speed to 1/60th, then go back to P mode, and the shutter speed goes to 1/30th and slower...

Also, the auto ISO refuses to use ISOs below 100. Not a big deal though.

This details aside, thank you SO MUCH for this. I've been looking up my emails, and I wanted the auto ISO in the programmable modes and the minimum shutter speed since 2008 already, I can't believe I discovered this hack only 2 weeks ago.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 22 / May / 2010, 16:31:00
I cant seem to get the min shutter speed to work in auto iso by following instructions above. Any ideas?
AutoIso calculates ISO only when shutter speed is showing on the screen and can change ISO if no buttons is pressed. So you have to press shutter button half way and release it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 23 / May / 2010, 02:20:10

Saturation  - next higher value for Maximum Auto ISO

Saturation value - from 0 to 4

ISO Range - 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200


Example 1: If Contrast value is -1 (ISO 100), Saturation value is 1, the maximum ISO value is 125. (see ISO Range above)

Example 2: If Contrast value is 1 (ISO 400), Saturation value is 4, the maximum ISO value is 1000. (see ISO Range above)


I don't really understand what this "next higher value for maximum auto ISO" is. wtm0325, kann you explain this to me? The max auto ISO value, I get, it works pretty well. But if he auto ISO range is already defined by the contrast parameter, what does this "next higher value for max auto ISO" do?

By the way, I am also unable to use the minimum shutter speed: I have the auto ISO on, I'm in P mode, I go to M mode, set the shutter speed to 1/60th, then go back to P mode, and the shutter speed goes to 1/30th and slower...

Also, the auto ISO refuses to use ISOs below 100. Not a big deal though.

This details aside, thank you SO MUCH for this. I've been looking up my emails, and I wanted the auto ISO in the programmable modes and the minimum shutter speed since 2008 already, I can't believe I discovered this hack only 2 weeks ago.
The purpose is to set special ISO value since Contrast value cannot do that e.g. If you want to set maximum ISO to 250, contrast value will be -1 and saturation value will be 4.

Example 1:
If Contrast value is -1 (ISO 100),
Saturation value is 1, the maximum ISO value is 125.
Saturation value is 2, the maximum ISO value is 160.
Saturation value is 3, the maximum ISO value is 200.
Saturation value is 4, the maximum ISO value is 250.

Example 2: If Contrast value is 1 (ISO 400),
Saturation value is 1, the maximum ISO value is 500.
Saturation value is 2, the maximum ISO value is 640.
Saturation value is 3, the maximum ISO value is 800.
Saturation value is 4, the maximum ISO value is 1000.

Always refer to the ISO range,
ISO Range - 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200



And thanks Sergei, I tried to refocus but it still doesn't work if the ISO is too low.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / May / 2010, 06:30:07
And thanks Sergei, I tried to refocus but it still doesn't work if the ISO is too low.
Lower than 100? It will not work if ISO was set manually lower than 100 when AutoISO was enabled.
Title: Re: Eos 400d ( Rebel XTI )
Post by: hobbes on 23 / May / 2010, 08:42:08
The purpose is to set special ISO value since Contrast value cannot do that e.g. If you want to set maximum ISO to 250, contrast value will be -1 and saturation value will be 4.

Thank you, now I understand. You can't set the maximum auto ISO value to 640 with only the "contrast" parameter. The contrast parameter only allows me to set the max auto ISO value to "classic" ISO values like 100, 200, 400, 800, 1600 or 3200, not to an intermediary ISO value.

Other question: does the auto ISO in programmable modes only work if the LCD is on and display the "display" informations? I have the impression it won't work when the menu is displayed or when the LCD is off. Do I understand correctly that it is because the "custom firmware" has to read the shutter speed from the LCD to automatically adjust the ISO value?
Title: Re: Eos 400d ( Rebel XTI )
Post by: pugwash on 23 / May / 2010, 10:40:52
I cant seem to get the min shutter speed to work in auto iso by following instructions above. Any ideas?
AutoIso calculates ISO only when shutter speed is showing on the screen and can change ISO if no buttons is pressed. So you have to press shutter button half way and release it.

Thanks for that Sergei - success!   I have my AF set to the * button and was previously pressing the * button, holding it pressed, and then pressing the shutter button without releasing anything.

Now I'm pressing the * button, getting the AF, and releasing it before pressing the shutter button to take the photo and the autoiso is working the way I would expect.  Did some trials and the only time the shutter speed dropped below the minimum I had set was when the ISO had ramped up to the max value I had set and the exposure still needed more light.  Just what I would expect.

Once again many thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: spmy2792 on 23 / May / 2010, 17:14:46
Hello All,

I'm new here. I tried out the firmware hack and found it worked pretty much as you stated, thank you so much. I found only the AEB does not seem to work correctly as for the number of shots, it does not matter what I setup in the Sharpness value to modify the number of bracketed shots; I only got 3 shots but the AEB values works fine (AEB values based on Color tone value). Did any of us here successfully tried this? I'm not sure what I missed but your help would be very much appreciated. I'm very interested in this modified AEB to get a wider range of exposure for HDR images.

Thanks again.

Steve

Title: Re: Eos 400d ( Rebel XTI )
Post by: pugwash on 24 / May / 2010, 03:34:34
Hello All,

I'm new here. I tried out the firmware hack and found it worked pretty much as you stated, thank you so much. I found only the AEB does not seem to work correctly as for the number of shots, it does not matter what I setup in the Sharpness value to modify the number of bracketed shots; I only got 3 shots but the AEB values works fine (AEB values based on Color tone value). Did any of us here successfully tried this? I'm not sure what I missed but your help would be very much appreciated. I'm very interested in this modified AEB to get a wider range of exposure for HDR images.

Thanks again.

Steve



As far as I am aware this hack only allows you to change the value of the AEB exposure and not the number of AEB shots which is set by Canon at 3.  There is a post above which proposes a way of altering the number of AEB shots but it is only that........a proposal.  Maybe a future version will incorporate it.....that's my understanding at least.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 24 / May / 2010, 07:17:56
Hi,

Checked this thread after several months, because I don't use my 400D very often. I see there are some new features. Great

I noticed a small issue, don't know wheather it was discussed before, because this thread is quite long. So, on 400D, you can check the focus of the picture immediately after taking the shot, without entering playback mode. For this, you should press +/AF point button and Print button the same time. With this hack, it unfortunately also changes ISO (from 100 to 125 for instance)

Is there any possible solution for this?
Title: Re: Eos 400d ( Rebel XTI )
Post by: spmy2792 on 24 / May / 2010, 09:23:32
Ahha. I see. Thank you pugwash.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 24 / May / 2010, 11:05:44
Hello All,

I'm new here. I tried out the firmware hack and found it worked pretty much as you stated, thank you so much. I found only the AEB does not seem to work correctly as for the number of shots, it does not matter what I setup in the Sharpness value to modify the number of bracketed shots; I only got 3 shots but the AEB values works fine (AEB values based on Color tone value). Did any of us here successfully tried this? I'm not sure what I missed but your help would be very much appreciated. I'm very interested in this modified AEB to get a wider range of exposure for HDR images.

Thanks again.

Steve



As far as I am aware this hack only allows you to change the value of the AEB exposure and not the number of AEB shots which is set by Canon at 3.  There is a post above which proposes a way of altering the number of AEB shots but it is only that........a proposal.  Maybe a future version will incorporate it.....that's my understanding at least.

Yep, that would be me requesting a new feature (# of shots for AEB other than default of 3 from Canon). 

I soon realized that my proposed method for this new feature was not possible since the Sharpness value was already being used for something else.  In addition, if the Sharpness value was used to determine the number of exposures to take (AEB) then this feature when activated with the print button would only work with the new add'l AEB values that Sergei added and not any you could set with your 400D's normal AEB setting.  It sure would be nice to have this feature one day but I'm not sure how to propose doing it yet.

I really like all the great features that have been added for the 400D and I continue to check this thread daily hoping to find even more features and improvements.

Thanks to all for the hard work.
Title: Re: Eos 400d ( Rebel XTI )
Post by: jodela on 29 / May / 2010, 07:02:10
Dear group,

First of all, I hope I'm posting this in the right place and I didn't miss the answer somewhere
(I was pointed to here from the 'newbies' forum)

I'm having a Canon EOS400D , and every now and then I would like to use it's automatic mode, still having access to the raw file. Normally raws are only available in creative modes (P,Tv,Av,M).

The P mode is close, but not the same as automatic (for me the major difference it's the absence of automatic ISO choice).

Does CHDK allow me to get raws, even in Auto mode ? Or is that a foreseen/conceivable/impossible enhancement ?

Many thanks for your feedback,

Jos
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 29 / May / 2010, 07:52:29
http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip (http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip)
Added Safety Shift. To enable - go to "AF mode" and press print button. Double red light - enabled, single red - disabled. AutoISO was removed from this bin. It was to slow to be usable. 
Title: Re: Eos 400d ( Rebel XTI )
Post by: KiRA on 30 / May / 2010, 09:08:41
hello, no one said nothing so i'm asking again if you please could make a option for the timer.
you all know the timer is 10 seconds, so i'm asking if you could change the timer to select 2s, 5s, 10s or 2s, 10s.
thx in advance

and please do define this "Safety Shift" :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: tungdil on 30 / May / 2010, 13:20:32
hello, no one said nothing so i'm asking again if you please could make a option for the timer.
you all know the timer is 10 seconds, so i'm asking if you could change the timer to select 2s, 5s, 10s or 2s, 10s.
thx in advance

and please do define this "Safety Shift" :D

Hi!

I am quite new to CHDK and the forum but think it is really great!

Actually I was also wondering about "safety shift" and after some "Google-Engineering" and testing I believe it is for "TV" and will adjust the shutter speed if your selected shutter-speed is too short or too long instead of just flashing the aperture number and taking an overexposed or underexposed picture.

For example setting shutter-speed to 1/100 where 1/20 would at least be necessary @ min. aperture ( e.g. 2.8 ) without "safety shift" the 400D will flash the aperture number and, if you take the photo it will be too dark. With "safety shift" the shutter speed will automatically be adjusted to 1/20.

I hope this explanation is correct. At least this is what I found out when trying to use it.

Cheers,
Tungdil
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 01 / June / 2010, 02:10:04
hello, no one said nothing so i'm asking again if you please could make a option for the timer.
you all know the timer is 10 seconds, so i'm asking if you could change the timer to select 2s, 5s, 10s or 2s, 10s.

Can't make that option. I didn't find where  timer value is stored.
Title: Re: Eos 400d ( Rebel XTI )
Post by: pommesgabel on 04 / June / 2010, 06:02:12
Probably it's a constant int somewhere - or even worse - directly integrated in the timer function that 10 is always the value... :s

Erm yeah, thanks to y'all again, I love all the stuff you worked out!
Safety Shift is also quite great. Saves me from ruining a nice picture out of setting-stupidness I set in advance, if you know what I mean. Especially when I have moving objects in a great pose and the picture is all white or all black, I get in some kind of sad rage x)

A question:
Where's the guide about the Factory Mode and how to use it again? I don't find it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 04 / June / 2010, 14:40:11
Good Job man.

Problem with "" Safety Shift" it is because I am with a speed of reduced shot and my photos of bike are therefore vague, the auto iso has as advantage not to reduce my speed of shot.

The best would be to have the auto iso first and then "Safety Shift", finally I think.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ave on 06 / June / 2010, 11:25:43
hello, no one said nothing so i'm asking again if you please could make a option for the timer.
you all know the timer is 10 seconds, so i'm asking if you could change the timer to select 2s, 5s, 10s or 2s, 10s.
thx in advance

If you enable mirror lockup from the custom functions, timer will be only 2 seconds.

This is a stock firmware feature! Very handy. Probably put in because keeping the mirror up consumes battery.

Title: Re: Eos 400d ( Rebel XTI )
Post by: pugwash on 09 / June / 2010, 17:40:21
This is a quote from a review of the EOS 1D MKIII camera and it would indicate that it is the ISO that is changed not the shutter speed when using Safety Shift.

QUOTE
Safety Shift is another new feature designed to keep exposures correct. ISO speed safety shift is provided via C.Fn I 8-2. If the correct exposure cannot be obtained with the P, Tv, or Av mode, the ISO speed is automatically shifted within ISO 100 - 3200 to obtain the correct exposure.
UNQUOTE

I'm assuming that Sergei has unlocked/enabled the same feature for the 400D (but not via Custom Functions) and it looks like a good substitute for AUTOISO

I'll give it a whirl.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 10 / June / 2010, 10:39:53
This is a quote from a review of the EOS 1D MKIII camera and it would indicate that it is the ISO that is changed not the shutter speed when using Safety Shift.

QUOTE
Safety Shift is another new feature designed to keep exposures correct. ISO speed safety shift is provided via C.Fn I 8-2. If the correct exposure cannot be obtained with the P, Tv, or Av mode, the ISO speed is automatically shifted within ISO 100 - 3200 to obtain the correct exposure.
UNQUOTE

I'm assuming that Sergei has unlocked/enabled the same feature for the 400D (but not via Custom Functions) and it looks like a good substitute for AUTOISO

I'll give it a whirl.

You can find a good read about Canon's safety shift feature at the link listed below:

http://www.pointsinfocus.com/2010/04/canon%E2%80%99s-safety-shift/ (http://www.pointsinfocus.com/2010/04/canon%E2%80%99s-safety-shift/)

Title: Re: Eos 400d ( Rebel XTI )
Post by: pugwash on 10 / June / 2010, 17:20:00
Thanks for that guffster.   So, there's two modes of Safety Shift and I guess for the 400D it is likely to be mode 1 as the second mode appears to be for the more expensive models only. >:(

Which mode is it please Sergei?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 11 / June / 2010, 07:12:28
Mode 1. I think all cameras with Digic II chip don't have iso shift.
Title: Re: Eos 400d ( Rebel XTI )
Post by: pugwash on 11 / June / 2010, 14:54:02
Thank you Sergei.  I have carried out some tests today and can confirm it is Mode 1.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 21 / June / 2010, 21:19:22
Focus screen replacement:

Anyone found a nice replacement focus screen to fit the 400d which would still support the Canon focus dots and would also show a spot meter circle/ring in the middle?  I have looked at several "manual focus" focus screen replacements - but have not tried any due to the difficulty of trying to get a good manual focus using the 400d viewfinder.
Title: Re: Eos 400d ( Rebel XTI )
Post by: harmehero on 03 / July / 2010, 09:54:32
i tried to hack my 400d but my camera doesn't work now :( lcd doesn't display anything. how can i fix this?
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 03 / July / 2010, 18:56:45
Hello,
I can't download latest release on this link: http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip (http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip)
I have this message:" All of the available FileFactory Basic download slots on this server are in use by other people."
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 03 / July / 2010, 19:07:07
i tried to hack my 400d but my camera doesn't work now :( lcd doesn't display anything. how can i fix this?

Do you have tried with another formatted memory card ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: harmehero on 04 / July / 2010, 07:04:06
no, I did not try but problem now solved :)

I fully charced battery again and inserted the bootable cf card only contains e4kr3111.fir and AUTOEXEC.BIN files. firmware automatically updated as 1.1.1
I'll try software hacking afterward again. I hope the same problem do not occur.

thx
Title: Re: Eos 400d ( Rebel XTI )
Post by: pixelritter on 04 / July / 2010, 11:05:00
dear chdk group members,

could someone please re-up the latest autoexec_2010-5-29  and
post the link please,
cause filefactory reached the quota for downloading on this one:
http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip (http://www.filefactory.com/file/b1e9b7b/n/autoexec_2010-05-29.zip) 

thx in advance
P R
Title: Re: Eos 400d ( Rebel XTI )
Post by: anAngel on 05 / July / 2010, 11:18:35
How safe is this?
What can go wrong with the camera (can it harm it somehow)?
Anyone ever had any problems?

Correct me if im wrong but i flash (change) the original firmware with this one http://chdk.setepontos.com/index.php?action=dlattach;topic=1618.0;attach=1531 (http://chdk.setepontos.com/index.php?action=dlattach;topic=1618.0;attach=1531) (a modified version of the original one) right

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: obitus on 10 / July / 2010, 04:43:34
Hello,
I was surprised that no-one said anything - but the reason for me using CHDK is Auto-ISO, and it was removed in the last version. So I did not put the latest version on my card.

I have been shooting for quite a while with auto-ISO (previous versions) and I absolutely love it!! There were some errors (some shots were at maximum ISO and the shutter speed was a lot shorter than needed) but I hope this has improved in the newer versions.

Somebody asked for having RAW in the Portrait / Sport modes. That would be so interesting! This is why I never use those modes today. Could somebody check if this is possible?

Without you guys I'd have bought a newer camera (with MP that I don't want) already instead of a cool Tamron 10-24 lens :-)

obitus
Title: Re: Eos 400d ( Rebel XTI )
Post by: tsuga on 11 / July / 2010, 11:16:54
Hello- I just tried installing the hack per the instructions on page 26, but I seem to have bricked my camera. The one thing I did wrong is that I didn't wait 5 minutes; for some reason I thought it said 5 seconds. At this point, if I turn the camera on, I get the power light to come on, and it stays on when I turn the switch off. Taking out the battery or card make no difference, and I can't see the menu or anything, the screen is blank. I've searched (though I've not read every page of this thread yet) but not found anything. Does anyone know a solution for this?
Thanks...
Title: Re: Eos 400d ( Rebel XTI )
Post by: fabian.off on 11 / July / 2010, 11:24:05
Hello- I just tried installing the hack per the instructions on page 26, but I seem to have bricked my camera.

Seems to me like you copied the AUTOEXEC.BIN kind of wrong. 5 Secs are really short for the testfir to work, so just copy an original Canon-Update to your cf-card and try booting again. This should present you with the "Do you want to update?"-Screen.

If this won't work, try to connect your cam via usb and run the updater tool.

After all: Don't panic, bricking the cam is really difficult ;-) (though, you really picked the best part of the process to try...)
Title: Re: Eos 400d ( Rebel XTI )
Post by: tsuga on 11 / July / 2010, 11:40:44
I have tried formatting the card and installing the .fir firmware file to the card, but still nothing. I'm not sure what updater tool you're talking about. I connected the camera to the USB port, but I can't copy the .fir file to the camera that way. Thanks for the help.
Title: Re: Eos 400d ( Rebel XTI )
Post by: fabian.off on 11 / July / 2010, 12:35:43
I have tried formatting the card and installing the .fir firmware file to the card, but still nothing. I'm not sure what updater tool you're talking about. I connected the camera to the USB port, but I can't copy the .fir file to the camera that way. Thanks for the help.

http://www.canon.co.jp/imaging/eosdigital3/e4kr3_firmware-e.html (http://www.canon.co.jp/imaging/eosdigital3/e4kr3_firmware-e.html) -> (4-2)
Maybe it works...
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 11 / July / 2010, 19:07:25
I use the CHDK http://www.filefactory.com/file/b17bgh2/n/autoexec_autoiso_2010-05-04.zip (http://www.filefactory.com/file/b17bgh2/n/autoexec_autoiso_2010-05-04.zip), shooting in RAW mode, and I do not understand much why the Auto-ISO runs, for me, only between 100 and 200 ISO !

I have the opinion of obitus for the return of this important function on future releases and if possible, having RAW in different automatic modes (Portrait, Macro, Sport...)

Thank you very much to continue to give life to this Reflexe which date of a few years.
Title: Re: Eos 400d ( Rebel XTI )
Post by: tsuga on 11 / July / 2010, 20:49:40
An update- it actually cleared itself up, I had it plugged into the usb port and left it on for a while, and when I unplugged it, it was working again. Go figure. I still want to install the hack, but if I could, I'd like to ask for a little clarification on a few of the steps:

3. empty your CF, download testfir.fir from http://chdk.setepontos.com/index.php/topic,1618.0.html (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. download cardtricks 1.45 : http://chdk.setepontos.com/index.php/topic,4214.0.html (http://chdk.setepontos.com/index.php/topic,4214.0.html) (first download link). Run it to self extract the archive. Run the binary extracted, choose CF drive, tick "cf boot sector" and then click "make bootable."
7. download latest autoexec.bin from the list below and copy the ONLY AUTOEXEC.BIN to CF card.
8. safely remove CF, insert it into camera.


step 3 says, "empty your CF". Does that mean format it, or delete the other files on it, or just take it out of the camera?
After step 5 you have an empty cf card, is there no need to reinstall any of the .fir files? Just the autoexec.bin file after it's been made bootable?
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 12 / July / 2010, 08:23:37
I believe that, at the origin the 400d is not bootable. The purpose of the update using testfir.fir is to make the camera bootable from the memory card.

No need to reinstall any of the .fir files after step 5, Just copy the autoexec.bin on memory card CF, your camera boot from this file to each reboot (If blue led flash, the autoexec.bin is loaded). It must be careful not format this memory card which contains the file autoexec.bin if we do not want lose the new functions of CHDK.

Correct me if I made mistakes!
Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 12 / July / 2010, 22:11:13
hi tsuga, just a note you MUST USE A CARD READER throughout the whole process.
Title: Re: Eos 400d ( Rebel XTI )
Post by: fsnfs on 15 / July / 2010, 11:16:45
 
Canon EOS 400D hack.

Summary of new features:
1. Maximum ISO value (From 1600 to 3200)
2. Customizable ISO value (ISO 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200)
3. Spot Metering
4. Auto ISO function in A-DEP, M, AV, TV, P mode
5. Customizable Shutter Speed
6. Customizable AEB value (+-2.3EV, +-2.7EV, +-3.0EV, +-3.3EV, +-3.7EV, +-4.0EV, +-4.3EV, +-4.7EV, +-5.0EV)
7. Factory Menu
8. Focus Frame pattern


excuse me sir,

If No mount any lens in 400D, it is "F00" in screen. And it can't chang the "F00" value by "AV" model at that time.

Is it impossible to add a funtion: when no lens mounted, the 400D can chang the "F00" such as a len mounted?


......

what is that I means is that:
when mounted a OLD lens which use Manual-focus only, It can not speak a Warning sound form the 400D when on foucs.
if a crack can Cheat the 400D did not distinguish whether the lens mounted or not, or mounted forever, the 400D would auto AF Confirm when use Manual-focus on foucs by old lens without a Electronic-Transfer-Ring.

......

If that a software way to Hack Canon EOS 400D to confirm focus with all lenses, permanently?
Title: Re: Eos 400d ( Rebel XTI )
Post by: fsnfs on 15 / July / 2010, 23:40:30
I found this line:
what does it mean" DEF ( event proc SetAfMode,0xFF81FE14)" ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: fsnfs on 15 / July / 2010, 23:55:48
 DEF (OlAfMode,0xFF85D8FC)
 DEF (OlAfMode,0xFF85D8FC)
 DEF (CreateDialogBox OlAfMode,0xFF85DBF4)
 DEF (Create Af Point Selection Dlg,0xFF8609AC) //Auto forcus frame dialog
 DEF (Delete Af Point Selection Dlg,0xFF860A54) //Auto forcus frame dialog
Title: Re: Eos 400d ( Rebel XTI )
Post by: fsnfs on 16 / July / 2010, 00:09:35
DEF(SetFocusLensDefaultCondition,0xFF852754)
Title: Re: Eos 400d ( Rebel XTI )
Post by: scout7 on 20 / July / 2010, 16:23:00
Feature Request

I'd like to request a "tap and release" mode for the Av button.  Tapping the Av button would toggle between modes for the scroll wheel (e.g. between aperture and shutter speed in manual mode) and not require the user to hold the Av button down while using the scroll wheel for either setting.  Ideally the currently active setting would be remembered between shutter activations.

PS: a big thank you to everyone involved in this project.  I'm very thankful for the ability to get Auto-ISO and ISO3200 on my XTi.  (It actually influenced which camera I bought!)

Title: Re: Eos 400d ( Rebel XTI )
Post by: wtm0325 on 21 / July / 2010, 08:55:54
Canon EOS 400D hack.

Summary of new features:
1. Maximum ISO value (From 1600 to 3200)
2. Customizable ISO value (ISO 16, 32, 40, 50, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200)
3. Spot Metering
4. Auto ISO function in A-DEP, M, AV, TV, P mode
5. Customizable Shutter Speed
6. Customizable AEB value (+-2.3EV, +-2.7EV, +-3.0EV, +-3.3EV, +-3.7EV, +-4.0EV, +-4.3EV, +-4.7EV, +-5.0EV)
7. Factory Menu
8. Focus Frame pattern


excuse me sir,

If No mount any lens in 400D, it is "F00" in screen. And it can't chang the "F00" value by "AV" model at that time.

Is it impossible to add a funtion: when no lens mounted, the 400D can chang the "F00" such as a len mounted?


......

what is that I means is that:
when mounted a OLD lens which use Manual-focus only, It can not speak a Warning sound form the 400D when on foucs.
if a crack can Cheat the 400D did not distinguish whether the lens mounted or not, or mounted forever, the 400D would auto AF Confirm when use Manual-focus on foucs by old lens without a Electronic-Transfer-Ring.

......

If that a software way to Hack Canon EOS 400D to confirm focus with all lenses, permanently?


Can you give some example which canon lens that we can mount?
Title: Re: Eos 400d ( Rebel XTI )
Post by: presha on 22 / July / 2010, 12:30:22
HELLO.

New forum member here, and lover of this XTi patch.
It's been working great, giving me the expanded iso I was hoping for.

A couple questions though.... I hope someone can help.

I learned that I can not delete the AUTOEXEC.BIN from my card ever because then the patch does not work. Correct?
Well now, after I shoot some pics and take them off of my card, I can't seem to clear the storage space after removing them.

The files don't appear to be on the CF anymore, but I have limited frames left, as if the card is still full.

If I format, well, then I lose the AUTOEXEC.BIN, correct?

How can I clear space on my card and keep the .bin file in place?

This is probably really simple, and I am just overlooking it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 23 / July / 2010, 12:04:35
HELLO.

New forum member here, and lover of this XTi patch.
It's been working great, giving me the expanded iso I was hoping for.

A couple questions though.... I hope someone can help.

I learned that I can not delete the AUTOEXEC.BIN from my card ever because then the patch does not work. Correct?
Well now, after I shoot some pics and take them off of my card, I can't seem to clear the storage space after removing them.

The files don't appear to be on the CF anymore, but I have limited frames left, as if the card is still full.

If I format, well, then I lose the AUTOEXEC.BIN, correct?

How can I clear space on my card and keep the .bin file in place?

This is probably really simple, and I am just overlooking it.


Just delete all the images with you 400d. You can recopy AUTOEXEC.BIN in CF by the card reader If It was formatted by accident/necessity.

Thanks for all who are working on this camera.
Title: Re: Eos 400d ( Rebel XTI )
Post by: fsnfs on 26 / July / 2010, 01:07:34
Canon EOS 400D hack.

Can you give some example which canon lens that we can mount?

ok: like zeiss 135mm f2.8 , it can be mounted by a M42-EFs ring, manual focus , can be use very well, the color was wonderful, but not confirm focus by 400D.
Title: Re: Eos 400d ( Rebel XTI )
Post by: fxrider on 01 / August / 2010, 16:44:38
Feature Request

This is discussed before in the thread. It would be nice to be able to do 5 or 7 shots in AEB. That will be a great addition.

Also would it be possible to introduce AF microadjustment?

I have recently installed the hack to my sweet 400d and it works perfectly. Thanks a lot to everyone involved in getting this to work. You guys rock!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 04 / August / 2010, 12:12:55
Come on GUYS (thaibv and fedelsa et al) please, sell the 400D and get a 550D (I did.. it's a must upgrade)

Then start working on it.. I can't stand the magiclantern... :(

Info here: http://magiclantern.wikia.com/wiki/550D (http://magiclantern.wikia.com/wiki/550D)

To get the sources: http://bitbucket.org/hudson/magic-lantern (http://bitbucket.org/hudson/magic-lantern)

And/or:

$ hg clone http://bitbucket.org/hudson/magic-lantern (http://bitbucket.org/hudson/magic-lantern)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 6ix on 08 / August / 2010, 00:52:06

what is that I means is that:
when mounted a OLD lens which use Manual-focus only, It can not speak a Warning sound form the 400D when on foucs.

This would be a great wee hack - I have the same problem - I have some nice old pentax screw mount lenses, and an adapter to mount them on the canon mount, but the problem is the focus sensor doesnt go at all!

It would make it soo much easier to use manual lenses if the focus indicator still worked!

Anyway, this is a fantastic hack guys -I really appreciate the time & effort you've put into keeping these older cameras "up there" capability wise.  I love my spot metering, and often use the iso3200 for checking framing for night shots..
Title: Re: Eos 400d ( Rebel XTI )
Post by: gafer on 11 / August / 2010, 00:05:36
I know, but the bootloader is not even on the CF card, but on the camera. I want to flash the bootloader back to original state.

the change and continue running even looking for a file on the CF card.

Flash again with the Canon original Firmware.

Others have reported that does not restore the boot flag.


This really don't change bootflag, tryed it last night and camera stil reads fw from card when powered  on.

Has anyone got an answer for this? I'd like to be able to completely remove any trace of CHDK having been used on my camera. However, even if I reinstall the latest Canon Firmware the camera will still read the Bootable Card with the Autoexec.bin file and go ahead and execute it. How can I reverse whatever the testfir.fir did with my camera? I did a lot of reading and thought that this whole hack thing was completely reversible but that doesn't seem to be the case. I certainly think it's cool to be able to get additional ISO's, spotmetering and what not but I'd also like to be able to completely reset my camera to it's original factory condition. Advice anyone?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 15 / August / 2010, 20:40:38
Unlock Guide:
...
6. download cardtricks 1.45 : http://chdk.setepontos.com/index.php/topic,4214.0.html (http://chdk.setepontos.com/index.php/topic,4214.0.html) (first download link). Run it to self extract the archive. Run the binary extracted, choose CF drive, tick "cf boot sector" and then click "make bootable."

this step can be done on linux or mac os as described here: http://magiclantern.wikia.com/wiki/550D (http://magiclantern.wikia.com/wiki/550D)

i did it on linux and it works for me, just remember to format the card only on the camera
(it is fat16)

Code: [Select]
dev=/dev/sdb1
echo EOS_DEVELOP | dd of="$dev" bs=1 seek=43 count=11
echo BOOTDISK | dd of="$dev" bs=1 seek=64 count=8

note: "dd" is available on windows too - http://www.chrysocome.net/dd (http://www.chrysocome.net/dd)

perhaps you could update the post on page 26 - http://chdk.setepontos.com/index.php/topic,3290.msg49910.html#msg49910 (http://chdk.setepontos.com/index.php/topic,3290.msg49910.html#msg49910)
Title: Re: Eos 400d ( Rebel XTI )
Post by: HellStorm666 on 27 / August / 2010, 10:49:51
Title: Re: Eos 400d ( Rebel XTI )
Post by: triggerman17 on 27 / August / 2010, 12:46:13
is it possible to add kelvin white balance to 400d?
Title: Re: Eos 400d ( Rebel XTI )
Post by: HellStorm666 on 03 / September / 2010, 09:19:38
Title: Re: Eos 400d ( Rebel XTI )
Post by: natedawgws on 08 / September / 2010, 22:06:09
I am new and I just got the EOS 1000d and wanted to know if there was a any firmware modifications that would allow for it to have 3200 iso
Title: Re: Eos 400d ( Rebel XTI )
Post by: dakatana on 10 / September / 2010, 08:07:01
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 30 / September / 2010, 11:43:53
I would like to ask you, which version (and on which platform) do you use to compile EOS 400D firmware.
I was unable to build it with many versions and many howtos, from autoexec.bin i have found that you have used gcc 4.4.4 to compile last firmware.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 30 / September / 2010, 13:02:25
Hello,

I was able to compile it with the arm-elf toolkit used for Magic Lantern, under Ubuntu, installed as described here: http://magiclantern.wikia.com/wiki/Build_instructions/550D (http://magiclantern.wikia.com/wiki/Build_instructions/550D)

However, I did not run the compiled autoexec.bin on the camera, since I don't have a 400D.

You may also try the compiler used for CHDK, from here: http://chdk.wikia.com/wiki/For_Developers (http://chdk.wikia.com/wiki/For_Developers) (look for "Compiling CHDK under <your favorite OS>").
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 30 / September / 2010, 15:50:18
Thanks, I will try this one, previous attemps during many months (Gentoo way, Cygwin, standalone compiling under Linux) was unsuccesful. On the mentioned page  someone says None of them worked, maybe 'cause they detected that I'm not a Linux guru :) . The same applies for me.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 12 / October / 2010, 14:35:15
Hi,

Apologies if this has been asked before but... is it possible that this port of CHDK will allow scripts (timelapse, motion detection) for the 400D eventually?

Cheers

repeater
Title: Re: Eos 400d ( Rebel XTI )
Post by: buzz3 on 17 / October / 2010, 10:06:16
Dear Expert,

Is it possible to modify the 400D to focus at a smaller aperture, such as f/2.8 for fast lens, f/4.0 or 5.6 for zoom lens but not at the largest aperture of lens when focusing?

This change will have a great improvement in making more sharp photos when using 400D.

Thanks for your attention.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Isellmypictures on 19 / October / 2010, 10:47:21
First of all, thanks a lot to everybody who helped to make this possible! 8) It's a good thing (in this bad world  >:().

4,5,6. Auto ISO function in A-DEP, M, AV, TV, P mode / Customizable Shutter Speed and AEB value

To wtm0325: Since AutoISO has been removed in the latest release, I'm wondering if you could update the instructions to this latest release and remove the redundant instructions? (Maybe in a new post?) Of course, I could do that myself, but:

As I read, you neither could make minimum shutter speed work. For me, it's somehow unclear how I should set it. Do I have to set it in mode Tv and then switch to P and the let's say the 1/60 I set in Tv is now the minimum shutter speed in P mode (the same from M to Av)?
You are writing one could set it in M or Tv mode, but then you may got two different shutter speeds (one in M and one in P) and after you switch to Av or P, which one does apply then?

So I am confused about your instructions for the point 5 (and 6?!). I don't get the concept. Your sentence "* AFTER CHANGES MADE, ALWAYS SWITCH TO TV or M MODE AND BACK TO AV or P MODE." (and * Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point for Av and P (after switch from M or Tv to Av or P)." as well) is for me not understandable, what are you exactly referring to?  :-X

I hope you can clarify, and I don't know how stupid exactly I am, not to get what you mean...

Greetings
Chris


PS "Isellmypictures" is a dumb nickname, and in addition a lie :D
PPS Excuse my grammar and whatsoever, my native tongue ain't English!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 01 / November / 2010, 02:29:07
Bin file:    AUTOEXEC.BIN (http://www.filefactory.com/file/b4170g3/n/AUTOEXEC.BIN)
And source code:   autoexec_2010-11-01a.rar (http://www.filefactory.com/file/b4170gd/n/autoexec_2010-11-01a.rar)
  Moved Safety Shift and AEB to Info screen. To get to Info screen press menu, then disp. button. Use Up, Down, Left and Right buttons to set.
   Thanks to developers from 350d project. http://chdk.setepontos.com/index.php?topic=4202.0 (http://chdk.setepontos.com/index.php?topic=4202.0)
   Code, which translates AEB hex numbers to string, was used from their source code.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Isellmypictures on 01 / November / 2010, 05:10:38
Hey Sergei, I just tried it out and it works like a charme! Thanks so far, this is even more handy!

Unfortunately I already found a bug: When I go to Picture Style and select User Def. 3, then I press menu, then disp. button to go to the Info screen, the Info screen doesn't appear. Even worse, the whole display menu disappears, only a black screen is showing and there is some flickering. The only way to get the display back is to take out the battery and put it back. Maybe you could fix this?

Greets from Budapest

PS Is User Def. 3 at all still needed to change settings after you took out AutoISO? If I am right, only Sharpness is useful, to set Minimum Shutter Speed, but I didn't yet try if it's working? Anyways, thanks again for your efforts.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 01 / November / 2010, 15:26:30
  I fixed that bug. Links to files in my previous post have been updated. User Def. 3 doesn't have to be changed anymore.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ariel1969 on 09 / November / 2010, 09:13:37
I Have problem with filefactory.

  Mediafire, please.

  Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 09 / November / 2010, 15:44:30
autoexec_2010-11-01a.rar: http://www.mediafire.com/?vn35mpxrnd6c43f (http://www.mediafire.com/?vn35mpxrnd6c43f)
AUTOEXEC.BIN: http://www.mediafire.com/?jdjdvj45l0dy3e5 (http://www.mediafire.com/?jdjdvj45l0dy3e5)
Title: Re: Eos 400d ( Rebel XTI )
Post by: arm.indiana on 09 / November / 2010, 17:01:47
Hi !

Please, to which version of the 400d firmware this autoexec apply  ?
v1.1.1 from September 19th, 2007?

the number of functions being named is really impressive !

Indy
Title: Re: Eos 400d ( Rebel XTI )
Post by: arm.indiana on 09 / November / 2010, 17:10:28
please at which address this firmware must be loaded into IDA ?

I suppose this is this file at offset 0x01b260 ?

Code: (c) [Select]
        +-flags--+-offset-+-length-+--name--------------------+
0x127ca8: 0x0008  0x000220 0x01b040 BIND_RESOURCE
0x127cd0: 0x0003  0x01b260 0x35c9a0 MAIN_FIRMWARE
...
Title: Please make the XTi / 400D write focus distance into the EXIF data
Post by: XTiUser on 10 / November / 2010, 00:34:37
All recent cameras include the focus distance (aka "shooting distance") in the standard EXIF data. The XTi / 400D is old enough that it does not.

This information, when present, lets Canon's free RAW file program, Digital Photo Professional, automatically correct lens aberrations like pincushion and barrel distortion, vignetting, and chromatic aberration. Without that information, you have to work a "shooting distance" slider with only one distance marked: infinity.

I'm using the November, 2010 Autoexec.bin for the XTi / 400D. The increased ISO is nice, as is the spot metering, but having shooting distance included in the EXIF data is essential!

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: arm.indiana on 11 / November / 2010, 03:54:28
Hi,

OK, found it, 1.1.1 firmware is loaded at 0xff810000.
and I updated my tool to extract a patch from the update, please find file attached

Code: (c) [Select]
python ofir_tool.py -v -x 2 ../firmware/400d_111.fir
Fir_tool 0.6 for 5D/30D/400D (11Nov2010)

fileLen = 0x4ae26a
---.fir header---
0x000: modelId = 0x80000236, (400D / Rebel XTi, VxWorks)
0x010: version = 1.1.1
---ciphered part (xor)---
 xor_decoding [0x20-0x4ae26a]... OK (0236_111_firmware.bin)
0x020: checksum = 0xe355c059
0x024: updater offset = 0x30
0x028: firmware pack offset = 0x127c90
0x02c:  = 0x0
0x030: ---updater---
0x127c90: ---firmware---
0x127c90: (+0x000) firmware checksum = 0xea5228c2
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 = 0x3863ba
0x127c88: (+0x018) files table
              +-flags-+-offset-+-length-+--name--------------------+
0x127ca8: 0x01 0x0008  0x000220 0x01b040 BIND_RESOURCE
0x127cd0: 0x02 0x0003  0x01b260 0x35c9a0 MAIN_FIRMWARE
0x127cf8: 0x03 0x0004  0x377c00 0x000004 ModelID
0x127d20: 0x04 0x0004  0x377c04 0x000005 FirmwareVersion
0x127d48: 0x05 0x0004  0x377c09 0x00000a ICUVersion
0x127d70: 0x06 0x0004  0x377c13 0x0001f8 FileSizeTable
0x127d98: 0x07 0x0004  0x377e0b 0x001b69 LensNameTbl
0x127dc0: 0x08 0x0004  0x379974 0x000094 LensPOTbl
0x127de8: 0x09 0x0004  0x379a08 0x000f2c AdjWbFix
0x127e10: 0x0a 0x0004  0x37a934 0x00469a CrwParam
0x127e38: 0x0b 0x0004  0x37efce 0x00722c FlavorLutParam
0x127e60: 0x0c 0x0004  0x3861fa 0x000218 ColorAdjustDefaultAngel
0x127e88: 0x0d 0x000b  0x386412 0x0001c8 EEP
0x127eb0: (+0x220) end of table, first file

writing 0236_111_02.bin [0x1b260-0x377c00]. size=0x35c9a0/3525024
@xtiuser,
the distance information is coming from recent lenses.
See http://magiclantern.wikia.com/wiki/Focus_distance#Tested_lenses (http://magiclantern.wikia.com/wiki/Focus_distance#Tested_lenses)

Indy
Title: XTi Focus Distance
Post by: XTiUser on 11 / November / 2010, 14:09:13
Dear arm.indiana,

I have two lenses, the Canon EF-S 17-55 f/2.8 IS and the Canon EF 70-300 f/4-5.6 IS USM. (I started out with the EF-S 17-85 f/4-5.6 IS USM, which I traded in, along with a chunk of change, to get the 17-55 f/2.8 IS).

The only lens of mine listed in the table at Magic Lantern that you sent me to is the 70-300, which says it sends Focus Distance.

The table at Magic Lantern sources its info about the 70-300 to DPReview.com, which turned out to be their news story covering Canon's press release for that lens, so I searched there for the same thing for my main lens, the EF-S 17-55 f/2.8. The story there about the EF-S 17-55 f/2.8 says that lens also sends distance information.  (http://www.dpreview.com/news/0602/06022113canonefs1755f28g.asp (http://www.dpreview.com/news/0602/06022113canonefs1755f28g.asp))

However, I've looked at the EXIF listings for the RAW files of shots I've taken with both of those lenses on my XTi. In Adobe Bridge the "Subject Distance" field is blank. In DPP, the Shooting Distance is "<!>" (for "I haven't a clue!")

The problem isn't that my lenses don't send the information - they do -  but that the camera body isn't writing the distance in the EXIF data.

By the way, the page at Magic Lantern points at the bottom to http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Canon.html (http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Canon.html) which lists which tags are written out by all Canon EOS models since the 450D. (Pity they don't include the 400D!) All but the 60D are listed as writing Focus Distance. (I don't think the 60D table is complete, since it's tiny compared to the others - it is a new camera, after all.)

So my request stands: Please look into making the 400D / XTi write the focus distance into the EXIF data. Built into Canon's Digital Photo Professional RAW file converter and photo editor that comes with their RAW-capable cameras is profile-based lens aberration correction with profiles for all of their lenses and RAW-capable cameras. DPP can print directly or output JPEGs or 8 or 16 bit TIFFs, which can then be brought into Photoshop. It essentially takes the place of Adobe Camera RAW, providing most of its functions, including color adjustment, rotation, cropping, sharpening, and even noise reduction.

With shots that have full EXIF data, DPP can automatically correct pincushion/barrel distortion, corner light fall-off, and chromatic aberration, based on Canon's knowledge of how its equipment behaves. (Each correction can be turned on independently, and there's an amount slider for each of them if you think it's doing too much.)

If the distance isn't in the EXIF data, you can input the distance with a slider - which gives no indication of what value you're setting it to except for an infinity symbol at one end!

That's why I'd like to have my XTi made to write the distance lenses do tell it into the EXIF.
Title: The XTi / 400D Does write the distance into the EXIF. Does it say too much?
Post by: XTiUser on 11 / November / 2010, 23:33:19
Curioser and curiouser.

I downloaded the free EXIFtool windows application from http://www.sno.phy.queensu.ca/~phil/exiftool/index.html (http://www.sno.phy.queensu.ca/~phil/exiftool/index.html) and dropped one of my XTi's RAW files taken with my EF-S 17-55 f/2.8 onto its icon to see the EXIF data.

My XTi is indeed writing the focus distance into the file! It has filled in both FocusDistanceUpper and FocusDistanceLower.

For comparison, I then used EXIFtool to look at a RAW file from my G12, which does set the Shooting Distance in DPP. That file has FocusDistanceUpper set, and FocusDistanceLower at 0.

I am so confused!
Does this mean that if I zeroed out the FocusDistanceLower using EXIFtool, the distance would suddenly become visible in Bridge and would work the slider for me in DPP?

If it does - and I'll have to do some experimenting with EXIFtool to find out, I might be able to use it in batch mode to massage all my old files.

PS  I've just printed out the documentation for EXIFtool to try to figure out how to use it. 35 pages long, assembled by copying and pasting one DOS print screen after another (about four per page) into my word processor.

You'll probably hear back from me on this project in a few days!
Title: Re: Eos 400d ( Rebel XTI )
Post by: arm.indiana on 12 / November / 2010, 07:29:08
I tested by 17-55 f/2.8 with Magic Lantern and focus distance is displayed.

See http://bitbucket.org/hudson/magic-lantern/src/fb42383275a2/lens.c (http://bitbucket.org/hudson/magic-lantern/src/fb42383275a2/lens.c)
for how it is done with DryOS

Indy
Title: Re: TMI!
Post by: XTiUser on 12 / November / 2010, 11:56:41
Dear arm.indiana,

Right. EXIFtool shows that the EXIF from my XTi does indeed list focus distance - both FocusDistanceUpper and FocusDistanceLower. However, neither Adobe Bridge nor Canon's Digital Photo Professional see it.

My G12, on the other hand, sets FocusDistanceUpper and leaves FocusDistanceLower at zero. Bridge shows the focus distance when I open a TIFF that DPP writes out from a G12 CR2 (it can't open the G12 CR2s yet). DPP doesn't even have a field for distance in its info screen but the Shooting Distance slider is set by the EXIF - while for an XTi image, either CR2 or TIFF, that slider comes up at infinity.

So the problem appears to TMI - Too Much Information! - in the XTi CR2 files. The presence of a non-zero value for FocusDistanceLower - which is indeed a smaller number than FocusDistanceUpper - results in those programs giving up and acting as if there was no distance reported by the EXIF.

I don't have a C compiler - nor would I know how to use one if I had it - so I don't know what the Magic Lantern showed in your XTi's EXIF. Did it show both values, as EXIFtool does?

I'm assuming that these values are the outer bounds of the depth of field, so I don't know what I should have EXIFtool do to my XTi files.

Should I simply have it set the lower value to zero, should I have it delete that value entirely, or should I try to compute an in-between value that's the actual focus distance and write that to FocusDistanceUpper while nulling Lower, which isn't likely to be something that can be batch processed.

PS EXIFtool is a Perl application, but not only is the source code posted at that site, but there are also free stand-alone versions for both Windows and Mac: http://www.sno.phy.queensu.ca/~phil/exiftool/index.html (http://www.sno.phy.queensu.ca/~phil/exiftool/index.html)
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 12 / November / 2010, 15:02:58
According to wikipedia, the actual subject distance s is equal to twice the product of the near and far bounds of the depth of field divided by their sum:

s=(2*FDU*FDL)/(FDU+FDL)

(It calls this function the harmonic mean of those values.)

I'm putting together a spreadsheet that will derive the subject distance from the FDU and FDL that the XTi writes into the EXIF.

Of course, automating funneling them into the spreadsheet and the result back into FDU (with FDL set to 0) will not be easy to batch process my old files!
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 14 / November / 2010, 02:17:06
Experimentation with ExifTool - and postings back and forth with its author at his forum - led to the fact that the 400D - unlike the rest of  the EOS cameras - has a bug that makes it write the FocusDistanceUpper and Lower values swapped, with the smaller distance in Upper and vice versa.

Manually swapping them enabled Bridge to derive a Shooting Distance value, though DPP is ferfallen, verblunged, and kaput (to quote Lilly von Schtupp from Mel Brooks'  Blazing Saddles) when it comes to  focus distance with the 400D.

I'm now working on an automated routine using ExifTool and a batch file to swap those values in all nine thousand XTi RAW files I have.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Isellmypictures on 14 / November / 2010, 05:59:45
OK, found it, 1.1.1 firmware is loaded at 0xff810000.
and I updated my tool to extract a patch from the update, please find file attached

I'm sorry for the question, but what is your tool doing?
I really don't get it..

Greetings
C
Title: Re: Eos 400d ( Rebel XTI )
Post by: arm.indiana on 14 / November / 2010, 12:26:34

I though it was self explaining...
it dumps the TOC of a 5d/400d/30d update and allow to extract a file from it.
like the main firmware, to study it.

Indy
Title: Let Bridge and Photoshop see the focus distance Eos 400D / Rebel XTI files
Post by: XTiUser on 17 / November / 2010, 02:59:21
Been over at the ExifTool forum for the past few days working on a fix for the swapped FocusDistanceUpper and FocusDistanceLower tags in the EXIF data caused by a bug in the programming in the EOS 400D / Digital Rebel XTi / Kiss Digital X. My username there (and most places on the web) is Philnick. I'd change it here to Philnick as well, but the board's software doesn't appear to allow changing one's username.

If Upper is less than Lower,  Adobe's - and probably everyone else's - programs can't figure out the focus distance. Swapping them back makes Adobe's programs, at least, able to figure that out.

I attach a one-line batch file that tells ExifTool, which is a command-line utility, to look at those values in every file in the currrent folder and every folder under it, and if Upper is smaller than Lower, to swap their contents and rename the original as a safety copy, adding "_original" to the end of the extension (.CR2 will become .CR2_original on the safety backup). I came up with a three-pass routine that Phil Harvey, who wrote ExifTool and runs its discussion forum, boiled down to one very elegant step.

Since ExifTool makes a duplicate of all the files it fixes, you need to have as much free space on the drive as your photo files currently occupy. Once you've checked that the new versions work, you can use Windows Explorer to sort each folder by file type to group the backup files to make it easy to block and delete them to reclaim the space.

If you don't have quite that much free space available, you can work on one branch of your tree at a time, putting SwapFD.bat into the top of a branch and running it there. Once you've deleted the safety backups in one branch to reclaim the space, you can move on to another branch.

ExifTool, which has been called "The Pan Galactic Gargle Blaster" (google it) of metadata utilities, is freeware available here:
http://www.sno.phy.queensu.ca/~phil/exiftool/index.html (http://www.sno.phy.queensu.ca/~phil/exiftool/index.html)

These instructions are for Windows, but there's a Mac OS X version there also.

1) Create a folder called ExifTool in your Downloads folder (What? You don't have one? How do you ever find your downloads? Make one right now!)

2) Download the zip file into the ExifTool folder.

3) Unzip it and make a copy of the file named ExifTool (-k).exe.

4) Rename the copy simply ExifTool.exe.

5) Copy ExifTool.exe into your Windows directory.

6) Download the attached batch file, which is called SwapFD.bat, into the ExifTool folder.

7) Make a test copy of a small branch of your photo folder tree and put it outside your photo folder tree.

7) Copy SwapFD.bat into the topmost folder of that new branch.

8) In Windows Explorer, click (or double-click, depending on your settings) on the copy of SwapFD.bat in the top of that branch.

A command window will open up with the contents of SwapFD.bat displayed. Nothing will appear to happen for a little while, and then the command window will close. That means ExifTool has finished processing all of those files.

9) Have Bridge navigate to that new branch, and you'll see that your photos now show a Shooting Distance in the Metadata panel, information that will also be available inside Adobe Camera Raw and Photoshop to any processes that can use it.

10) If that was successful, you can delete the copied branch and copy SwapFD.bat into the top folder of your photo file tree.

11) Make sure that you have enough free space to let you temporarily double the size of the branch you're working on. If you're working on just a branch, put SwapFD.bat into the top of that branch and run it there. Once you've deleted the safety backups in one branch to reclaim the space, you can move on to another branch. Leave SwapFD in the branches you've fixed so you know which ones you've already fixed.

12) Unless you're working branch by branch, start running SwapFD.bat on your whole photo file tree as you go to bed or go out for the day - it'll take a while.

13) Check that the updated files work properly in Bridge and Photoshop.

14) Delete the files tagged as originals.

15) Once you've fixed all your existing XTi / 400D files, you should create an "incoming" folder for new files and put SwapFD.bat there - and get rid of all other copies in your photo folder tree so you don't start it running by accident. Running it on a new photo shoot should be very quick by comparison to the overnight process for the archive. I just processed a batch of new photos in about a second apiece. Move the processed files out of there as soon as they're processed into a place where you can find them, so the runs you do on each new batch are painlessly fast.

Canon's Digital Photo Professional still won't be able to see the Subject Distance in its lens aberration panel, unfortunately - that I'm still working on.

In the meantime, there's PTLens, a relatively-inexpensive plugin for Photoshop that also does profile-based lens aberration correction (it costs around $25). Apparently, Photoshop CS 5 and Lightroom 3 have the same thing built-in.
Title: Change your Adobe Camera Raw defaults!
Post by: XTiUser on 17 / November / 2010, 03:42:56
I learned something important about Adobe Camera Raw yesterday - in CS4 it's shipped set to convert RAW files to 8-bits-per-color by default - but that's easily changed.

The EOS 400D / Digital Rebel XTi / Kiss Digital X - like most DSLRs - uses 12-bit per color sampling in its RAW files, which works out to 4,096 discrete values per color per pixel. By changing that to 8-bit color, you're restricted to 256 discrete values per color per pixel. (JPEGs use 8-bit color.)

I won't bore you with the details of how I determined this was what was happening, but I will tell you how to change it in CS4.

Have ACR open a RAW file - either by telling Bridge to send it to Photoshop or by using Photoshop's File|Open command - and at the bottom of the screen, look for a line that lists the color space, bit depth, and number of megapixels.

That's not what it's getting from the RAW file - it's what it's going to turn it into to send to Photoshop.

It looks like a web link - blue and underlined. Click on it and you'll get a panel for customizing ACR's workflow settings.

You can change any of those settings and they'll stick for future images until you change them again.

I've set my copy to 16-bits per color - why shoot Canon's 12-bit per color RAW files if you're going to edit them in the same bit depth as a JPEG?
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 17 / November / 2010, 17:33:48
Now that I've massaged all my old XTi files to undo the "FDU/FDL swap" bug (look back a few posts for how), I'd like to ask the CHDK developers working on this camera model to include - in a new version of Autoexec.bin - a fix to that bug so that the camera will stop swapping those values in its metadata.

Is that something you can do?

I enjoy having the expanded ISO range and spot metering, though 45 AF patterns are a lot to cycle through with the Direct Print button.

Maybe the main control dial (on the front of the camera near the shutter button) that's used to select a focus point could be used to scroll, one per click, through those 45 patterns - it would make it a lot faster to get to the one you want, and would make it possible to scroll backwards through them, in which case you'd never be more than 23 clicks away from the one you want, once you've learned the sequence!

So:
Request number 1 is to fix the Focus Distance swap bug;
Request number 2 is to let the main control dial work as a way to scroll quickly through all the focus patterns.
Title: Re: Focus Distance Swap Fix
Post by: XTiUser on 20 / November / 2010, 13:00:56
I see that my SwapFD fix for Rebel XTi (EOS 400D)  files with the Upper and Lower values swapped has been downloaded five six eight times so far.

Anyone want to comment on whether it worked for you?

-Philnick (a/k/a XTiUser)
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 22 / November / 2010, 11:54:22
  I fixed that bug. Links to files in my previous post have been updated. User Def. 3 doesn't have to be changed anymore.

Excellent work and nice touch using the info screen!  Thank you for your work on this.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / November / 2010, 11:02:37
       Added to Info menu:
Av comp                       (+-6)
Flash exp. comp            (+-6)
AEB                              (+-6)
Safety Shift                   (on,off)
Release Count               (display count)
ISO 16,32,40,50,80        (on,off)
Show ISO in Viewfinder  (on,off)

          Use Up and Down keys to change menu. Left and Right to change settings. Av+- to change a sign in Av comp and Flash exp comp. Use Set to save (Av,Flash,AEB).
   To change ISO(100,200,400,800,1600,3200) while looking through viewfinder press left or right key. If Show ISO in Viewfinder is on new ISO will be shown in viewfinder while key is pressed (only works in Tv and M modes. I didn't find memory location of info bar string).   
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 24 / November / 2010, 05:01:55
I just registered to say thanks to the people working on this hack. I think that the traffic in this forum is quite low, and it does not reflect the amount of people using this modification; most people stays at other non english-speaking forums, where some of us translate and post there each announcement made here.

So, in my name, and in the name of lots of others:
THANK YOU VERY MUCH!

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / November / 2010, 05:07:18
yeah, the traffic seems to be low, but i guess it's better to keep in track...

thanks alot for the great job.

p.s. just wondering wouldn't it be better to put the sources on github/code.google/sf so more ppl can share their work and keep the changelog in one place ? perhaps there could be a wiki how to setup the cross environment too...
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 24 / November / 2010, 15:26:12
Been over at the ExifTool forum for the past few days working on a fix for the swapped FocusDistanceUpper and FocusDistanceLower tags in the EXIF data caused by a bug in the programming in the EOS 400D / Digital Rebel XTi / Kiss Digital X. My username there (and most places on the web) is Philnick. I'd change it here to Philnick as well, but the board's software doesn't appear to allow changing one's username.

If Upper is less than Lower,  Adobe's - and probably everyone else's - programs can't figure out the focus distance. Swapping them back makes Adobe's programs, at least, able to figure that out.

I attach a one-line batch file that tells ExifTool, which is a command-line utility, to look at those values in every file in the currrent folder and every folder under it, and if Upper is smaller than Lower, to swap their contents and rename the original as a safety copy, adding "_original" to the end of the extension (.CR2 will become .CR2_original on the safety backup). I came up with a three-pass routine that Phil Harvey, who wrote ExifTool and runs its discussion forum, boiled down to one very elegant step.

Since ExifTool makes a duplicate of all the files it fixes, you need to have as much free space on the drive as your photo files currently occupy. Once you've checked that the new versions work, you can use Windows Explorer to sort each folder by file type to group the backup files to make it easy to block and delete them to reclaim the space.

If you don't have quite that much free space available, you can work on one branch of your tree at a time, putting SwapFD.bat into the top of a branch and running it there. Once you've deleted the safety backups in one branch to reclaim the space, you can move on to another branch.

ExifTool, which has been called "The Pan Galactic Gargle Blaster" (google it) of metadata utilities, is freeware available here:
http://www.sno.phy.queensu.ca/~phil/exiftool/index.html (http://www.sno.phy.queensu.ca/~phil/exiftool/index.html)

These instructions are for Windows, but there's a Mac OS X version there also.

1) Create a folder called ExifTool in your Downloads folder (What? You don't have one? How do you ever find your downloads? Make one right now!)

2) Download the zip file into the ExifTool folder.

3) Unzip it and make a copy of the file named ExifTool (-k).exe.

4) Rename the copy simply ExifTool.exe.

5) Copy ExifTool.exe into your Windows directory.

6) Download the attached batch file, which is called SwapFD.bat, into the ExifTool folder.

7) Make a test copy of a small branch of your photo folder tree and put it outside your photo folder tree.

7) Copy SwapFD.bat into the topmost folder of that new branch.

8) In Windows Explorer, click (or double-click, depending on your settings) on the copy of SwapFD.bat in the top of that branch.

A command window will open up with the contents of SwapFD.bat displayed. Nothing will appear to happen for a little while, and then the command window will close. That means ExifTool has finished processing all of those files.

9) Have Bridge navigate to that new branch, and you'll see that your photos now show a Shooting Distance in the Metadata panel, information that will also be available inside Adobe Camera Raw and Photoshop to any processes that can use it.

10) If that was successful, you can delete the copied branch and copy SwapFD.bat into the top folder of your photo file tree.

11) Make sure that you have enough free space to let you temporarily double the size of the branch you're working on. If you're working on just a branch, put SwapFD.bat into the top of that branch and run it there. Once you've deleted the safety backups in one branch to reclaim the space, you can move on to another branch. Leave SwapFD in the branches you've fixed so you know which ones you've already fixed.

12) Start running SwapFD.bat on your whole photo file tree as you go to bed or go out for the day - it'll take a while.

13) Check that the updated files work properly in Bridge and Photoshop.

14) Delete the files tagged as originals.

15) Once you've fixed all your existing XTi / 400D files, you should create an "incoming" folder for new files and put SwapFD.bat there - and get rid of all other copies in your photo folder tree so you don't start it running by accident. Running it on a new photo shoot should be very quick by comparison to the overnight process for the archive. I just processed a batch of new photos in about a second apiece. Move the processed files out of there as soon as they're processed into a place where you can find them, so the runs you do on each new batch are painlessly fast.

Canon's Digital Photo Professional still won't be able to see the Subject Distance in its lens aberration panel, unfortunately - that I'm still working on.

In the meantime, there's PTLens, a relatively-inexpensive plugin for Photoshop that also does profile-based lens aberration correction (it costs around $25). Apparently that Photoshop CS 5 and Lightroom 3 have the same thing built-in.

Thanks XTiUser... very nice write up and work using ExifTool.
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 25 / November / 2010, 08:07:36
Hello,

When I extract the compressed folder (autoexec_2010-11-23.rar) I get 13 files, i copy the " AUTOEXEC.bin " in the card. To restart of my Canon Rebel XTI nothing happens, screen black ! Everything was going well with the " AUTOEXEC.BIN" of 2010-05-04 !

Where is the problem?

Thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 26 / November / 2010, 01:10:31
@canixus
 Have you tried to clear all camera settings from menu?


New Autoexec.bin
  http://www.mediafire.com/?k4hdcaquw5acfde (http://www.mediafire.com/?k4hdcaquw5acfde)  autoexec_2010-11-26.rar
  http://www.mediafire.com/?67l3ukmgv1ec4t6 (http://www.mediafire.com/?67l3ukmgv1ec4t6)  AUTOEXEC.BIN
 
Av comp                       (+-6)
Flash exp. comp            (+-6)
AEB                              (+-6)
Safety Shift                   (on,off)
Release Count               (display count)
Show ISO in Viewfinder  (on,off)
Color Temperature         (1800-11000K)
Flash                             (on,0ff)
AF Assist Beam              (on,off)

        Use Up and Down keys to change menu. Left and Right to change settings. Av+- to change a sign in Av comp and Flash exp comp. Av+- in Color Temperature will set temperature by preset values: 2200,3200,4000,5200,6000,7000K. Use Set to save (Av,Flash,AEB,ColorTemp.).
   To change ISO(100,200,400,800,1600,3200) while looking through viewfinder press left or right key. If Show ISO in Viewfinder is on new ISO will be shown in viewfinder while key is pressed (only works in Tv and M modes. I didn't find memory location of info bar string).   
    ISO 16,32,40,50,80   was removed. Is there any benefit from ISOs lower than 100? You can't use it to lower Shutter speed or aperture.
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 26 / November / 2010, 17:07:58
Thank you very much Sergei, I don't know what happened but the "autoexec_2010-11-26" is now OK for me.

All works for me except the command "Show ISO in Viewfinder (on,off)" !
I have tried on TV mode and M mode, but I can't show the ISO sensitivity in the Viewfinder.

It will be easier if you can configure the buttons left (- less) and the right (+ more) without passing through the button Av.

There are some benefices for ISO 16,32,40,50,80 when it can work fine: prevent using neutral gray filters for long exposure.

I would like to see "auto ISO" and the possibility to configure maximum sensitivity if you can do that !

Thank you again for this work and excuse my English.
Title: Re: Eos 400d ( Rebel XTI )
Post by: anAngel on 26 / November / 2010, 18:21:15
canixus you shouldn't be using the Custom Function 01 in its 4th setting - Cross Keys: AF frame select to work this function/hack
and to see it (flashing for a ms in place of the shutter speed when you change the ISO) you must be focusing/metering while looking in the viewfinder or it just changes it without displaying anything in the viewfinder

hope that helps



Now that i test this last build (autoexec_2010-11-26.rar) i cant seem to be able to save the Color temp value by pressing Set. It resets back to 5200K even if i just go to the next setting Flash for example without changing its or any other value/setting and going back over color temp it says 5200k as if i haven't done anything.
If i set the color temp and go out of info screen/menu without doing anything else and then go back in info screen it displays the value i set it to be, but if i shoot a shot or go to the next setting in order in the info screen and come back again at the color temp its doesn't do anything - it's again reseted back to 5200k.
Is it just me having this bug?



PS: Thank you very much devs for all those improvements lately
Info screen rocks now - makes it really easy and simple to change all those values, and looks nicer
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 27 / November / 2010, 01:36:57
canixus
i cant seem to be able to save the Color temp value by pressing Set.
I think it's because your Custom Function 01 is set in its 4th setting. I will check if it is possible to fix that. 

There are some benefices for ISO 16,32,40,50,80 when it can work fine: prevent using neutral gray filters for long exposure.
On those low ISOs shutter speed  and aperture combination is same as for ISO100. So it will not make exposure longer.
I think sensor in XTI can't go lower than 100. 
Title: Re: Eos 400d ( Rebel XTI )
Post by: anAngel on 27 / November / 2010, 05:04:43
canixus
i cant seem to be able to save the Color temp value by pressing Set.
I think it's because your Custom Function 01 is set in its 4th setting. I will check if it is possible to fix that. 
Yeap. Again the Custom Function 01 - 4th setting is the cause. Thanks
Although i personally think both settings are unrelated to each other unlike the show iso in the viewfinder setting and the custom function which both work under the same conditions, at the same time, with the same buttons.

Again thanks for the efforts and time spent making this dslr more functional  :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 27 / November / 2010, 13:58:24
Thanks for new functionality, Sergei

Some of my thoughts/whishes:

- there is no need for ISO < 100 option, as it has no effect, so it's good that you removed it
- maybe AE comp can also be omitted, as we have it available via buttons, so no need for duplicated functionality here, like for instance with Flash compensation, that is available via menu only
- show ISO in viewfinder resets to Off after turning the camera off; I think it could be set permanently to On and removed from Disp menu; anyway, it would be great if it could be made available in Av and P mode also ....
- if it's possible, make change of flash comp. and AEB comp with left/right only, without AV button to change sign; it's slightly uncomfortable this way

And another whish: after taking a shot, print + zoomin button can enlarge picture on the LCD, so you can check the focus. Unfortunatelly, with CHDK, this also changes ISO the same time. Is there a way to avoid this ? I'm frequently using this camera functionality to check the focus, so I have to correct ISO after that every time

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 27 / November / 2010, 16:37:18
canixus you shouldn't be using the Custom Function 01 in its 4th setting - Cross Keys: AF frame select to work this function/hack
and to see it (flashing for a ms in place of the shutter speed when you change the ISO) you must be focusing/metering while looking in the viewfinder or it just changes it without displaying anything in the viewfinder

hope that helps


Thank you anAngel, I can now show and change ISO in Viewfinder. Wonderful !! But sometimes it don't work for me !? Once I had "Err99!"
It is also possible to change the ISO sensitivity with the same bottoms, without seeing them in Viewfinder, on the modes P,Av.

Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 27 / November / 2010, 16:53:22

- maybe AE comp can also be omitted, as we have it available via buttons, so no need for duplicated functionality here, like for instance with Flash compensation, that is available via menu only


Good idea for deleting "AE comp", but not for flash comp because it is not possible to go via menu under +-2 IL.
-6 IL can be useful for macro-photography ?


- show ISO in viewfinder resets to Off after turning the camera off; I think it could be set permanently to On and removed from Disp menu; anyway, it would be great if it could be made available in Av and P mode also ....
- if it's possible, make change of flash comp. and AEB comp with left/right only, without AV button to change sign; it's slightly uncomfortable this way

And another whish: after taking a shot, print + zoomin button can enlarge picture on the LCD, so you can check the focus. Unfortunatelly, with CHDK, this also changes ISO the same time. Is there a way to avoid this ? I'm frequently using this camera functionality to check the focus, so I have to correct ISO after that every time

Thanks

+1 !

Another idea if feasible: possibility to reverse the contrast of display, from black on white to white on black background !

Thank You vit40, good luck Sergei  :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 27 / November / 2010, 20:37:08
- if it's possible, make change of flash comp. and AEB comp with left/right only, without AV button to change sign; it's slightly uncomfortable this way

How i understood, you want left button to decrease and right to increase value in 1/3 of f-stop. Think how many extra times you would have to press buttons to get opposite value( like go from +3 to -3 ).AEB doesn't use AV button.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 28 / November / 2010, 02:05:03
Hi Sergei, thanks for replying

Well, I would be more happy, if AV compensation, Flash compensation and AEB works the same way as all other controls - left button to decrease and right button to increase. Of course, that's only my personal opinion/whish, so it would be fine to get opinions of other members (as I understood, canixus agree with me about that)

As canixus wrote in his last comment (but deleted afterwards), there is a good reason for AV compensation to be in the Disp menu - it enables compensation > 2 EV, so ignore my previous whish to remove it

What do you think about changing a print button behaviour? I was thinking about 2 possible solution (don't know which one is better and which of them are possible to implement)

Solution 1: After choosing base ISO with ISO button, changing ISO with print button (for instance 100-125-160-100) is enabled. After pressing the shutter, it is disabled again, so ISO can't be changed by accident or by using print + zoom-in

Solution 2: disable this functionality of the print button entirely and move this option to Disp menu, so that left/right button can change ISO in smaller steps than ISO button of the camera (100, 125, 160, 200 ... 3200).

Also - is it possible to change ISO is these steps (instead of 100, 200, 400 ... 3200) when looking through the viewfinder ?

Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 28 / November / 2010, 04:14:55
http://www.mediafire.com/?qbck6xqmc65t240 (http://www.mediafire.com/?qbck6xqmc65t240)  AUTOEXEC.BIN

http://www.mediafire.com/?g8ruauja8bc8kcd (http://www.mediafire.com/?g8ruauja8bc8kcd)  AUTOEXEC.BIN  (AV compensation, Flash compensation and AEB works the same way as all other controls - left button to decrease and right button to increase)
 
http://www.mediafire.com/?6vpwfpd8ovd67bd (http://www.mediafire.com/?6vpwfpd8ovd67bd)  autoexec_2010-11-28a.rar

Fixed print + zoom_in buttons combination.
Show ISO in viewfinder will not reset to Off anymore. I had it off, because it saves shutter speed twice (shutter as ISO and then old shutter) to show ISO in viewfinder. So it probably aging flash memory in camera.

Settings in Info menu now can be saved with set or print buttons.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 28 / November / 2010, 05:18:20
WOOOW, man, that was quick. A BIG THANKS !

I tried the last verision. I can confirm that Print + zoom-in issue is solved (even if I press print button separately during preview), without changing behaviour during normal operation, which is also ok for me. ISO in viewfinder status is also saved. Also, I noticed that it's possible to change ISO in AV an P, just it is not displayed in viewfinder. This is really nice feature - I can just cover IR sensor with my finger and change ISO, without entering ISO menu. Flash compensation, AV compensation and AEB behaviour isn't changed in this version

Then I tried the middle version. That one has also first 2 issuses solved + Flash compensation, AV compensation and AEB behaviour is changed the way we asked. I will stick to this one

But, at the end I also noticed that it's not possible to set spot mettering with print button. Well, it's ok for me, I don't use it. For other members, maybe solution would be to add option "Spot metering" On/Off to disp menu, so in case it is Off, camera will use partial metering when selected in metering menu, and in case it is on, it will use spot metering when partial metering is selected in the metering menu.

Another thing, I didn't find a way to change AF points matrix. The combination for this was: 2x quickly press AF point/zoom_in button, then use print button to choose among predefined sets of AF points. This doesn't work.

Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 28 / November / 2010, 12:44:57
But, at the end I also noticed that it's not possible to set spot mettering with print button.
I updated my last post with new files.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 28 / November / 2010, 13:08:50
THANKS!

Works like a charm now   :xmas
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 29 / November / 2010, 18:14:18
Thanks for continuing the work.

I think there is limitation for the 3 versions: can't choose under 1600iso with print button ! Possible to put and see 3200iso, with left/right buttons, but I discover lower iso in Exif !

Good work in middle version for Flash, Av, and AEB compensation.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 30 / November / 2010, 03:27:46
I think there is limitation for the 3 versions: can't choose under 1600iso with print button ! Possible to put and see 3200iso, with left/right buttons, but I discover lower iso in Exif !

I'm not sure I understand where is the problem. I can set ISO 1600 with camera menu, and then move up to 3200 with print button, like before
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 30 / November / 2010, 06:23:58
I think there is limitation for the 3 versions: can't choose under 1600iso with print button ! Possible to put and see 3200iso, with left/right buttons, but I discover lower iso in Exif !
Try this one:
http://www.mediafire.com/?dnngy94dtgnjjp6 (http://www.mediafire.com/?dnngy94dtgnjjp6) autoexec_2010-11-30.rar
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 30 / November / 2010, 09:59:40
I took some research using dcraw in "document mode" and small program I wrote a while ago which can make a sort of numerical histogram of the raw data. Unfortunatell, it turned out that real hardware ISO setting are only those that can be chosen from camera ISO menu - 100, 200, 400, 800, 1600. Other settings (125, 160, 250 ... 3200) are just software scaled, so they are of real use only for jpeg-s. Look for instance distribution of raw levels 250-270 for ISO 100, 125 and 160. Histogram of ISO 100 is continuous, while histogram of 125 and 160 have holes inside, that are evidence of software scaling

ISO 100     R       G       B
-----------------------------
  250       1       0       0
  251       1       0       0
  252      23       1       1
  253     136       6       0
  254     529      13      18
  255    1973      70      82
  256    5436     227     247
  257   11967     671     796
  258   22533    1759    1783
  259   36875    3588    3678
  260   55747    6058    6586
  261   78400    9602   10310
  262  101078   12720   12444
  263  120245   16985   16542
  264  115447   21134   24213
  265  116272   25825   31338
  266  130488   32559   39532
  267  121353   38371   47997
  268  109017   44420   56768
  269   94341   52227   64020
  270   77814   61037   67260


ISO 125     R       G       B
-----------------------------
  250      32       1       0
  251       0       0       0
  252     142       3       2
  253     545       8      21
  254       0       0       0
  255    1953      45      55
  256    5430     172     221
  257   12343     603     726
  258       2       0       0
  259   23429    1647    1837
  260   39032    3324    4042
  261       4       0       0
  262   58358    6039    7405
  263   80773    9812   11677
  264  102978   13029   13791
  265       3       1       1
  266  121904   18057   18503
  267  117834   23154   26855
  268       6       1       2
  269  118430   27954   34427
  270  134565   35561   42972


ISO 160     R       G       B
-----------------------------
  250       0       0       0
  251     117       1       3
  252       0       0       0
  253     619       8      13
  254    2119      46      62
  255       0       0       0
  256    5726     198     206
  257       0       0       0
  258   12821     643     730
  259   24004    1606    1860
  260       1       0       0
  261   38904    3502    4052
  262       3       0       0
  263   57672    6479    7200
  264   79866   10132   11480
  265       1       0       1
  266  102047   13440   13746
  267       1       0       1
  268  121572   18218   18040
  269  119517   22902   26050
  270       3       0       0
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 30 / November / 2010, 17:06:05
I think there is limitation for the 3 versions: can't choose under 1600iso with print button ! Possible to put and see 3200iso, with left/right buttons, but I discover lower iso in Exif !
Try this one:
http://www.mediafire.com/?dnngy94dtgnjjp6 (http://www.mediafire.com/?dnngy94dtgnjjp6) autoexec_2010-11-30.rar

Ok for me with this last version thank you very much Sergei, I am very happy !!

Please, I have two remarks:
- How to know what White Balance is used because there is no synchronisation between WB in menu and WB chosen by buttons !?
- When I choose a sensitivity ISO intermediate more 200ISO and I touch the ISO button accidentally or deliberately I risk to reset the sensitivity to 100 ISO ! I think it will be better if it reset to the nearest ISO sensitivity !?

vit40, excuse my poor English, I can speak good French but this is not the appropriate forum  :-[
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 30 / November / 2010, 18:07:47
Good remarks, canixus

About WB, when you select custom WB in disp menu, WB icon on the LCD disapperas, so you know you are using custom WB, set in Disp menu. But there is a problem - if you forget to save custom WB in disp menu by pressing Set, WB temperature that is shown is not saved. If you leave disp menu and enter it again, it still shows the temperature you set but didn't save (and hence not in effect). If you now press KeyUp and the KeyDown, you will now see the effective WB temperature (that was saved previously). Maybe it would be good idea to read the effective WB temperarure upon every enter into disp menu, if possible, so you will see that temperature immediately

About ISO - if you choose for instance ISO 400 in the camera menu, leave the ISO menu and enter it again, cursor will be on ISO 400. But if you change to ISO 500 by print button and enter ISO menu again, cursor will be back at ISO 100. It would be fine if could be at ISO 400 at that moment. Maybe Sergei can comment, is it possible to address this issue ?

Any comment about my analisys of non.standard ISO values in the previous post?
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 30 / November / 2010, 18:29:27
Thank you Vit40 for the explications about the WB. The battery is free I will essay that tomorrow.


Any comment about my analisys of non.standard ISO values in the previous post?

Yes, higher that 1600 ISO is only a software overexposure: we can obtain the same result (exposition of 3200 ISO) if applying +1 IL to 1600 ISO Raw file with software like Adobe Lightroom ! But I don't know with intermediate ISO between 100 and 1600 ISO.

The real utility is for Jpeg files.

I will post some examples (photos) tomorrow or after tomorrow.



Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 01 / December / 2010, 06:52:38
Please, I have two remarks:
- How to know what White Balance is used because there is no synchronisation between WB in menu and WB chosen by buttons !?
With AUTOEXEC.BIN from autoexec_2010-11-30.rar you should see K on the screen if white balance was set from info screen.
 
- When I choose a sensitivity ISO intermediate more 200ISO and I touch the ISO button accidentally or deliberately I risk to reset the sensitivity to 100 ISO ! I think it will be better if it reset to the nearest ISO sensitivity !?
http://www.mediafire.com/?fjaf266j7jao2l4 (http://www.mediafire.com/?fjaf266j7jao2l4) autoexec_2010-12-01.rar
This version will reset ISO to first lower "standard" ISO.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 01 / December / 2010, 09:11:02
Thanks, Sergei !

I think it's perfect now
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 02 / December / 2010, 10:20:37
Any comment about my analisys of non.standard ISO values in the previous post?
Yes, higher that 1600 ISO is only a software overexposure: we can obtain the same result (exposition of 3200 ISO) if applying +1 IL to 1600 ISO Raw file with software like Adobe Lightroom ! But I don't know with intermediate ISO between 100 and 1600 ISO.

The real utility is for Jpeg files.

I'm a RAW shooter, and reading this yesterday was disappointing to me at first.

I've been using -1EV to get higher shutter speeds in low light for years now, so being told that that's all that the ISO 3200 setting is doing - along with telling the camera's JPEG-rendering routine to add +1EV to compensate - made me scratch my head, since I thought that what the hack was doing was telling the camera to actually apply more amplification to the signal from the sensor!

So I looked up the specs for the 40D, which uses the same sensor, and saw that on the 40D ISO 3200 is an "Extended" setting - which I guess means it's doing exactly the same thing.

I've decided that it's still a convenience, since what I would do when using -1EV was to manually boost the rear-panel LCD's brightness so I could see what I was getting (though the degree of boost was not calibrated). By applying a matching compensation to the camera's JPEG-rendering routine, the hack automatically keeps the display brightness accurate.

I'm delighted to have true spot-metering, so I can avoid underexposure from backlighting by telling the camera to ignore the bright background completely, not just reduce the weight it's given.

However, I've made no use of the focus patterns because there are just too many of them to tap through! Please see if you can use the front of camera "main dial" to scroll forward and backwards through them. Not only would this let us scroll backwards, "1 click per setting" would mean several settings could be rolled through per finger swipe, making it much faster to get to the desired pattern.

PS - I'm using the November 1, 2010 Autoexec.bin. My normal operating mode is "Av." What would I gain by using the most recent version?
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 02 / December / 2010, 18:48:32
Please, I have two remarks:
- How to know what White Balance is used because there is no synchronisation between WB in menu and WB chosen by buttons !?
With AUTOEXEC.BIN from autoexec_2010-11-30.rar you should see K on the screen if white balance was set from info screen.
 

Thank You I understand.
The last update "autoexec_2010-12-01.ra" works fine for me, thank you very much !
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 03 / December / 2010, 02:57:38
XTiUser, last version of autoexec.bin corrects 2 small issues regarding menu behaviour that canixus noted, it doesn't add new features

I was thinking about ISO and direct print button in the meantime - since it seems that this feature isn't useful to part of 400D owners, that are shooting raw, as it can be obtained in raw developer software, what about adding an option to Info menu to have this functionality enabled or disabled ? Those who don't need this functionality (like me) could disable it, so that ISO can't be accidentally changed by pressing the DP button.

Other option would be to have this functionality enabled only in camera ISO menu (it also works there now) - You press ISO button, select for instance ISO 400, press DP once, then exit menu with shutter half press and voila - ISO 500 set

Any comments about this ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 03 / December / 2010, 15:36:40
I took some research using dcraw in "document mode" and small program I wrote a while ago which can make a sort of numerical histogram of the raw data. Unfortunatell, it turned out that real hardware ISO setting are only those that can be chosen from camera ISO menu - 100, 200, 400, 800, 1600. Other settings (125, 160, 250 ... 3200) are just software scaled, so they are of real use only for jpeg-s. Look for instance distribution of raw levels 250-270 for ISO 100, 125 and 160. Histogram of ISO 100 is continuous, while histogram of 125 and 160 have holes inside, that are evidence of software scaling


Similitude in histogram between 3200iso Jpeg image and 1600iso Jpeg extracted from Raw and overexposed in Breezebrowser (+1IL).
http://i54.tinypic.com/29mlmwk.jpg (http://i54.tinypic.com/29mlmwk.jpg)

Similar noise:
http://i52.tinypic.com/2e22ydc.jpg (http://i52.tinypic.com/2e22ydc.jpg)
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 03 / December / 2010, 17:09:21
To Sergei: It will be wonderful if you can create a new screen containing added functions, by pressing Jump button at the place of the classic "Info screen" !?

thank you all.
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 04 / December / 2010, 23:55:43
XTiUser, last version of autoexec.bin corrects 2 small issues regarding menu behaviour that canixus noted, it doesn't add new features

I was thinking about ISO and direct print button in the meantime - since it seems that this feature isn't useful to part of 400D owners, that are shooting raw, as it can be obtained in raw developer software, what about adding an option to Info menu to have this functionality enabled or disabled ? Those who don't need this functionality (like me) could disable it, so that ISO can't be accidentally changed by pressing the DP button.

Other option would be to have this functionality enabled only in camera ISO menu (it also works there now) - You press ISO button, select for instance ISO 400, press DP once, then exit menu with shutter half press and voila - ISO 500 set

Any comments about this ?

(1)   To the contrary - for this RAW shooter, setting the high ISO and matching screen rendition in one step is much more convenient than adjusting them independently (and only approximately for the screen). Also, the developer software - at least Lightroom - doesn't have to be told to brighten up the shot either.

Making the Print button only change the ISO at the ISO menu would make sense only if there's an on-screen indication of what ISO you're setting while you're cycling through the values. If we'd have to work blind, it would be less useful than the present method, which lets you see what you're doing. Instead of disabling the present method, why not come up with a "this is the value I want - stop cycling" keystroke? I nominate the SET button for this, since we're already comfortable with using it that way.

(2)   Can I get a response to my idea about using the main dial to select focus patterns? I've posted that suggestion twice to dead silence in response. If you can't isolate and use the output of the main dial, just say so and I'll stop bugging you about it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 05 / December / 2010, 04:21:05
Hi

About disabling DP for changing ISO, I just asked for opinion about adding an option into Info screen to have this functionality enabled or disabled (like flash on/off, AF assist beam on/off etc). I'm aware that some of you need it, but some of us don't. For instance, I sometimes intentionally underexpose a photo to avoid blowing of highlights, so picture on LCD is darker than final picture, after processing in PS

About option to select focus patterns with dial, I hope Sergei can comment it (my programmer's knowledge isn't enough for that), but I doubt it is possible, because it would mean redefining buil-in functionality of dial when AF points screeen is selected. All existing functions of this hack are just added
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 05 / December / 2010, 07:34:33
To Sergei: It will be wonderful if you can create a new screen containing added functions, by pressing Jump button at the place of the classic "Info screen" !?

thank you all.
I don't know how to create a new screen. All what i was able to do, just to change existing line in info screen.
Jump button doesn't work in main screen.

(2)   Can I get a response to my idea about using the main dial to select focus patterns? I've posted that suggestion twice to dead silence in response. If you can't isolate and use the output of the main dial, just say so and I'll stop bugging you about it.
I have no idea if it is possible.
About disabling DP for changing ISO, I just asked for opinion about adding an option into Info screen to have this functionality enabled or disabled (like flash on/off, AF assist beam on/off etc). I'm aware that some of you need it, but some of us don't. For instance, I sometimes intentionally underexpose a photo to avoid blowing of highlights, so picture on LCD is darker than final picture, after processing in PS
Right now i have no place to store settings so they don't get cleared after power cycle.
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 06 / December / 2010, 22:16:46
Right now i have no place to store settings so they don't get cleared after power cycle.

How about on the Compact Flash card? That's non-volatile memory - acres of it! - that you could use, compared to the amount needed to store option settings.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 06 / December / 2010, 23:02:29
Yes, it's what i'm going to do. I am not a programmer so it takes too much time. I will post another file as soon as i finish it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 07 / December / 2010, 02:18:26
http://www.mediafire.com/?2nxtjmbhkjk4ldw (http://www.mediafire.com/?2nxtjmbhkjk4ldw) autoexec_2010-12-07.rar
   I couldn't get the dial work with custom AF  patterns, so i split pattern selection. Use left, right, up, bottom and DP (for center) to change pattern.
   Added  "DP for changing ISO" in info screen.I probably should name it as "Non-Standard ISO".

Title: Re: Eos 400d ( Rebel XTI )
Post by: vit40 on 07 / December / 2010, 10:40:20
Sergei, thanks again for your efforts. I made a quick test and everyting seems to be fine. A new way to change AF pattern is really cool, I like it
Title: Re: Eos 400d ( Rebel XTI )
Post by: anAngel on 07 / December / 2010, 11:05:53
I haven't god enough time to test the last few build, but
Sergei do you have time to post which tools and source code you are using in building the bin file? And if possible in what language is the source code written?
Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 07 / December / 2010, 23:30:40
Usually source code posted together with AUTOEXEC.BIN. It been written in C and assembly. You need to have gcc cross compiler to build it.
Here you can find compiler for windows:
http://chdk.wikia.com/wiki/Compiling_CHDK_under_Windows (http://chdk.wikia.com/wiki/Compiling_CHDK_under_Windows)
And for linux:
http://chdk.wikia.com/wiki/Gcc433 (http://chdk.wikia.com/wiki/Gcc433)
Title: Re: Eos 400d ( Rebel XTI )
Post by: anAngel on 08 / December / 2010, 03:41:39
Thanks very much. If i get some free time i will look through it - i got curious how it's made
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 08 / December / 2010, 16:06:59
Hate to post a dumb question like this, but what can I use on an XP machine to open an .rar file? WinZip just wants to add it to a new archive, rather than open it as an archive itself!
Title: Re: Eos 400d ( Rebel XTI )
Post by: fe50 on 08 / December / 2010, 16:17:18
Hate to post a dumb question like this, but what can I use on an XP machine to open an .rar file? WinZip just wants to add it to a new archive, rather than open it as an archive itself!

Forget commercial Winzip, use open source instead --> http://www.7-zip.org/ (http://www.7-zip.org/)
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 08 / December / 2010, 16:28:05
Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kamikazepinguin on 08 / December / 2010, 23:52:16
Hi,

yesterday i (tried) to install the hack, used testfir.fir from here:  http://chdk.setepontos.com/index.php?topic=1618.msg14621#msg14621 (http://chdk.setepontos.com/index.php?topic=1618.msg14621#msg14621) , followed the instructions from here (first post): http://photography-on-the.net/forum/showthread.php?t=742806 (http://photography-on-the.net/forum/showthread.php?t=742806) - end ended up with a piece of junk. camera won't do anything, if i insert a CF-card with or without the autoexec.bin, the red (CF) led flashes short, then the blue led flashes verry short - then nothing. no LCD-Output, not even the power-led lights up.

any idea how to fix this?

greetings from Germany, Jan

Edith: fix'd it by bashing my shutter-button, after some (much) pushes it's now alive...and Awesome!  8)
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 10 / December / 2010, 08:29:11
http://www.mediafire.com/?2nxtjmbhkjk4ldw (http://www.mediafire.com/?2nxtjmbhkjk4ldw) autoexec_2010-12-07.rar
   I couldn't get the dial work with custom AF  patterns, so i split pattern selection. Use left, right, up, bottom and DP (for center) to change pattern.
   Added  "DP for changing ISO" in info screen.I probably should name it as "Non-Standard ISO".


Very Good work Sergei ! Tested yesterday. Thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 12 / December / 2010, 12:55:19
I do not know if it is possible to continue  the work on:
 
- Auto ISO?
- Displaying  ISO in viewfinder in modes: P and AV ?
- Using RAW in various modes programs: portrait, sport, landscape...?
- Driving external flashes (slaves) by flash light (i think it is the most difficult) ?

Thank you.
Title: Gumption Trap Warning
Post by: XTiUser on 12 / December / 2010, 18:52:45
I loaded the 12-7 version and was blown away by how intuitive the use of the cross-keys to move through the focus clusters has become. As our British friends would say, "Brilliant!" This is much better than my suggestion to use the main dial.

I was, however, surprised to find that the Set key had become a "Playback" button, so I went down to the Custom Functions menu and looked at position 01,  "SET Button/Cross keys function," which showed it set to "3:SET:Playback" - a setting I had never used.

So I cycled through the other settings for that button. When I found the setting called "4: Cross-keys: AF Frame select." I figured that would be the one to use.

Wrong!

Doing that disabled focus point selection entirely! In a panic, I reverted to the November 1 version I had been using. Still no access to focus point selection. This was with removing and reinserting the battery each time I changed the version of Autoexec.bin on the CF card.

Finally, I went back to the 12-7 version. Still no focus point selection. I then went back into the Custom Function menu and set the SET key back to "3:SET:Playback" - why I thought to do this I don't even know - and focus frame selection came back to life, along with normal focus point selection.

The best I can figure is that the hack is off by one notch in its programming, so it doesn't match the menu selection. Once that's fixed, no one will get tripped up the way I was.

I don't mind the SET key being a second playback button, though making it a "DP ISO Lock" button would be a solution for those who find themselves accidentally cycling the ISO without meaning to. I personally don't have that problem, since the DP button is in a pretty out-of-the-way location - my left hand is usually under the lens, supporting the camera, not up on the camera body.

This would be pretty intuitive, since choosing a menu option is a standard way to use the SET key. Cycle till you get the ISO you want and select it with the SET key. If you do this, it should only disable DP ISO cycling until the next time you go to the main ISO menu, at which point the DP button should once again cycle through the extended values.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 13 / December / 2010, 05:02:49
I was, however, surprised to find that the Set key had become a "Playback" button
The Set button should just bring you to main menu from custom AF menu. It was not used in AF selection. Unless you pressed it twice, then it will do what was set in Custom Function #1.
"4: Cross-keys: AF Frame select." disables AF pattern menu and only way to select focus sensors is to use up, down, left, right, set  and zoom-in buttons directly from main menu.
 
http://www.mediafire.com/?sifobxd5x3iu7xx (http://www.mediafire.com/?sifobxd5x3iu7xx) autoexec_2010-12-13.rar
In this file i changed a button which selects the center AF pattern from DP to Set button.
Added raw to full auto and other auto modes. Use DP in main screen to switch to raw or back to jpeg.

Title: Re: Eos 400d ( Rebel XTI )
Post by: darthvedor on 13 / December / 2010, 08:46:25
Works flawlessly !!! Thanks to Sergei and others who have made this wonderful hack. Maybe in future we can see "Dynamic Range Enhancer" feature added to never ending list of hacks :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 13 / December / 2010, 23:21:49
12-13 looks great! Never thought I'd see RAW file capture combined with the auto modes. I don't use them myself, but if I have to hand my camera to a non-photographer friend to get a shot, this will enable me to keep it in RAW mode.

It would be nice to be able to see the ISO in the viewfinder in Av mode, but that's minor.

I also like that in focus frame selection, the SET button now cycles through the inner patterns.

Now all I need is a reason to use a focus pattern!

Any chance of making the spot metering follow the active focus point the way evaluative metering does?
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 14 / December / 2010, 15:05:10
Great work, much effort and the result is there! Thank you Sergei and other testers, thank you very much to continue to live our rebel XTI, 400d forgotten because of the race to pixels.

I love the various possibilities in choosing focus frame, the magic of RAW format combined with auto modes.

I hope to see (thanks to all your efforts):

- In play mode: the picture in reel size, as is possible to even the fit-screen with reading button.
- The auto ISO is very important ! Which is already present in auto-modes (100 to 400ISO).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 17 / December / 2010, 02:56:02
I don't think i can add anything more to the hack. Here is same bin as in autoexec_2010-12-13.rar with a fixed bug. Camera was resetting "realtime ISO change" flag after battery was pulled out.
http://www.mediafire.com/?pq6b8ssor0br9s6 (http://www.mediafire.com/?pq6b8ssor0br9s6) autoexec_2010-12-13a.rar
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 17 / December / 2010, 08:47:20
Thanks, Sergei! I've even learned things here about the camera - unhacked - that I never knew, like using the arrow and set keys to set the focus point - I thought the main dial was the only way to do that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 19 / December / 2010, 05:55:44
Sergei, is for you, from Spain.  (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a) (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a) (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a) (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 21 / December / 2010, 10:10:05
I don't think i can add anything more to the hack.

Is this The-End ?   ???
Title: Re: Eos 400d ( Rebel XTI )
Post by: eliz on 22 / December / 2010, 07:21:16
I have tested today the last firmware version that have autoiso.

* Minimum shutter speed can be set from Tv or M modes. Shutter speed in those modes will be minimum set point for Av and P (after switch from M or Tv to Av or P).
i observed that the shutter time from M and Tv have different values, they are probably stored in different registers. For example you can have the exposure time set to 1/200 for Tv and when you switch to M mode you will have something different.

so your affirmation can't be correct
AutoIso probably reacts on light changes too slow (have to pre-focus few times before it sets right speed). It gets current shutter speed value from LCD screen, which updates with delay and sometimes it will increase/decrease in steps. That's why AutoIso so slow. I can't find  any better place to get current shutter speed from. Don't have enough knowledge in disassembly. If anybody know good resources about disassembly in arm feel free to send me a link. Thanks.
I think you have tried to much to make a perfect autoiso for all modes. You said that the delay of exposure time on the LCD is the main impediment for making a fast (usable) AUTOISO.

So why you don't you try make the AUTOISO usable only with M mode ? The exposure time and apperture will be fixed then, you only need to calculate the ISO.

Actually on the new cameras like 7D and 60D the only usable Autoiso mode is M, because on automatic modes you can't set limits for exposure time or aperture (like you can on Nikon or in safety shift on Canon 1D3 & 1dm4 cameras).


I don't think i can add anything more to the hack.
1) like i said, a simple autoiso only in M mode will be perfect.

2) how about focus bracketing ?
they have done'it for Canon 550D (http://magiclantern.wikia.com/wiki/550D (http://magiclantern.wikia.com/wiki/550D)), and for Point & Shoot cameras (http://chdk.wikia.com/wiki/CHDK_User_Manual#Bracketing_in_continuous_mode (http://chdk.wikia.com/wiki/CHDK_User_Manual#Bracketing_in_continuous_mode)). this function is great for Macro photographers.

older Olympus dslr had this function in the original firmware.
http://www.wrotniak.net/photo/43/e500-foc-bkt.html (http://www.wrotniak.net/photo/43/e500-foc-bkt.html)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / December / 2010, 07:18:24
i observed that the shutter time from M and Tv have different values, they are probably stored in different registers. For example you can have the exposure time set to 1/200 for Tv and when you switch to M mode you will have something different.

so your affirmation can't be correct
AutoISO function uses shuter speed value which was displayed on lcd in Tv or M modes, not saved value,  to set min. shuter speed.
So why you don't you try make the AUTOISO usable only with M mode ? The exposure time and apperture will be fixed then, you only need to calculate the ISO.
I didn't find where to get measured light value from light meter to calculate ISO.
2) how about focus bracketing ?
I don't think i can add focus bracketing.
Title: Re: Eos 400d ( Rebel XTI )
Post by: azitoshi on 23 / December / 2010, 07:49:56
Hello, iam just updated my xti with newest autoexec. Can anybody make a short readme or some faq for that autoexec ?. I dont know what options are included and how to activate them.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / December / 2010, 10:10:18
I don't think i can add anything more to the hack.

Is this The-End ?   ???

I hope NOT!!!

Perhaps this is the right moment for a little bit of feedback:


As I said in a previous post: thank you very much for your efforts.
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 23 / December / 2010, 12:30:40


Perhaps this is the right moment for a little bit of feedback:

  • Additional ISO values: I exclusively shot RAW, thus, this feature is not useful to me.
  • Spot metering: a great feature, could not be happier with my camera now.
  • Factory menu: just interesting.
  • Focus frame pattern: I mostly use the central focus point, and just occasionally one of the others; I personally do not like having more than one focus point active.
  • Extended Av compensation: as long as the meter on the viewfinder can only display +/-2EV, I cannot figure out how to benefit from this feature.
  • Extended FLASH compensation: a great feature; with a fast lens and the flash set to -4EV to -6EV, I have just rediscovered the integrated flash.
  • Extended AEB: I use three shots at 2EV when hand-holding the camera, and many more at 1EV when using a tripod. Having a wider separation is not that useful to me; now, having more than three shots would be great.
  • Safety shift: another great feature.
  • Shutter count: just interesting.
  • ISO in viewfinder: very interesting, but perhaps needs a bit of polishing to become perfect.
  • Color temperature: I shot RAW and do the white balance during post-processing, but this sounds great.
  • Flash / AF assist beam: This can be set somewhere else, so I do not find them very interesting. And, speaking of such duplicated settings, mirror lock-up is way too hidden in the menus, and I use it quite frequently; having a faster access to that setting would be great.
  • RAW at AUTO: I never shot AUTO.
  • AUTO-ISO: I personally do not find this interesting at all.

As I said in a previous post: thank you very much for your efforts.

As another RAW shooter, I have a slightly different take on this list, particularly the first item:

- I find the additional ISO values feature very useful because of its automatic adjustment of the playback screen's brightness to compensate for the Ev adjustment. Before I had this, I used to manually adjust the screen brightness when I used a -EV setting, so I could see approximately what I was getting.  This reduces two steps - one of them buried down in the menu system and not calibrated - to one.

On my new G12, with its dedicated dial for Ev compensation and its Live View screen, I can interactively tweak the brightness of my images, which I found useful this fall in taking foliage shots. This might be an area to explore for the 400D hack, though it wouldn't be live view. At this point, we can use the small ISO increments the same way, though coupling the playback screen brightness to the Ev dial as well as to the ISO expansion would be more intuitive for brightness-tweaking.

- I agree about the value of spot metering - which I'll use when I have a severely backlit subject.

- I like the current implementation of the focus frame system, though I'm not sure how often I'll actually use it. It seems most useful to those shooting sports - I'm mainly a landscape shooter.

- Though I've been a photographer for half a century, I'm an available-light shooter. I've only used flash once in taking a picture, and that was as a "fill light" for a severely backlit subject. I'm actually unclear on what flash compensation does. If it allows you to throttle back the amount of flash to make its effect more subtle, that looks useful for taking event candids, not something I do very often.

- AEB looks interesting for High Dynamic Range use, if varies the shutter speed or ISO while leaving the aperture alone. I've gotten HDR effects by taking advantage of the wider dynamic range of a single RAW file in the first place, importing it at different brightness or exposure settings into different layers and merging the results.

- Safety shift - if it works by tweaking the ISO - looks like an "only when absolutely needed" AutoISO and as such valuable for dealing with unexpected changes.

- I try to set the right color temperature when shooting - I figure this keeps adjustments during post-processing within the useful range.

- RAW at AUTO seems useful if I have to hand the camera to a friend or family member who doesn't really know how to use it.

- AutoISO seems dangerous, so I'm happy simply enabling Safety Shift, if it works by tweaking the ISO when absolutely necessary.

I am also very grateful for the work Sergei has done to make my XTi feel new again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eliz on 23 / December / 2010, 13:02:10
AutoISO function uses shuter speed value which was displayed on lcd in Tv or M modes, not saved value,  to set min. shuter speed.
I know that I can see different exposure time values for Tv & M mode on my LCD. I retested this 1 minute ago to be sure , i set 1/50 for Tv and 1/400 for M, and when i switch from M to Tv or from Tv to M , they remain 2 different values on my LCD.
Maybe I do not understand what you said.
I didn't find where to get measured light value from light meter to calculate ISO.
very bad news then :(

can you set the camera and the lens to manual mode , try to measure a dark zone and then a luminous zone, and see see which values are changing ? it is just a suggestion.
Title: Re: Eos 400d ( Rebel XTI )
Post by: canixus on 23 / December / 2010, 15:05:51


Perhaps this is the right moment for a little bit of feedback:

  • Additional ISO values: I exclusively shot RAW, thus, this feature is not useful to me.
  • Spot metering: a great feature, could not be happier with my camera now.
  • Factory menu: just interesting.
  • Focus frame pattern: I mostly use the central focus point, and just occasionally one of the others; I personally do not like having more than one focus point active.
  • Extended Av compensation: as long as the meter on the viewfinder can only display +/-2EV, I cannot figure out how to benefit from this feature.
  • Extended FLASH compensation: a great feature; with a fast lens and the flash set to -4EV to -6EV, I have just rediscovered the integrated flash.
  • Extended AEB: I use three shots at 2EV when hand-holding the camera, and many more at 1EV when using a tripod. Having a wider separation is not that useful to me; now, having more than three shots would be great.
  • Safety shift: another great feature.
  • Shutter count: just interesting.
  • ISO in viewfinder: very interesting, but perhaps needs a bit of polishing to become perfect.
  • Color temperature: I shot RAW and do the white balance during post-processing, but this sounds great.
  • Flash / AF assist beam: This can be set somewhere else, so I do not find them very interesting. And, speaking of such duplicated settings, mirror lock-up is way too hidden in the menus, and I use it quite frequently; having a faster access to that setting would be great.
  • RAW at AUTO: I never shot AUTO.
  • AUTO-ISO: I personally do not find this interesting at all.

As I said in a previous post: thank you very much for your efforts.

As another RAW shooter, I have a slightly different take on this list, particularly the first item:

- I find the additional ISO values feature very useful because of its automatic adjustment of the playback screen's brightness to compensate for the Ev adjustment. Before I had this, I used to manually adjust the screen brightness when I used a -EV setting, so I could see approximately what I was getting.  This reduces two steps - one of them buried down in the menu system and not calibrated - to one.

On my new G12, with its dedicated dial for Ev compensation and its Live View screen, I can interactively tweak the brightness of my images, which I found useful this fall in taking foliage shots. This might be an area to explore for the 400D hack, though it wouldn't be live view. At this point, we can use the small ISO increments the same way, though coupling the playback screen brightness to the Ev dial as well as to the ISO expansion would be more intuitive for brightness-tweaking.

- I agree about the value of spot metering - which I'll use when I have a severely backlit subject.

- I like the current implementation of the focus frame system, though I'm not sure how often I'll actually use it. It seems most useful to those shooting sports - I'm mainly a landscape shooter.

- Though I've been a photographer for half a century, I'm an available-light shooter. I've only used flash once in taking a picture, and that was as a "fill light" for a severely backlit subject. I'm actually unclear on what flash compensation does. If it allows you to throttle back the amount of flash to make its effect more subtle, that looks useful for taking event candids, not something I do very often.

- AEB looks interesting for High Dynamic Range use, if varies the shutter speed or ISO while leaving the aperture alone. I've gotten HDR effects by taking advantage of the wider dynamic range of a single RAW file in the first place, importing it at different brightness or exposure settings into different layers and merging the results.

- Safety shift - if it works by tweaking the ISO - looks like an "only when absolutely needed" AutoISO and as such valuable for dealing with unexpected changes.

- I try to set the right color temperature when shooting - I figure this keeps adjustments during post-processing within the useful range.

- RAW at AUTO seems useful if I have to hand the camera to a friend or family member who doesn't really know how to use it.

- AutoISO seems dangerous, so I'm happy simply enabling Safety Shift, if it works by tweaking the ISO when absolutely necessary.

I am also very grateful for the work Sergei has done to make my XTi feel new again.

Dangerous when we can't limit the max ISO. Automatic between 100 and 400 ISO will be a good start.

"Enabling Safety Shift, if it works by tweaking the ISO when absolutely necessary" is a very good solution. By lack of light, diaphragm and shutter speed stabilize on screen and facilitates the AutoISO calculation ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eliz on 23 / December / 2010, 19:16:08
Dangerous when we can't limit the max ISO. Automatic between 100 and 400 ISO will be a good start.
all nikon camera have this setting on autoiso. the 60D is the first Canon camera where you can limit maxiso. 1D mark 4 or Canon 7d don't have this.

"Enabling Safety Shift, if it works by tweaking the ISO when absolutely necessary" is a very good solution. By lack of light, diaphragm and shutter speed stabilize on screen and facilitates the AutoISO calculation ?
No, the Safety Shift of the Sergei version is Safety Shift mode 1 from Canon 1Dx or xxD cameras.

Mode 1 it rarely can help you at anything . for example if the camera is in AV mode and aperture is 2.8 and iso 800, and the camera will measure that at the shortest shutter time (1/4000) the image is overexposed , then it will try to close (overwrite) the aperture, to balance the exposure at 1/4000.


The Safety Shift mode 2 from the 1Dx series (xxD don't have this mode), and the camera set to P mode will use all the Aperture, Shutter Time and ISO to balance the exposure. You can set inferior and superior limits to aperture and shutter time in Custom functions I 12 & 13. if the camera can't match light metering using those aperture and exposure time limits, then it will try to change the iso.

but Sergei said in an earlier post that he can't enable the Safety Shift mode 2 because 400D has a Digic 2 image processor.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 25 / December / 2010, 17:20:47
- Though I've been a photographer for half a century, I'm an available-light shooter. I've only used flash once in taking a picture, and that was as a "fill light" for a severely backlit subject. I'm actually unclear on what flash compensation does. If it allows you to throttle back the amount of flash to make its effect more subtle, that looks useful for taking event candids, not something I do very often.

When the camera uses the flashes, it decides the amount of light the flash should output, depending on the scene; with this parameter, you can apply a correction to the power decided by the camera. I am an available-light shooter, too (specially when the alternative is an integrated flash); but dialing a -4EV (or even lower) flash compensation, makes the camera fire a barely noticeable flash. Try it, I think you may like it.

- AEB looks interesting for High Dynamic Range use, if varies the shutter speed or ISO while leaving the aperture alone. I've gotten HDR effects by taking advantage of the wider dynamic range of a single RAW file in the first place, importing it at different brightness or exposure settings into different layers and merging the results.

On some scenes, with a very wide dynamic range, a single shot is not enough; sometimes, not even three shots suffice.

- Safety shift - if it works by tweaking the ISO - looks like an "only when absolutely needed" AutoISO and as such valuable for dealing with unexpected changes.

On Av mode, it changes the aperture; on Tv mode, in changes the shutter speed. In other words, the camera will ignore the aperture / speed you set, in order to avoid an over/under exposure.

I am also very grateful for the work Sergei has done to make my XTi feel new again.

So true!
Title: Re: Eos 400d ( Rebel XTI )
Post by: anAngel on 25 / December / 2010, 17:30:27
Possible Bug report:
If i am not mistaken flash exposure control setting in the display info screen can't be set when custom function No1 is set to its 4th value
I think there was another setting in the display info screen that had the same bug and was fixed
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 29 / December / 2010, 16:43:34
anAngel, you can use print button to save settings when you in info screen.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 03 / January / 2011, 11:04:52
Hello everyone.
First I would like to thank Sergei for his excellent firmware and the constant effort then I would like to report a small bug found on the latest version of firmware released (autoexec_2010-12-13a),I think that has not been previously reported :

When the 400d is in M or TV mode AND the flash is open and active, if I use the right/left arrows to change the iso the camera automatically sets the value of time on "bulb".


I hope I was clear, and I apologize for my very rusty English.

From Italy,

Riccardo.

edit:

In Tv mode, the camera sets " 30'' ", not "bulb".
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / January / 2011, 17:29:30
Hello everyone.
First I would like to thank Sergei for his excellent firmware and the constant effort then I would like to report a small bug found on the latest version of firmware released (autoexec_2010-12-13a),I think that has not been previously reported :

When the 400d is in M or TV mode AND the flash is open and active, if I use the right/left arrows to change the iso the camera automatically sets the value of time on "bulb".


I hope I was clear, and I apologize for my very rusty English.

From Italy,

Riccardo.

edit:

In Tv mode, the camera sets " 30'' ", not "bulb".

Yes, confirmed: the same thing happens to me.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 04 / January / 2011, 03:08:12
http://www.mediafire.com/?7fwi0xjcss6lr0y (http://www.mediafire.com/?7fwi0xjcss6lr0y) autoexec.bin
http://www.mediafire.com/?1mcwc8akqeh7w21 (http://www.mediafire.com/?1mcwc8akqeh7w21) autoexec_2010-12-13b.rar
Only way i know how to display iso in info bar is to change actual shutter speed. With a flash opened shutter cannot be higher than flash sync speed, which is 1/200. This autoexec.bin will not set shutter to 30" or to bulb, but it will show 200 for ISO when flash is opened.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 04 / January / 2011, 07:10:00
Thank you Sergei! You were very fast!
Now the firmware is really perfect.

Riccardo.


Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / January / 2011, 10:05:05
http://www.mediafire.com/?7fwi0xjcss6lr0y (http://www.mediafire.com/?7fwi0xjcss6lr0y) autoexec.bin
http://www.mediafire.com/?1mcwc8akqeh7w21 (http://www.mediafire.com/?1mcwc8akqeh7w21) autoexec_2010-12-13b.rar
Only way i know how to display iso in info bar is to change actual shutter speed. With a flash opened shutter cannot be higher than flash sync speed, which is 1/200. This autoexec.bin will not set shutter to 30" or to bulb, but it will show 200 for ISO when flash is opened.

Just some wishful thinking, but... could it be possible to temporarily deactivate the flash, show the ISO (i.e., change the shutter speed), and then revert the flash (and the shutter speed) back to the previous state?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 04 / January / 2011, 15:14:17
Thanks eduperez. Never thought about it.
http://www.mediafire.com/?ovib5gc33sc78zm (http://www.mediafire.com/?ovib5gc33sc78zm) autoexec_2010-12-13c.rar
http://www.mediafire.com/?sd6z7kzi6p94vbq (http://www.mediafire.com/?sd6z7kzi6p94vbq) autoexec.bin
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 04 / January / 2011, 15:27:30
@eduperez
I would know exactly how to use the internal flash compensation -4EV -6EV and get benefit. I don't like very well the effect of the internal flash so I would like to know where you prefer to use -4EV and more, maybe in the portrait? If yes how? Thanks in advance for your suggestions.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Attila on 05 / January / 2011, 06:20:54
Hello everybody.
I am new here. Sergei you would be able to help because ISO does not in viewfinder. The firmware hack perfect! I do something badly. Excuse me everybody bad English knowledge.
Attila
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 05 / January / 2011, 07:49:09
Hello everybody.
I am new here. Sergei you would be able to help because ISO does not in viewfinder. The firmware hack perfect! I do something badly. Excuse me everybody bad English knowledge.
Attila

have you tried this version?
http://www.mediafire.com/?sd6z7kzi6p94vbq (http://www.mediafire.com/?sd6z7kzi6p94vbq)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 05 / January / 2011, 07:55:06
@Sergei

I would like to propose another change:

 if I use the flash compensation with values greater than +2 or -2, in the exif is not reported the exact value but is reported 0. You can correct this little problem or is it impossible?

 Thanks again for your time.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Attila on 05 / January / 2011, 08:25:32
Hello everybody.
I am new here. Sergei you would be able to help because ISO does not in viewfinder. The firmware hack perfect! I do something badly. Excuse me everybody bad English knowledge.
Attila

have you tried this version?
http://www.mediafire.com/?sd6z7kzi6p94vbq (http://www.mediafire.com/?sd6z7kzi6p94vbq)

Hi Riccardo78

Thanks. Tested , but with this not good. :( Do I ruin something? Is it necessary to  function in the menu  to  be ISO visible in the viewfinder?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 05 / January / 2011, 08:51:06
Title: Re: Eos 400d ( Rebel XTI )
Post by: Attila on 05 / January / 2011, 09:14:25
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 05 / January / 2011, 09:52:08
Remember that it runs only with Tv or M. When you see in the viewfinder, see at the time shown inside: clicking on the arrows you will see time, ISO, time, ISO till you press the arrows.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Attila on 05 / January / 2011, 12:18:37
Remember that it runs only with Tv or M. When you see in the viewfinder, see at the time shown inside: clicking on the arrows you will see time, ISO, time, ISO till you press the arrows.
Hi All
I say thank you for the help to everybody very much! I can see it ISO in viewfinder!! :) :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 05 / January / 2011, 14:03:39
@Sergei

I would like to propose another change:

 if I use the flash compensation with values greater than +2 or -2, in the exif is not reported the exact value but is reported 0. You can correct this little problem or is it impossible?

 Thanks again for your time.

Tested with internal and external flash. DPP and firefox shows correct value. Does it report right value when you view image in a camera?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 05 / January / 2011, 16:13:53
Hi Sergei and first of all thanks for your job. I saw that with the "b" version the EXIF value for the Compensation Exposure in DPP (ctrl+I on a RAW image) Flash was at zero while in the camera it has been set at -4, for instance. I didn't try with the "c" version, I'll be try tomorrow and let you know.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Attila on 06 / January / 2011, 02:08:14
Hi Sergei

ISO 80,50, etc, would be able to work?

Attila
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 06 / January / 2011, 04:32:29
Ok Sergei, "c" version is ok for DPP value "Flash Exposure Compensation". This version is very useful and stable.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 06 / January / 2011, 10:22:22
Ok Sergei, "c" version is ok for DPP value "Flash Exposure Compensation". This version is very useful and stable.

I agree!! Excellent job.

"c" rel. is perfect!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ciccio on 09 / January / 2011, 09:19:26
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 09 / January / 2011, 10:09:45
You have to bring the eye to the viewfinder ...
 :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 09 / January / 2011, 10:23:07
Sergei: please take a look at the 550D... it's a mess right now.. I wish to have it like my 400D was :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ciccio on 09 / January / 2011, 11:23:25
You have to bring the eye to the viewfinder ...
 :D

I do not bring the eye to the viewfinder because I already have my eye on the viewfinder.
Are you telling me that the camera must see the face getting closer to the viewfinder ?
Is all this related to the LCD Display auto power off being enabled or disabled ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 09 / January / 2011, 12:09:18
The function "iso in viewfinder" is activated by proximity sensors on the camera...when lcd turns off you can see iso in viewfinder
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ciccio on 09 / January / 2011, 14:24:17
Hi Riccardo !

I think I am giving up with show ISO in viewfinder.
I have checked all of the previous pages of this thread; tried all of the possible combinations of key pressing
and eye next to the sensor, but ISO value doesn't show on in viewfinder.
What I am actually doing, after having enabled Show ISO in Menu - Disp, set to either Tv or M, is to press the shutter button
to focus-meter and press left or right key while keeping pressed the shutter button, but I still get the same behavior.
If I press left or right while pressing the shutter button, nothing happens while watching inside the viefinder.
If I press left or right immediately after having focused-metered, I get the menu for exposure mode or
the one for focus mode.
I have also checked that in Cfn 1 I have option 0 enabled and not option 4, but still no changes.
Thanks anyway for your support.

 :( :( :(
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / January / 2011, 01:45:51
Ciccio,
but the question is always the same: are you seeing inside the showfinder while you press the left/right arrows? Are you watching at the exposure time inside the showfinder? There it appears the ISO for a while.
Please let us know.

P.S.: are you italian? Riccardo78 and me yes, if for you it's better, write me an email in italian at my address.
Thanks
Kekko 400D
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / January / 2011, 04:50:40
Thanks eduperez. Never thought about it.
http://www.mediafire.com/?ovib5gc33sc78zm (http://www.mediafire.com/?ovib5gc33sc78zm) autoexec_2010-12-13c.rar
http://www.mediafire.com/?sd6z7kzi6p94vbq (http://www.mediafire.com/?sd6z7kzi6p94vbq) autoexec.bin

Thanks ME? No, thanks YOU!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / January / 2011, 05:10:12
@eduperez
I would know exactly how to use the internal flash compensation -4EV -6EV and get benefit. I don't like very well the effect of the internal flash so I would like to know where you prefer to use -4EV and more, maybe in the portrait? If yes how? Thanks in advance for your suggestions.

I have been using it mostly for indoor "available light" portraits.

I set the camera at M mode [light does not tend to change while I move around the room, so the M mode seems the most appropriate; besides, other modes may get confused when I move and a lamp enters / leaves the photo], and select a combination of (high) ISO / (slow) shutter / (wide) aperture appropriate for the environment. You need a fast lens for this (I use the 50mm f/1.8 lens), or you will not be able to get a good exposure without flash. Then I add just a bit of flash (-4EV) to lighten the faces and avoid shadows; it is barely noticeable, and the result is very pleasant (to my eyes, at least).

This works specially well when there are lights behind the person: I maintain the same exposure (deliberately overexposing the lights, my lamps are not that pretty), get a good exposure for the room, and correct the lack of light on the faces with the flash.

I hated the effects of the internal flash too... until I tried this hack; I am re-learning to use my camera now.

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / January / 2011, 10:20:24
Thanks Eduperez for your reply, just some other questions:
didn't you satisfy the std negative compensation of -2EV?
at what distance did you put your subjects?

Thanks in advance for your answers.
Kekko 400D
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / January / 2011, 01:09:26
Thanks Eduperez for your reply, just some other questions:
didn't you satisfy the std negative compensation of -2EV?
at what distance did you put your subjects?

Thanks in advance for your answers.
Kekko 400D

No, even -2EV seemed too bright to me (a question of taste, perhaps?).
Subjects were mostly at 2 to 4 meters.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 11 / January / 2011, 05:46:33
Thanks Edu,
is there some shots with this method somewhere?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / January / 2011, 05:54:39
Thanks Edu,
is there some shots with this method somewhere?

I am afraid not: all shots portray family members, during private encounters; I do not think they can be shown in public.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 12 / January / 2011, 11:17:42
Ok thanks, if in the future you decide to show us the better use of the internal flash with -4/6EV with some proofs, I will be grateful to you.
Ciao
Title: Re: Eos 400d ( Rebel XTI )
Post by: Zibri on 13 / January / 2011, 12:18:36
Please guys! Do something for the 550D/T2i!
MagicLantern is pure *CR*AP*.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 13 / January / 2011, 12:28:21

Remember that this is the "Eos 400d ( Rebel XTI )" CHDK Forum.  Let's please try to keep all posts here related to this topic so that it is easy for all to view and find software, hacks, information, etc. easily for the 400d.  Thanks and great job to all who have contributed to the success of additional functionality to this camera model!
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 16 / January / 2011, 07:47:59
Thousand Thank you Sergei for your works.

My 400D took a blow of young.
Title: Re: Eos 400d ( Rebel XTI )
Post by: elektromax on 16 / January / 2011, 11:07:40
Two question.
How i can use/ how works this two options:
Flash                             (on,0ff)
AF Assist Beam              (on,off)


Is it possibile to add something else to "Eos 400d ( Rebel XTI )" in future?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 16 / January / 2011, 16:19:21
If you have external flash you can turn it off with "Flash (off)" and use only AF-assist beam from it.
AF Assist Beam (off)- I use this option with internal flash if i don't want flash to act as AF Assist light.
I think it is possible to add more options to XTI.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 18 / January / 2011, 09:07:02
I think it is possible to add more options to XTI.
It's my cup of tea. (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2FComplice.gif&hash=4c80b3178507a47ae1570840830b8078)
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 25 / January / 2011, 13:36:06
"I think it is possible to add more options to XTI" !!!

I'm excited to see what changes you ll still make!  :lol
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 27 / January / 2011, 04:08:44
Added Extended AEB. (3-9 frames and 0.3-3.0EV step increment )
To set up parameters:
    Go to Info screen and with up or down buttons choose "Extended AEB".
    Select "Frames" or "EV" with left or right button.
    Press set to go in sub menu. Set value with left or right buttons.
    Press set to save it and get out from sub menu.
To start Extended AEB go in Drive Mode screen and press dp button. Or if "DP Button" was set to "Extended AEB" just press dp button.

http://www.mediafire.com/?t0o38rb1itmdae6 (http://www.mediafire.com/?t0o38rb1itmdae6) autoexec.bin
http://www.mediafire.com/?b7nymc7pdpv5p40 (http://www.mediafire.com/?b7nymc7pdpv5p40) autoexec_2011-01-27.rar
Title: Re: Eos 400d ( Rebel XTI )
Post by: frm on 27 / January / 2011, 14:04:51
Serghei, I love you man! Don't worry, I am straight :)
Your last release works like heaven. I was looking for that feature since ages.
You should make big money with this piece of art.
I am too exicited, I will calm down and I will come back to you man.
Thank' again!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 27 / January / 2011, 14:29:12
Thanks, thanks, thanks,... forever. (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)
Title: Re: Eos 400d ( Rebel XTI )
Post by: shubhankar.paul85 on 28 / January / 2011, 02:35:35
I have just installed Sergei 2011 -1- 27 build of the autoexec.bin - All things run perfectly.

One question though to Sergei does the latest build include all the features of the previous builds or is it a different flavour. Does this build have autoiso ?

Also I would really love the option of going back to stock if needed. What I am asking is a away to reverse testfir.fir effects on the boot flags...

Please to enlighten me on these points :-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 28 / January / 2011, 07:09:28
Very good job with AEB extended. Now I have a 400D Mark IV.

You can put a pause of two seconds (for example) for the first shot? Is the stability of the camera.

 Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 28 / January / 2011, 16:09:37
shubhankar.paul85, build 2011-01-27 doesn't have autoiso and ISOs lower than 100. Everything else is included from older builds.
testfir.fir modifies camera firmware. Wrong code and camera will be dead. It's probably simple to reverse the flags in firmware but i don't feel like i want to test it on my camera.
Josean0, i will add 2 seconds delay before first shot sometime later when i will have free time.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 28 / January / 2011, 17:37:58
I have found small bug - camera is unable to start with card  with  old incompatible settings file.
Here is small (untested) patch - it ignores these wrong files.

http://panora.ma/dev/eos400d.chdk.settingsversion.patch (http://panora.ma/dev/eos400d.chdk.settingsversion.patch)
Title: Re: Eos 400d ( Rebel XTI )
Post by: shubhankar.paul85 on 28 / January / 2011, 23:51:20
Sergei, Thanks for the info. I would suggest you float the modified testfir.fir & someday if I am drunk enough or someone with a lots of spare bodies is bold enough, can probably have a go at running it.

:D thanks !!
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 29 / January / 2011, 04:17:42
Hi,

Apologies if this has been asked before but... is it possible that this port of CHDK will allow scripts (timelapse, motion detection) for the 400D eventually?

Cheers

repeater

Hi guys - I asked this once before but didn't get any responses. Anyone know if this is possible?

I'm just trying to manage my own expectations and I would be gutted if I went and paid for a hardware solution if a software one was around the corner!

Cheers for any help.

repeater
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 29 / January / 2011, 05:18:08
It is possible but unlikely in near future...
Timelapse is easy to do , i can try to make it.
Motion detection is not  possible with image sensor used in 400D.
(Well, it might be possible to make dumb motion detector from exposure sensor - and shoot on change of light conditions... Maybe.)
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 29 / January / 2011, 05:28:28
It is possible but unlikely in near future...
Timelapse is easy to do , i can try to make it.

Timelapse is the function I am really after. I'd love to see this added...

Many thanks for your reply!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 29 / January / 2011, 08:27:33
vatoz, thanks for the patch. I'm glad to see some one beside me start working on the hack.

 Here is Extended AEB with 2 seconds delay configurable in info screen:
http://www.mediafire.com/?qp61lszp47vcwca (http://www.mediafire.com/?qp61lszp47vcwca) autoexec_2011-01-29.rar
http://www.mediafire.com/?iu6ktav07t2o3aa (http://www.mediafire.com/?iu6ktav07t2o3aa) AUTOEXEC.BIN
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 29 / January / 2011, 10:04:42
Thanks Sergei, and vatoz pour la patch :D

The ability to take several frames is fantastic.

For cons, the setting remains the same all three frames.

Example with 3 frames :   -3/100iso ; -1/100iso ; +1 / 100iso

For 7 frames: -3/100iso ; -1/100iso ; +1 / 100iso ; -3/100iso ; -1/100iso ; +1 / 100iso ; -3/100iso

You it is possible to make frames with different margins?

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: sjm on 29 / January / 2011, 11:09:41
Fantastic!!!  :D :D :D

There seems to be some bugs, so I have to turn off the cam from time to time  8)

It would be some more fantastic for me, if you could make a combination of extended AEB with a mirror lock. I think it would be the best, if the mirror remains locked during all the AEB-shots  :P :D

many, many thanks so far!!!

sjm

Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 29 / January / 2011, 16:57:58
I have added an automatic intervalometer.
You must configure it in menu and set dp button as a shortcut for it.
After starting you can disable it using main modeswitching knob (just turn it to another position, you will hear confirmation beep).

http://panora.ma/dev/autoexec_2011-01-29_interval.zip (http://panora.ma/dev/autoexec_2011-01-29_interval.zip)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / January / 2011, 18:55:52
Anybody compiling this on a 64bit machine? I managed to create a build environment, but compilation always fails with a "relocation truncated to fit: R_ARM_PC24 against symbol..." error; I tried the "-mlong-calls" flag, as suggested somewhere else, to no avail. Other people with 64bit machines seems to have the same problem.
Title: Re: Eos 400d ( Rebel XTI )
Post by: spca8888 on 30 / January / 2011, 01:09:23
Hi, first of all thanks for the CHDK hack, I've been using it for a while and it's just one of the reasons I'm keeping the XTi instead of upgrading :)

Regarding the latest firmware hack, automatic intervelometer works perfectly (kudos for this it's seriously a great feature), however, extended AEB doesn't seem to work for me. All the frames are taken with the same setting(no change in exposure setting, same shutter speed). I tried 3 frames, 5 frames with 1EV and the results were the same. AEB(not extended AEB) was turned off and I shoot extended AEB using the DP button(also tried pressing timer button then DP button).

Is there any setting I need to change before using the extended AEB function?

Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 30 / January / 2011, 02:50:28
I have added an automatic intervalometer.
You must configure it in menu and set dp button as a shortcut for it.
After starting you can disable it using main modeswitching knob (just turn it to another position, you will hear confirmation beep).

http://panora.ma/dev/autoexec_2011-01-29_interval.zip (http://panora.ma/dev/autoexec_2011-01-29_interval.zip)

Vatoz - you ARE the man! I have been wanting this function on my camera for a long time and for you to add it within 24hours of my post is amazing. Thank you very much and also thanks to all the other devs who have worked on this.

Off to do some time-lapse - woohoo!

 :D :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 30 / January / 2011, 04:09:49
To repeater: Mine work is just extremly small fraction -i am just reusing existing codebase.
To spca888 : for me eAEB works in Tv Av and P . I am working on some other code for M mode - it will change directly Time value instead of exposure correction. +some aditional modifications - e.g. beep on completion ...
To eduperez: I am also unable to compile on 64 bit, so currently i have "summoned arm toolchain" to my old slow 32 NTB  -where it works.

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 30 / January / 2011, 07:28:32
Thank you very much.
I am so impressed with all your talents.
I am new to DSLR but I learn fast.
What do you think would be good material to read to get me and my 400D up to speed?
Can multiple exposures be done fast and with good timing?
Is the shutter control fast enough to have it act as a stroboscope with out the flashing?
Or could this burn it out?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ciccio on 30 / January / 2011, 11:32:51
Anybody compiling this on a 64bit machine? I managed to create a build environment, but compilation always fails with a "relocation truncated to fit: R_ARM_PC24 against symbol..." error; I tried the "-mlong-calls" flag, as suggested somewhere else, to no avail. Other people with 64bit machines seems to have the same problem.
I cannot answer you on 64 bit machines, but I can tell you how I did it without re-installing a different OS on hard drive.
I have installed a Live version of Ubuntu 10.04 on an 8GB pen drive.
I have then installed the gcc-arm-elf compiler following the instructions on the WIKI as reported several posts ago.
It compiles very quickly on my portable which is a old Pentium M740 at 1.7 GHz, whitout any error.

Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 30 / January / 2011, 12:41:54
Thanks vatoz for your contribution. I wasn't able to set the interval, I set an interval = 2 but than I need to shot manually. What I did wrong?
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 30 / January / 2011, 12:53:06
You must switch DP button to Interval.   Then you can shoot with DP button.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 30 / January / 2011, 13:16:26
ok I did it, just nother info: 2 is for? 1/2 second? Because I noted a very fast interval between shots.
Title: Re: Eos 400d ( Rebel XTI )
Post by: shubhankar.paul85 on 30 / January / 2011, 13:55:28
First of all let thank you all for contributing towards adding so many wonderful features to the 400D.

Because we are seeing very fast development, I have two suggestions:

1) Document all the added features in detailed & in an incremented way. So that the latest autoexec.bin released has a complete manual/guide available.

2) Start making the custom firmware as feature rich as possible by floating versions of autoexec.bin which have been compiled from versions made by others (keeping the stable features & removing the buggy ones).

It's just a thought but would help the 400D custom firmware to become really robust as well as helping all the 400D users to get the maximum out of their cameras.

Thanks :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 30 / January / 2011, 14:00:29
OK guys I am going to try to hit one out of the park!

I call it the Triple Wave!!!
Wave your hand three times over the IR sensor at the viewer and the shutter is released touch free.
You could still handle the camera and leave the feature on.
Can any body do it quick?
I would love to see it done well!
I think its so Great we could patent it and make a little.
I bet someone could program it so any timing of three in the viewer sensor would turn the camera on as well as  trigger shutter release.

What do you think?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 30 / January / 2011, 14:20:16
Just having one hit on the IR sensor of the 400D  trigger shutter would be a good start if some one was interested?
Instant light trigger!

By the way Ronald Brideau my name.
JoeNeptune is a just a user name.
Thanks for having an interesting forum.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 30 / January / 2011, 17:45:54
Quote
Wave your hand three times over the IR sensor at the viewer and the shutter is released touch free. You could still handle the camera and leave the feature on.
Nice idea, I'll try it on the 550D.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 30 / January / 2011, 19:16:43
Here comes "Update, which I have hoped for years".  :xmas

http://panora.ma/dev/autoexec_2011-01-30.zip (http://panora.ma/dev/autoexec_2011-01-30.zip)

http://panora.ma/dev/autoexec_2011-01-30.AUTOEXEC.BIN (http://panora.ma/dev/autoexec_2011-01-30.AUTOEXEC.BIN)


AEB in M mode - where you can set fastest and longest time - e.g. 1/4000 and 30 - and it will automatically make all variants between this two times (including).

Invocation is same as for previous builds, settings are in EAEB submenu, in other mode than M it uses previous EAEB code variant.


Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 31 / January / 2011, 01:36:20
Thanks Vatoz, just a question: what do you mean with "interval"? 2,5 are seconds? Are thay 1/2, 1/5 sec? Because the interval between shots is very short so I'm wondering that are fractions onstead of seconds.
Thanks for your job.
Francesco
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 31 / January / 2011, 02:56:05
Interval is 1EV. I will add some stabilisation time (and settings)...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / January / 2011, 02:58:39
Hi guys (and gals, perhaps?). As "shubhankar.paul85" pointed out, I think we should start thinking about standardizing this project:

So, the fist step I propose is the creation of a source repository, and the nomination of a maintainer / release manager; your thoughts?.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 31 / January / 2011, 03:48:28
Well, the most obvoius place might be http://code.google.com/p/400d/ (http://code.google.com/p/400d/) or maybe github, maybe thaibv or sergei already have some sort of CVS - otherwise it would be possible  to make it from scratch and import existing archives as  commits (and i can do it).

I am not skilled as release manager, and my english is far from perfection, but I can try it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 31 / January / 2011, 04:41:51
Anybody compiling this on a 64bit machine? I managed to create a build environment, but compilation always fails with a "relocation truncated to fit: R_ARM_PC24 against symbol..." error; I tried the "-mlong-calls" flag, as suggested somewhere else, to no avail. Other people with 64bit machines seems to have the same problem.

same here, i've tried different tricks with no success...
keep us posted if you succeed ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 31 / January / 2011, 04:49:57
Well, the most obvoius place might be http://code.google.com/p/400d/ (http://code.google.com/p/400d/) or maybe github, maybe thaibv or sergei already have some sort of CVS - otherwise it would be possible  to make it from scratch and import existing archives as  commits (and i can do it).

I am not skilled as release manager, and my english is far from perfection, but I can try it.


i asked that question long time ago... but it seems there is no repository for the code...
and now after reading some stuff about sony's  DMCA i think gitorious.com is better choice...
here are some quotes from psx-screne forums:
-- --------
In response to Sony's DMCA takedown notices against PS3 hacker github pages, drizztbsd has mirrored the removed pages.
Click HERE to view the mirrors at Gitorious.
----------
FYI, Gitorious is in Norway. Norway is not in the EU so the EUCD doesn't apply. Any know about the state of copyright circumvention law in Norway?
----------

here is the thread: http://psx-scene.com/forums/f6/ps3-hack-github-backups-now-online-79023/ (http://psx-scene.com/forums/f6/ps3-hack-github-backups-now-online-79023/)

Title: Re: Eos 400d ( Rebel XTI )
Post by: sjm on 31 / January / 2011, 06:27:05
Here comes "Update, which I have hoped for years".  :xmas


simply the best!

And now, who is able to ad the "Mirror lock-up" during eAEB?

greetings, sjm
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / January / 2011, 07:56:14
Anybody compiling this on a 64bit machine? I managed to create a build environment, but compilation always fails with a "relocation truncated to fit: R_ARM_PC24 against symbol..." error; I tried the "-mlong-calls" flag, as suggested somewhere else, to no avail. Other people with 64bit machines seems to have the same problem.

same here, i've tried different tricks with no success...
keep us posted if you succeed ;)


I first tried to create 32bit versions of binutils / gcc, but failed... decided to take another path and installed a 32bit Linux inside a virtual machine (QEMU); now I have to create the build environment there.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 31 / January / 2011, 08:05:49
I first tried to create 32bit versions of binutils / gcc, but failed... decided to take another path and installed a 32bit Linux inside a virtual machine (QEMU); now I have to create the build environment there.

i think the problem is not in the bitness of host compiler, i've asked sergei and he sent me a windows and linux toolchains, but the linux one is missing some libs and is not able to compile. i havent tried the windows one, but i believe sergei is compiling on windows...

please share your experience when you compile it in the qemu...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / January / 2011, 08:31:18
Well, the most obvoius place might be http://code.google.com/p/400d/ (http://code.google.com/p/400d/) or maybe github, maybe thaibv or sergei already have some sort of CVS - otherwise it would be possible  to make it from scratch and import existing archives as  commits (and i can do it).
That repo seems dead (no updates since Sep 2009!); perhaps the creator is among us and will respond to this post... otherwise I will email him in a couple of days. Then we can create another repo, at Google Code, or somewhere else.

Importing the existing releases as commits will be the first (and easy) task, obviously (provided we can find them, some of the links in this thread are no longer working).

I am not skilled as release manager, and my english is far from perfection, but I can try it.
I not a native English speaker, either. Part of my daily job involves being an "internal" release manage; but I would like to be able to (at least) compile the source code, before I even consider myself for the position....
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / January / 2011, 08:37:49
I first tried to create 32bit versions of binutils / gcc, but failed... decided to take another path and installed a 32bit Linux inside a virtual machine (QEMU); now I have to create the build environment there.

i think the problem is not in the bitness of host compiler, i've asked sergei and he sent me a windows and linux toolchains, but the linux one is missing some libs and is not able to compile. i havent tried the windows one, but i believe sergei is compiling on windows...

No, the bitness of the host compiler should not be the problem, apparently; but the fact is that people with 64bit machines seem to come all to the same error during compilation. Perhaps it is an obscure error in GCC, only triggered on 64bit versions; or perhaps the moon was not on the correct phase when I tried. The thing is I got out of (reasonable) ideas to try, so this 32bit virtual machine is the next (unreasonable) one on the list.

please share your experience when you compile it in the qemu...

Yes, of course; expect a full guide.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 31 / January / 2011, 08:47:12
Could you limit the focus from going all the way to infinity.
Then allow the auto focus to be a motion detector when it finds something close that is in focus?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 31 / January / 2011, 10:19:06
however, extended AEB doesn't seem to work for me. All the frames are taken with the same setting(no change in exposure setting, same shutter speed). I tried 3 frames, 5 frames with 1EV and the results were the same. AEB(not extended AEB) was turned off and I shoot extended AEB using the DP button(also tried pressing timer button then DP button).

Is there any setting I need to change before using the extended AEB function?

Have you tried to clear all camera custom functions and settings, delete settigs file from CF card?

Well, the most obvoius place might be http://code.google.com/p/400d/ (http://code.google.com/p/400d/) or maybe github, maybe thaibv or sergei already have some sort of CVS - otherwise it would be possible  to make it from scratch and import existing archives as  commits (and i can do it).

I am not skilled as release manager, and my english is far from perfection, but I can try it.

I have no experience in CVS or anything like that, so it will be not much help from me.

i think the problem is not in the bitness of host compiler, i've asked sergei and he sent me a windows and linux toolchains, but the linux one is missing some libs and is not able to compile. i havent tried the windows one, but i believe sergei is compiling on windows...
I use 32bit Ubuntu and 32bit Windows XP.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 31 / January / 2011, 10:54:42
Could a automatic intervalometer record only a sub set of focus distances?
Divide them up in to macro, portrait, landscape
and set it so you can just get the pictures you want.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 31 / January / 2011, 13:57:03
Thank you man for this !   :lol  :lol
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / January / 2011, 16:29:10
Well, the most obvoius place might be http://code.google.com/p/400d/ (http://code.google.com/p/400d/) or maybe github, maybe thaibv or sergei already have some sort of CVS - otherwise it would be possible  to make it from scratch and import existing archives as  commits (and i can do it).

I am not skilled as release manager, and my english is far from perfection, but I can try it.


i asked that question long time ago... but it seems there is no repository for the code...
and now after reading some stuff about sony's  DMCA i think gitorious.com is better choice...
here are some quotes from psx-screne forums:
----------
In response to Sony's DMCA takedown notices against PS3 hacker github pages, drizztbsd has mirrored the removed pages.
Click HERE to view the mirrors at Gitorious.
----------
FYI, Gitorious is in Norway. Norway is not in the EU so the EUCD doesn't apply. Any know about the state of copyright circumvention law in Norway?
----------

here is the thread: http://psx-scene.com/forums/f6/ps3-hack-github-backups-now-online-79023/ (http://psx-scene.com/forums/f6/ps3-hack-github-backups-now-online-79023/)



I would not worry about copyright / DCMA issues: this project does not contain copyrighted code (AFAIK, at least), and definitively it is not a circumvention device. Neither CHDK nor Magic Lantern have been contacted by Canon (AFAIK, again). And finally, what interest may have Canon in a old camera?

However, we could have trademark issues; I would avoid any mention to "Canon", "EOS", "400D" or "XTi" in the project name, and be very careful on how we use those terms in the documentation. By the way, "400d" (as in the Google Code site) is probably not a very fortunate name. Other proposals? What about "400Pus"?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 31 / January / 2011, 16:56:43
Rebels kissing canons?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 31 / January / 2011, 17:17:17
I would not worry about copyright / DCMA issues: this project does not contain copyrighted code (AFAIK, at least), and definitively it is not a circumvention device. Neither CHDK nor Magic Lantern have been contacted by Canon (AFAIK, again). And finally, what interest may have Canon in a old camera?

However, we could have trademark issues; I would avoid any mention to "Canon", "EOS", "400D" or "XTi" in the project name, and be very careful on how we use those terms in the documentation. By the way, "400d" (as in the Google Code site) is probably not a very fortunate name. Other proposals? What about "400Pus"?

i mentioned it just in case and because it was recently topical. but you're right, it's nothing to be worried of, at least ATM...
however if no code hosting is chosen, we can consider one which is not SF ;)

Title: Re: Eos 400d ( Rebel XTI )
Post by: tomasrotger on 31 / January / 2011, 17:50:18
Maybe 'Canon EOS 400D Mark II' o '... XTI Mark II' ;-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 01 / February / 2011, 01:16:16
CDd  (CD in Roman numerals, d is just plain d) (Put CDd under your CCD :-))
eCHDK (EOSCHDK)
exthdk (Eos XTi hacker development kit )
Puckle (The Puckle gun, invented by James Puckle of London during the early 18th century, is a precursor to modern autoCANNON.  Domain is free :-))
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 01 / February / 2011, 03:07:30
I have been browsing all 43 pages from this thread, looking for old source code, their authors, and the corresponding comments. Unfortunately, most versions from "thaibv" are unavailable; but I managed to download 25 versions from "Foldesa", "Sergei", and "vatoz". Now I must clean, sort, and format the 300-line text file...
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 01 / February / 2011, 06:16:05
REd400 sound good?

The  ISO 3200 is very useful when photographing moving fish at the bottom of aquarium.
I also turned the color temp down to 1900.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sjm on 01 / February / 2011, 16:39:31
Interval is 1EV. I will add some stabilisation time (and settings)...

gorgeous!! It works perfect!

Some stabilisation time (and mirror-lock-up) would improve my old 400D to the best HDR-cam ever.

many, many thanks so far!

sjm
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / February / 2011, 02:05:36
please share your experience when you compile it in the qemu...
Yes, of course; expect a full guide.

As promised:

Create a VM

Prepare the VM

No special preparation is required here, just update the software: 
Code: [Select]
su -c "yum -y update"
su -c "yum -y update"

Yes: it must be run twice, as the first update will only update the updater itself; then reboot (just the VM) and install the required dependencies:
Code: [Select]
su -c "yum -y install gcc mpfr-devel libmpc-devel"

Install the cross-compiler

I mostly followed the procedure outlined at "http://chdk.wikia.com/wiki/Compiling_CHDK_under_Linux" and "http://chdk.wikia.com/wiki/Gcc433", with some minor variations (installed to "/opt/arm-elf", and changed some parameters to avoid a bug in GCC):

Create the destination directory:
Code: [Select]
su -c "mkdir /opt/arm-elf".

Install binutils:
Code: [Select]
wget [url]ftp://ftp.gnu.org/gnu/binutils/binutils-2.21.tar.bz2[/url]
tar xvjf binutils-2.21.tar.bz2
mkdir binutils-2.21-arm-elf
cd binutils-2.21-arm-elf/
../binutils-2.21/configure --srcdir=../binutils-2.21/ --target=arm-elf --prefix=/opt/arm-elf/
make
su -c "make install"

Install gcc:
Code: [Select]
wget [url]ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.2/gcc-4.5.2.tar.bz2[/url]
tar -xvjf gcc-4.5.2.tar.bz2

Now edit the file "gcc-4.5.2/gcc/config/arm/t-arm-elf" and uncomment the following lines:

Code: [Select]
MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
MULTILIB_DIRNAMES   += normal interwork

We can continue the installation:

Code: [Select]
mkdir gcc-4.5.2-arm-elf
cd gcc-4.5.2-arm-elf/
../gcc-4.5.2/configure --srcdir=../gcc-4.5.2 --target=arm-elf --enable-languages=c --enable-clocale=gnu --disable-libm --disable-libc --disable-threads --disable-nls --disable-libssp --disable-intl --with-dpu=arm9 --with-newlib --prefix=/opt/arm-elf/
su -c "make install"

Compile

Finally, we are ready to download the latest "autoexec" source code, and compile it:

Code: [Select]
export PATH=/opt/arm-elf/bin/:$PATH
unzip autoexec_2011-01-30.zip
cd autoexec_2011-01-30
make

Go to bed

If everything goes as expected, you will get a new and shiny "AUTOEXEC.BIN" file; now I just need to find an idiot a brave man willing to sacrifice his camera test it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 02 / February / 2011, 03:07:32
eduperez: Excellent information and work in linux.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 02 / February / 2011, 03:43:49
Added "IR Remote Release    (2sec.,Instant)" for  RC-5 remotes which have only 2 second shutter release delay.
http://www.mediafire.com/?ac5udf5rmq9kdo8 (http://www.mediafire.com/?ac5udf5rmq9kdo8) autoexec_2011-01-30_ir.rar
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / February / 2011, 04:08:34
As promised:
...

thank you very much for the info, after all you were right about it, the 32bit compiler did it ...
ok, i'll make mine alternative guest ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / February / 2011, 04:11:43
guys, please consider uploading the code to some repository, it seems at least 2 devs are working and we have different versions...
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 02 / February / 2011, 04:25:32
I have made another improved version :
http://panora.ma/dev/autoexec_2011_02_02.zip (http://panora.ma/dev/autoexec_2011_02_02.zip)

It creates two new actions for DP button - SetM1 and SetM2 . Each of this functions on completion set DP button to another function( SetM1 =>SetM2=>AEAB) and confirm with some (different) beeps.

It does not include  "IR Remote Release    (2sec.,Instant)" .    So currently we have two branches...  I will  merge them today...

Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 02 / February / 2011, 04:26:34
guys, please consider uploading the code to some repository, it seems at least 2 devs are working and we have different versions...

Eduperez is working on that:
I have been browsing all 43 pages from this thread, looking for old source code, their authors, and the corresponding comments. Unfortunately, most versions from "thaibv" are unavailable; but I managed to download 25 versions from "Foldesa", "Sergei", and "vatoz". Now I must clean, sort, and format the 300-line text file...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / February / 2011, 04:42:44
guys, please consider uploading the code to some repository, it seems at least 2 devs are working and we have different versions...

Eduperez is working on that:
I have been browsing all 43 pages from this thread, looking for old source code, their authors, and the corresponding comments. Unfortunately, most versions from "thaibv" are unavailable; but I managed to download 25 versions from "Foldesa", "Sergei", and "vatoz". Now I must clean, sort, and format the 300-line text file...

I did not want to hurry up and make any mistake that we may regret (like leaving out an old version that cannot be added later). But I see we already have problems with parallel branches; I will have a repository up as soon as possible.
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 02 / February / 2011, 08:59:05
I have found some bugs in my latest version - sometimes it works,sometimes not... 
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 02 / February / 2011, 09:21:19
Add some wheels and few more beeps and we could call it R400d2!

Maybe attach the video out to one of those new $50 palm sized projectors.

I bet the Autofocus could still work if image was projected threw camera backwards.
Into the viewer out the lens onto a wall or ceiling.

Any body got a tripod with wheels?

lol
Title: Re: Eos 400d ( Rebel XTI )
Post by: elektromax on 02 / February / 2011, 14:59:50
I have suggestion. When we use full manual lens (ex. Samyang) we can't use AF-confirm and aperture setting. Exactly we can see F00 on screen and AF-confirm doesn't work. Meaby is it possible to add some hack to software for activating this functions for manual lenses?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 02 / February / 2011, 16:10:15
I have checked on AF-confirmation before, couldn't find anything what controls AF. I think it controls by separate chip and digic only tells it to turn on or off. But if that chip doesn't see lens it will not work anyway.
I have a question for people who worked on disassembled firmware:
 What happened after SendToIntercom() function? Last thing i can see:  SendToIntercomSubSubSub() talks to something through i/o port. I could be wrong on that.
  Thanks for any information.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / February / 2011, 01:54:41
guys, please consider uploading the code to some repository, it seems at least 2 devs are working and we have different versions...

Eduperez is working on that:
I have been browsing all 43 pages from this thread, looking for old source code, their authors, and the corresponding comments. Unfortunately, most versions from "thaibv" are unavailable; but I managed to download 25 versions from "Foldesa", "Sergei", and "vatoz". Now I must clean, sort, and format the 300-line text file...

I did not want to hurry up and make any mistake that we may regret (like leaving out an old version that cannot be added later). But I see we already have problems with parallel branches; I will have a repository up as soon as possible.

Here we go... "http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/)".

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / February / 2011, 02:13:24
Here we go... "http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/)".

  • We needed ONE repository ASAP, and I decided to go ahead an choose the name, hosting, and repository myself. Please, consider this as a temporary solution, until a consensus is reached: we can always rename the project or move it somewhere else later. I will also be willing to transfer the ownership of the project, when required.
  • I had to choose a license, and opted for GNUv2 (basically, that means that nobody can distribute an AUTOEXEC.BIN unless they also distribute the source code); but this is not my code, and its legitimate owners should speak and decide themselves.
  • That repository contains all versions that I could find or where sent to me (thanks "vatoz" and "0xAF"!); I just did some minimal cleaning prior to the upload, so if there is something you miss there, it is probably lost.
  • I still have lots of work pending: change the author, date, and message of each commit, tag the releases, upload the binaries, ...; but at least the source code is all, there and the "trunk" is completely functional.
  • Anybody who wants commit access, please get a Google Account (https://www.google.com/accounts/NewAccount (https://www.google.com/accounts/NewAccount)) or a Gmail Account (https://www.google.com/accounts/NewAccount?service=mail (https://www.google.com/accounts/NewAccount?service=mail)) first; then send me a PM, and I will add you to the project.
  • @all developers: Please, restrict your changes to the "trunk" for now; and do not commit AUTOEXEC.BIN files to the repository; there will be soon a proper place for them.
  • @vatoz: I intentionally left your newest modification out; first because there is a conflict with Sergei's latest version, that you offered to solve, and second because of the bug you have detected.

brilliant work, thanks for your effort !

btw, we can use the wiki of the project to document the functionality in a more clear way...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / February / 2011, 04:59:00
brilliant work, thanks for your effort !
My pleasure.

btw, we can use the wiki of the project to document the functionality in a more clear way...
For now, I will limit myself to the source (repository, releases, ...); feel free to get an account and start working on that part, your efforts will surely be welcome.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / February / 2011, 05:18:10
For now, I will limit myself to the source (repository, releases, ...); feel free to get an account and start working on that part, your efforts will surely be welcome.

i'm not very much in the documentation, but i'll take my chances later today, i'll send you on PM my gmail account. still if there is someone good in documenting things perhaps would be better to take it from there :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 03 / February / 2011, 05:44:42
Operation Secret  Squirrel.
R400d2 is captured behind enemy lines with sensitive data.
What can he do to to keep it safe for his return home?
Perhaps he has a hidden feature to take a number of his latest photo's and encrypt them and even take their file name off his disk directory.
So they only can be restored when safe at home.
Yea!
R400d2 saves the day!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / February / 2011, 06:30:32
Perhaps he has a hidden feature to take a number of his latest photo's and encrypt them and even take their file name off his disk directory.
So they only can be restored when safe at home.

interesting...
perhaps only hiding the files would be enough, but i believe it wont be easy to achieve this goal if there is no function to change the attributes of file, the FS implementation is done in the OS...
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 03 / February / 2011, 10:33:24
I really haven't programed since I used BASIC back in the 80's.
I always wanted to lean C but never had a reason.
So none of  these lines from funclist can do it or hint at it?

DEF(FIO_OpenFile, 0xFFA9EA34)
DEF(FIO_ReadFile, 0xFFA9EA6C)
DEF(FIO_RemoveFile, 0xFFA9EA54)
DEF(FIO_SeekFile, 0xFFA9EA78)
DEF(FIO_SetFileAttributes, 0xFFA9EB3C)
DEF(FIO_SetFileTime, 0xFFA9EBFC)
DEF(FC_RemoveFile, 0xFFAACD30)
DEF(FC_RemoveFileAllInDrive, 0xFFAAB924)
DEF(FC_RemoveFileByIndex, 0xFFAACDA4)
DEF(FC_RemoveFile_0, 0xFFAA5218)
DEF(FC_RemoveFile_1, 0xFFAAE92C)

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 03 / February / 2011, 11:35:30
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / February / 2011, 08:06:06
All builds I could find (except "vatoz" latest changes) are now availabe at "http://code.google.com/p/400plus/downloads/list (http://code.google.com/p/400plus/downloads/list)".
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / February / 2011, 18:58:46
I have finally corrected all past commits to the repository. I have tried real hard to attribute properly and add correct comments to each version. But there will be mistakes, as not all the info could be recovered; my apologies to the authors.

As far as I am concerned, it is done.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 05 / February / 2011, 12:21:35
Is there any where I can read the details for the functions listed in funclist?
What the output values mean and what values to input to do different things.
This seems a lot like when I used to program my Vic-20 thirty some years ago with "pokes" and "peeks" to and from memory locations to make faster games than basic could do.
Or do we have to guess?
Title: Re: Eos 400d ( Rebel XTI )
Post by: vatoz on 05 / February / 2011, 18:35:00
I have been able to prepare working arm-elf-toolchain in chroot under 64 bit gentoo.
Using documentation (http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2 (http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2) ) , latest stage3 instead of version mentioned in the guide...
Code: [Select]
cd /mnt
mkdir gentoo32
cd /tmp
wget http://mirrors.kernel.org/gentoo/releases/x86/autobuilds/current-stage3/stage3-i686-20110201.tar.bz2
cd /mnt/gentoo32/
tar -xvjpf /tmp/stage3-i686-20110201.tar.bz2
cp -L /etc/resolv.conf /mnt/gentoo32/etc/
cp -L /etc/passwd /mnt/gentoo32/etc/
nano /mnt/gentoo32/etc/make.conf
mount -o bind /dev /mnt/gentoo32/dev
mount -o bind /dev/pts /mnt/gentoo32/dev/pts
mount -o bind /dev/shm /mnt/gentoo32/dev/shm
mount -o bind /proc /mnt/gentoo32/proc
mount -o bind /proc/bus/usb /mnt/gentoo32/proc/bus/usb
mount -o bind /sys /mnt/gentoo32/sys
mkdir -p /mnt/gentoo32/usr/portage/
mount -o bind /usr/portage /mnt/gentoo32/usr/portage/
mount -o bind /tmp /mnt/gentoo32/tmp
linux32 chroot /mnt/gentoo32 /bin/bash
Now i am in working 32bit chroot..
Code: [Select]
source /etc/profile
env-update
also I recommend you to follow "Code Listing 3.7: creating a new file in /etc/init.d" from original instructions.

Still in chroot  using magic lantern build instructions (http://magiclantern.wikia.com/wiki/Build_instructions/550D (http://magiclantern.wikia.com/wiki/Build_instructions/550D)) (you can download exactly the same version of script, I have used..., or follow original instructions) you can build toolchain.

Code: [Select]
cd /tmp
wget http://panora.ma/dev/summon-arm-toolchain
bash ./summon-arm-toolchain

Change PATH variable.
Code: [Select]
PATH=$PATH:/arm-elf-toolchain/bin/
And you must also mount/copy sources into folder reachable from chroot.



Title: Re: Eos 400d ( Rebel XTI )
Post by: T-Bone on 06 / February / 2011, 08:17:11
Hello,

which Version is better. From sergei or from vatoz? And whats the different?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / February / 2011, 11:29:19
Add me to the 400plus list please.
[email protected]

I just ask in case that's what I need to do to find definitions of the functions and variables.

I haven't used or installed Linux since the early 90's but if I need to I will run a dual boot.
It took many hours to install it back then it should be a lot easier now I bet.
I didnt have much use for it then and it was like learning dos all over again.
But now I bet its a lot better now with its mass appeal.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 06 / February / 2011, 14:16:33
You can install it with wubi and not have to repartition anything. Or just virtualize with something like vmware.

And the release on google code is whose? I know its 1/30 but is it sergei or vatoz or both combined?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / February / 2011, 14:21:34
I have been able to prepare working arm-elf-toolchain in chroot under 64 bit gentoo.
Using documentation (http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2 (http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2) ) , latest stage3 instead of version mentioned in the guide...

very good job, thanks !

i myself was unavailable last few days, and i said i'll try to generate some howto, but with my experience in english language and documenting ... it seems i'm not able to do so... ;(
at least i can put your howtos there if you don't mind ? (or perhaps you can do it if you want)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 06 / February / 2011, 14:35:28
Is there any where I can read the details for the functions listed in funclist?
What the output values mean and what values to input to do different things.
I think only way to get details  is to disassemble original firmware and study the code.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / February / 2011, 14:54:45
I just started looking at ftp://www.inc.eng.kmutt.ac.th/pornpoj/vxwork/VxWorks_Prog_Guide.pdf (http://ftp://www.inc.eng.kmutt.ac.th/pornpoj/vxwork/VxWorks_Prog_Guide.pdf)

Are these functions valid for our purposes?

The remove( ) routine removes a named file on a file-oriented device:
remove ("name");
Do not remove files while they are open.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / February / 2011, 16:18:28
I was reading,

"VxSim, the VxWorks Simulator, is a UNIX program that simulates a VxWorks
target for use as a prototyping and testing environment."

Could this be used to make a 400d simulator on a pc?

I seen some interesting networking and mass storage tape drivers as well.

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / February / 2011, 17:06:27
I have been able to prepare working arm-elf-toolchain in chroot under 64 bit gentoo.
Using documentation (http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2 (http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2) ) , latest stage3 instead of version mentioned in the guide...
[...]
Very nice, much better than a VM... now, if I could find out how to make that on Fedora!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 07 / February / 2011, 05:10:54
I got a message from a1ex.
He said he would be posting a IR proximetry sensor shutter release for the 550D today.
Would one of your talented souls be so kind as to port it to the 400d?

Quote
Wave your hand three times over the IR sensor at the viewer and the shutter is released touch free. You could still handle the camera and leave the feature on.
Nice idea, I'll try it on the 550D.

And  I made a little quote for all of you who will wave your hand around your camera like a magician  about to pull a rabbit from his hat....

Photography is more than an art, it is magic created by light.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 07 / February / 2011, 06:29:06
Could the 400d have an option to dual boot?
So the second operating system have all the features that cant be put in the camera operating one that we are using now?
Linux and windows mobile should be able to run on an ARM CPU, right or am I missing an important detail?

And another thought that I admit would likely to be a lot of work and I dont think we have the tools to do it but I would like to put the Idea out there anyway.

Instead of controlling it with a desk top computer threw USB it might be interesting to use IR to connect to a palm sized computer like my ASUS MYPAL 632.
I bet astro photographers would like it a lot as it would be much more conducive to working in the field and in the dark.
A palm computer also fits in your camera bag.


Title: Other CFn?
Post by: eduperez on 07 / February / 2011, 08:47:39
I saw at "main.c" a list of the CFn0's and their corresponding codes; all custom functions from 1 to 10 have been found, with codes ranging from 44 to 60. However, codes 50~53, 55, and 58 do not seem to have a corresponding CFn; and codes from 61 upwards (up to 89) look empty, also.

Now, the obvious question is: has anybody experimented with those unassigned codes? Could them give access to other custom functions, not available in this camera but on other models? Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 07 / February / 2011, 11:13:23
Hand waving build for 550D is here:
http://groups.google.com/group/ml-devel/browse_thread/thread/850ec268bc883ceb/f4c25f0acb10b16e?show_docid=f4c25f0acb10b16e (http://groups.google.com/group/ml-devel/browse_thread/thread/850ec268bc883ceb/f4c25f0acb10b16e?show_docid=f4c25f0acb10b16e)

Source code: https://bitbucket.org/hudson/magic-lantern/src/tip/shoot.c (https://bitbucket.org/hudson/magic-lantern/src/tip/shoot.c) (look for "wave")
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / February / 2011, 18:15:07
I finally got drunk built up the courage to test my own AUTOEXEC.BIN... no fireworks, the camera just works as expected; let's get this party started! I think I will begin with a complete code clean-up; this will be a hard and long journey.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 07 / February / 2011, 18:42:27

I cant get 32 bit vista to pnp the camera threw usb.
I get a dcp connection fail every time.
I am sure drivers are there cus it says so when i ty to put them in again.
I tried in playback mode and also with card unlocked and settings reset.
Does the bin put the camera in usb remote mode?
any thoughts?
(besides getting a real operating system)
I got so much installed and i am a software pack rat lol

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / February / 2011, 01:40:38
I cant get 32 bit vista to pnp the camera threw usb.
I get a dcp connection fail every time.
I am sure drivers are there cus it says so when i ty to put them in again.
I tried in playback mode and also with card unlocked and settings reset.
Does the bin put the camera in usb remote mode?
any thoughts?
(besides getting a real operating system)
I got so much installed and i am a software pack rat lol

Old versions of this hack had a bug, that interfered with USB connections when downloading photographs; but I have not had any problems with USB for a long time. Have not tried tethered shooting, however.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / February / 2011, 03:21:10
Could the 400d have an option to dual boot?
So the second operating system have all the features that cant be put in the camera operating one that we are using now?
Linux and windows mobile should be able to run on an ARM CPU, right or am I missing an important detail?

i'm not familiar with HW design of the CPU (what kind of arm it is and what dsp cores there are), but i believe there is no MMU, which will make it hard to run linux, only specific linux for no MMU could run (uClinux for example). i'm almost 100% sure that windows mobile need MMU and there is no way to bypass that...
and besides that, why would you want to run another OS ? you'll have to implement the whole software from scratch...


Instead of controlling it with a desk top computer threw USB it might be interesting to use IR to connect to a palm sized computer like my ASUS MYPAL 632.
I bet astro photographers would like it a lot as it would be much more conducive to working in the field and in the dark.
A palm computer also fits in your camera bag.

you have IR remote control, or cable one... you can control enough with that, what else do you need to control ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / February / 2011, 05:00:23
The whole world with an army of R400d2 eyed robots! MUHAHAHA!
Just kidding.

From Wikipedia-
"ARM architecture based application processors implement an MMU defined by ARM's Virtual Memory System Architecture."

Hmm i am wondering is my USB problem is because I ran the customizing software on cam before I installed canon's software on the computer or if its my laptop. Its comunicaton threw usb to my external hard drive does seem slow, almost like its not fully USB 2.0. I have had to rebuild it many times over the years since its warranty wore out. Its just an Acer 3690 or it was before I upgraded it's cpu.
I think they are designed to self destruct.
Why they would put an external power jack right on the mother board is beyond me but at lest it gave me a reason to learn to use soldering iron a little better. I ran wires out to an external jack after all the re-repairs failed after short amounts of time.

At this point I remote control nothing.
But porting of the hand wave routine from 550D to 400d will solve that.
It would be nice if I could do it myself but I got to figure out a lot of other stuff first.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / February / 2011, 05:11:17
From Wikipedia-
"ARM architecture based application processors implement an MMU defined by ARM's Virtual Memory System Architecture."

http://chdk.setepontos.com/index.php?topic=2310.msg58789#msg58789 (http://chdk.setepontos.com/index.php?topic=2310.msg58789#msg58789)
i've read that and thats why i thought it has no mmu...
i never looked the code myself, but other developers should have idea if there is mmu...
Title: Re: Eos 400d ( Rebel XTI )
Post by: galbenpal on 08 / February / 2011, 05:40:22
Hello! I have Canon 400 D, i do it steps with Autoexec.bin it's working thank you for this

My questions is about modify shutter speed, Is 1/4000 now, it is posybile to i have 1/6000 or more ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / February / 2011, 06:13:52
I did some digging and yes you are right.
There are differences in arm processors.
arm946E-S does have a sibling the ARM926EJ-S
they look about the same but the one with a j has java abilities and a mmu.
o well, I doubt they are compatible enough to be swapped either.
I am getting a better understanding of this now.
I thought the Arm and Digic processors were different units but the Arm is a part of the Digic.
I bet Digic has its own very different MMU, likely for fast picture taking.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 08 / February / 2011, 06:39:14
From my understanding, ARM is a general-purpose CPU, and there are some dedicated ASIC's for image processing, movie encoding...

DIGIC includes all of these.

Currently, Magic Lantern can only control the ARM cpu, and I believe the same is true for CHDK and 400D/350D custom firmwares (correct me if I'm wrong).

For shutter speed, I've tried 1/6000 and 1/8000 on the 550D, but the camera refused those settings (and used 1/4000). But 400D is another beast, so it may work :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: galbenpal on 08 / February / 2011, 06:43:37
"alex" how you doing to increase shotter speed ? (If is in the latest Autoexec.bin, how do it to see? o if isn't in latest autoexec.bin file, what is necessary to do ?)

Thank you, aniway
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / February / 2011, 07:38:43
I also read that..

"The ARM946E-S processor is backwards compatible with the ARM7 Thumb
Family and the StrongARM processor families, giving designers software-
compatible processors.??"

If that could be of any use.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 08 / February / 2011, 09:01:30
galbenpal: I only write code for 550D. On that camera, I've tried to change PROP_SHUTTER (0x80000005); its values are given in 1/8EV steps. Not sure if it helps on 400D; the source code seems very different, but at least, ISO uses the same raw coding.

Codes for 550D: https://bitbucket.org/hudson/magic-lantern/src/tip/lens.h (look for codes_iso and codes_shutter).
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / February / 2011, 19:45:25
I was reading a post on another message board in which some one else had the dcp failed to connect error when trying usb connection
and  someone labeled "canon guru" replied to them...

"Send it into Canon, this is a service mode protocol used for adjustment. Only they have the software to reset it to normal communication."

I have also noticed that when I hit menu it goes there and always highlights factory menu even if I dont boot from card.

I have taken out both batteries hoping to reset it but nope.

Anyone know what to do?

ok i got the factory menu to clear after playing around with it.

and for once it recognised that i plugged a canon in but when it got to digital still camera it failed...
hmmm.....

one of my usb ports in the back of laptop  isnt working. I opened it up to look closer and saw some powder on one of its solder points. I might have a short in my usb power.
I think that I have read that the camera needs the voltage.
that might be why it doenst work and other usb things do.
But I will try more software type fixes before I physically modify it.
Just checked again on different laptop with windows 7  and it now it works since "factory menu" is cleared from first menu window.
now to get it to work on my old beat up vista clunker.
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 09 / February / 2011, 16:47:21
You can always measure v output from usb ports. If its low some things don't function. Es. Storage devices.

IR wave hack sounds awesome. Would be a free remote for someone who doesn't have one.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 09 / February / 2011, 17:23:57
Added "IR Prox Release". Wave two times in front of IR sensor to take a picture.
http://www.mediafire.com/?r71kqcmh9qchf6d (http://www.mediafire.com/?r71kqcmh9qchf6d) autoexec.bin
http://www.mediafire.com/?2xjn2n0aawkj2g3 (http://www.mediafire.com/?2xjn2n0aawkj2g3) 400plus-20110209.zip
Title: Just for clarification
Post by: eduperez on 10 / February / 2011, 03:59:40
There are three versions now on the table:

* Sergei's latest version (at http://chdk.setepontos.com/index.php?topic=3290.msg61182#msg61182 (http://chdk.setepontos.com/index.php?topic=3290.msg61182#msg61182)), with "IR Remote Release delay" and "IR proximity release".

* Vatoz's latest version (at http://chdk.setepontos.com/index.php?topic=3290.msg60671#msg60671 (http://chdk.setepontos.com/index.php?topic=3290.msg60671#msg60671)) with "IR Remote Release delay" and "SetM1 and SetM2" [see also http://chdk.setepontos.com/index.php?topic=3290.msg60689#msg60689 (http://chdk.setepontos.com/index.php?topic=3290.msg60689#msg60689)].

* My own version at SVN, based on "2011-01-30_IR" from Sergei, but still not released as it does not contain any user-visible changes.

I have been studying the code, and have gained some knowledge and confidence; I plan BIG changes to the core of this hack real soon (stay tunned!), and keeping in-sync with my changes will probably be hard for other developers. I will try to add all new features released here to my version as soon as possible, but of course everybody is invited to collaborate (the repository is still open to anybody). Meanwhile, maintaining separate branches probably is the wisest idea.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / February / 2011, 06:02:13
Added "IR Prox Release". Wave two times in front of IR sensor to take a picture.
http://www.mediafire.com/?r71kqcmh9qchf6d (http://www.mediafire.com/?r71kqcmh9qchf6d) autoexec.bin
http://www.mediafire.com/?2xjn2n0aawkj2g3 (http://www.mediafire.com/?2xjn2n0aawkj2g3) 400plus-20110209.zip

Thanks Sergei: can you explain us better what exactly does your new version? I didn't understand very well.
Thanks again.
Kekko
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 10 / February / 2011, 06:55:58
Once you press menu button, then display and then use the direction buttons to get to and turn IR Prox Release to the ON setting, when ever you activate the IR sensor under the Viewfinder eyepiece, that turns off the LCD screen, quickly twice in a row it will take a picture.
This way you have remote shutter release with out any additional hardware and a nice sharp picture due to the lack of vibration from a physical button press.
I should also note that the mode dial needs to be in a position that is indicated by letters not a picture to get to the menu that turns it on.
It can be left on because its not often something will activate it by accident.

It works EXCELLENT! and many thanks to Sergei for adding it.


Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / February / 2011, 11:04:19
Noooo, fantastic!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 10 / February / 2011, 11:54:59
Tnx Sergei!! A very useful update!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / February / 2011, 13:10:21
Fantastic, sometime it doesn't run but it's very useful!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / February / 2011, 13:47:26
Added "IR Prox Release". Wave two times in front of IR sensor to take a picture.

So... what is the point? How is this different from using the shutter delay (activate the MLU for a 2s delay)?
[A real question, not trying to troll]
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 10 / February / 2011, 14:46:49
No touching the camera. Also, you're not stuck turning the delay on and off.

I'm trying it out today. Didn't know sergei would code it that fast!

So what are you planning to do to the core? Optimization?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / February / 2011, 16:17:34
No touching the camera. Also, you're not stuck turning the delay on and off.

Still not convinced... a remote release is just a couple of bucks; but if people likes this so much, I guess it must be useful to you.

I'm trying it out today. Didn't know sergei would code it that fast!

Yes, that was quite fast.

So what are you planning to do to the core? Optimization?

Would not want to over-commit, but I am planning a full rewrite.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 11 / February / 2011, 02:08:32
Would not want to over-commit, but I am planning a full rewrite.

code rewrite would be great! the code is not in very good condition ATM. That would make it easier for new devs to start.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / February / 2011, 07:08:53
I have just released my 2011.02.11-0 version:

* Josean0: deactivate UP / DOWN buttons when camera is at the face, to avoid changing ISO / WB with your nose.
* eduperez: better detection of double-event buttons, and some code clean-up.
* I tried to merge Sergei's "IR Prox Release", but could not make it work; will try again later.

Available at http://code.google.com/p/400plus/downloads/list; (http://code.google.com/p/400plus/downloads/list;) enjoy it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 11 / February / 2011, 10:03:12
Could a few extra shutter speeds be added around 1/30 sec so we can fine tune the look of moving objects?
When I want to get a pic that shows movement, I go to 1/30 sec, but most of the time I need to adjust the speed up and down a little to enhance or decrease the effect to get it just right.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 11 / February / 2011, 11:21:29
* eduperez: better detection of double-event buttons, and some code clean-up.
Hi eduperez! I don't know if you knew, that code was for auto-repeat key action while key held pressed.
Example: You need to increase AV compensation from 0 to 6. Just press and hold right button until av comp gets to 6.
Code: [Select]
switch (pMessage[1])
{ case BUTTON_UP:
case BUTTON_DOWN:
for (t=0;t<5; t++){ SleepTask(100); if (!double_key) break;}
if (double_key) goto repeat;break;
case BUTTON_RIGHT:
case BUTTON_LEFT:
switch(option_number)
{ case 1:
case 2:
case 3:
case 7:
for (;t<2; t++){ SleepTask(150); if (!double_key) break;}
if (double_key)SleepTask(150);
if (double_key) goto repeat;
}
}
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 11 / February / 2011, 12:28:44
Could a few extra shutter speeds be added around 1/30 sec so we can fine tune the look of moving objects?
When I want to get a pic that shows movement, I go to 1/30 sec, but most of the time I need to adjust the speed up and down a little to enhance or decrease the effect to get it just right.

Why stop there. If we truly can't go higher than the max shutter we already have, a more consistent shutter setting would be nice.

From 1/30 it goes right to 1/45 with no steps in between. After 1/90 it jumps even more. Can we add a selectable shutter increment? Like +50 +100 +5, etc? Is it mechanically possible? Having the option to go back to "classic" shutter increments would be nice too.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / February / 2011, 15:23:43
* eduperez: better detection of double-event buttons, and some code clean-up.
Hi eduperez! I don't know if you knew, that code was for auto-repeat key action while key held pressed.
Example: You need to increase AV compensation from 0 to 6. Just press and hold right button until av comp gets to 6.

Before I can implement the changes I have in mind, I need to simplify a good part of the code, and some non-critical features will be temporarily deactivated; when the new version settles down, I will bring them back.

Next on the list is the extended autofocus pattern selection... does anybody really use all those weird patterns?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ciccio on 11 / February / 2011, 15:38:34
I personally never use extra patterns. I only use either single central point or the remaining points all together.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Tom2009 on 12 / February / 2011, 04:46:41
Thank you so much for your INCREDIBLE work. Your show the canon people how the work should be done!
This is a firmware what should be integrated from the beginning inside the body. I use mainly the 5dmII &7d, d3x.
But after the tweak to my old 400d I start to use it again. Is slow but is so much fun to play with it.
Thank you so much for this work and keep it going! With huge respect all the best, Tom
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 12 / February / 2011, 10:59:01
I use them sometimes. Don't ax all the features.
Title: Firmware dump anybody?
Post by: eduperez on 14 / February / 2011, 10:36:23
Does anybody here know where can I find a decrypted firmware dump? There is lots of information missing from the current source code, and even just looking for relevant strings could be very helpful. Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 14 / February / 2011, 17:59:17
ofir_tool.py (firmware decrypter program) http://chdk.setepontos.com/index.php?topic=3290.msg56852#msg56852 (http://chdk.setepontos.com/index.php?topic=3290.msg56852#msg56852)
IDB file http://chdk.setepontos.com/index.php?topic=3290.msg49950#msg49950 (http://chdk.setepontos.com/index.php?topic=3290.msg49950#msg49950)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / February / 2011, 01:44:17
Many thanks to Sergei and somebody-else-who-asked-to-remain-anonymous for the info!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 15 / February / 2011, 10:46:51
Ok i got python installed
do i just put ofir_tool.py in the tool directory?
how do i tell it to open the .idb file?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 16 / February / 2011, 07:46:37
Could IR Prox release be made to work while mirror lock is on?
My photos of venus just dont look right with a tail.
Please dont ask whats wrong with a little tail. lol
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 16 / February / 2011, 16:45:27
That's a nice idea; I'm thinking to enable MLU by default when self-timer is selected (and disable it when you disable self-timer), and also enable MLU in IR proxy (LCD Remote Shot in ML) in "Away" mode (when you put your hand near the sensor and the picture is taken when you move your hand away). What do you think about this?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 16 / February / 2011, 19:54:18
Excellent!
Title: Re: Eos 400d ( Rebel XTI )
Post by: idcastandblast on 17 / February / 2011, 00:59:31
You guys are doing so many amazing things. I am anxious to try installing this hack.  My problem is that I don't know whether to use the old instructions and files, or wait until there is a more stable updated verions with new install instructions.  Keep up the good work. And Thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / February / 2011, 01:16:29
You guys are doing so many amazing things. I am anxious to try installing this hack.  My problem is that I don't know whether to use the old instructions and files, or wait until there is a more stable updated verions with new install instructions.  Keep up the good work. And Thank you.

While there is still lots of room ahead for the hack and the documentation, I do not think the installation process will change very much, at least not in the immediate future.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / February / 2011, 04:55:53
open card door ... take card out of camera ... plug card into reader ... copy file to card ... unplug card from reader ... plug card into camera ... close card door ... test ... and repeat

My hardware (camera, card, reader, ...) is not going to accept that abuse much longer; either I find an alternate solution or something is going to break, real soon. If anybody knows how to write to the card thou the USB cable (i.e., while it is still inside the camera), please stand up and speak. It does not have to overwrite the AUTOEXEC.BIN file itself, I just need to be able to write something, from the computer to anywhere inside the card; I will take care of the rest.

Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 22 / February / 2011, 04:58:53
Some custom PTP handlers may do the job, but they seem a mistery to me...

P.S. my card just broke yesterday due to this... but the camera is still alive :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / February / 2011, 05:51:00
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 22 / February / 2011, 07:06:36
A1ex, I am sorry to hear about your card.
Many compact flash cards come with a life time warranty. I hope yours is one.
I have read about one guy who didn't even know the camera had an eject button for the card but he would pull it out anyway.
I have been changing cards in the dark but I think i will be more careful now.
If there is no warranty and its not in bad shape maybe you could make a compact flash extender cable with it.
Eduperez perhaps you could do something like that also by soldering a CF card to a ribbon cable then to the female CF connection on your old card reader.

I did a quick search and there are places to buy compact flash extender cables.
I didnt see the price but they should be cheap because there isn't much to them, so maybe it would be best just to order one from someone who likes to solder wires.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 22 / February / 2011, 07:46:24
gphoto2 can't write files on the 550d either. But I was able to compile ptpcam with Mweerden's extensions under Windows, and call some functions from Python.

http://magiclantern.wikia.com/wiki/Remote_control_with_PTP_and_Python (http://magiclantern.wikia.com/wiki/Remote_control_with_PTP_and_Python)
http://www.mweerden.net/chdk_ptp.html (http://www.mweerden.net/chdk_ptp.html)
http://chdk.setepontos.com/index.php?topic=4338.0 (http://chdk.setepontos.com/index.php?topic=4338.0)

Now the big problem is to understand how to use all this stuff... if anyone can figure out, I'm interested too :)

Also, the 5D2 Magic Lantern has some PTP extensions, but I don't know how to use them yet. There are even some debug messages in the 550D ML related to PTP, so the hard work should have been done :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / February / 2011, 08:15:56
[...]
Eduperez perhaps you could do something like that also by soldering a CF card to a ribbon cable then to the female CF connection on your old card reader.

I did a quick search and there are places to buy compact flash extender cables.
I didnt see the price but they should be cheap because there isn't much to them, so maybe it would be best just to order one from someone who likes to solder wires.
Sorry for the misunderstanding: my reader is (still) not broken, but I am precisely trying to avoid breaking it (or the camera!).

gphoto2 can't write files on the 550d either. But I was able to compile ptpcam with Mweerden's extensions under Windows, and call some functions from Python.

http://magiclantern.wikia.com/wiki/Remote_control_with_PTP_and_Python (http://magiclantern.wikia.com/wiki/Remote_control_with_PTP_and_Python)
http://www.mweerden.net/chdk_ptp.html (http://www.mweerden.net/chdk_ptp.html)
http://chdk.setepontos.com/index.php?topic=4338.0 (http://chdk.setepontos.com/index.php?topic=4338.0)

Now the big problem is to understand how to use all this stuff... if anyone can figure out, I'm interested too :)

Also, the 5D2 Magic Lantern has some PTP extensions, but I don't know how to use them yet. There are even some debug messages in the 550D ML related to PTP, so the hard work should have been done :)
If the camera's PTP does no support uploading of files (all I need is that), then I am lost: I have been browsing those links (thanks!), but adding support to the 400D myself looks like science fiction to me (or just plain fiction, to be more precise).
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 22 / February / 2011, 08:56:22
Well, we just have to figure out how to send some data from a PC program (ptpcam?) to a function from the camera. Then you'll open a file from there and save that data to the card. Sounds simple, but needs a bit of http://esolangs.org/wiki/Brainfuck (http://esolangs.org/wiki/Brainfuck)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / February / 2011, 09:39:52
Well, we just have to figure out how to send some data from a PC program (ptpcam?) to a function from the camera. Then you'll open a file from there and save that data to the card. Sounds simple, but needs a bit of http://esolangs.org/wiki/Brainfuck (http://esolangs.org/wiki/Brainfuck)
The code from CHDK_PTP to write a file seems pretty straightforward... but I have no idea how to hook it to the firmware. I have been looking at the functions.txt file, but I am still clueless.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / February / 2011, 09:47:20
Well, we just have to figure out how to send some data from a PC program (ptpcam?) to a function from the camera. Then you'll open a file from there and save that data to the card. Sounds simple, but needs a bit of http://esolangs.org/wiki/Brainfuck (http://esolangs.org/wiki/Brainfuck)

i'm not sure how PTP (protocol) works, but it could it be possible that you can add new commands or use existing (in the protocol) and unimplemented (in the camera) to handle that transfer... i guess that requires good knowledge of the code or in reverse engineering though, to make a new handler...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / February / 2011, 09:48:00
The code from CHDK_PTP to write a file seems pretty straightforward... but I have no idea how to hook it to the firmware. I have been looking at the functions.txt file, but I am still clueless.

chdk implementation looks really clear ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / February / 2011, 09:56:54
The code from CHDK_PTP to write a file seems pretty straightforward... but I have no idea how to hook it to the firmware. I have been looking at the functions.txt file, but I am still clueless.

chdk implementation looks really clear ;)

Yes, as long as you know where "add_ptp_handler" and the other functions are (if they are somewhere); or did I miss something?
Title: Re: Eos 400d ( Rebel XTI )
Post by: waterwingz on 22 / February / 2011, 10:40:30
.. as long as you know where "add_ptp_handler" and the other functions are (if they are somewhere); or did I miss something?
For the IXUS120-SD940 it was pretty painless - stubs_entry.S picked up the correct address.  The only other thing needed was to make sure kbd.c was correct with :

Code: [Select]
#define USB_REG 2
#define USB_MASK (0x00080000);

After that, its just worked as part of the standard build.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / February / 2011, 16:07:18
.. as long as you know where "add_ptp_handler" and the other functions are (if they are somewhere); or did I miss something?
For the IXUS120-SD940 it was pretty painless - stubs_entry.S picked up the correct address.  The only other thing needed was to make sure kbd.c was correct with :

Code: [Select]
#define USB_REG 2
#define USB_MASK (0x00080000);

After that, its just worked as part of the standard build.


Would not want to sound obtuse, but there is no mention of the hook functions in our source code; I cannot see how could a compiler link to them.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / February / 2011, 16:54:53
Title: Re: Eos 400d ( Rebel XTI )
Post by: waterwingz on 22 / February / 2011, 18:46:02
Would not want to sound obtuse, but there is no mention of the hook functions in our source code; I cannot see how could a compiler link to them.
Sorry - didn't notice this is a DLSR.  I don't know anything about the development environment for those  - I think I read somewhere it was forked from the CHDK core some time ago,  so I don't know how you would drag in all the PTP changes added to the main trunk in the last several months.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / February / 2011, 01:31:02
Would not want to sound obtuse, but there is no mention of the hook functions in our source code; I cannot see how could a compiler link to them.
Sorry - didn't notice this is a DLSR.  I don't know anything about the development environment for those  - I think I read somewhere it was forked from the CHDK core some time ago,  so I don't know how you would drag in all the PTP changes added to the main trunk in the last several months.


No need to sorry, you where trying to help.

The code (or the changes) from CHDK is not the problem, porting it to the 400D even seems easy. The problem is that we need to tell the camera's firmware to call our code, whenever a PTP request arrives, instead of the current code (which rejects the operation); and, to do that, both CHDK and ML call an entry point named "add_ptp_handler", inside the firmware. Unfortunately, we have not found an entry point with such name, and without it I have no idea on how to hook our code to the firmware.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 23 / February / 2011, 02:59:21
Yes, as long as you know where "add_ptp_handler" and the other functions are (if they are somewhere); or did I miss something?

i'm not really sure if there is add_ptp_handler, but i guess if we can find at least one handler which is not so important, like for remote focus control or even less important, we can replace the handler ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / February / 2011, 04:58:03
Yes, as long as you know where "add_ptp_handler" and the other functions are (if they are somewhere); or did I miss something?

i'm not really sure if there is add_ptp_handler, but i guess if we can find at least one handler which is not so important, like for remote focus control or even less important, we can replace the handler ...


Again, I do not get it... suppose we get the camera to call our code, whenever the remote focus control is activated, suppose we can also activate that control from a computer. Now what? How do we send a file over that?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 23 / February / 2011, 05:14:04
Again, I do not get it... suppose we get the camera to call our code, whenever the remote focus control is activated, suppose we can also activate that control from a computer. Now what? How do we send a file over that?

i've seen windows software which came with the camera. it can control focusing and taking photos via usb connection to the camera (PTP)... lately, a few months ago i discovered that digikam can do it too... digikam uses gphoto2 i believe.
so it is PTP which can control focusing and taking photos via usb connection, like you push the button of the camera on half (to focus) and then push it all the way down to take photo.

so if we can't find add_ptp_handler routine (which can or cannot exists), perhaps we can find the other existing function which the PC software calls via PTP to control the camera, like the function which will focus the lens. to be correct we shouldn't look for the function, but the table with the functions for PTP handling...
i believe the windows software can change the settings of the camera, so there should be other functions in this PTP protocol... and wikipedia states that there are extensions to PTP (http://en.wikipedia.org/wiki/Picture_Transfer_Protocol#Extensions (http://en.wikipedia.org/wiki/Picture_Transfer_Protocol#Extensions)), if we can find some handler of ptp functionality, we can replace it, given we find the "table" with the ptp functions ...
i'm not sure if my understandings of that are correct, but generally this should be the way...

in short, even if there is no add_ptp_handler routine, there should be a table/map for PTP functions at least...
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 23 / February / 2011, 07:31:38
On 550D ML, it's done like this:

At camera startup, there's a loop which says:
Code: [Select]
for( ; handler < _ptp_handlers_end ; handler++ )
{
ptp_register_handler(
handler->id,
handler->handler,
handler->priv
);
}

A PTP handler is declared in ML code like this:

Code: [Select]
PTP_HANDLER( 0x9998, 0 )
{
     // code here
}

That macro declares the function like this:

Code: [Select]
static int ptp_handler_##ID( \
void * priv, \
struct ptp_context * context, \
uint32_t opcode, \
uint32_t session, \
uint32_t transaction, \
uint32_t param1, \
uint32_t param2, \
uint32_t param3, \
uint32_t param4, \
uint32_t param5 \
) \

So, inside the PTP handler, you have access to some parameters of that command.

Code: [Select]

PTP_HANDLER( 0x9998, 0 )
{
int step = (int) param1;
        /* send some focus commands with that step size */
        /* which sounds like a remote follow focus */
}
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 24 / February / 2011, 04:42:22
Progress: ptpcam CHDK extension overrides 0x9999. I was able to display a hello world message from "ptpcam --chdk" (after which PTP freezes).
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / February / 2011, 04:50:56
Progress: ptpcam CHDK extension overrides 0x9999. I was able to display a hello world message from "ptpcam --chdk" (after which PTP freezes).

great news !!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 24 / February / 2011, 05:07:47
Some CHDK <--> ML equivalents regarding PTP:

CHDK:
Code: [Select]
typedef struct {
    int code;
    int sess_id;
    int trans_id;
    int num_param;
    int param1;
    int param2;
    int param3;
    int param4;
    int param5;
} PTPContainer;

ML:
Code: [Select]
struct ptp_msg
{
uint32_t id;
uint32_t session;
uint32_t transaction;
uint32_t param_count;
uint32_t param[ 5 ];
} __PACKED__;

CHDK:
Code: [Select]
 PTPContainer ptp;
  memset(&ptp,0,sizeof(PTPContainer));
  ptp.code = PTP_RC_OK;
  ptp.sess_id = sess_id;
  ptp.trans_id = trans_id;
  ptp.num_param = 0;
  ...
  data->send_resp( data->handle, &ptp );

ML:
Code: [Select]
struct ptp_msg msg = {
.id = PTP_RC_OK,
.session = session,
.transaction = transaction,
.param_count = 4,
.param = { 1, 2, 0xdeadbeef, 3 },
};

        ...
context->send(
context->handle,
&msg
);
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 24 / February / 2011, 05:08:04
Progress: ptpcam CHDK extension overrides 0x9999. I was able to display a hello world message from "ptpcam --chdk" (after which PTP freezes).

Let me see if I understood: you managed to display a hello world message in the camera, triggered from the computer? That would be a ground-breaking achievement!
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 24 / February / 2011, 05:09:25
Yes, that's right. But since I didn't send any answer back, PTP froze after first command. Now trying to understand how to do that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 24 / February / 2011, 05:27:23
I know this is way out there and not applicable in the near future but you have inspired an idea.
Have the camera receive data and programs by taking a picture of them.
One might find some future applications for this sort of transfer.
Like driving by a road sign and having your GPS updated.
Or perhaps something easier and more profitable at first, like maybe drive by a Mcdonalds sign on the highway take a pic and you get a free little game to play till you get there.
It could be hidden within a normal image away from human sight  or could contain obvious visual icons for use in the program.
Any bodies up to a task like that?
Can you have it done by Friday noon?,lol
just kidding,
but sometime this might happen how long who knows?
I imagine there are thousands of other ways this could be applied that I haven't thought of yet.
What do you think?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 24 / February / 2011, 05:31:05
Some CHDK <--> ML equivalents regarding PTP:
[...]

Hey, wait! Are you talking about a 500D / 550D or a 400D?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 24 / February / 2011, 05:32:26
I know this is way out there and not applicable in the near future but you have inspired an idea.
Have the camera receive data and programs by taking a picture of them.
One might find some future applications for this sort of transfer.
Like driving by a road sign and having your GPS updated.
Or perhaps something easier and more profitable at first, like maybe drive by a Mcdonalds sign on the highway take a pic and you get a free little game to play till you get there.
It could be hidden within a normal image away from human sight  or could contain obvious visual icons for use in the program.
Any bodies up to a task like that?
Can you have it done by Friday noon?,lol
just kidding,
but sometime this might happen how long who knows?
I imagine there are thousands of other ways this could be applied that I haven't thought of yet.
What do you think?


http://en.wikipedia.org/wiki/QR_Code (http://en.wikipedia.org/wiki/QR_Code)
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 24 / February / 2011, 05:36:35
Hey, wait! Are you talking about a 500D / 550D or a 400D?

About 550D. But with the right stubs, I think you should be able to port this to 400D.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 24 / February / 2011, 08:33:27
QR code is cute but way to simple.
It needs to be many more pixels, with color, pictures, audio waveforms and code within the code.
Sorta the difference between listening to some one passing gas from playing a musical song
lol

Title: Re: Eos 400d ( Rebel XTI )
Post by: LaLaPico on 25 / February / 2011, 13:22:08
~
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuririkura on 28 / February / 2011, 21:31:19
Great Job!!!

I'm on the edge of selling my 400d, now at least i will hold it for couple months :)

By the way, if it possible, can you add customize the timer control? it is very difficult when taking self portrait , 2s is too fast and 10s is reducing the mood..

thanks before.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ariel1969 on 04 / March / 2011, 12:12:32
Hello

  Is possible programming to view in viewfinder or lcd hyperfocal and depth of field.

thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 06 / March / 2011, 15:35:13
Experimental release!
http://www.mediafire.com/?b8th69v3u8q3bcu (http://www.mediafire.com/?b8th69v3u8q3bcu) 400plus-20110306.rar

New dialog menu for custom settings. Press menu, then print button to get in the menu.

Added Self Timer shutter release. Timer can be set from 2 to 30 seconds. Set "DP Button" to "Self Timer" and use print button to activate it from  main screen.

Activation of Factory Menu has been changed: Menu, Print button twice, and menu again.

 Is possible programming to view in viewfinder or lcd hyperfocal and depth of field.
It's probably possible but i don't know how to do it.

To eduperez:
  I don't want to mess-up your project so i let you decide if you want to add new branch to repository or add code to your code.
Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 06 / March / 2011, 15:38:49
Quote
Is possible programming to view in viewfinder or lcd hyperfocal and depth of field?

It's probably possible but i don't know how to do it.

If you can read the focal length and focus distance (which are some properties on 550D), you can use this code:

https://bitbucket.org/hudson/magic-lantern/src/tip/lens.c
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 06 / March / 2011, 15:46:15
  Thanks a1ex for reply.
Yes, the problem is i don't know where to get the focal length and focus distance.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 06 / March / 2011, 16:01:22
You don't use properties to change settings on the camera? Like these:

For CHDK: http://chdk.wikia.com/wiki/PropertyCase (http://chdk.wikia.com/wiki/PropertyCase)
For ML: http://magiclantern.wikia.com/wiki/Properties (http://magiclantern.wikia.com/wiki/Properties)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 06 / March / 2011, 16:41:36
Something similar, but it doesn't have info on focal length or focus distance.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / March / 2011, 20:31:21
Experimental release!
http://www.mediafire.com/?b8th69v3u8q3bcu (http://www.mediafire.com/?b8th69v3u8q3bcu) 400plus-20110306.rar

New dialog menu for custom settings. Press menu, then print button to get in the menu.

Added Self Timer shutter release. Timer can be set from 2 to 30 seconds. Set "DP Button" to "Self Timer" and use print button to activate it from  main screen.

Activation of Factory Menu has been changed: Menu, Print button twice, and menu again.

  Is possible programming to view in viewfinder or lcd hyperfocal and depth of field.
It's probably possible but i don't know how to do it.

To eduperez:
  I don't want to mess-up your project so i let you decide if you want to add new branch to repository or add code to your code.
Thanks.

Very nice ideas there!

My version is almost done: the code refactorization is complete, most functions I dropped are back again, and I have even added a couple of freebies of my own. I hope to have it finished, and up to date with your latest changes, real soon.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 07 / March / 2011, 13:31:12
@Sergei

I love your new version of the menu add to the EOS 400.

Although we think the key is on the added features, I think your new menu with great interest.

It provides a better understanding, better readability, simplicity of adjustment is a kind graphics look much better.

I really think you have hit a crucial point that must be developed.

Thank you and to all other developers for your efforts, I am your work with great interest.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / March / 2011, 15:59:42
@Sergei:

The new menu system is awesome, congratulations.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / March / 2011, 17:03:19
@Sergei:

The new menu system is awesome, congratulations.

agreed!
very nice, very ease of use compared to the old method.
it needs a little polishing though...

when i tried to change the extended eab setting it is changing to some "X sec Delay", "X.X EV", "M1 30" and "M2 15" values instead of "X frames", unless i hit the "OK" button first, so it re-sets the current "X frames" value first and then i can change to another frames count.

i didnt looked the code, but i guess the menu options that should be cycled (3,5,7,9 Frames) are beginning with something read from the a:\settings and i have to delete my settings file to fix that bug.

anyway, small problem .... great improvement though !!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / March / 2011, 17:11:37
@eduperez: i have to say that after i looked at your code rewrite, i'm really impressed.
really good work !!! very well structured and if it is documented (atleast at the key points/routines) it will be very easy for new devs to come around...
compared to the old code it's like the haven vs. hell !!!

really good work man ! thanks !
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / March / 2011, 17:27:49
@eduperez: i have to say that after i looked at your code rewrite, i'm really impressed.
really good work !!! very well structured and if it is documented (atleast at the key points/routines) it will be very easy for new devs to come around...
compared to the old code it's like the haven vs. hell !!!

really good work man ! thanks !

Glad to know you like it... after all, that was the point of all that work. But let me remember that most of what I have done is just move the code around, the real heroes are the people who guessed how to make the camera work. Yes, the code was a mess; but it is the kind of mess one may expect from someone focused on investigating and experimenting.

I have almost recovered the extended AF pattern system (using a new and simpler method), adding the self timer to the new code will be a breeze, and finally will come the awesome (did I already say that?) menu system.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / March / 2011, 17:44:22
Glad to know you like it... after all, that was the point of all that work. But let me remember that most of what I have done is just move the code around, the real heroes are the people who guessed how to make the camera work. Yes, the code was a mess; but it is the kind of mess one may expect from someone focused on investigating and experimenting.

I have almost recovered the extended AF pattern system (using a new and simpler method), adding the self timer to the new code will be a breeze, and finally will come the awesome (did I already say that?) menu system.

yes, really great work.
btw, when i was collecting the info for the install procedure i wasnt able to seek everyone commited to the code (not that i looked hard enough). so if you know most of the guys it will be good to have CREDITS file or similar, to give the appropriate credits.

i had the great desire to join you and sergei with the code, but last weeks i'm too busy with projects @work ;(
eventually i'll join soon enough, after the code is so good structured it will be very easy...


p.s.
do you have experience on software project management ? i need to read some good book on the subject (needs for my job)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / March / 2011, 17:53:33
btw, alex mentioned some properties structure, any tracks of that structure on 400d ?
i'm just curious, it would be nice to find it...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / March / 2011, 17:14:43
All I know about the authors of this project is in this thread; lots of messages to review, I know. When I did the initial load of the SVN repository, I tried to give credit to everyone involved; if you look there, you will see that each revision has a date and an author corresponding to the release of the original code. That could be a good starting point.

Sorry, cannot recommend any book on project management.

I think a1ex was referring to this structure (from http://code.google.com/p/400plus/source/browse/trunk/main.h (http://code.google.com/p/400plus/source/browse/trunk/main.h)):
Code: [Select]
typedef struct {                 // [*] Used and tested, others unknown
        int AEMode;              // 0x0000 [*] [1]
        int MeteringMode;        // 0x0004 [*] [2]
        int FlashExComp;         // 0x0008 [*]
        int DriveMode;           // 0x000c     [3]
        int WB;                  // 0x0010 [*] [4]
        int AF;                  // 0x0014
        int AfPoint;             // 0x0018
        int TvVal;               // 0x001c [*]
        int AvVal;               // 0x0020
        int AvComp;              // 0x0024 [*]
        int ISO;                 // 0x0028 [*]
        int RedEyeRed;           // 0x002c
        int AEB;                 // 0x0030 [*]
        int WbBracketing;        // 0x0034
        int Beep;                // 0x0038 [*]
        int ColorTemp;           // 0x003c [*]
        int IsoExpand;           // 0x0040
        int AutoPowerOff;        // 0x0044
        int ViewType;            // 0x0048
        int ReviewTime;          // 0x004c
        int AutoRotate;          // 0x0050
        int LcdBrightness;       // 0x0054
        int DateTime;            // 0x0058
        int FileNumbering;       // 0x005c
        int Language;            // 0x0060
        int VideoSystem;         // 0x0064
        int Communication;       // 0x0068
        int Parameter;           // 0x006c
        int ColorSpace;          // 0x0070
        int QualityRaw;          // 0x0074 [*]
        int QualitySize;         // 0x0078
        int QualityFine;         // 0x007c
        int MenuPosCf;           // 0x0080
        int MenuPos;             // 0x0084
        int WBCompGM;            // 0x0088
        int WBCompAB;            // 0x008c
        int ShootWithoutCard;    // 0x0090
        int CfSetButton;         // 0x0094
        int CfNoiseReduction;    // 0x0098
        int CfFlashSyncTimeAv;   // 0x009c
        int CfShutterAeButton;   // 0x00a0
        int CfAfAssistBeam;      // 0x00a4 [*]
        int CfSettingSteps;      // 0x00a8 [*]
        int CfNotEmitFlash;      // 0x00ac [*]
        int CfExtendIso;         // 0x00b0 [*]
        int CfAebSeq;            // 0x00b4
        int CfSiIndicate;        // 0x00b8
        int CfMenuPos;           // 0x00bc
        int CfMLU;               // 0x00c0
        int CfAfpSelection;      // 0x00c4
        int CfFlashMetering;     // 0x00c8
        int CfFlashSyncRear;     // 0x00cc
        int CfSafetyShift;       // 0x00d0 [*]
        int CfLensButton;        // 0x00d4
        int CfOriginalEval;      // 0x00d8
        int BatteryLevel;        // 0x00dc
        int BatteryType;         // 0x00e0
        int PrintUserProperty;   // 0x00e4
        int PrinterProperty;     // 0x00e8
        int ClusterSize;         // 0x00ec
        int RemainCluster;       // 0x00f0
        int FileID;              // 0x00f4
        int LensMinAv;           // 0x00f8
        int LensMaxAv;           // 0x00fc
        int EfLens;              // 0x0100
        int AvailShot;           // 0x0104
        int QrevImgProp;         // 0x0108
        int PrinterConnectType;  // 0x010c
        int MWDatRed;            // 0x0110
        int MWDatGreen1;         // 0x0114
        int MWDatGreen2;         // 0x0118
        int MWDatBlue;           // 0x011c
        int VideoJackConnect;    // 0x0120
        int IncompImg;           // 0x0124
        int BusyFlag;            // 0x0128
} type_CAMERA_MODE;

#define cameraMode (*(type_CAMERA_MODE*)0x16B60)

// [1] Values for AEMode
#define AE_MODE_P    0
#define AE_MODE_TV   1
#define AE_MODE_AV   2
#define AE_MODE_M    3
#define AE_MODE_ADEP 5
#define AE_MODE_AUTO 8

// [2] Values for MeteringMode
#define METERING_MODE_EVAL 0
#define METERING_MODE_SPOT 3

// [3] Values for DriveMode
#define DRIVE_MODE_SINGLE 0
#define DRIVE_MODE_BURST  1

// [4] Values for WB
#define WB_MODE_AUTO        0x00
#define WB_MODE_DAYLIGHT    0x01
#define WB_MODE_COUDY       0x02
#define WB_MODE_TUNGSTEN    0x03
#define WB_MODE_FLUORESCENT 0x04
#define WB_MODE_FLASH       0x05
#define WB_MODE_CUSTOM      0x06
#define WB_MODE_SHADE       0x07
#define WB_MODE_COLORTEMP   0x08

There are some other isolated flags, however:
Code: [Select]
// Used flags
#define FLAG_MAIN_GUI       (*(int*)(0x00001C88))
#define FLAG_CAMERA_BUSY    (*(int*)(0x00001CA8))
#define FLAG_GUI_MODE       (*(int*)(0x00001ECC))
#define FLAG_METMOD_DIALOG  (*(int*)(0x000047EC))
#define FLAG_AFSLCT_DIALOG  (*(int*)(0x00004804))
#define FLAG_FACTORY_DIALOG (*(int*)(0x000049F4))
#define FLAG_MENU_DIALOG    (*(int*)(0x00004A2C))
#define FLAG_FACE_SENSOR    (*(int*)(0x0000CD38))
#define FLAG_RELEASE_COUNT  (*(int*)(0x0000EBFC))

// Documented flags
#define FLAG_DISPLAY_ON     (*(int*)(0x00006D58))

// Values for FLAG_GUI_MODE
#define GUI_MODE_MAIN    0x00
#define GUI_MODE_REVIEW  0x01
#define GUI_MODE_MENU    0x02
#define GUI_MODE_INFO    0x04
#define GUI_MODE_ISO     0x09
#define GUI_MODE_WB      0x0A
#define GUI_MODE_AF      0x0B
#define GUI_MODE_DRIVE   0x0F
#define GUI_MODE_METER   0x0C
#define GUI_MODE_OFF     0x11
#define GUI_MODE_FLASHEV 0x1B

If there is something else to be found, Sergei is your man.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / March / 2011, 19:03:59
lol, that structure looks very promising ...
about the other flags, i should look deeper in the code...

thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: dantept on 09 / March / 2011, 06:29:05
Hi
i've heard about chdk a long time ago, but only now i've discovered that it exists for my dear 400d :-)
you are doing a fantastic job!
I'd like to use a timmer to take pictures (in P Mode) every x seconds for y hours... is it possible with the "400plus-20110306" Bin? must i use scripts for this?

can you point me to the right direction?

many thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 09 / March / 2011, 06:38:38
Hi
i've heard about chdk a long time ago, but only now i've discovered that it exists for my dear 400d :-)
you are doing a fantastic job!
I'd like to use a timmer to take pictures (in P Mode) every x seconds for y hours... is it possible with the "400plus-20110306" Bin? must i use scripts for this?

can you point me to the right direction?

many thanks!


Yes, it is possible: the "inteval" feature is just what you need.
Title: Re: Eos 400d ( Rebel XTI )
Post by: dantept on 09 / March / 2011, 11:55:15
Yes, it is possible: the "inteval" feature is just what you need.

Hi eduperez
thank you! i've found the documentation (sorry)... i see that i can set the interval up to 30 seconds.
if I want to do some timelapses with more than 30 seconds between shots, is it possible ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 09 / March / 2011, 12:43:30
Hi eduperez
thank you! i've found the documentation (sorry)... i see that i can set the interval up to 30 seconds.
if I want to do some timelapses with more than 30 seconds between shots, is it possible ?

The intervalometer goes from 1 to 101 seconds (for timelapse).
The Self timer goes from 2 to 30 seconds.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Riccardo78 on 09 / March / 2011, 15:45:02
Experimental release!
http://www.mediafire.com/?b8th69v3u8q3bcu (http://www.mediafire.com/?b8th69v3u8q3bcu) 400plus-20110306.rar

New dialog menu for custom settings. Press menu, then print button to get in the menu.

Added Self Timer shutter release. Timer can be set from 2 to 30 seconds. Set "DP Button" to "Self Timer" and use print button to activate it from  main screen.

Activation of Factory Menu has been changed: Menu, Print button twice, and menu again.

Another great work!! Thanks again!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / March / 2011, 04:16:59
Hi Sergei/Eduperez,
thanks for your job.
A question about intervalometer. I set Interval time at "2" sec and DP Button at "Self Timer" adn self Timer at "3 sec.".
I press print button and start the countdown 3 .. 2 .. 1 shot, ok, but how to have the successive shots? I understood that every 2 seconds I should get other successive shots or I didn't understand well?
Please let me know.
Thanks and regards.
Francesco
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / March / 2011, 04:28:21
Hi Sergei/Eduperez,
thanks for your job.
A question about intervalometer. I set Interval time at "2" sec and DP Button at "Self Timer" adn self Timer at "3 sec.".
I press print button and start the countdown 3 .. 2 .. 1 shot, ok, but how to have the successive shots? I understood that every 2 seconds I should get other successive shots or I didn't understand well?
Please let me know.
Thanks and regards.
Francesco


The "self timer" function just adds a (long) delay between the moment you press the button and the moment the camera takes the photograph; what you are looking for is the "interval" function: configure the delay between shots at the menu, and set DP to fire the "interval" function, not the "self timer".
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / March / 2011, 04:41:37
Great, thanks now it runs. Just a curiosity: how to stop the shutter?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / March / 2011, 04:56:05
Great, thanks now it runs. Just a curiosity: how to stop the shutter?

You have to move the main dial (change from P to Tv, for example).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / March / 2011, 05:07:42
Perfect, it runs.
But let me know: this is the version from Sergei, is there another one from you Eduperez or not yet?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / March / 2011, 05:48:52
Perfect, it runs.
But let me know: this is the version from Sergei, is there another one from you Eduperez or not yet?

For the time being, just use the latest version from Sergei; my version is just interesting for developers, and does not contain any interesting feature.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 10 / March / 2011, 06:23:47
Thanks for the clarification.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 12 / March / 2011, 17:04:53
PTP works: http://groups.google.com/group/ml-devel/browse_thread/thread/3d9300000ac8f7e (http://groups.google.com/group/ml-devel/browse_thread/thread/3d9300000ac8f7e)

My card slot is almost dead, but I hope I won't have to remove the card any more. I've already booted around 100 autoexec.bin's without touching any connector :)

The PTP structure on 550D is identical to the one used by CHDK on compacts. That's nice, since the only changes I had to do was to change some names inside the code (besides file I/O stuff). The PTP structure/functions are probably the same on 400D.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 13 / March / 2011, 03:56:28
Always thanks for your great job, Sergei.
Just a question about the new EAB feature and in particular I would like to ask you what do you mean exactly about M1 and M2 in the Extended AEB section.
Again thanks.
Francesco
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 13 / March / 2011, 04:14:50
@Sergei

The new menu option is fantastic. Thanks for your (and all the other devs) hard work. My 400D is becoming a powerhouse!   :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 13 / March / 2011, 06:41:07
Just a question about the new EAB feature and in particular I would like to ask you what do you mean exactly about M1 and M2 in the Extended AEB section.
 M1 and M2 is set-points for eaeb in manual mode. Let say M1 is set to 1/8 and M2 is set to  1/125.
When you start eaeb camera will take 5 shots (1EV between them). 1/8, 1/15, 1/30, 1/60, 1/125.
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 13 / March / 2011, 07:00:51
Just a question about the new EAB feature and in particular I would like to ask you what do you mean exactly about M1 and M2 in the Extended AEB section.
  M1 and M2 is set-points for eaeb in manual mode. Let say M1 is set to 1/8 and M2 is set to  1/125.
When you start eaeb camera will take 5 shots (1EV between them). 1/8, 1/15, 1/30, 1/60, 1/125.
 

Sorry Sergei - I am a little confused as well. Where do you go to set M1 & M2?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / March / 2011, 09:57:57
Just a question about the new EAB feature and in particular I would like to ask you what do you mean exactly about M1 and M2 in the Extended AEB section.
  M1 and M2 is set-points for eaeb in manual mode. Let say M1 is set to 1/8 and M2 is set to  1/125.
When you start eaeb camera will take 5 shots (1EV between them). 1/8, 1/15, 1/30, 1/60, 1/125.
 

Sorry Sergei - I am a little confused as well. Where do you go to set M1 & M2?

In the menu, under "Extended AEB"...
Title: Submarine mode
Post by: eduperez on 13 / March / 2011, 10:23:45
During the recent downtime of this forum, at least two people have expressed to me their concern about the future of this project; the fear of "awakening the beast", and having the project closed due to legal threats, is floating in the air. Source code and binaries must be on dozens of computers by now, and I am planing to create a local replica of both this thread and the repository at Google Code; in case of an emergency, I think we have all our bases covered... except for one aspect: contact.

So, here is my proposal: I can maintain a closed list with the emails of the people interested in this project. Should this thread disappear, I will use that list to keep people in touch, privately. Anybody who may be interested to be in that list, please send me a private message, with an email address not related to this forum.
Title: Re: Eos 400d ( Rebel XTI )
Post by: idcastandblast on 13 / March / 2011, 10:52:58
Where can I get the latest "official" release of this software and the instructions on how to install/use?  I was thinking that it had a name like 8888.rarC, but wanted to confirm with the experts.  Also, is there any documentation of the full set of features and how to use them in that version?

Thanks,
Scott
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 13 / March / 2011, 14:13:39
Where can I get the latest "official" release of this software and the instructions on how to install/use?
http://code.google.com/p/400plus/wiki/FirmwareHackInstallation (http://code.google.com/p/400plus/wiki/FirmwareHackInstallation)
try this, i tried to collect every information around and produce one-place howto.

for the documentation of the hack, it's still changing on a day basis, so no actual documentation should be expected for the time being...

@eduperez, @sergei, do you think it will be possible to add a help button when you're over a submenu in the 400plus menu. or maybe help will show after some timeout when staying over the submenu (like in mobile phones)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 13 / March / 2011, 14:14:24
PTP works: http://groups.google.com/group/ml-devel/browse_thread/thread/3d9300000ac8f7e (http://groups.google.com/group/ml-devel/browse_thread/thread/3d9300000ac8f7e)

alex, thats great !
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / March / 2011, 16:43:13
PTP works: http://groups.google.com/group/ml-devel/browse_thread/thread/3d9300000ac8f7e (http://groups.google.com/group/ml-devel/browse_thread/thread/3d9300000ac8f7e)

alex, thats great !


Yes! You cannot imagine how thankful I would be if we could have that for the 400D.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / March / 2011, 16:44:48
@eduperez, @sergei, do you think it will be possible to add a help button when you're over a submenu in the 400plus menu. or maybe help will show after some timeout when staying over the submenu (like in mobile phones)

Looks like a nice idea, but unfortunately a bit out of my reach to implement it...
Title: New release
Post by: eduperez on 13 / March / 2011, 19:33:45
Although my version is still not feature-wise up to par with Sergei's version (I have still not incorporated the new menu front-end), I thought this was a good moment to make a commit, and present in public what I have done so far:

Source at http://400plus.googlecode.com/files/400plus-20110314-0.src.zip (http://400plus.googlecode.com/files/400plus-20110314-0.src.zip).
Binary at http://400plus.googlecode.com/files/400plus-20110314-0.bin.zip (http://400plus.googlecode.com/files/400plus-20110314-0.bin.zip).

There is also a User Guide at http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide).
Hope you like.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 14 / March / 2011, 03:33:07
There is also a User Guide at http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide).
Hope you like.

very nice, thanks !
Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 14 / March / 2011, 03:37:18
WOW!
This script has quiet evolved.
Thanks a lot to you guys!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 14 / March / 2011, 06:13:55
Sergei, eduperez. Very good job.(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fwww.canonistas.com%2Fforos%2Fimages%2Fsmilies%2Fclapping.gif&hash=c33ce0c030599f9df2cfa4a9dc52ab0a)
Title: Re: Eos 400d ( Rebel XTI )
Post by: lars on 14 / March / 2011, 11:48:13
It is time for me to register here and say a big THANK YOU!
Outstanding, what you are doing here. I use the enhancements very often and have no need to buy another DSLR at the moment :-)

Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 14 / March / 2011, 12:58:17
Let's do a little bit of marketing: I installed and used the Sergei's version; which are the features that distinguish the Eduperez's version? Why somebody has to choice one instead of the one other?
Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 14 / March / 2011, 14:46:07
Hey,
I have got one question regarding Sergejs hack:
Is it possible to have the camera shoot one picture per minute until the CF card is full? If yes, how can I set it up. I tried using the interval mode but frankly, I don't know how to use it.
It would be better if Sergej had a googlecode page where he placed a description of all the functions, similiar to eduperez's one. A always up to date descriptions will be really cool!

Eduperez: your work is also cool, but your hack lacks the nice menu Sergej has. With the menu it will be up to par.

Thanks again you guys, the hacks are really awesome!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 14 / March / 2011, 16:13:27
Let's do a little bit of marketing: I installed and used the Sergei's version; which are the features that distinguish the Eduperez's version? Why somebody has to choice one instead of the one other?

@chross, @Kekk_400D:
perhaps Eduardo would explain better, but they will become one version eventually. Eduardo is still remastering the code. Soon Sergei will switch to the new codebase I believe (when it's ready) and hopefully more developers will come around.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 14 / March / 2011, 17:35:52
Sergei's version has a much nicer menu rendering, while mine has some subtle modifications:


The new menu front-end is the first visible improvement that I have in mind.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 14 / March / 2011, 18:05:17
Thanks again, I will wait for the new unified code.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Tom2009 on 14 / March / 2011, 20:09:26
is this possible on the d400?

This script attempts is meant to shoot time-lapse videos of sunsets: starting from full daylight and ending in full night, always adapting exposure for a correct shot!

http://chdk.wikia.com/wiki/UBASIC/Scripts:_Time_lapse_script_variable_shutter_speed (http://chdk.wikia.com/wiki/UBASIC/Scripts:_Time_lapse_script_variable_shutter_speed)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / March / 2011, 02:21:07
is this possible on the d400?

This script attempts is meant to shoot time-lapse videos of sunsets: starting from full daylight and ending in full night, always adapting exposure for a correct shot!

http://chdk.wikia.com/wiki/UBASIC/Scripts:_Time_lapse_script_variable_shutter_speed (http://chdk.wikia.com/wiki/UBASIC/Scripts:_Time_lapse_script_variable_shutter_speed)

No: you can set the camera at P mode and hope it will choose a correct exposure, but the current intervalometer just fires the shutter at regular intervals, there is no exposure correction. You could increase your chances using the intervalometer plus the extended-AEB, but that is all.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 15 / March / 2011, 17:39:40
I show you the fantastic work of Jmtd (http://www.canonistas.com/foros/400d/151560-tutorial-medicion-puntual-e-iso-16-3200-en-400d-67.html#post2793864), a member of www.canonistas.com (http://www.canonistas.com).

 (https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fimg692.imageshack.us%2Fimg692%2F3893%2Ffuncionalidades400d2011.jpg&hash=335857682c9a1a26a92ffe8954ff6f42) (http://img692.imageshack.us/img692/3893/funcionalidades400d2011.jpg)
Title: Re: Eos 400d ( Rebel XTI )
Post by: hairsup on 15 / March / 2011, 22:03:05
this thread is the reason why I still have the 400D with me XD
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 16 / March / 2011, 05:30:45
I'd like to thank you for this work!

Can I help translating guides in Italian?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 16 / March / 2011, 09:32:22
I show you the fantastic work of Jmtd, a member of www.canonistas.com (http://www.canonistas.com).

Download at this link: http://img692.imageshack.us/img692/3893/funcionalidades400d2011.jpg (http://img692.imageshack.us/img692/3893/funcionalidades400d2011.jpg)

really nice work, thanks !
Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 17 / March / 2011, 08:10:16
Question: is it possible to have something like a focus trap, that shoots whenever the AF light lights up?
People on this German forum suggested taping a contact on the lens body, which will result in the camera shooting if the trigger is pushed halfway and the camera gets an "in-focus" signal: http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.dslr-forum.de%2Fshowthread.php%3Ft%3D165289%26highlight%3Dfokusfalle%26page%3D4 (http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.dslr-forum.de%2Fshowthread.php%3Ft%3D165289%26highlight%3Dfokusfalle%26page%3D4)

Also, is it possible to trigger the "aperture preview" by software? If yes, a function that triggers that button and holds it would be nice. The reason is that I have spacer rings for my 400d to use my standard lenses as macro lenses. This works quite well but I have to preselect the aperture via press and hold "aperture preview", unscrew the objective while holding the button, mount spacer rings, mount objective. It were better if the aperture preview could be locked so it gets more comfortable.

Cheers,
christian
Title: Re: Eos 400d ( Rebel XTI )
Post by: ym_afiq on 17 / March / 2011, 11:12:24
just wanna ask something..
how do i revert back this hack .
i try to format my CF but my 400d wouldnt start if the CF is empty.
sometimes i had OOF problem when taking a photo after upgrading to the latest version of this hack..
please advise..tq..
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / March / 2011, 11:52:29
Question: is it possible to have something like a focus trap, that shoots whenever the AF light lights up?
People on this German forum suggested taping a contact on the lens body, which will result in the camera shooting if the trigger is pushed halfway and the camera gets an "in-focus" signal: http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.dslr-forum.de%2Fshowthread.php%3Ft%3D165289%26highlight%3Dfokusfalle%26page%3D4 (http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.dslr-forum.de%2Fshowthread.php%3Ft%3D165289%26highlight%3Dfokusfalle%26page%3D4)
what is the purpose of this ?

Also, is it possible to trigger the "aperture preview" by software? If yes, a function that triggers that button and holds it would be nice. The reason is that I have spacer rings for my 400d to use my standard lenses as macro lenses. This works quite well but I have to preselect the aperture via press and hold "aperture preview", unscrew the objective while holding the button, mount spacer rings, mount objective. It were better if the aperture preview could be locked so it gets more comfortable.

i have spacer rings too but they relay the pins to the lens and i can change the aperture from the body.
are you sure you have to do the trick with unmounting the lens and then mount them back with the rings ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / March / 2011, 11:54:40
just wanna ask something..
how do i revert back this hack .
i try to format my CF but my 400d wouldnt start if the CF is empty.
sometimes i had OOF problem when taking a photo after upgrading to the latest version of this hack..
please advise..tq..

you shouldn't have problems removing the hack... removing AUTOEXEC.BIN from the CF is enough... formating will do it too... and if you have problems with starting the camera and other OOF problems it  could be problem with the camera itself ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 17 / March / 2011, 12:06:42
Trap focus is very useful for manual lenses: it will take a picture when the subject comes in focus.

Does the 400D have live view? On 550D, trap focus is much more accurate in live view than with the classic AF sensor.
Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 17 / March / 2011, 12:28:00
Exactly,
Trap focus takes a picture when your camera gets focus. While obsolete with autofocus, you still can use it to take pictures of shy animals etc.

And yes, my spacer rings do not forward the signals so i need to set this in advance
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 17 / March / 2011, 15:10:39
Just wanted to say: Thank you so much for doing all this.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / March / 2011, 16:48:27
Question: is it possible to have something like a focus trap, that shoots whenever the AF light lights up?
People on this German forum suggested taping a contact on the lens body, which will result in the camera shooting if the trigger is pushed halfway and the camera gets an "in-focus" signal: http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.dslr-forum.de%2Fshowthread.php%3Ft%3D165289%26highlight%3Dfokusfalle%26page%3D4 (http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.dslr-forum.de%2Fshowthread.php%3Ft%3D165289%26highlight%3Dfokusfalle%26page%3D4)

AFAIK, nobody has found how to talk to the AF system, yet; the answer is no. You know you can also use an AF confirmation chip, don't you? Those can be found relatively cheap on eBay.

Also, is it possible to trigger the "aperture preview" by software? If yes, a function that triggers that button and holds it would be nice. The reason is that I have spacer rings for my 400d to use my standard lenses as macro lenses. This works quite well but I have to preselect the aperture via press and hold "aperture preview", unscrew the objective while holding the button, mount spacer rings, mount objective. It were better if the aperture preview could be locked so it gets more comfortable.

Can you just use the "DOF Preview" button?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / March / 2011, 16:49:29
just wanna ask something..
how do i revert back this hack .
i try to format my CF but my 400d wouldnt start if the CF is empty.
sometimes i had OOF problem when taking a photo after upgrading to the latest version of this hack..
please advise..tq..

Did you FORMAT the card, or did you just DELETE the contents of the card?
Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 17 / March / 2011, 17:11:35
Hey eduperez,
thanks for the reply. I know that I can use a AF chip, just thought that it'd be nice to include, if possible. Since it can be done by taping one electrical contact, I thought it might be done by software.

And yes, I can use the DOF preview button, but at times, it is a bit complicated when you have your hands full of lenses and the camera. Nevermind if it is too much work or impossible at all, was merely a suggestion.

Keep up the good work!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / March / 2011, 20:43:05
Here we are again, now with a fancy new menu, copied from Sergei:


I will be unreachable for some days... try not to break anything while I am out!

UPDATE: Fixed a bug (highlighted line does not match active line when returning to menu).
UPDATE: Fixed another bug (flash-related options act inverted).
Title: Re: Eos 400d ( Rebel XTI )
Post by: lars on 18 / March / 2011, 05:41:04
Thank you! Will test this next weekend :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 18 / March / 2011, 05:56:28
don't know if someone is interested, there's a user guide in italian
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 18 / March / 2011, 11:06:32
a question... it is possible to turn off screen during script executing? it would be great to preserve power consumption, e.g. using intervalometer
Title: Re: Eos 400d ( Rebel XTI )
Post by: pmllc on 18 / March / 2011, 13:05:13
Really great job segei and eduperez, but i'm not able to configure extEAB in eduperez last version... Did i miss something ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 18 / March / 2011, 13:18:00
Yes, you did.
Goto 400d-Menu, EAEB>Delay and press MENU to switch between different settings.
Working on a german manual, if anyone is interested.
Title: Re: Eos 400d ( Rebel XTI )
Post by: pmllc on 18 / March / 2011, 13:28:11
Yes, you did.
Goto 400d-Menu, EAEB>Delay and press MENU to switch between different settings.
Working on a german manual, if anyone is interested.
Thanks a lot, i missed the menu function ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 18 / March / 2011, 15:04:35
I think the 1st version of the
german user-manual
(translated the follwing http://code.google.com/p/400plus/wiki/UserGuide, (http://code.google.com/p/400plus/wiki/UserGuide,) date: March, 18th )
is ready to be released if someone is interested in it:

Title: Very impressive work... Thanks to all!
Post by: guffster on 18 / March / 2011, 20:54:51
Here we are again, now with a fancy new menu, copied from Sergei:

  • Source at http://400plus.googlecode.com/files/400plus-20110318-2.src.zip (http://400plus.googlecode.com/files/400plus-20110318-2.src.zip).
  • Binary at http://400plus.googlecode.com/files/400plus-20110318-2.bin.zip (http://400plus.googlecode.com/files/400plus-20110318-2.bin.zip).
  • User Guide at http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide).

I will be unreachable for some days... try not to break anything while I am out!

UPDATE: Fixed a bug (highlighted line does not match active line when returning to menu).
UPDATE: Fixed another bug (flash-related options act inverted).

Very impressive work...  It's great to see these kinds of features made available to the 400D/XTi.  The user interface is clean, simple, and very easy to use!  Can't wait to see what is added next!  Maybe soon someone will have the opportunity to re-examine adding an AUTO-ISO feature to the Creative Zones.

This forum has definitely become fun to watch again - 55 pages of forum entries and counting!  Nice.

My 400D and I thank you all.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 19 / March / 2011, 20:23:55
hi
finally i started learning the code...
i wanted to start with the PTP stuff...
unfortunately i overestimated myself - i am far away from the reverse engineering/disassembling stuff (atleast for now)
good news is that a1ex gave me a hand and pointed me in the right directions... but it will take time to learn basic things...

for now i wanted to see if i can find some handlers in ptp communications with the current code base...
by examining the code i found how can i enable debug mode so the firmware started to write STDOUT.TXT
unfortunately i do not fully understand it...
i've got the ptpcam version which is patched for CHDK operations...
here is sample of my log related to chdk ptp operation call 0x9999

Code: [Select]
 4450:  239270 [FACE] Temperature:27 TempGain:0
[CmndMgr]WARNING: NotFind!!, GetPTPOperationFunction()
 --- OperationCode = 0x9999                                                    // AF: 0x9999 = CHDK
[FramCtrl]WARNING: Entry:DoDefaultUndefine()
  4451:  247300 [PTPOPE]OperationCode:0x1002,P1:1,P2:0,P3:0     // AF: 0x1002 = OpenSession
  4452:  247310 [PTPOPE]OperationCode:0x1001,P1:0,P2:0,P3:0     // AF: 0x1001 = GetDeviceInfo
  4453:  247320 [PTP]USBConnectStatus:3
  4454:  247320 [MC] T:0012, S:0002, 75
  4455:  247320 [RIF]RIF_PtpConnectUILock:1
  4456:  247330 [PTPOPE]OperationCode:0x9999,P1:0,P2:0,P3:0     // AF: 0x9999 = CHDK
  4457:  247330 [MC] T:0004, S:0002, 76
  4458:  247340          act:0141
  4459:  247360 [MC] T:0001, S:0002, 77
  4460:  247360 [MAIN] Temp. 235(EB)

excuse my terminology, but i'm not sure know the right words in english...
the first number seems to be incrementing line number in the log...
im not sure what is the next number, but it seems it is incrementing too (may be with each call?)
the string in the brackets [] seems to indicate which submodule is working
then follows the message

how can i understand what is [MC], [RIF], [PTPOPE], [CmndMgr], [FramCtrl] ?
i can guess the names for some (PTPOPE = PtpOperations, RIF = RemoteInterFace?), but what exactly is this ?

it seems that the function which is looking for the PTP handlers is called: GetPTPOperationFunction()
the only closest routine name i found is:
funclist.txt:DEF(aBugGetptpopera, 0xFFA626B4)
i suspect it is the right one, but i'm little confused because of "aBug" prefix...

i've started with something which a1ex pointed me: http://www.mweerden.net/chdk_ptp.html (http://www.mweerden.net/chdk_ptp.html)
but for now i do not have memory dump, neither tools/knowledge to examine it, so if someone have a dump which i can use for a start (or i should learn how to use 'COPY' function from the code)...
i could try to find the structure describing the handlers and the function which adds them to the list...
i'm not sure i can handle examining the dump, but it will be a good place to start...

i know my question may sound silly right now, for some of you it may look like an open book, but i'm just a beginner in this area ... and ASM for ARM will make things even more difficult to me... i would like to look back to this post after some time and say "how stupid i must have been to ask such things...:)", but it will take time or may be will never happen, but never hurts to try ;).

Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 21 / March / 2011, 04:54:33
Here we are again, now with a fancy new menu, copied from Sergei:

  • Source at http://400plus.googlecode.com/files/400plus-20110318-2.src.zip (http://400plus.googlecode.com/files/400plus-20110318-2.src.zip).
  • Binary at http://400plus.googlecode.com/files/400plus-20110318-2.bin.zip (http://400plus.googlecode.com/files/400plus-20110318-2.bin.zip).
  • User Guide at http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide).

I will be unreachable for some days... try not to break anything while I am out!

UPDATE: Fixed a bug (highlighted line does not match active line when returning to menu).
UPDATE: Fixed another bug (flash-related options act inverted).

Not bad. Your menu version is much more smoother, and has way less lag than Sergei's version.

Might I suggest that you change your lower case "yes" and "no"'s to A capitalized first letter.
Such as "Yes" and "No".
Example would be "ISO In Viewfinder: Yes"

It looks more professional if it's capitalized. Just a suggestion!

I personally WANT to use your version, but the nonprofessional look of the lower cased letters bug me. Haha :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 21 / March / 2011, 05:43:52
i personally prefer all-lower-case ;) looks more geeky... but perhaps sizzlincok is right...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Josean0 on 21 / March / 2011, 06:19:10
With the permission of Sergei and eduperez.
I think that we should open a discussion on the order of menu options 400plus.
I have a particular version [DP Button] or [DP action] first.

Sorry for my bad English  8).
Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / March / 2011, 12:08:52
Hi guys.

Glad to know you liked the new version; and many thanks for the translations, I am sure they will be very useful.

Please let me remember you there is a page at http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list) where all your bug reports and feature requests are welcome. I will continue to use this thread for the announcements, and will obviously take note of any issued posted here, but having them all in a place would be very nice. Plus you will get an email as soon as yours gets fixed or done!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / March / 2011, 18:42:00
With the permission of Sergei and eduperez.
I think that we should open a discussion on the order of menu options 400plus.
I have a particular version [DP Button] or [DP action] first.

Sorry for my bad English  8).
Thanks.


I all ears on this... I am willing to implement whatever consensus is reached here; just one comment: I plan to change the way the DP button works, and soon the "DP Action" menu entry will be removed.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 22 / March / 2011, 03:04:29
What i just realized: When using EAEB + Handwavescript it is not possible to shoot with the shutter button.
I'd love to have both options of firing at the same time.
Is this somehow possible?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / March / 2011, 06:19:23
a question... it is possible to turn off screen during script executing? it would be great to preserve power consumption, e.g. using intervalometer

Looks interesting, and probably can be done, but requires some investigation; I have added an issue: http://code.google.com/p/400plus/issues/detail?id=11 (http://code.google.com/p/400plus/issues/detail?id=11).
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / March / 2011, 06:23:28
What i just realized: When using EAEB + Handwavescript it is not possible to shoot with the shutter button.
I'd love to have both options of firing at the same time.
Is this somehow possible?

Sorry, but I do not understand under which situations can this be useful, or what do you expect from the camera... can you elaborate on that a bit more, please?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 22 / March / 2011, 11:35:16
I am glad the forum is running again.
If I am reading right, you are trying to limit the hand wave feature by not allowing it to be left on anymore?  Do you think you should where it has been so popular

Has there been any progress in making fine tuning of the shutter speeds available?
There is no reason a digital camera should have such limited options, its not like you have to add a new gear for each timing.
This would allow for much greater control of the look of motion in the photos.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 22 / March / 2011, 13:14:11
Sorry, but I do not understand under which situations can this be useful, or what do you expect from the camera... can you elaborate on that a bit more, please?
Well, mostly i shoot on a tripod -> handwave is fantastic
Sometimes i shoot 9 Frames in a row e.g. of my 18 month old daughter
(EAEB is somehow used to increase the propability of a perfect shot;
because of the agility of her it is not possible to use a tripod and i'm in the need of using the viewfinder to shoot.
In this case using the handwave isn't my preffered way of shooting.
Of course i could turn the script off for these shots,
but this means to change more settings and this is a little annoying in my opinion.

In short words:
I'd love that the cam fires when i press the button OR i wave.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / March / 2011, 14:57:51
I am glad the forum is running again.
If I am reading right, you are trying to limit the hand wave feature by not allowing it to be left on anymore?  Do you think you should where it has been so popular

Yes, having that feature "always on" was wrong, IMHO: first, because it was confusing for the user (is it on? is it off? why did this damn camera just fired? ..?); and second because having a task running continuously (even if it sleeps at intervals) can affect the battery duration. In my version it must be started explicitly, before each shot, using the DP button. I can add an option to make it run endlessly (*), if that is useful.

Has there been any progress in making fine tuning of the shutter speeds available?
There is no reason a digital camera should have such limited options, its not like you have to add a new gear for each timing.
This would allow for much greater control of the look of motion in the photos.

Well, the parameter used by camera to specify the shutter speed "jumps" 3 bits per EV: that means that a precision of 1/8EV could be possible; or perhaps the camera expects the same notation that is used for EV compensation (my bet), and then only 1/2, 1/3 and 2/3 EV drifts are allowed. It should not cost a lot to make a couple of experiments; but frankly, I do not see the need: 1/3EV precision seems enough for me.

(*) "endlessly" is probably not a good idea, we must have a method to stop it, and the face detector is obviously not a viable option. I would prefer to use a button (DP if possible), but the camera jumps between modes while a script is running, and that method may not be reliable... just some random rambling, anyway.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / March / 2011, 15:18:42
Sorry, but I do not understand under which situations can this be useful, or what do you expect from the camera... can you elaborate on that a bit more, please?
Well, mostly i shoot on a tripod -> handwave is fantastic
Sometimes i shoot 9 Frames in a row e.g. of my 18 month old daughter
(EAEB is somehow used to increase the propability of a perfect shot;
because of the agility of her it is not possible to use a tripod and i'm in the need of using the viewfinder to shoot.

I also have a daughter, and can feel your "pain" (18 months old children are quiet, believe me), but isn't EAEB a bit like playing the lottery? You may get a perfect shot, but the exposure can be completely off! You know you can set the Wave script to start the Interval script (with a timeout of 0s between shots, and a limited number of shots), don't you?

In this case using the handwave isn't my preffered way of shooting.
Of course i could turn the script off for these shots,
but this means to change more settings and this is a little annoying in my opinion.

In short words:
I'd love that the cam fires when i press the button OR i wave.

Even if the camera is running the Wave script, you can still use the shutter button, to fire it normally; so you can wave your hand to make a round of shots, or use the shutter button to make one normal shot. If that is not enough, I can think of something else.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 22 / March / 2011, 15:42:02
How can an option be wrong?
Particularly when its popular.

And as for shutter speed i am talking when the photographer sets it, not when its calculated.
Most particularly in Tv mode.
Jumps from 1/20s , 1/25s, 1/30s, to 1/40s.
These jumps are much to large and come from a time where cameras had mechanical limits.
If one could have greater control of this scale, pictures of moving objects could be made more dramatic and time lapse will look better too.
When you talk of EV's its more related to film speed than shutter speed.
Accurate control length of time between the two shutters would be a great asset to getting the perfect shot in sports photography to.
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / March / 2011, 15:55:08
How can an option be wrong?
Particularly when its popular.

No, I did not say the feature was wrong; I think the way it was implemented was wrong. Remember there is a Wave option in my version, and I have also offered a new option to make it run endlessly.

And as for shutter speed i am talking when the photographer sets it, not when its calculated.

Yes, I understood what you meant.

Most particularly in Tv mode.
Jumps from 1/20s , 1/25s, 1/30s, to 1/40s.
These jumps are much to large and come from a time where cameras had mechanical limits.
If one could have greater control of this scale, pictures of moving objects could be made more dramatic and time lapse will look better too.
When you talk of EV's its more related to film speed than shutter speed.
Accurate control length of time between the two shutters would be a great asset to getting the perfect shot in sports photography to.

I still do not find it useful; perhaps it us just me, or the use I give to my camera. But I try to be open for new ideas, and will give it a try as soon as I find the time, if nobody else does it before.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / March / 2011, 17:52:09
How can an option be wrong?
Particularly when its popular.

No, I did not say the feature was wrong; I think the way it was implemented was wrong. Remember there is a Wave option in my version, and I have also offered a new option to make it run endlessly.


@all,
I personally find it very annoying if the wave script is always on... The camera starts to shoot when I take a look through the view finder, sometimes even when I hold the camera close to my body it starts to shoot...
very annoying... I've started to use the wave option just after Eduardo implemented it in the new version.

@eduardo,
Perhaps your suggestion to have endless option will satisfy everyone.
One more thing: The wave option doesn't seems to work in [M]-BULB, which is normal I guess, but since you're familiar with the code, do you think it can be made working (though i'm not sure how one should stop the camera after it was started in bulb...) ? And do you believe it is possible to extend the max time of the camera from 30 sec to 60 (or 90) for example (this could eliminate the need of bulb, atleast for me) ?

I'm preparing for the spring's lightenings and this time I think I'm going to use the interval script, but i'll need more than 30 secs exposure. I even have a dead battery which will become a nice plug to the camera for an external adapter.

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / March / 2011, 18:23:06
Perhaps your suggestion to have endless option will satisfy everyone.

It is already up in the SVN repository: there is a new option to the Wave script to make it loop endlessly; and all the scripts are stopped now using the DP button (hope it always works as expected), because I needed to be able to stop the script and the face sensor was no longer a viable option.

One more thing: The wave option doesn't seems to work in [M]-BULB, which is normal I guess, but since you're familiar with the code, do you think it can be made working (though i'm not sure how one should stop the camera after it was started in bulb...) ? And do you believe it is possible to extend the max time of the camera from 30 sec to 60 (or 90) for example (this could eliminate the need of bulb, atleast for me) ?

I'm preparing for the spring's lightenings and this time I think I'm going to use the interval script, but i'll need more than 30 secs exposure.

We could try to use "out of range" values for the shutter speed, and see what happens, but I would not hold my breath. Other than that, I have no idea how to control the shutter; sorry.

I even have a dead battery which will become a nice plug to the camera for an external adapter.

Looks like an interesting project, would love to hear about your results.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / March / 2011, 18:48:23
We could try to use "out of range" values for the shutter speed, and see what happens, but I would not hold my breath. Other than that, I have no idea how to control the shutter; sorry.
thanks for the hint, I could try it myself (unfortunately tomorow) and I'll post if it works.

I even have a dead battery which will become a nice plug to the camera for an external adapter.
Looks like an interesting project, would love to hear about your results.

I'll make some photos of it when it's ready. It should be pretty easy to do it - I just need to disembowel (or perhaps "draw" is the right word) the battery and soldier the cable from the DC (impulse) adapter to the pins of the battery. I'll post the results.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / March / 2011, 19:07:13
just uploaded the Italian (http://code.google.com/p/400plus/wiki/UserGuideItalian (http://code.google.com/p/400plus/wiki/UserGuideItalian)) and the German (http://code.google.com/p/400plus/wiki/UserGuideGerman (http://code.google.com/p/400plus/wiki/UserGuideGerman)) translations of the UserGuide (http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide)) to the Wiki of the project.

@ataru, @Speedy: please check them.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / March / 2011, 19:33:34
@eduperez, @sergei:
guys may be it's a long shot but do you think it would be possible to add ISO bracketing ?
camera should make one shot, but save 3 or more files with different ISO value ?
AFAIK different ISO needs different currents on the sensor, which means that we will need access to internal routine for taking a shot, or perhaps direct access to the sensor. I'm not really sure we can handle this because we will need to implement our routine for making a shot - reading data from sensor, manipulate it (if it's needed) and save it to the CF.
I might be totally wrong here though.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 22 / March / 2011, 22:03:07
Hi guys.

Glad to know you liked the new version; and many thanks for the translations, I am sure they will be very useful.

Please let me remember you there is a page at http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list) where all your bug reports and feature requests are welcome. I will continue to use this thread for the announcements, and will obviously take note of any issued posted here, but having them all in a place would be very nice. Plus you will get an email as soon as yours gets fixed or done!

How does one enter a new "Feature Request" at the google 400plus site at http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list)?  The only categories for new entries I see there are "Issues"...  Or is a "Feature Request" just an "Issue"?  I have a couple of ideas and would like to add a few.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / March / 2011, 02:25:36
just uploaded the Italian (http://code.google.com/p/400plus/wiki/UserGuideItalian (http://code.google.com/p/400plus/wiki/UserGuideItalian)) and the German (http://code.google.com/p/400plus/wiki/UserGuideGerman (http://code.google.com/p/400plus/wiki/UserGuideGerman)) translations of the UserGuide (http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide)) to the Wiki of the project.

@ataru, @guffster: please check them.

@0xAF: Even if I do not speak Italian or German... thanks!

@ataru, @guffster: If you are willing to maintain those translation in the wiki yourselves, please send me a PM with your email and I will grant you access.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / March / 2011, 03:23:08
@eduperez, @sergei:
guys may be it's a long shot but do you think it would be possible to add ISO bracketing ?
camera should make one shot, but save 3 or more files with different ISO value ?
AFAIK different ISO needs different currents on the sensor, which means that we will need access to internal routine for taking a shot, or perhaps direct access to the sensor. I'm not really sure we can handle this because we will need to implement our routine for making a shot - reading data from sensor, manipulate it (if it's needed) and save it to the CF.
I might be totally wrong here though.

AFAIK, hardware ISO is implemented as a linear amplifier, sitting in the pipeline between the photosites and the digital-to-analog converter; as such, it can only be used once, because the photosites cannot store their analog value for a second readout.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 23 / March / 2011, 03:24:29
When you say guffster i suppose you meant Speedy?^^
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 23 / March / 2011, 03:51:01
AFAIK, hardware ISO is implemented as a linear amplifier, sitting in the pipeline between the photosites and the digital-to-analog converter; as such, it can only be used once, because the photosites cannot store their analog value for a second readout.

i thought so, then i was thinking if we can make the exposure 3 times longer for taking 3 different readings from the sensor ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 23 / March / 2011, 03:54:12
When you say guffster i suppose you meant Speedy?^^

Speedy, I apologize, it was my mistake. I took the name from the next post. Sorry for that. Corrected !

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 23 / March / 2011, 06:36:35
I dont see where you set the time period for the interval.

If the Display off switch turns off the scripts, then you cant use the viewfinder while they run and its easy to mistakenly turn it off.

If three hand waves are used to take pics, like I said when I came up with the idea of using the IR proximetry switch, it wont spook you by going off by itself. ( not wearing a red shirt helps too, lol).

Needing to hit a button before using the hand wave takes away the ability to use camera when your hands are dirty. Feeding a baby and many other nature shots require getting dirty.

While the mirror is locked up, I wonder if it will allow motion detection or live preview?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / March / 2011, 07:11:44
I dont see where you set the time period for the interval.

Open the menu and navigate down to the "Interval" item, then press "MENU" until the "Time (s)" sub-item is displayed; use LEFT and RIGHT to change the value.

If the Display off switch turns off the scripts, then you cant use the viewfinder while they run and its easy to mistakenly turn it off.

The face detector no longer stops the scripts (code is already up in the repository, but binary has still not been released); now I use the DP button to stop the scripts.

If three hand waves are used to take pics, like I said when I came up with the idea of using the IR proximetry switch, it wont spook you by going off by itself. ( not wearing a red shirt helps too, lol).

Needing to hit a button before using the hand wave takes away the ability to use camera when your hands are dirty. Feeding a baby and many other nature shots require getting dirty.

Any kind of "magic" detection we implement will be, sooner or later, either too hard or too easy to trigger for someone; I prefer a more "explicit" approach:

As I wrote in a previous post, the Wave script can now run continuously (again, code is already up in the repository, but binary has still not been released); so you only need to have your hands clean while you set up the camera and fire the Wave script. The only difference from the previous implementation is that you have to press the DP button (once) to start the script; then you can wave your hand (once) for each shot, as may times as you want.

Is this acceptable?

While the mirror is locked up, I wonder if it will allow motion detection or live preview?

No: AFAIK the sensor on the 400D does not allow for live preview (and motion detection depends on live preview, if I am not mistaken); the hardware is just not ready for that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 23 / March / 2011, 07:27:04
Much more than acceptable, its excellent.

I still wonder if we can make a new kind of motion detection that depends on metering or autofocus?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / March / 2011, 07:40:19
Much more than acceptable, its excellent.

Glad to know!

I still wonder if we can make a new kind of motion detection that depends on metering or autofocus?

Sorry, no idea on this one.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 23 / March / 2011, 07:45:50
If the interval option could be set to only use a user inputted range of focus distances it might be used as a motion detector and also stop pics of the windshield on car trips. Maybe you could trick it into thinking it has a custom lens on? or get the focus distance data?
Or maybe get the data from a shutter button half press and see if it was different from last half press and if it is do a full shutter release?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / March / 2011, 17:11:36
@all,
I personally find it very annoying if the wave script is always on... The camera starts to shoot when I take a look through the view finder, sometimes even when I hold the camera close to my body it starts to shoot...
very annoying... I've started to use the wave option just after Eduardo implemented it in the new version.
Have you tried my version? My wave script is checking for timed intervals and they are so short. No body would move their face like that quick in front of their camera.
Did anybody notice shorter battery life after wave script was added? Convenience vs. battery life. In this case one line menu is the way to go. It takes less CPU cycles to create it .   :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / March / 2011, 17:34:53
New version, mostly to add the option to run the Wave script endlessly:

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 23 / March / 2011, 20:48:53
Thank you very much, the single wave repeater script works very well.
I wouldnt want to lose it even if someone adds back in the full time multi-wave option.
I never noticed any battery drain with the old full time double wave option but I didnt really measure.



Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 23 / March / 2011, 21:31:33
When you say guffster i suppose you meant Speedy?^^

Yep, he meant Speedy!  :)  An oversight I'm sure.  Nice job on the translation by the way.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / March / 2011, 03:38:37
Have you tried my version? My wave script is checking for timed intervals and they are so short. No body would move their face like that quick in front of their camera.
Did anybody notice shorter battery life after wave script was added? Convenience vs. battery life. In this case one line menu is the way to go. It takes less CPU cycles to create it .   :D

Hi Sergei, yes I had problems wth that exactly... it seems when I press some buttons on the camera I activate the face detector, then it will shoot accidentally. I personally prefer a way to enable/disable that function.

About the battery shortage, I haven't noticed anything like that. My original battery is dead now (becoming an adapter today :) ), I have spare battery and I brought 2 more batteries from ebay for 7 GBP, so I dont really care how much battery the menu will drain. One battery is enough for me to shoot more than one day (unless I make long exposures).
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / March / 2011, 03:42:20
@Speedy @ataru:
Eduardo updated the UserGuide, please provide an updated paragraphs, so I can update the translations.
Take a look at the differences here: http://code.google.com/p/400plus/source/diff?spec=svn201&r=201&format=side&path=/wiki/UserGuide.wiki (http://code.google.com/p/400plus/source/diff?spec=svn201&r=201&format=side&path=/wiki/UserGuide.wiki)

Other possibility is to ask Eduardo to give you access to the wiki, so you can update the translations yourselves.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 24 / March / 2011, 07:09:31
Fully updatetd german version of the userguide:
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / March / 2011, 08:25:05
Fully updatetd german version of the userguide:

Speedy, can you please provide only the changed paragraphs, because with the full version I'll have to reformat it again and create it from scratch, which is time consuming. I do not speak german and it is hard for me to find the changes in the document.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 24 / March / 2011, 09:50:16
Ah, i se; of course i can:

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / March / 2011, 10:28:15
Ah, i se; of course i can:

thanks, updated.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / March / 2011, 03:30:29
Guys today we have the first automated build in the download section (http://code.google.com/p/400plus/downloads/list (http://code.google.com/p/400plus/downloads/list)).
From now on, everyday there will be new build of the current version of the code (uploaded around 04:25 GMT in the morning).
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 25 / March / 2011, 09:40:57
Guys today we have the first automated build in the download section (http://code.google.com/p/400plus/downloads/list (http://code.google.com/p/400plus/downloads/list)).
From now on, everyday there will be new build of the current version of the code (uploaded around 04:25 GMT in the morning).

To clarify, these are now the new builds with the menu?
Or the old style in the info screen?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / March / 2011, 10:07:23
To clarify, these are now the new builds with the menu?
Or the old style in the info screen?

Yes, this is the reworked code from Eduardo, which is hosted on code.google.com.
And yes, it has the new menu structure which Sergei developed.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / March / 2011, 18:04:03
I think it would be a bit better in the wave option if it took pictures while something is in front of the sensor instead of when something moves away from it.
This way it will take the picture faster with just one motion instead of 2.
Also if you wanted a stranger to take a pic of you, you could set it and all they would have to do is look threw view finder and it will take a picture or a few pics if you set repeating.
They wouldn't even have to find the button. But you better warn them first in case it scares them.

Sound good?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / March / 2011, 18:42:10
Is it possible to change the shoot RAW while in auto modes to another button(maybe the WB button)
so that the DP button can still do the function you set it to while in the auto modes?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / March / 2011, 19:04:55
Instead of just having one of the functions available on the DP button could two more be put on the Jump and Erase button because they don't do anything when not in playback mode?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / March / 2011, 08:01:25
I think it would be a bit better in the wave option if it took pictures while something is in front of the sensor instead of when something moves away from it.
This way it will take the picture faster with just one motion instead of 2.
Also if you wanted a stranger to take a pic of you, you could set it and all they would have to do is look threw view finder and it will take a picture or a few pics if you set repeating.
They wouldn't even have to find the button. But you better warn them first in case it scares them.

Sound good?

Done.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / March / 2011, 08:01:46
Is it possible to change the shoot RAW while in auto modes to another button(maybe the WB button)
so that the DP button can still do the function you set it to while in the auto modes?

Done.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / March / 2011, 08:05:32
Instead of just having one of the functions available on the DP button could two more be put on the Jump and Erase button because they don't do anything when not in playback mode?
Neither JUMP nor PLAY are detected by our hack; unless someone manages to change the core routines, I am afraid that those buttons are not available to us. However, I have plans to change the behavior of the DP button: please see issues 4, 5, and 6 at http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list).
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 27 / March / 2011, 08:01:16
Done, Done?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / March / 2011, 01:36:27
Done, Done?

Yep! Those changes have already been committed to the SVN repository, and are waiting for the next official release (I expect to make a release around midnight [GMT time]). You can give a try to the bleeding-edge nightly build at http://code.google.com/p/400plus/downloads/detail?name=400plus-20110328-r214.zip (http://code.google.com/p/400plus/downloads/detail?name=400plus-20110328-r214.zip), but remember nightly builds are preview versions, and can contain unfinished work.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 28 / March / 2011, 02:38:45
For the version updated weekly to the repository, the changeable colour temp in the 400plus menu has no effect on the final image.

I have selected white balance, then pushed the DP button to activate custom K white balance, but still no affect on the final image.

Sergei's menu version has immediate effect after changing the value in the menu without going to WB then pressing DP. Yours doesn't eduperez, even if the colour temp is set to K.

Maybe I'm doing something wrong?
All the images come out blue regardless of what Kelvin (colour temp) I set.

----------------------

The shortcuts DP button works, but deactivating the shortcut menu, and setting it to my preference of ISO change only does not work as well.
The shortcuts menu still appears.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / March / 2011, 03:14:38
For the version updated weekly to the repository, the changeable colour temp in the 400plus menu has no effect on the final image.

I have selected white balance, then pushed the DP button to activate custom K white balance, but still no affect on the final image.

Sergei's menu version has immediate effect after changing the value in the menu without going to WB then pressing DP, yours doesn't eduperez, even with WB + DP button.

Maybe I'm doing something wrong?
All the images come out blue regardless of what Kelvin (colour temp) I set.

Did you set the white balance to custom color temperature? The color temperature in the 400plus menu only changes the value that will be used when the custom color temperature option is set: at the white balance dialog, press DP to activate the custom color temperature. You should hear a beep and a "K" should be displayed as the white balance on the camera's main screen.

This is a design decision, as the SET button in the menu saves and applies all the changes, not just the selected item; and this action should not change the white balance, because there isn't a white balance selection in the menu.

The shortcuts DP button works, but deactivating the shortcut menu, and setting it to my preference of ISO change only does not work as well.
The shortcuts menu still appears.

I guess you are using the nightly snapshot, as there is no shortcuts menu in the official release... The interaction between the shortcuts menu and the DP action settings has still not been worked on; please remember that nightly snapshots are "work in progress", thanks.

PS: Please, do not cross-post between the project home page and this forum; it forces me to answer the same questions twice.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / March / 2011, 03:23:54
I have just set up a mailing list at Google Groups: http://groups.google.com/group/400plus (http://groups.google.com/group/400plus).

The main intention of that group is to have a place to receive automatic announcement of updates (Wiki, Issues, and Source) from the project's page (http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/)), but it has not been configured as a announce-only group.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 28 / March / 2011, 05:10:28
a123
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 28 / March / 2011, 05:12:07

Did you set the white balance to custom color temperature? The color temperature in the 400plus menu only changes the value that will be used when the custom color temperature option is set: at the white balance dialog, press DP to activate the custom color temperature. You should hear a beep and a "K" should be displayed as the white balance on the camera's main screen.

This is a design decision, as the SET button in the menu saves and applies all the changes, not just the selected item; and this action should not change the white balance, because there isn't a white balance selection in the menu.

I guess you are using the nightly snapshot, as there is no shortcuts menu in the official release... The interaction between the shortcuts menu and the DP action settings has still not been worked on; please remember that nightly snapshots are "work in progress", thanks.

PS: Please, do not cross-post between the project home page and this forum; it forces me to answer the same questions twice.


Sorry for posting twice, as you did say post there for issues, but you didn't say to choose one to post in.
I will post here from now on then.

True say, I'm trying nightly's. Didn't know they were a WIP.
Just letting you know that the lastest revision has this problem that the DP button's shortcut function does not change even if you change it in the menu.

I have selected white balance, then pushed the DP button to activate custom K white balance, but still no affect on the final image.

Sergei's menu version has immediate effect after changing the value in the menu without going to WB then pressing DP. Yours doesn't eduperez, even if the colour temp is set to K.

For the custom white balance, as I stated in my original post, I did go to the white balance dialog, and press the DP button. I heard a beep and it displays K.

I'm saying that even selecting the custom Kelvin temperature in the 400plus menu, the effect is not applied.
I've pressed the SET button to save and apply all settings in the menu with the WB set to K before hand, and tried it after as well.
The image does not change colour temp's.
Title: Re: Eos 400d ( Rebel XTI )
Post by: elektromax on 28 / March / 2011, 17:16:47


For the custom white balance, as I stated in my original post, I did go to the white balance dialog, and press the DP button. I heard a beep and it displays K.

I'm saying that even selecting the custom Kelvin temperature in the 400plus menu, the effect is not applied.
I've pressed the SET button to save and apply all settings in the menu with the WB set to K before hand, and tried it after as well.
The image does not change colour temp's.

I have the same problem  :(  When I try to set some colour temp (exactly like you described), I have no effect on image.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / March / 2011, 17:20:54
I have the same problem  :(  When I try to set some colour temp (exactly like you described), I have no effect on image.

Bug found and fixed; new release in a few minutes.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / March / 2011, 17:56:30
New version, introducing the shortcuts menu, and some other minor enhancements and fixes:

Title: Re: Eos 400d ( Rebel XTI )
Post by: 6ix on 29 / March / 2011, 03:26:54
I just want to say again... thankyou everyone who has put effort into this hack.

It's is now so much easier to use and includes the almighty intervalometer that I have been after for years.

All I ask for is the ability to enable Focus indicator when using non-cpu lenses, but that must be pretty deep in the code.

Thanks again everyone!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 29 / March / 2011, 07:14:42
I just tried new version. Thanks, I really like the new instant "Look and Click" option of the handwave script. I think its allowing me to relax my grip on the camera. Making my hand held steady shots even more steady!
I bet there are people with physical challenges who will really like this feature and now it works in auto mode so its even easier.
Excellent Work!!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 29 / March / 2011, 08:06:51
EDIT:
German Translation updated.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 30 / March / 2011, 22:04:46
New version, introducing the shortcuts menu, and some other minor enhancements and fixes:

  • A Word of Warning (that everybody should read) at http://code.google.com/p/400plus/wiki/AWordOfWarning (http://code.google.com/p/400plus/wiki/AWordOfWarning).
  • Source at http://400plus.googlecode.com/files/400plus-20110328-0.src.zip (http://400plus.googlecode.com/files/400plus-20110328-0.src.zip).
  • Binary at http://400plus.googlecode.com/files/400plus-20110328-0.bin.zip (http://400plus.googlecode.com/files/400plus-20110328-0.bin.zip).
  • Updated user Guide at http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide).
Question regarding "The shortcuts menu":  So I have ISO in camera set at 200 and want to roll the ISO value to an intermediate value of 320.  Using the 400plus firmware hack, I press the (DP) Direct Print button and then press the UP (ISO) button two times to see the LCD display an ISO value of 320. That works, now what do I do to set the camera to stay at ISO 320?  The Set button does not do it since it will start the Intervalometer script, and pressing the DP, menu, or shutter release does not set and retain the new ISO value either - instead these buttons revert the camera back to my original ISO value of 200.  I must be missing a step somewhere... Can anyone help?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / March / 2011, 01:34:17
Question regarding "The shortcuts menu":  So I have ISO in camera set at 200 and want to roll the ISO value to an intermediate value of 320.  Using the 400plus firmware hack, I press the (DP) Direct Print button and then press the UP (ISO) button two times to see the LCD display an ISO value of 320. That works, now what do I do to set the camera to stay at ISO 320?  The Set button does not do it since it will start the Intervalometer script, and pressing the DP, menu, or shutter release does not set and retain the new ISO value either - instead these buttons revert the camera back to my original ISO value of 200.  I must be missing a step somewhere... Can anyone help?
The intermediate ISO option, at the shortcuts menu, should work exactly as you expect: enter the shortcuts menu with the DP button, and press UP to set the desired ISO, then leave with the MENU button. However, there is a bug in the latest release, and the ISO displayed is wrong by one keypress (note that only the ISO displayed is wrong, the value is changed correctly).

It has already been fixed in the repository, and pending of a new release. In the meantime, you can try the latest nightly build; thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 31 / March / 2011, 02:28:25
Question regarding "The shortcuts menu":  So I have ISO in camera set at 200 and want to roll the ISO value to an intermediate value of 320.  Using the 400plus firmware hack, I press the (DP) Direct Print button and then press the UP (ISO) button two times to see the LCD display an ISO value of 320. That works, now what do I do to set the camera to stay at ISO 320?  The Set button does not do it since it will start the Intervalometer script, and pressing the DP, menu, or shutter release does not set and retain the new ISO value either - instead these buttons revert the camera back to my original ISO value of 200.  I must be missing a step somewhere... Can anyone help?
The intermediate ISO option, at the shortcuts menu, should work exactly as you expect: enter the shortcuts menu with the DP button, and press UP to set the desired ISO, then leave with the MENU button. However, there is a bug in the latest release, and the ISO displayed is wrong by one keypress (note that only the ISO displayed is wrong, the value is changed correctly).

It has already been fixed in the repository, and pending of a new release. In the meantime, you can try the latest nightly build; thanks.

Excellent!  Thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 31 / March / 2011, 20:08:45
Question regarding "The shortcuts menu":  So I have ISO in camera set at 200 and want to roll the ISO value to an intermediate value of 320.  Using the 400plus firmware hack, I press the (DP) Direct Print button and then press the UP (ISO) button two times to see the LCD display an ISO value of 320. That works, now what do I do to set the camera to stay at ISO 320?  The Set button does not do it since it will start the Intervalometer script, and pressing the DP, menu, or shutter release does not set and retain the new ISO value either - instead these buttons revert the camera back to my original ISO value of 200.  I must be missing a step somewhere... Can anyone help?
The intermediate ISO option, at the shortcuts menu, should work exactly as you expect: enter the shortcuts menu with the DP button, and press UP to set the desired ISO, then leave with the MENU button. However, there is a bug in the latest release, and the ISO displayed is wrong by one keypress (note that only the ISO displayed is wrong, the value is changed correctly).

It has already been fixed in the repository, and pending of a new release. In the meantime, you can try the latest nightly build; thanks.

Excellent!  Thank you.
Tested and working correctly in r229.  Nice touch by allowing the exit of shortcuts menu by using menu, shutter release, or DISP button press - all retaining and correctly displaying the chosen intermediate ISO value.

FYI: It appears that when pressing (DP) Direct Print button to access the shortcuts menu, the LCD very very briefly shows the normal Menu screen you last accessed when using the Menu button first and then proceeds to show the shortcuts menu screen. Is this expected?  Just thought I would pass this along to you for review.  It does not hamper use or functionality at all.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / March / 2011, 20:14:49
FYI: It appears that when pressing (DP) Direct Print button to access the shortcuts menu, the LCD very very briefly shows the normal Menu screen you last accessed when using the Menu button first and then proceeds to show the shortcuts menu screen. Is this expected?  Just thought I would pass this along to you for review.  It does not hamper use or functionality at all.

Not exactly expected... I just do not know how to avoid it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 31 / March / 2011, 20:53:15
Could you display the version number of the hack that's in use on the hack's menu screen? If that version number was also made part of the names of the zip file that we download and of the folder the zip file creates, it would make it simple to determine which version is in the camera.

Also, if there are features that aren't working properly in the nightly builds, how about making the version names reflect whether this is a nightly or a release version, like with an N or R prefix or suffix?

This would also indicate a need for parallel sets of documentation as well, so we could decide whether there's something in a nightly that we want badly enough that it makes up for some other feature that's not all there.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 31 / March / 2011, 21:37:07
If anyone is up for the challenge:   :o

A new feature request I might suggest would be the ability to add "Owner" and "Copyright" info into the EXIF data when images are taken.  I am aware that this could prove to be quite the programming challenge...

If do-able, then possibly reading the data in from a CF card data text or xml file would be a solution for obtaining the data, since programming a data entry screen to input the "Owner" and "Copyright" info into a camera screen could be quite difficult or even  impossible with the 400D O/S.

Sure would be nice wouldn't it?  No more post-processing your raw images with other software tools to add this information later.
Title: Re: A danger in having the camera put (c) info into shots
Post by: XTiUser on 31 / March / 2011, 22:33:31
I was about to set my G12 to do such labeling when I read on some forum that a guy who had lost his camera was brought up on obscenity charges because his copyright had been stamped into porn shots taken by whoever had the camera later.

Safer to put copyright or ownership info in thru Lightroom, which lets you stamp stuff like that onto all selected files, or through ExifTool, which is free and can batch edit the metadata to put that in.
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuririkura on 01 / April / 2011, 03:18:40
Hmm.. just found out a new night build..r232 what changes in the new version? ^^
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 01 / April / 2011, 05:47:17
Could you display the version number of the hack that's in use on the hack's menu screen? If that version number was also made part of the names of the zip file that we download and of the folder the zip file creates, it would make it simple to determine which version is in the camera.

Looks interesting, I'll think about it; but the zip file already creates a folder with the name of the release, doesn't it?

Also, if there are features that aren't working properly in the nightly builds, how about making the version names reflect whether this is a nightly or a release version, like with an N or R prefix or suffix?

Releases are named "yyymmdd-v" (year, moth, day, and version); while nightly builds are always named "yyyymmdd-rxxx" (year, month, day, and revision number).

This would also indicate a need for parallel sets of documentation as well, so we could decide whether there's something in a nightly that we want badly enough that it makes up for some other feature that's not all there.

Nightly builds are generated automatically, and not intended for general consumption.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 01 / April / 2011, 05:48:56
If anyone is up for the challenge:   :o

A new feature request I might suggest would be the ability to add "Owner" and "Copyright" info into the EXIF data when images are taken.  I am aware that this could prove to be quite the programming challenge...

If do-able, then possibly reading the data in from a CF card data text or xml file would be a solution for obtaining the data, since programming a data entry screen to input the "Owner" and "Copyright" info into a camera screen could be quite difficult or even  impossible with the 400D O/S.

Sure would be nice wouldn't it?  No more post-processing your raw images with other software tools to add this information later.

Your camera already does that, look into the manuals.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 01 / April / 2011, 05:50:49
Hmm.. just found out a new night build..r232 what changes in the new version? ^^

You can see all changes at http://code.google.com/p/400plus/source/list (http://code.google.com/p/400plus/source/list); there is even a mailing list at http://groups.google.com/group/400plus (http://groups.google.com/group/400plus), if you need to be informed right after each change.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 01 / April / 2011, 07:16:22
I occasionally followed the last posts: can I know what this new version has respect that of March  6th by Sergei?
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 01 / April / 2011, 08:15:53
Could you display the version number of the hack that's in use on the hack's menu screen? If that version number was also made part of the names of the zip file that we download and of the folder the zip file creates, it would make it simple to determine which version is in the camera.

Looks interesting, I'll think about it; but the zip file already creates a folder with the name of the release, doesn't it?

Also, if there are features that aren't working properly in the nightly builds, how about making the version names reflect whether this is a nightly or a release version, like with an N or R prefix or suffix?

Releases are named "yyymmdd-v" (year, moth, day, and version); while nightly builds are always named "yyyymmdd-rxxx" (year, month, day, and revision number).

This would also indicate a need for parallel sets of documentation as well, so we could decide whether there's something in a nightly that we want badly enough that it makes up for some other feature that's not all there.

Nightly builds are generated automatically, and not intended for general consumption.

The version in my camera is the most recent posted at the wiki, which is named 400plus-20110328-0.zip and the zip creates a folder with exactly that name (without the .zip), which does not indicate whether it's a release or a nightly, just that it's version 0 for that date. It's also three days old, so maybe the wiki's download section is only releases?

In any case, having the hack's menu screen identify the version number would eliminate having to try to guess which version is being used.

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 01 / April / 2011, 13:59:36
The version in my camera is the most recent posted at the wiki, which is named 400plus-20110328-0.zip and the zip creates a folder with exactly that name (without the .zip), which does not indicate whether it's a release or a nightly, just that it's version 0 for that date. It's also three days old, so maybe the wiki's download section is only releases?

In any case, having the hack's menu screen identify the version number would eliminate having to try to guess which version is being used.


If you go back to the download section, you will see files have comments like "Release 20110328-0.bin / Featured" or "400plus automated build - 20110329 - r223 / NightlyBuild"... seems pretty obvious to me which one is a release and which one is a nightly build. Again, releases are named "yyymmdd-v" (year, moth, day, and version); while nightly builds are always named "yyyymmdd-rxxx" (year, month, day, and revision number); see the difference?
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 01 / April / 2011, 14:37:37
The version in my camera is the most recent posted at the wiki, which is named 400plus-20110328-0.zip and the zip creates a folder with exactly that name (without the .zip), which does not indicate whether it's a release or a nightly, just that it's version 0 for that date. It's also three days old, so maybe the wiki's download section is only releases?

In any case, having the hack's menu screen identify the version number would eliminate having to try to guess which version is being used.


If you go back to the download section, you will see files have comments like "Release 20110328-0.bin / Featured" or "400plus automated build - 20110329 - r223 / NightlyBuild"... seems pretty obvious to me which one is a release and which one is a nightly build. Again, releases are named "yyymmdd-v" (year, moth, day, and version); while nightly builds are always named "yyyymmdd-rxxx" (year, month, day, and revision number); see the difference?

Sure, on the Downloads tab, now that you've pointed me there.  Neither the list of Featured releases on the left-hand side of the home page nor the downloaded zip file of the current Featured release gives any hint of that convention.

Looking at the Issues list, I'm pleased to see my suggestion that the menu display the version has been put into the hopper. Thanks!

Since the Featured (released) versions are only numbered 0, 1, 2 within a date, the date itself - not just the "0," "1," or  "2" - should be shown on the menu screen for a Release, since there will be "0," "1," or "2" releases on different dates.

Alternatively, if dates are too long to use on the menu screen, a) there could be a separate numbered series for Featured versions or b) you could just tack a "V" in front of the number it had as a nightly version - to signify that it's the same code, just now officially released.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 01 / April / 2011, 17:29:31
Italian version updated
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 02 / April / 2011, 03:01:19
I repost my question: respect the Sergei version of March 6th, need I update to this Eduperez version? Please let me know.
Thanks
And many compliments for your work.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / April / 2011, 07:19:11
I repost my question: respect the Sergei version of March 6th, need I update to this Eduperez version? Please let me know.
Thanks
And many compliments for your work.


I think you should read about the features that each version provides, and decide by yourself.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 02 / April / 2011, 11:39:50
Thanks, I'm trying also your last version. Consider that I am interested mainly to the spot metering and to the setting of the color temperature. Till now I can say it is good as the Sergei one. It's only different the menu and the way to set the ISO. But I would like to force myself to shot 100 or 200 ISO, I don't like the noise.
Thanks to everyone for the great work you did. My 400D is performing very well now.
Ciao
Francesco
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / April / 2011, 14:22:55
Sure, on the Downloads tab, now that you've pointed me there.  Neither the list of Featured releases on the left-hand side of the home page nor the downloaded zip file of the current Featured release gives any hint of that convention.

Looking at the Issues list, I'm pleased to see my suggestion that the menu display the version has been put into the hopper. Thanks!

Since the Featured (released) versions are only numbered 0, 1, 2 within a date, the date itself - not just the "0," "1," or  "2" - should be shown on the menu screen for a Release, since there will be "0," "1," or "2" releases on different dates.

Alternatively, if dates are too long to use on the menu screen, a) there could be a separate numbered series for Featured versions or b) you could just tack a "V" in front of the number it had as a nightly version - to signify that it's the same code, just now officially released.


Please, don't post BOLD. It looses it's meaning when the whole post is bold.
About the naming, it is common naming in most projects. When you see some indication of VCS tags like the incremental revision numbers or part of a hash (like in GIT) - it is a WIP and the build is likely to be an automated build. So when you see "-rXXX" in the end of the file you know it is WIP. Now, when you see the date + number - it is the current version from that day, so you can consider it a Release, at least it is not a revision, hence it is not automated build.
About the left side of the main page - it displays only the "Featured" downloads, which are the releases.
Take a look at the "labels" in the Download Page and you will know about every file.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 03 / April / 2011, 14:38:57
Hi there,

great hack!

I have a small issue though. I cannot connect my 400D via USB to my computer. After some searching I found that the camera wants to use DCP CONNECT which - regarding to some posts in other forums - is an indication that the camera is in service mode instead of user mode.

Is that caused by the hack? Is there a way around it - so that I can use EOS Utility and/or USB connection to download pics?
Am I doing something wrong?

Regards
Frank
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 03 / April / 2011, 15:38:55
And some very important information !!!!!!!!!!!

When trying to solve the problem with the DCP CONNECT issue I accidently invoked the entry Factory Menu/Sw Test - from the standard menu and ran into a test, where I saw a list of entries and every key I pressed made one of these entries green. Even power on/off didn't power off but lit an entry.

So I plugged out CF-Card and battery and plugged in again.

After some endless tries with unmodified CF-cards and removing and reinserting all batteries it now works again ... although I cannot give a recipe ...

My advice - keep off fingers from the Factory Menu (leave it by pressing Menu key ....)

Does anybody know a way/a code to leave that Sw-Test thing ...

Regards
Frank
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / April / 2011, 16:47:47
Hi there,

great hack!

I have a small issue though. I cannot connect my 400D via USB to my computer. After some searching I found that the camera wants to use DCP CONNECT which - regarding to some posts in other forums - is an indication that the camera is in service mode instead of user mode.

Is that caused by the hack? Is there a way around it - so that I can use EOS Utility and/or USB connection to download pics?
Am I doing something wrong?

Regards
Frank


Which version are you using? There are reports of similar issues, but they where fixed ages ago...
I tried the latest version, but could not reproduce it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / April / 2011, 16:51:35
And some very important information !!!!!!!!!!!

When trying to solve the problem with the DCP CONNECT issue I accidently invoked the entry Factory Menu/Sw Test - from the standard menu and ran into a test, where I saw a list of entries and every key I pressed made one of these entries green. Even power on/off didn't power off but lit an entry.

So I plugged out CF-Card and battery and plugged in again.

After some endless tries with unmodified CF-cards and removing and reinserting all batteries it now works again ... although I cannot give a recipe ...

My advice - keep off fingers from the Factory Menu (leave it by pressing Menu key ....)

Does anybody know a way/a code to leave that Sw-Test thing ...

Regards
Frank
 

Factory menu is explained here: http://chdk.setepontos.com/index.php?topic=4171.0 (http://chdk.setepontos.com/index.php?topic=4171.0).
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / April / 2011, 18:22:15
New version, mostly to add the configuration of the shortcuts menu, and a couple of new shortcuts:
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 03 / April / 2011, 22:51:44
Not a fan of the shortcuts menu.

Is there no option in the 400plus menu to disable the shortcuts menu, and only have the DP button for ISO?

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: pedroluis on 04 / April / 2011, 01:35:13
First of all: Thank you guys for your fine work.

Now to my bug(s): Menu is not complete. Also after full format & reinstall of hack & last version (and yes: blue light flashing) - still not working properly:

Short cut menu via AV: Not able to change values again or choose another item/sub menu shortcuts. Have to shut camera down.

No extra shortcuts visible in menu.

I have read and reread instructions, but can't find what I'm doing wrong. Therefore I think it's a bug (in my camera only?).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 04 / April / 2011, 01:50:00
Which version are you using? There are reports of similar issues, but they where fixed ages ago...
I tried the latest version, but could not reproduce it.

I took the latest version - the one before you published a new one ...
Just tried the new one - same result. XP always wants me to install some DCP CONNECT stuff.
I also upgraded to the latest EOS Utility - still no change.
Tried different USB-ports - no effect other than asking to install DCP CONNECT .... hmm

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / April / 2011, 01:52:24
First of all: Thank you guys for your fine work.

Now to my bug(s): Menu is not complete. Also after full format & reinstall of hack & last version (and yes: blue light flashing) - still not working properly:

  • Handwave: Cannot find options action/repeat/instant; just delay
    Ext. AEB: cannot find frames/step/manual[]; just delay
    Interval: no time/EAEB/shots; just delay
    Timer: no action, just delay

Did you try pressing the MENU buttons to change the sub-item displayed? What happens when you press the MENU button, does the sub-item displayed change?

Short cut menu via AV: Not able to change values again or choose another item/sub menu shortcuts. Have to shut camera down.

Enter the shortcuts menu (DP) and then press AV: did you hear a BEEP? Now, press UP / DOWN: does the selection bar changes? When you press RIGHT and LEFT: does the selected item change?

No extra shortcuts visible in menu.

The extra shortcuts must be assigned using the shortcuts configuration described above; you will not be able to see them until those instructions work for you.

Either I really messed up with the release, and uploaded something completely different to what I am using, or there is something weird with your camera; which firmware version do you have?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / April / 2011, 01:53:37
Which version are you using? There are reports of similar issues, but they where fixed ages ago...
I tried the latest version, but could not reproduce it.
I took the latest version - the one before you published a new one ...
Just tried the new one - same result. XP always wants me to install some DCP CONNECT stuff.
I also upgraded to the latest EOS Utility - still no change.
Tried different USB-ports - no effect other than asking to install DCP CONNECT .... hmm

Could you try with a formated card, without the hack, please?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 04 / April / 2011, 02:08:37
Tried with a formatted CF Card - DCP CONNECT wanted.
But ... also tried it on a different computer - still DCP CONNECT wanted.

So to me this is a camera issue rather than a PC issue.

Don't get me wrong. I don't want to blame anybody - I just want to find a solution and maybe give some searchable knowledge if somebody else faces this problem.

BTW:
Do you know how to swich from user to service mode manually?

Something (maybe) important:
I have also found a file called MCTEST.BIN on my CF card which I did not create ...

Best regards
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 04 / April / 2011, 02:37:34
Hi,

after some searching I found this post ...

I was reading a post on another message board in which some one else had the dcp failed to connect error when trying usb connection
and  someone labeled "canon guru" replied to them...

"Send it into Canon, this is a service mode protocol used for adjustment. Only they have the software to reset it to normal communication."

I have also noticed that when I hit menu it goes there and always highlights factory menu even if I dont boot from card.

That is exactly what I am also experiencing ...

I have taken out both batteries hoping to reset it but nope.

Tried that too

 
  Anyone know what to do?

  ok i got the factory menu to clear after playing around with it.
 

Do you know how you achieved this?

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / April / 2011, 02:39:28
Tried with a formatted CF Card - DCP CONNECT wanted.
But ... also tried it on a different computer - still DCP CONNECT wanted.

So to me this is a camera issue rather than a PC issue.

Don't get me wrong. I don't want to blame anybody - I just want to find a solution and maybe give some searchable knowledge if somebody else faces this problem.

BTW:
Do you know how to swich from user to service mode manually?

Something (maybe) important:
I have also found a file called MCTEST.BIN on my CF card which I did not create ...

Best regards


Sorry, but I am lost on this one now...

I have never heard about these USER / SERVICE modes, could they be related to the activation of the FACTORY MODE (just a wild guess)? I have activated the FACTORY MODE, but never had a problem with the USB connection, however.

About that file: If it appeared in a freshly formated card, must we assume the camera wrote it? I have never read about that filename, but I can confirm 400plus does not write it, there is no such name in our codebase. Now another wild guess: did you recently sent your camera for repair? Perhaps a technician left that file in the card?
Title: Re: Eos 400d ( Rebel XTI )
Post by: reyalp on 04 / April / 2011, 02:54:56
Just FWIW switching to factory mode on Canon P&S does change USB connection to DCP CONNECT. http://chdk.setepontos.com/index.php?topic=4417.msg45035#msg45035 (http://chdk.setepontos.com/index.php?topic=4417.msg45035#msg45035)

Doubt any of that will be useful for DSLRs, but there it is.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / April / 2011, 02:55:24
Hi,
after some searching I found this post ...

I was reading a post on another message board in which some one else had the dcp failed to connect error when trying usb connection
and  someone labeled "canon guru" replied to them...

"Send it into Canon, this is a service mode protocol used for adjustment. Only they have the software to reset it to normal communication."

I have also noticed that when I hit menu it goes there and always highlights factory menu even if I dont boot from card.

That is exactly what I am also experiencing ...

I have taken out both batteries hoping to reset it but nope.

Tried that too

Anyone know what to do?
ok i got the factory menu to clear after playing around with it.

Do you know how you achieved this?


Ok, so let's suppose that this is related to the FACTORY MENU, just suppose it; to activate that menu, or current code does:
Code: [Select]
EnterFactoryMode();
SleepTask(25);
ExitFactoryMode();

This is: we go into FACTORY MODE (whatever that is) and then exit back. This means there is a FACTORY MODE, which we do not normally "see" as it is deactivated immediately. Perhaps your camera got somehow stuck into FACTORY MODE, and that is why it is acting that way.

But then, activating the FACTORY MENU from 400plus should revert back to the normal mode, I guess. I would try to install 400plus in an empty card (no MCTEST.BIN file, obviously) and activate the FACTORY MENU (just MENU + DP + DP). Then switch off, change to a fresh card, an try again with the computer.

just my two cents.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 04 / April / 2011, 09:26:40
Back when i was unable to USB connect, Factory Mode stayed as an option on the first page of the canon menu even after cycling the power on the camera. I think this happened because I was in the Factory Mode playing with the tests.
To get it to clear I entered the factory mode option and went threw the camera tests it contains a few times until Factory Mode was no longer an option on page 1 of canon menu.
This resolved my USB connectivity problem.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 04 / April / 2011, 12:01:22

But then, activating the FACTORY MENU from 400plus should revert back to the normal mode, I guess. I would try to install 400plus in an empty card (no MCTEST.BIN file, obviously) and activate the FACTORY MENU (just MENU + DP + DP). Then switch off, change to a fresh card, an try again with the computer.

just my two cents.

I did, what you suggested - guess what: Problem solved. Camera is being detected again and no automatic entering/display of FACTORY MODE when switching the camera on and pressing MENU ...

For testing purposes (I know I am mad ;-) I invoked the FACTORY MODE again (MENU + DP + DP) and even started Sw-Test but after switching it on again FACTORY MODE was not displayed any longer .... so I guess it was some weird situation I was in

Anyhow, maybe this helps somebody being in the same situation.

I apreciate your help a lot. Thank you very much.

Regards
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / April / 2011, 13:47:54

But then, activating the FACTORY MENU from 400plus should revert back to the normal mode, I guess. I would try to install 400plus in an empty card (no MCTEST.BIN file, obviously) and activate the FACTORY MENU (just MENU + DP + DP). Then switch off, change to a fresh card, an try again with the computer.

just my two cents.

I did, what you suggested - guess what: Problem solved. Camera is being detected again and no automatic entering/display of FACTORY MODE when switching the camera on and pressing MENU ...

For testing purposes (I know I am mad ;-) I invoked the FACTORY MODE again (MENU + DP + DP) and even started Sw-Test but after switching it on again FACTORY MODE was not displayed any longer .... so I guess it was some weird situation I was in

Anyhow, maybe this helps somebody being in the same situation.

I apreciate your help a lot. Thank you very much.

Regards

Glad to know your camera works now, thanks for the feedback. I am going to change how 400plus handles factory mode / factory menu; I think it should be harder to activate, and the actions more explicit.
Title: A question about usability...
Post by: eduperez on 04 / April / 2011, 16:36:44
Back when I designed the shortcuts menu, I wanted to have a fast method to reach the scripts and some functions that are currently buried into the other menus. That is the reason the shortcuts menu is not actually a menu, but just a list of the actions assigned to each key; this way, I could quickly reach each action pressing only two buttons.

However, it does not work as expected: each time I enter the shortcuts menu, I must fight the impulse to press the down button and navigate to the option I am looking for; sometimes, my mind is slower that my fingers, and I end activating whatever action is assigned to the down button.

So, long story short, unless I come up with a better solution, the shortcuts menu is going to be a real menu soon.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 04 / April / 2011, 16:47:10
Back when I designed the shortcuts menu, I wanted to have a fast method to reach the scripts and some functions that are currently buried into the other menus. That is the reason the shortcuts menu is not actually a menu, but just a list of the actions assigned to each key; this way, I could quickly reach each action pressing only two buttons.

However, it does not work as expected: each time I enter the shortcuts menu, I must fight the impulse to press the down button and navigate to the option I am looking for; sometimes, my mind is slower that my fingers, and I end activating whatever action is assigned to the down button.

So, long story short, unless I come up with a better solution, the shortcuts menu is going to be a real menu soon.
I fight the impulse as well... I like your thinking on this and I would agree that making this a real menu instead of a shortcuts menu would make more sense.  We just need some more steenkin' buttons on the camera that are available to be re-mapped if we want shortcuts!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 04 / April / 2011, 18:02:19
There are never too many options.
Title: Re: Eos 400d ( Rebel XTI )
Post by: pedroluis on 04 / April / 2011, 18:14:24
Either I really messed up with the release, and uploaded something completely different to what I am using, or there is something weird with your camera; which firmware version do you have?
[/quote]

Eduperez - Thank you for answering. I'm away from my camera (believe it or not), and can't make any test untill tomorrow evening (European time).
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / April / 2011, 01:37:54
There are never too many options.

I do not plan to reduce the number of shortcuts, if that is your concern. Quite on the contrary, with a normal menu we could have as many shortcuts available as we want, if we allow to scroll down. But instead of DP + SET to launch the intervalometer, for example, we will have DP + DOWN + DOWN + SET; a bit longer, but more intuitive.

As everybody has different needs and preferences, the order of the shortcuts in the menu will be easy to rearrange.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 05 / April / 2011, 03:36:56
As everybody has different needs and preferences, the order of the shortcuts in the menu will be easy to rearrange.

I still say keep the option to disable the shortcuts menu, to change the DP button to launch whatever it's set to in the 400plus menu.

I personally like it simple such as being able to change the DP button back to having what it was originally hacked for on the info screen, changing the ISO.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / April / 2011, 04:37:57
As everybody has different needs and preferences, the order of the shortcuts in the menu will be easy to rearrange.

I still say keep the option to disable the shortcuts menu, to change the DP button to launch whatever it's set to in the 400plus menu.

I personally like it simple such as being able to change the DP button back to having what it was originally hacked for on the info screen, changing the ISO.

I am aware of this request, but still not made my mind about it.

Remember that you can create a new issue at http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list) yourself, and receive a nice email each time someone comments or finishes it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: pedroluis on 05 / April / 2011, 11:44:38
eduperez - The build is OK. The user was out of repair :(. I missed the 'Navigating the sub-menus'-section.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / April / 2011, 11:57:08
eduperez - The build is OK. The user was out of repair :(. I missed the 'Navigating the sub-menus'-section.

Glad to know, and thanks for reporting back!
Title: Re: Eos 400d ( Rebel XTI )
Post by: lars on 05 / April / 2011, 12:52:31
I totally agree to sizzlincok. I will stay at the last version before the shortcuts menu was introduced. Having the ISO change on DP Button is perfect for me.

Please think about a possibility to disable the sc menu and freely assign DP button again as it was in previous versions...

Thank you and best regards,
Lars
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 05 / April / 2011, 16:37:01
why would you need to change the iso besides the normal way ?
normally i shoot in 100, if i need to go up i go for 200 or 800. these are the three isos i ever used...
i still don't get why would one need 125 iso (for example) ... what will be different from the 100 iso ?
even more ... i dont see the point to have the nice DP button assigned to iso changing...
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 05 / April / 2011, 18:40:55
why would you need to change the iso besides the normal way ?
normally i shoot in 100, if i need to go up i go for 200 or 800. these are the three isos i ever used...
i still don't get why would one need 125 iso (for example) ... what will be different from the 100 iso ?
even more ... i dont see the point to have the nice DP button assigned to iso changing...


Software that is flexible, configurable, and extensible is the key answer here.  The point is not whether one should shoot ISO 125 over ISO 100 but to have the ability to do so via easy-to-use and understandable software.  There is no way each user will want or use every feature the way that another user would, or necessarily the way the developers have chosen to implement it.  This is the true challenge for good software developers: to create outstanding useful software that appeals to the majority of its user base.

By making the software hack flexible and extensible (easy to build upon for future enhancements, fixes, etc.) and configurable (able to work one way for one user, and another way for someone else) - then each user will have the opportunity to make it work easily for them.

Those who develop, test, and document this software will have more work cut out for them, but in the end - all will have a more functional and proud-to-own-and-use product.

I for one believe this is the road we are currently headed down based on the forum topics that have recently been discussed here.  It is fascinating to watch this software grow into a mature product and give life back to a very capable camera that many people gave up on years ago.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 05 / April / 2011, 18:48:49
Software that is flexible, configurable, and extensible is the key answer here.  The point is not whether one should shoot ISO 125 over ISO 100 but to have the ability to do so via easy-to-use and understandable software.  There is no way each user will want or use every feature the way that another user would, or necessarily the way the developers have chosen to implement it.  This is the true challenge for good software developers: to create outstanding useful software that appeals to the majority of its user base.

By making the software hack flexible and extensible (easy to build upon for future enhancements, fixes, etc.) and configurable (able to work one way for one user, and another way for someone else) - then each user will have the opportunity to make it work easily for them.

Those who develop, test, and document this software will have more work cut out for them, but in the end - all will have a more functional and proud-to-own-and-use product.

I for one believe this is the road we are currently headed down based on the forum topics that have recently been discussed here.  It is fascinating to watch this software grow into a mature product and give life back to a very capable camera that many people gave up on years ago.

I totally agree. But since I've seen 2 posts asking for getting DP to set iso, I was wondering who actually is using this ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: pedroluis on 06 / April / 2011, 01:03:58
I do not use the DP for ISO. I stick to the standard 100, 200, etc as there is nothing to win using the in-betweens.
My vote for DP + DOWN + DOWN + SET for the menu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / April / 2011, 05:58:26
I like the shortcuts in the 2 press format and wouldnt want to waste time scrolling but I wouldnt mind it as a second "menu type" option.
I think the 3200 iso is useful if you are in low light and wont be post processing a raw file on a computer.
Just adding a 1 push, "DP Hotkey", for a chosen feature, option should satisfy most.
More options can be added to the short cut by adding a third press of button.
For example for new feature "x" press DP, UP, UP then its activated.
You would lose DP, UP but you would also gain DP, UP, DN and DP, UP, RT and so on.

Now that I think of it a different button could be used to shift them.
Like DP, Timer button, UP for a second round of button associations.
Title: Re: Eos 400d ( Rebel XTI )
Post by: lars on 06 / April / 2011, 09:45:02
why would you need to change the iso besides the normal way ?


One scenario e.g.: I often shoot manual and I am using fixed time and f-stop (e.g. f 2.8 and t 1/125). Doing so, I am using ISO to regulate the exposure the way I want... Then I really like to have this fine ISO steps with just one push ;)

Okay, I could also do this in Lightroom later on, but I am lazy and I am shooting raw AND jpg and I really like to have my appropriate jpg directly out of the box...

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / April / 2011, 13:54:22
One scenario e.g.: I often shoot manual and I am using fixed time and f-stop (e.g. f 2.8 and t 1/125). Doing so, I am using ISO to regulate the exposure the way I want... Then I really like to have this fine ISO steps with just one push ;)

good point. but yet, isn't that possible in 100/200/400/800 steps ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: lars on 06 / April / 2011, 14:26:46
good point. but yet, isn't that possible in 100/200/400/800 steps ?
.. of course it is. But it is still not the same:
* 100/200/400 etc. are full stops (1/1) and I will need to push 3 buttons (ISO, arrow down [wb] and set)
* 200/250/320 are 1/3 stops and I will need to push only 1 button [DP] :-)

I did this e.g. here: http://www.botz.net/pixelpost/index.php?showimage=55 (http://www.botz.net/pixelpost/index.php?showimage=55)
Please click on the little | i | in the upper right corner of the image for some meta data.
As you can see, I used ISO 640 (less noise) and I did not need to go to ISO 800 (more noise). Aperture was on max (f 4.0) and shutter was also on my limit to have the picture not blurred :-)

Best regards,
Lars

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / April / 2011, 15:08:00
.. of course it is. But it is still not the same:
* 100/200/400 etc. are full stops (1/1) and I will need to push 3 buttons (ISO, arrow down [wb] and set)
* 200/250/320 are 1/3 stops and I will need to push only 1 button [DP] :-)

I see the idea, I guess I got confused, because I was thinking that ppl are using this function only between 100-200 ISO values, because I mostly use 100,200 and 400. But you are right, it has a good use when you need ISO between 400-800 or 800-1600
Though I don't think ISO 1600 is usable, neither 3200 because of the noise. Perhaps only in rare cases like JoeNeptune mentioned. Anyways let's leave this off-topic alone.
Thanks for clarification.
(nice photos there, congrats.)
Title: Re: Eos 400d ( Rebel XTI )
Post by: lars on 06 / April / 2011, 15:31:57
Thank you ...
... and let's get back on topic now :-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: punk.kaos on 06 / April / 2011, 19:53:46
Software that is flexible, configurable, and extensible is the key answer here.  The point is not whether one should shoot ISO 125 over ISO 100 but to have the ability to do so via easy-to-use and understandable software.  There is no way each user will want or use every feature the way that another user would, or necessarily the way the developers have chosen to implement it.  This is the true challenge for good software developers: to create outstanding useful software that appeals to the majority of its user base.

By making the software hack flexible and extensible (easy to build upon for future enhancements, fixes, etc.) and configurable (able to work one way for one user, and another way for someone else) - then each user will have the opportunity to make it work easily for them.

Those who develop, test, and document this software will have more work cut out for them, but in the end - all will have a more functional and proud-to-own-and-use product.

I for one believe this is the road we are currently headed down based on the forum topics that have recently been discussed here.  It is fascinating to watch this software grow into a mature product and give life back to a very capable camera that many people gave up on years ago.

I totally agree. But since I've seen 2 posts asking for getting DP to set iso, I was wondering who actually is using this ?


I had to register just to let you know that I use this a TON. Its SUPER convenient when doing multi light strobe setups to get your light balanced quickly.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 06 / April / 2011, 23:38:47
why would you need to change the iso besides the normal way ?
normally i shoot in 100, if i need to go up i go for 200 or 800. these are the three isos i ever used...
i still don't get why would one need 125 iso (for example) ... what will be different from the 100 iso ?
even more ... i dont see the point to have the nice DP button assigned to iso changing...


I see the idea, I guess I got confused, because I was thinking that ppl are using this function only between 100-200 ISO values, because I mostly use 100,200 and 400. But you are right, it has a good use when you need ISO between 400-800 or 800-1600
Though I don't think ISO 1600 is usable, neither 3200 because of the noise. Perhaps only in rare cases like JoeNeptune mentioned. Anyways let's leave this off-topic alone.
Thanks for clarification.
(nice photos there, congrats.)



I'm an actual photographer who takes portraits and does night club photography as a job, and i personally believe my skill and knowledge is greater than the average photographer.

Why would you need to use any other ISO other than ISO100?
Why not?

It's been said that the ISO's in between the pre available ISO values are 1/3 stop difference.
It's the same as adjusting your shutter speed to allow 1/3 more light in than your current settings (whatever they might be).

Say I want a fast shutter speed of 1/100, I don't want lower. My aperture is maxed out wide open already. The only thing to allow 1/3 or more light in is to increase the ISO by 1/3 or more.
Which is why one would want the ISO values in between.

There is no why someone would want to use ISO 125. They do because the photographer behind the camera chooses to, so they do.

--------------------------

ISO1600 is noisy?
You need to learn to embrace the noise.
You're more than welcome to take a blurry image due to a slow shutter speed @ ISO1600, while I get a clearer one with ISO3200.
As right now, you're saying your skill is being limited by the noise of the camera.
The more you start shooting and looking at the image instead of the technicals, the more you improve.

I use ISO3200, F/2.8, and 1/4 in the clubs to take an ambient shot. It works so well.
I cannot get the same results with ISO1600.

Here's an example: http://www.myclubcity.com/image/1/tryst/original/167053_Gallery.jpg (http://www.myclubcity.com/image/1/tryst/original/167053_Gallery.jpg)
Yeah? ISO1600, would require slower shutter speed, which gives allows camera shake to be more visable in the final image.

I'm just saying, there's a time and place for the 1/3 stop ISO's, and noise is nothing but a bunch of coloured dots on the image.
Don't let it get in the way of your creativity.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / April / 2011, 01:05:29
Ok, folks: you have convinced me that there is enough demand for the intermediate ISOs; next release will have an option to use DP either to open the shortcuts menu or to change the ISO, as we had before.
Title: Re: Eos 400d ( Rebel XTI )
Post by: drpr0 on 07 / April / 2011, 03:22:16
I am use last build, and i can't use AV key for change Shortcut. Help me, plaese.
And sorry for may bad English.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / April / 2011, 03:51:46
I am use last build, and i can't use AV key for change Shortcut. Help me, plaese.
And sorry for may bad English.

Latest (nightly) build does not have the option to configure the shortcuts menu; that will be added back before the next (official) release, however.
Title: Re: Eos 400d ( Rebel XTI )
Post by: drpr0 on 07 / April / 2011, 05:40:39
Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: rebelT1i on 08 / April / 2011, 23:48:15
Sorry, wrong thread!
Title: Re: Eos 400d ( Rebel XTI )
Post by: duclee on 12 / April / 2011, 16:28:40
do we still support the auto iso ???
the wiki pages didn't mention about this feature anymore.
If that's the missing in the wiki then how to activate it ??? (is it still shoot w/o card ??)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / April / 2011, 16:42:49
do we still support the auto iso ???
the wiki pages didn't mention about this feature anymore.
If that's the missing in the wiki then how to activate it ??? (is it still shoot w/o card ??)

No, the auto-iso feature was disabled long long time ago.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / April / 2011, 17:24:18
New version with lots of changes; some are mine, some are from 0xAF, as we have been working in tandem to bring out this release:

As always, the links are:

We hope you enjoy.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 12 / April / 2011, 22:28:05
New version with lots of changes; some are mine, some are from 0xAF, as we have been working in tandem to bring out this release:
  • The shortcuts menu acts now like a real menu, only that it can be reordered.
  • Optionally, the shortcuts menu can be disabled, and then the DP button will change to an intermediate ISO.
  • Sub-menus at the settings menu are now navigated using the front wheel.
  • Displayed release count and 400plus version at the INFO menu.
  • Added new developers menu to enter / leave the factory mode or activate the debug mode (use with care, or even better, do not use at all).
  • And lots of other minor improvements and bugfixes.

As always, the links are:
  • A Word of Warning (that everybody should read) at http://code.google.com/p/400plus/wiki/AWordOfWarning (http://code.google.com/p/400plus/wiki/AWordOfWarning).
  • Source at http://400plus.googlecode.com/files/400plus-20110412-0.src.zip (http://400plus.googlecode.com/files/400plus-20110412-0.src.zip).
  • Binary at http://400plus.googlecode.com/files/400plus-20110412-0.bin.zip (http://400plus.googlecode.com/files/400plus-20110412-0.bin.zip).
  • Updated user guide at http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide).
  • There are also Spanish (http://code.google.com/p/400plus/wiki/UserGuideSpanish), Italian (http://code.google.com/p/400plus/wiki/UserGuideItalian), and German (http://code.google.com/p/400plus/wiki/UserGuideGerman) translations (still not updated to the latest version, however).

We hope you enjoy.
Sweet!  Nice job.  Thanks for all of the hard work you guys put into this release.
Title: We need your help!
Post by: eduperez on 13 / April / 2011, 01:39:54
We need your help!

There is a bug, somewhere in 400plus, that randomly locks the camera; and bugs that happen at random are the kind of bugs that we developers hate the most, because we do not know where to look at, or how to ensure whether a change fixes it or makes it worse. So we need your help to gather as much information about this issue as we can.

If the camera ever locks, please post it here or at the issues page (http://code.google.com/p/400plus/issues/list), and give us as much information as you can: how did it happen? how do you normally use the camera? is any led blinking? what does the screen display? is any button responding? or are all of them locked? ...?

Many thanks to all!
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 13 / April / 2011, 05:41:18
updated italian guide to last version
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 14 / April / 2011, 15:51:40
idea: could 400plus manage daylight saving time or just remind to adjust time settings?
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 14 / April / 2011, 21:27:45
Just loaded and experimented with Tuesday's (2011-04-14) release. Outstanding!

Quite a jump upwards from the release two weeks ago. I agree with the idea of making the hack itself user-configurable. I've already rearranged the Shortcuts menu to read:

ISO
Hand waving
Self timer
Mirror lock
Flash 2curt
Intervalometer
Extended AEB

I did this mainly to push the last two down to the next screen, since I kept setting them off unintentionally by exiting that screen with the SET button while one of them was highlighted!

400plus is rapidly becoming the WordPerfect of hacks - and that's coming from someone who's been using WP since the early 1980s because it's the "have it your way" word processor.

Thanks for implementing my idea to make the Extended Info screen display the hack's release date - that's a lot easier than taking the card out of the camera and putting it into a card reader to figure out what I'm running. BTW - the documentation had me searching for an INFO button to get to that screen, until I decided to try the DISP button.

I may make an "XTi+" sticker to rebadge my camera - I don't want to leave the Rebel Alliance!

PS I apologize for using so much bold in my last post a few pages back, but I couldn't figure out the BBS code to distinguish between your and my comments, and that was a quick and dirty shortcut - or should I say a kludge.

Oooh! What a great name for a Klingon! New Voyages, are you listening?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2011, 09:36:59
idea: could 400plus manage daylight saving time or just remind to adjust time settings?

Looks like a very interesting idea, I always forget to change the clock in the camera myself... will think about this, thanks for the tip.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2011, 09:38:07
Just loaded and experimented with Tuesday's (2011-04-14) release. Outstanding!

Quite a jump upwards from the release two weeks ago. I agree with the idea of making the hack itself user-configurable. I've already rearranged the Shortcuts menu to read:

ISO
Hand waving
Self timer
Mirror lock
Flash 2curt
Intervalometer
Extended AEB

I did this mainly to push the last two down to the next screen, since I kept setting them off unintentionally by exiting that screen with the SET button while one of them was highlighted!

400plus is rapidly becoming the WordPerfect of hacks - and that's coming from someone who's been using WP since the early 1980s because it's the "have it your way" word processor.

Thanks for implementing my idea to make the Extended Info screen display the hack's release date - that's a lot easier than taking the card out of the camera and putting it into a card reader to figure out what I'm running. BTW - the documentation had me searching for an INFO button to get to that screen, until I decided to try the DISP button.

I may make an "XTi+" sticker to rebadge my camera - I don't want to leave the Rebel Alliance!

PS I apologize for using so much bold in my last post a few pages back, but I couldn't figure out the BBS code to distinguish between your and my comments, and that was a quick and dirty shortcut - or should I say a kludge.

Oooh! What a great name for a Klingon! New Voyages, are you listening?

Thanks for the feedback (and I just fixed the typo, by the way)!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 15 / April / 2011, 12:12:29
How about Tetris with photo thumbnails?
Or some other game to pass the time with?
It would be a bonus if it involved the pics on card so you might have a bit of review while you play.
Sometimes you have to wait for a picture to happen.
This could help you stay still enough wild life might get closer.
Could a NDS Nintendo  simulator be ported?
That would be the ticket!
Almost unlimited number of game ROMS you could chose from just by adding them to your memory card!


Also i am wondering, can the histogram data be used in the programs?
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 15 / April / 2011, 15:15:12
"Optionally, the shortcuts menu can be disabled, and then the DP button will change to an intermediate ISO"

Very good idea !!  :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2011, 16:01:01
How about Tetris with photo thumbnails?
Or some other game to pass the time with?
It would be a bonus if it involved the pics on card so you might have a bit of review while you play.
Sometimes you have to wait for a picture to happen.
This could help you stay still enough wild life might get closer.
Could a NDS Nintendo  simulator be ported?
That would be the ticket!
Almost unlimited number of game ROMS you could chose from just by adding them to your memory card!

WTF!?

Also i am wondering, can the histogram data be used in the programs?

No idea on this one, sorry...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2011, 16:04:29
"Optionally, the shortcuts menu can be disabled, and then the DP button will change to an intermediate ISO"

Very good idea !!  :D

Good idea!? After the mobs threatened to burn me down like a witch, what else could I do?
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 15 / April / 2011, 16:26:50

Good idea!? After the mobs threatened to burn me down like a witch, what else could I do?

 :D, your work is very good, and the mobs love the options and personal choices.

You are not a witch, you are a magician  :xmas ( you and the creators of project )
Title: Hmmm... Was just peeking at the latest source. :)
Post by: guffster on 15 / April / 2011, 19:02:37
Hmmm... from the looks of some of the latest code being worked on, it appears we might soon have one of my most wanted features for the 400D: multiple custom camera settings - each accessible from a menu to save / restore by using the CF card. How cool is that!!!!!!

This should prove to be one of the more popular features this software provides.  Awesome - and thanks in advance!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 16 / April / 2011, 03:29:21
Do you think any of these functions have possibility?
Time display
Calender.
PDF reader
Email Reader.
PPC like GUI.
In text format I think the bible would consume about 5Mb so it wouldn't take a huge amount of space to have any or all of your favorite reading material.
Title: Re: Eos 400d ( Rebel XTI )
Post by: XTiUser on 16 / April / 2011, 03:52:06
Actually, I did briefly consider copying the PDF I made of the 400plus documentation to my CF card - at 35kb it's not much bigger than the hack itself - but without a PDF reader in the camera, it would just be baggage in the hold! Simpler just to copy it to my phone and use the phone's PDF reader!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 16 / April / 2011, 03:56:28
Here is a easy, funny Idea.
Have it flash the Rolling Stones tongue before it turns off the screen when you activate the viewfinder IR sensor.
It would give you a kiss and turn the lights out every time you put the camera to your face! lol
People will notice how neat your hacked camera is as well.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 17 / April / 2011, 05:31:41
Just updated to the latest official build (hadn't updated for a few weeks) ans I am blown away by the development of this hack. You guys are amazing.

Thanks for all the hard work!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / April / 2011, 06:31:12
idea: could 400plus manage daylight saving time or just remind to adjust time settings?

Looks like a very interesting idea, I always forget to change the clock in the camera myself... will think about this, thanks for the tip.

switching to/from DST depends on the country you live... in USA they change on exact date (if im not mistaken) in the most european countries we change on the last sunday of mart
some african countries change on different criteria, and in Russian Federation and others they removed DST (i believe)...
so to know when to change or inform, we should know what country and what criteria they have.

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / April / 2011, 06:43:40
guys, keep in mind that this is a camera, not a EBook Reader, neither Game Console...

about the games, i dont see why would anyone put efforts in games instead of more extras in hack. not to mention how heavy it would be ...
about the pdf, you can forget about it, it would be almost impossible to integrate pdf parser and then render it in the camera display... besides that it would look like an picture after all... so why wont you just make it a JPG and put it on the camera ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 17 / April / 2011, 17:36:15
idea: could 400plus manage daylight saving time or just remind to adjust time settings?

Looks like a very interesting idea, I always forget to change the clock in the camera myself... will think about this, thanks for the tip.

switching to/from DST depends on the country you live... in USA they change on exact date (if im not mistaken) in the most european countries we change on the last sunday of mart
some african countries change on different criteria, and in Russian Federation and others they removed DST (i believe)...
so to know when to change or inform, we should know what country and what criteria they have.
it could be useful to put some expressions and a list to choose from
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 19 / April / 2011, 01:20:30
Hmmm... from the looks of some of the latest code being worked on, it appears we might soon have one of my most wanted features for the 400D: multiple custom camera settings - each accessible from a menu to save / restore by using the CF card. How cool is that!!!!!!

This should prove to be one of the more popular features this software provides.  Awesome - and thanks in advance!

Then perhaps you may want to give a try to the latest nightly build, and press DP at the settings menu, then at the shortcuts menu... but remember this is still work in progress.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 19 / April / 2011, 17:16:22
Hmmm... from the looks of some of the latest code being worked on, it appears we might soon have one of my most wanted features for the 400D: multiple custom camera settings - each accessible from a menu to save / restore by using the CF card. How cool is that!!!!!!

This should prove to be one of the more popular features this software provides.  Awesome - and thanks in advance!

Then perhaps you may want to give a try to the latest nightly build, and press DP at the settings menu, then at the shortcuts menu... but remember this is still work in progress.

I will gladly.

@eduperez - I PM'ed you as well.   Let me know if you got it (my internet is a bit sketchy at the moment).
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 20 / April / 2011, 07:08:55
You are doing such an excellent job on this hack.
I would like to show it off more but I don't like to brag.
Flashing the Rolling Stones Tongue before the LCD screen blacking out would be a conversation starter.
It would also make the camera very sexy and it would keep true to its "Kiss" name.
It would remind me of my best friend who has passed away. My German Shepard named Fritz would always try to sneak a kiss with a very quick tongue when ever I got my face to close.
I think it would be neat for the cleaning sensor screen also.
Everybody loves dogs.
It would give the camera an excellent personality.
New trick from an old dog?
Do it for my old pal Fritz?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 20 / April / 2011, 08:21:24
oxAF, Heavy?

Wouldn't it really save you weight from other things you otherwise would carry?
Or if you mean memory I hardly think a few Kb on a multi- Gb Memory card is very significant and might mean one less picture out of several thousand.
Also It might not take as great of an effort as you think to achieve where there is already an open source NES emulator available called "SharpNES".
I read one guy ported it to his phone in a few hours.

 
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / April / 2011, 08:24:18
@eduperez - I PM'ed you as well.   Let me know if you got it (my internet is a bit sketchy at the moment).

Yes, I received the info; many thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / April / 2011, 08:36:41
@JoeNeptune: remember you can always download the source code and do the modifications yourself.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 20 / April / 2011, 09:11:58
oxAF, Heavy?

Wouldn't it really save you weight from other things you otherwise would carry?
Or if you mean memory I hardly think a few Kb on a multi- Gb Memory card is very significant and might mean one less picture out of several thousand.
Also It might not take as great of an effort as you think to achieve where there is already an open source NES emulator available called "SharpNES".
I read one guy ported it to his phone in a few hours.  

Don't forget we are working in embedded environment, and to make it more miserable, we only have access (know of) several functions at all... and we have to make miracles only with that set of functions...
we do not have fully working development environment.
So "Heavy" in this case means either:
1. find all the functions from the OS, plus extra functions/drivers from Canon for controlling the hardware (like lcd) and find a well documented SDK for using them, or
2. rewrite the most of the OS and the drivers for controlling the hardware which is virtually impossible without having documentations and specifications of the device's hardware. not to mention that this would duplicate the functionality which is already there, meaning we will eat up the memory of the device. And by "memory" we usually mean RAM, not ROM or CF storage. So the RAM memory stays critically small even if you have 16GB CF Card in the camera.

On other hand, even if we had all the functions and documented SDK for them, it's still an embedded environment and most of the open source code which you want to put in there needs to be reworked to fit in this environment, which is HUGE work. But in this case "HUGE" work comes just after another VERY HUGE work which i described above.

So let's not make this device something else than a camera, what it really is. Better put efforts in improving the camera and leave the games to the GameConsoles. At least the camera does not fit well in the hands to play games with it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 20 / April / 2011, 09:45:11
OK, that's understandable, thank you for your consideration.
I don't expect any of that soon.

My mind is to stuck on fixing japans reactors than to learn porting programs right now.
I have been thinking about using silver to cool down the fuel. Silver is a great conductor of heat and adsorbs neutrons. I think we need a solid state solution instead of all this boiling and leaking.
I dont know why they didnt have passive hydrogen recombiners like there is in Canada's reactors.
I rather be programing a gamma ray spectrometer about now with all the fallout coming from the jetstream.
 
getting back on topic.....

So what about the Stones Tongue?
I bet it will make it a hit with the ladies!
Lots of pretty girls thanking you for making them with their camera so sexy, unique and stylish.



 
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 20 / April / 2011, 14:54:36
So what about the Stones Tongue?
I bet it will make it a hit with the ladies!
Lots of pretty girls thanking you for making them with their camera so sexy, unique and stylish.

i'm not sure i'm following you... please describe what you mean.

btw: interesting job you have... :)


Title: Re: Eos 400d ( Rebel XTI )
Post by: sjm on 21 / April / 2011, 08:25:23
You are doing a grat job!
For me, it would be a very usefull feature, if the mirror would stay locked up during EAEB. Do you think, a cobination of EAEB und MLU would be possible?

Thanks, sjm
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 21 / April / 2011, 17:51:30
You are doing a grat job!
For me, it would be a very usefull feature, if the mirror would stay locked up during EAEB. Do you think, a cobination of EAEB und MLU would be possible?

Thanks, sjm

i was thinking about that last time i was shooting hdrs... and later forgot about it...
would you add a new issue for feature request about that ?


EDIT:
after all i did not forgot it, its in my todo list...
but i have other things in mind for now ...
so please file an feature request.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 22 / April / 2011, 08:12:42
My laptop hard drive failed after my last post.
I just got my mail set up on my back up now.

Job? I am not employed, I am just very concerned with the consequences living down wind from Fukushima!
I haven't used a gamma ray spectrometer since 1990 when I controlled a small barrel size nuclear reactor called a neutron howitzer while making different metal isotopes.
Lately I have had dreams of business men going into bomb shelters while I'm trying to get some Iodine.
I am thinking bag up all the dirt that radiates and sell it back to them.
They could use it to farm and bury their really dirty stuff and expand a bit too.
We get new cameras, cars and tv's dirt cheap lol!!!

 

But about the stones tongue...
I think it would add excellent color to the camera.
Use it instead of the boring "cleaning sensor" screen.
and also to flash it briefly before turning off LCD screen from viewfinder sensor activation.
If they call the camera the "Digital Kiss" why shouldn't it pucker up for a quickie when you bring the camera to close your face. It just might help set your mood for taking nice photography. The stones tongue is a very classic high quality image.
Also people will notice the camera's specialness more easily and ask how, so as to get your excellent work some more well deserved attention and greater number of users.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 23 / April / 2011, 03:48:29
Feature request...

Hi guys. How about adding the ability to set the exposure time from within the interval menu? At the moment, it is only possible to do exposures of up to 30 seconds as the next option is `bulb`. I would like to be able to set this so you could take a specific number of photos with anything up to 5 minute exposure times.

An example of when you may want to do this would be shooting star trails. To do this would would take a load of 5 minute exposures and then `stack` them in photoshop...

Anyone think this is possible?

Thanks for all the hard work so far!
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 23 / April / 2011, 10:04:43
550D code for this: https://bitbucket.org/hudson/magic-lantern/src/tip/shoot.c
(look for bulb_take_pic or bulb timer).
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 23 / April / 2011, 18:28:39
That sounds like useful stuff.
Makes me think about getting a bigger lens than my Kodak 80-210mm.

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / April / 2011, 16:46:34
550D code for this: https://bitbucket.org/hudson/magic-lantern/src/tip/shoot.c
(look for bulb_take_pic or bulb timer).
thanks alex !
i'm having some hard time with buttons handler routine for the sergei's variant of creating dialogs ...
i hope i will get it working soon (but 2-3 days with no success is little disappointing)
i hope ill have the time to look at this later ... but there are too much stuff in my todo already ;)
one of them was to look after extended time for shutting (more than 30 secs), so this will come useful ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 24 / April / 2011, 18:33:58
I was just checking the local forsale ads and I plan to go see about getting a 6 inch diameter telescope for $50 tomorow.
Its called an Orbitor 4000. I cant find a review of it on the web, I hope it has a standard connection for attaching the camera.
I always wanted a telescope.
Title: Testing new "Presets" menu! and other recently added features...
Post by: guffster on 25 / April / 2011, 14:25:32
I will be experimenting and testing over the next few days with the new "Presets" menus as well as some of  the other new features recently added to 400plus.  I'll report back with my findings.  Nice work and thanks to all.

Title: Release 20110425
Post by: eduperez on 25 / April / 2011, 16:25:42
New version available, introducing the new "Presets" feature;  this time thanks to the collaboration (in no particular order) of 0xAF, Sergei, and myself:

As always, the links are:

We hope you enjoy.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 25 / April / 2011, 16:45:08
Just found and played around with the "Configuring the Shortcuts menu" feature with the "Menu button" grab, set, and save ability - SWEET!  Very nice touch on this feature... :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 25 / April / 2011, 17:55:47
The shortcut menu is really convenient and the option for amending the iso is perfect.

The classification of functions is very handy too.

Now i'am test the preset function.

Thanks Man  :D
Title: Custom Presets Questions:
Post by: guffster on 26 / April / 2011, 18:22:59
Questions to users regarding Custom Presets:

Since the XTI/400D does not have custom preset AE positions on the mode dial (like C1, C2, C3 on the Canon 7D), it can be confusing when using the 400plus Custom Presets to load a preset that may use an AE mode of Tv when the mode dial is still currently set to Av, M, P, or another mode.  The Custom Preset feature does work however by overriding what the mode dial setting is currently set to which is GREAT but still a bit confusing.

I'm getting to my questions now...  The mode dial has an A-DEP (Automatic Depth-of-Field mode) position which is probably not often used by many photographers (my opinion).  Would it make better sense to only allow the Custom Presets to be loaded when the mode dial is set to the A-DEP position?  Maybe this would be a bit less confusing for the reasons stated above?

At this time I am not even sure if the devs working on the 400plus source can even support this feature but if so, it seems to make more sense to me to do it this way.

Please chime in with your opinions...

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 27 / April / 2011, 01:28:09
Questions to users regarding Custom Presets:

Since the XTI/400D does not have custom preset AE positions on the mode dial (like C1, C2, C3 on the Canon 7D), it can be confusing when using the 400plus Custom Presets to load a preset that may use an AE mode of Tv when the mode dial is still currently set to Av, M, P, or another mode.  The Custom Preset feature does work however by overriding what the mode dial setting is currently set to which is GREAT but still a bit confusing.

I'm getting to my questions now...  The mode dial has an A-DEP (Automatic Depth-of-Field mode) position which is probably not often used by many photographers (my opinion).  Would it make better sense to only allow the Custom Presets to be loaded when the mode dial is set to the A-DEP position?  Maybe this would be a bit less confusing for the reasons stated above?

At this time I am not even sure if the devs working on the 400plus source can even support this feature but if so, it seems to make more sense to me to do it this way.

Please chime in with your opinions...



I must say I fully agree with your analysis: having a dial that says 'M' and a display 'Tv' (for example) can be very confusing. But the problem is even worse: when the camera shuts down and up again, it automatically goes back to the mode selected in the main dial. And the user may not even be aware of this, if the power-saving option shuts the camera down and the user brings it back to life with the shutter button.

The A-DEP mode is a good candidate to tinker with (I also think it is completely useless), and your proposal seems quite easy to implement. We still have to determine how to solve the problem with the shut down/up cycle (perhaps we could sacrifice the A-DEP mode completely, and determine that "the camera will always revert to the last AE mode used if it starts in A-DEP mode").

Another option that crossed my mind was to allow the user to select only those presets whose saved AE mode match the current AE mode selected in the main dial, but that can be quite frustrating. Or open a dialog after loading a preset, prompting the user to change the main dial to the AE mode saved in that preset.

I am open for ideas...
Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 27 / April / 2011, 01:42:40
Hi,
great work and improvements so far.
Is it possible to implement cycling menus that wrap around when you reach the top/bottom of the list. So pressing the down arrow when at the bottom will select the topmost entry and vice versa?
Just a little suggestion to improve usability / handling.

Cheers
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 27 / April / 2011, 01:46:22
Hi,
great work and improvements so far.
Is it possible to implement cycling menus that wrap around when you reach the top/bottom of the list. So pressing the down arrow when at the bottom will select the topmost entry and vice versa?
Just a little suggestion to improve usability / handling.

Cheers

Looks interesting, I'll note it down; thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 27 / April / 2011, 02:59:14
Another option that crossed my mind was to allow the user to select only those presets whose saved AE mode match the current AE mode selected in the main dial, but that can be quite frustrating. Or open a dialog after loading a preset, prompting the user to change the main dial to the AE mode saved in that preset.

I was going to propose that too... this is the best solution in my opinion.
We can have separate presets for each AE mode. It wont be so confusing when we make the names for the presets.

About the A-DEP mode, it's useless really, I think we can make it work too... when the camera starts we can detect the AE mode (A-DEP) and load the last used preset. This should fix the problem with restarting the camera, but we still need to detect auto power-off though. If i'm lucky I could catch some events about the power-off, this could help with autoloading the preset.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 27 / April / 2011, 09:19:53
I hope we can figure out how to do this with out taking away a function.
I haven't got around to using the A-DEP function.
But it might be useful if I get drunk  and snap happy.
Or while letting someone not so familiar with camera use it in a outdoor setting.
but it is no issue for me, i am sure i could do with out it.

Do you think the hand wave function could have a "Bulb" mode?
One wave open shutter. Second wave close.
maybe with a timer displayed on the screen.
It would be useful if it could work with the repeat mode.

What would be really interesting is if you could watch the picture develop while taking it in bulb mode.
So you could stop it just when you think it exposed enough as it  is displayed on the screen or as a live, evolving, histogram.
But I would imagine that sort of data flow might even need different hardware not to mention total access to the software and a great deal of work.

I got the 6 inch reflector telescope i was looking at.
It came with a camera mount. 9mm, 15mm, 25mm objective lenses, moon filter and a 2Xbarlow.
I think I am getting best results with the 25mm in telescope and my 35mm-80mm on camera set between 55mm and 80mm.
I also have a 18mm-55mm lens for camera and 80mm-210mm but it is too long for mount.

It has been rainy since I got it.
But so far i can see a nail in a patio half a km away on a warm day with the air moving.

any tips would be nice.
I read I should get a canon t adapter for direct focus.
I hope to find one cheap soon.
 
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 27 / April / 2011, 10:08:54
Hi,
great work and improvements so far.
Is it possible to implement cycling menus that wrap around when you reach the top/bottom of the list. So pressing the down arrow when at the bottom will select the topmost entry and vice versa?
Just a little suggestion to improve usability / handling.

Cheers

I have thought about this as well.  If I were coding such a thing - I would tend to want to have a menu selection somewhere which would either allow or not allow the wrap around menus such as "Wrap around menus: Yes/No" and then have the menus act according to the setting made by the user.  I think some users (most) would like the wrap around menu feature but some would not - especially as they first get used to using 400plus and learning what the menu choices are and where they are located.  Just my .02 worth...


Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 27 / April / 2011, 10:40:00
Another option that crossed my mind was to allow the user to select only those presets whose saved AE mode match the current AE mode selected in the main dial, but that can be quite frustrating. Or open a dialog after loading a preset, prompting the user to change the main dial to the AE mode saved in that preset.

I was going to propose that too... this is the best solution in my opinion.
We can have separate presets for each AE mode. It wont be so confusing when we make the names for the presets.

About the A-DEP mode, it's useless really, I think we can make it work too... when the camera starts we can detect the AE mode (A-DEP) and load the last used preset. This should fix the problem with restarting the camera, but we still need to detect auto power-off though. If i'm lucky I could catch some events about the power-off, this could help with autoloading the preset.

Now, this would certainly be a nice feature and solve both issues!  I am having a tough time trying to wrap my head around what you would code to restore to the camera upon powering back on in A-DEP mode though.   

Would you restore the last Preset if one had been chosen prior to power-off?  This would work fine if no settings had been changed by the user after the Preset had been loaded.  I think this feature will take some serious thought prior to implementing - it's a great idea though if you can pull it off!  Especially being able to "listen" or "auto-detect" a pre- "power down" event or something in order to save a flag or semaphore or value indicating that a Preset was currently loaded and which Preset it was.

What if: When the camera powers on in A-DEP mode (only) and it was determined from the last power-off cycle that a Preset was loaded that a dialog is displayed indicating to the user to "Reload last Preset, or use standard A-DEP settings?" or something similar?

Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 27 / April / 2011, 13:06:03
With AE you mean the Auto Exposure measurement pattern, or else what presets are you talking about?
Just for the record: the sensor cleaning is triggered before each powerdown...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 27 / April / 2011, 13:46:56
With AE you mean the Auto Exposure measurement pattern, or else what presets are you talking about?
We are refering to the "Auto Exposure modes": P, Tv, Av, M, A-DEP, ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 27 / April / 2011, 14:23:28
Now, this would certainly be a nice feature and solve both issues!  I am having a tough time trying to wrap my head around what you would code to restore to the camera upon powering back on in A-DEP mode though.   

Would you restore the last Preset if one had been chosen prior to power-off?  This would work fine if no settings had been changed by the user after the Preset had been loaded.  I think this feature will take some serious thought prior to implementing - it's a great idea though if you can pull it off!  Especially being able to "listen" or "auto-detect" a pre- "power down" event or something in order to save a flag or semaphore or value indicating that a Preset was currently loaded and which Preset it was.

What if: When the camera powers on in A-DEP mode (only) and it was determined from the last power-off cycle that a Preset was loaded that a dialog is displayed indicating to the user to "Reload last Preset, or use standard A-DEP settings?" or something similar?

when im thinking more of it ... you are right, we should never restore any settings if we had restarted the camera. after all i'm using a power-cycle to reset some settings, like AEB for example (this is faster than going to the menu). and if you are using noice reduction function (which seems to be using some buffer), it's good to have power cycle after each shot... when im shooting lightenings im shooting in bulb for 45-60 seconds ... then after the first photo the noise reduction is working fine ... after the seconds shot, the post-processing takes as much time as the photo itself... thats why im power-cycle-ing the camera after each shot.

when talking about the auto-power-off, i believe when you hit half the shutter button it restores the settings ... so we should be good here.

@chross, thanks for the hint... there are alot of events when the camera auto-power-off, we have to find the right one, but im not sure we have to? and yes by AE i meant what Eduardo described.
Title:
Post by: eduperez on 27 / April / 2011, 16:56:09
I did the following test first (no hack involved here):

Set the camera to M mode, aperture to 1/1.8 and speed to 1/60; moved to Av and set aperture to 2.2; changed to Tv and set speed to 1/400. Now I can jump around these modes, and the camera will recall the correct aperture and speed that I had set for each mode. I also saved these settings as three presets.

Then I made a small modification to our code, so the when a preset is loaded from the card, only the AE value is read and applied, no other parameter from the preset is used. Now I set the camera to A-DEP mode and read those presets; guess what happens? When I change the AE mode, the camera also recalls the other parameters!

This means we could do the following:
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 27 / April / 2011, 18:30:10
I just implemented what I explained above, it will be available in the next nightly build; let's see if it works.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 27 / April / 2011, 18:38:06
I just implemented what I explained above, it will be available in the next nightly build; let's see if it works.

Very cool...
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 28 / April / 2011, 01:23:30
I did the following test first (no hack involved here):

Set the camera to M mode, aperture to 1/1.8 and speed to 1/60; moved to Av and set aperture to 2.2; changed to Tv and set speed to 1/400. Now I can jump around these modes, and the camera will recall the correct aperture and speed that I had set for each mode. I also saved these settings as three presets.

Then I made a small modification to our code, so the when a preset is loaded from the card, only the AE value is read and applied, no other parameter from the preset is used. Now I set the camera to A-DEP mode and read those presets; guess what happens? When I change the AE mode, the camera also recalls the other parameters!

This means we could do the following:
  • Presets can only be read while in A-DEP mode.
  • When a preset is read, we write to the card the AE mode corresponding to such preset.
  • When the camera boots, we check the current AE mode: if we are in A-DEP, we load and apply the last AE mode set by a preset; the camera will then recall the other parameters.

I believe the nightly build is working as you suspected it would.  Nice.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 28 / April / 2011, 01:47:12
I did the following test first (no hack involved here):

Set the camera to M mode, aperture to 1/1.8 and speed to 1/60; moved to Av and set aperture to 2.2; changed to Tv and set speed to 1/400. Now I can jump around these modes, and the camera will recall the correct aperture and speed that I had set for each mode. I also saved these settings as three presets.

Then I made a small modification to our code, so the when a preset is loaded from the card, only the AE value is read and applied, no other parameter from the preset is used. Now I set the camera to A-DEP mode and read those presets; guess what happens? When I change the AE mode, the camera also recalls the other parameters!

This means we could do the following:
  • Presets can only be read while in A-DEP mode.
  • When a preset is read, we write to the card the AE mode corresponding to such preset.
  • When the camera boots, we check the current AE mode: if we are in A-DEP, we load and apply the last AE mode set by a preset; the camera will then recall the other parameters.

I believe the nightly build is working as you suspected it would.  Nice.


Nice find - this certainly makes coding a bit easier I would assume.  :D

Now for more implementation of Presets and A-DEP:

I did notice a possible issue and rightly so - Let's say you load Preset 5, and then watch your excellent work by setting the mode dial to A-DEP,  let the camera auto power off, then half-press the shutter release button to bring it back alive and see all of your Preset 5 settings come back to life.  All is working and good at this point.

Now move the mode dial to Av (or any other setting), possibly change ISO from 100 to 200, set metering to Evaluative, and snap a few more shots.  Now move the mode dial back to A-DEP and take note that the camera AE mode is now the original A-DEP, take a shot or two to see how A-DEP works.  Now let the camera auto power off, half-press the shutter release button to come back alive - we are back at Preset #5 again... 

Need to work through the logical design of how this should really work, now that we have learned that the restoring of settings by the camera is now the easy part...   8)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / April / 2011, 01:52:24
I believe the nightly build is working as you suspected it would.  Nice.

I had to make a little change, however: presets can be read in any AE mode.

As we (still) cannot detect the position of the main dial, I had to use the current AE mode. But when user loads a preset, the camera is no longer in A-DEP mode, even if the dial says so; and thus no other presets can be read, unless the user moves the dial out of A-DEP and back again. However, the camera will only recall the last AE mode used if it starts in A-DEP mode, and not in other AE modes; this is still a bit confusing, but far less confusing than the alternative.

So, for the immediate future, two tasks remain in my "pending" list:
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / April / 2011, 02:05:48
Nice find - this certainly makes coding a bit easier I would assume.  :D

Now for more implementation of Presets and A-DEP:

I did notice a possible issue and rightly so - Let's say you load Preset 5, and then watch your excellent work by setting the mode dial to A-DEP,  let the camera auto power off, then half-press the shutter release button to bring it back alive and see all of your Preset 5 settings come back to life.  All is working and good at this point.

Now move the mode dial to Av (or any other setting), possibly change ISO from 100 to 200, set metering to Evaluative, and snap a few more shots.  Now move the mode dial back to A-DEP and take note that the camera AE mode is now the original A-DEP, take a shot or two to see how A-DEP works.  Now let the camera auto power off, half-press the shutter release button to come back alive - we are back at Preset #5 again... 

Need to work through the logical design of how this should really work, now that we have learned that the restoring of settings by the camera is now the easy part...   8)

Yes, I am afraid that we are going to have inconsistencies like these popping out forever... but nice catch anyhow! Two proposals come to my mind:

Both options have their drawbacks, however...
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 28 / April / 2011, 13:04:18
Yes, I am afraid that we are going to have inconsistencies like these popping out forever... but nice catch anyhow! Two proposals come to my mind:
  • Completely sacrifice the A-DEP mode; as soon as the camera enters A-DEP, we recall the last preset used.
  • If the user leaves A-DEP, delete the info we stored previously, so it does not get reloaded later.

Both options have their drawbacks, however...

Seems to me that if you are able to "detect" a mode dial change by the user, and also (in future code) you are able to "detect" the current camera mode dial AE setting then you are mostly there.
Then by making the A-DEP feature optional by a menu choice such as "Use A-DEP for Presets: Yes/No" to either allow our "Mars" users :) to use original A-DEP (the "No" setting); or use A-DEP for Presets (the "Yes" setting) and follow the steps you have indicated in your last 2 posts then we have a pretty solid foundation to build upon.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / April / 2011, 18:12:22
Seems to me that if you are able to "detect" a mode dial change by the user, and also (in future code) you are able to "detect" the current camera mode dial AE setting then you are mostly there.
Then by making the A-DEP feature optional by a menu choice such as "Use A-DEP for Presets: Yes/No" to either allow our "Mars" users :) to use original A-DEP (the "No" setting); or use A-DEP for Presets (the "Yes" setting) and follow the steps you have indicated in your last 2 posts then we have a pretty solid foundation to build upon.

It was a bit harder than what I expected, but I think I have it now; A-DEP now means "presets":

Of course, all this will be available in the next nightly build.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 29 / April / 2011, 00:06:31
It was a bit harder than what I expected, but I think I have it now; A-DEP now means "presets":
  • Presets can only be read at A-DEP (this is just to remind users to put the dial there).
  • Whenever the camera enters into A-DEP (or boots with the main dial in A-DEP) the last preset (if found) is recalled.
  • This behaviour cannot, at this moment, be configured out.

Of course, all this will be available in the next nightly build.

Great work - I did about 20 minutes of testing and things are looking right on target.  I really like how this feature works now - and as I mentioned a few days ago this will turn out to be one of my most favorite things about 400plus.  Now I just need to print a little label to fit on the camera mode dial to cover up the A-DEP text and replace it with P-Set!
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 29 / April / 2011, 00:40:02
A bit more playing and testing and I was able to get the camera in a state where the mode dial was set to A-DEP and pressing the DIRECT PRINT button at the Shortcuts menu would not show the Load presets menu... (no blue light or anything - it was like the DIRECT PRINT button had become inactive).

Have not been able to reproduce this again yet but will try more.  I remember I had loaded a preset, then changed a few settings, saved a preset, turned the mode dial to a different AE setting, returned the mode dial back to A-DEP setting and let the camera sit for quite a while (10 minutes or more), before half-pressing the shutter to bring it back alive - then somehow I experienced the inability to see the Load preset menu any more from A-DEP. I also noted that the order of my Shortcuts menu was no longer saved to the custom order I had previously saved it to - it had returned back to the default order.

Not trying to purposely break anything here, just testing and enjoying the new features and noted these conditions and wanted to report back my findings...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / April / 2011, 03:27:08
A bit more playing and testing and I was able to get the camera in a state where the mode dial was set to A-DEP and pressing the DIRECT PRINT button at the Shortcuts menu would not show the Load presets menu... (no blue light or anything - it was like the DIRECT PRINT button had become inactive).

Have not been able to reproduce this again yet but will try more.  I remember I had loaded a preset, then changed a few settings, saved a preset, turned the mode dial to a different AE setting, returned the mode dial back to A-DEP setting and let the camera sit for quite a while (10 minutes or more), before half-pressing the shutter to bring it back alive - then somehow I experienced the inability to see the Load preset menu any more from A-DEP. I also noted that the order of my Shortcuts menu was no longer saved to the custom order I had previously saved it to - it had returned back to the default order.

Not trying to purposely break anything here, just testing and enjoying the new features and noted these conditions and wanted to report back my findings...

Looks like there is a bug in the code that tracks the position of the main dial: our code was thinking that the dial was in a different position, and thus did not allow you to enter the presets menu. About the shorcuts: there are frequent changes in the format of the settings file between versions of the hack; when that happens, our code will not load an older version of the file

Please, keep reporting your findings, they are very valuable to the developers!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / April / 2011, 07:03:34
I have just remembered that presets store all settings, and that includes the order of the shortcuts menu; this is "by design", because which shortcuts are more useful may depend on the situation. You probably saved a presets before reordering the shortcuts, and a presets recovered later that (non)order.

I think we need an option to decide which settings are included in the presets.
Title: Presets and Shortcut menu ordering...
Post by: guffster on 29 / April / 2011, 12:42:30
I have just remembered that presets store all settings, and that includes the order of the shortcuts menu; this is "by design", because which shortcuts are more useful may depend on the situation. You probably saved a presets before reordering the shortcuts, and a presets recovered later that (non)order.

I think we need an option to decide which settings are included in the presets.

Good catch, that is exactly what happened with the lost Shortcut menu ordering...

Still trying to determine exact steps of how I got the no-show of the Load preset menu while in A-DEP mode.  I'll keep testing as I have time.

It would be nice to have a wiki doc out in the repository (once Preset code is complete) that shows all of the settings that are saved / restored for a Preset (not the actual values, just what settings are used with Presets).  I have looked over the code and see most of them.  I might add an Issue as an enhancement to also load/store the camera "Auto power off" value.  I didn't see that one in code.  Do you have access to this setting?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / April / 2011, 14:07:54
It would be nice to have a wiki doc out in the repository (once Preset code is complete) that shows all of the settings that are saved / restored for a Preset (not the actual values, just what settings are used with Presets).  I have looked over the code and see most of them.  I might add an Issue as an enhancement to also load/store the camera "Auto power off" value.  I didn't see that one in code.  Do you have access to this setting?

Yes, once we have options to select which parameters are read from the presets, we will have to document them.

And yes, too; the following "interesting" parameters are not used:

We know how to save them (we are already saving them to the card, actually), but still have to figure out how to apply them (almost trivial, probably); but I do not think all of these should be used: does it make sense to change the language with a preset, for example?.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 29 / April / 2011, 17:04:05
does someone knows what are those SecretFlags for ? there are 2 secret flags which seems to change some normal events to another event... still dont know what they do ... but if someone knows, this can save me reading the disassmebled code ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / April / 2011, 19:11:23
Still trying to determine exact steps of how I got the no-show of the Load preset menu while in A-DEP mode.  I'll keep testing as I have time.

Looks like the camera does not do a full restart when the card is removed and inserted again; then, we boot directly in the last mode set by a preset, and we cannot detect where the dial is.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 29 / April / 2011, 22:35:21
We know how to save them (we are already saving them to the card, actually), but still have to figure out how to apply them (almost trivial, probably); but I do not think all of these should be used: does it make sense to change the language with a preset, for example?.

My choices for inclusion in each Preset setting:


Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 02 / May / 2011, 14:10:09
The presets are amazing.
I can't think of any kind of photographer not finding them useful.
Is there any reason to limit them to a quantity of only 5?
Do you think it would be useful to have them be easily shared, edited and/or imported?
I would bet the amount data in one preset file is so small it might  fit just within then length of the file name.

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / May / 2011, 01:20:27
The presets are amazing.
I can't think of any kind of photographer not finding them useful.

Thanks!

Is there any reason to limit them to a quantity of only 5?

There are only 5 rows in a menu, and I thought 5 would be enough; even the most expensive cameras have less.

Do you think it would be useful to have them be easily shared, edited and/or imported?

Presets are stored as files in your card... do whatever you want with them.

I would bet the amount data in one preset file is so small it might  fit just within then length of the file name.

You lost the bet: a filename is 8+3 characters, and just the parameters for a couple of scripts are longer than that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 03 / May / 2011, 05:10:53
Couls someone post some example of preset? Just for my better understanding.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / May / 2011, 05:37:56
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 03 / May / 2011, 05:56:41
Could preset files be made in ASCII format?
To let a reader know what each value is representing maybe a little bit of text could be added.
That way you could associate Notepad with them and edit them quickly on the computer.
It would be even faster for computer users if it was all put in just one easily editable ASCII file.  
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / May / 2011, 06:20:53
Could preset files be made in ASCII format?
To let a reader know what each value is representing maybe a little bit of text could be added.
That way you could associate Notepad with them and edit them quickly on the computer.
It would be even faster for computer users if it was all put in just one easily editable ASCII file. 

This is already being discussed here: http://code.google.com/p/400plus/issues/detail?id=46 (http://code.google.com/p/400plus/issues/detail?id=46).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 03 / May / 2011, 11:28:55
Couls someone post some example of preset? Just for my better understanding.

Yes, of course:

Hope this helps.

Thanks it's very interesting, I need to try.
Title: More on Presets...
Post by: guffster on 04 / May / 2011, 01:02:24
Title: And even more on Presets...
Post by: guffster on 04 / May / 2011, 01:04:42
Continued...

Preset Name = "Wildlife"
Mode: Av
ISO: 400
F-Stop:F8.0
Drive: Continuous shooting
Focus: AI Servo
WB: AWB
Quality: RAW
Beep: Off
Red-Eye: Off
Review Time: Off
[Metering]: Spot
[Safety Shift]: Yes

Preset Name = "Tripod Stuff"
Mode: M
ISO: 100
Drive: Remote control
Focus: Single Shot
WB: AWB
Quality: RAW
Mirror Lockup: On
Red-Eye: Off
Review Time: 8 sec
[Metering]: Spot
[IR remote delay]: 2s
[Safety Shift]: No

Preset Name = "Fast Sports"
Mode: M
ISO: 800
F-Stop: F4
Shutter: 1/800
Drive: Continuous shooting
Focus: AI Servo
WB: AWB
Quality: JPG-L
Metering: Evaluative
Focus Points: All active
Red-Eye: Off
Review Time: 2 sec
[Safety Shift]: No
[AEB]: Off

The camera settings for each Preset would need to be set using your camera (for now anyway) and then saved to one of the five (5) Preset slots.  Renaming is optional but makes it easier to identify the shooting scenario.  All of the Presets are saved to your camera CF card (by Preset name) which allows you to now copy and share to other CF cards, thumb drives, hard disk drives, websites, file-shares, etc. and also to other users of 400plus. Although 5 Preset slots are offered (more than most camera's costing big $$$), you could actually have 5 Presets on 5 different CF cards and get 25 different Presets (I don't know why you would do this but you could!).  Each of these are just files on a disk, you could build a library of Presets, save them to your PC, and then load to your CF card(s) before you go out on a shoot.

Cool huh!  I think so.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / May / 2011, 01:53:24
Thanks, guffster; I find your contributions to this project (documentation, bug reports, feature request, user support,...) very valuable.

A couple of additions to your explanations:
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 04 / May / 2011, 09:08:45
Can the the new high end cameras name their presets too?
I think that is so excellent that you can record and recall any particular camera setting.
This will save me lots of time.
I will be making presets any time I set the camera up for a certain environment or style of shot.
And recalling them when I am in same situation again.
The different possibilities are almost unlimited one for astrophotrograhy another for macrophotography, out car window, telephoto, one tuned just for skyscapes. i will get to them so much faster the second time because I wont have to think about all the technical stuff.
Just have look it up in plain language on my preset list. A quick few button presses and I haven't lost the mood or the moment.

I have been testing the white balance shift/bracketing use with the presets.
The bracketing is recalled with the preset but the color shift doesnt show on the graph and the 3 dots stay centered at the origin.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 04 / May / 2011, 17:31:52
it would be great to have 25 presets in 5 categories, or simply the possibility to read a slot as a category of presets, each category has got 5 presets inside.
if presets are stored as files in the CF card, shouldn't be difficult to read a subfolder as a category
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / May / 2011, 19:11:11
ok guys,
Please let the braves of you take the nightly build 20110505, revision should be >= 477
( i'll force the nightly build so it will be available for downloading right after i go to bed ;) )
and test the menus... please fill an issue for any problems you find in menu navigation or let us know here.


i said only the braves of you, right ?!
most of you should stay on the normal scheduled releases and wait for the next release.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 04 / May / 2011, 23:32:48
ok guys,
Please let the braves of you take the nightly build 20110505, revision should be >= 477
( i'll force the nightly build so it will be available for downloading right after i go to bed ;) )
and test the menus... please fill an issue for any problems you find in menu navigation or let us know here.


i said only the braves of you, right ?!
most of you should stay on the normal scheduled releases and wait for the next release.

PM'ed.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 05 / May / 2011, 09:05:05
I have an idea that I hope to be able to put across despite my limited ability to explain my thoughts clearly to others so please make an effort to over come my lack of interpersonal skills.

I think it would be very useful to some users to be able to make  macros that would cycle threw the presets chosen for each shot.

For example if one was trying to determine what ISO was best for a noon time nature walk.
They could make a macro that would keep changing between two presets after each shot.
One preset could include ISO 200 and the other lets say ISO 400.
They then could go on their walk perhaps taking two pictures of every thing and when they review the images on a nice screen they could determine what setting is best for any particular picture.
Maybe the macro could contain a multi-shot option where you would only have to press button once for the complete cycle of pictures, each with their own settings, to be taken.

This idea just came to me in the shower this morning, I should be able to think of many much better examples of how this could be very useful after I get a chance to reflect on this more.

 .

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 05 / May / 2011, 09:27:22
I noticed in the new version #477 that you get the option to have the screen dim when script is activated.
Do you think it should it get bright again after after script is over?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / May / 2011, 09:34:02
I noticed in the new version #477 that you get the option to have the screen dim when script is activated.
Do you think it should it get bright again after after script is over?

Yes, that is the intention; please report a bug if that is not the case.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 05 / May / 2011, 09:54:33
I double checked what I did with my camera and I think it stayed dim afterwards just because I powered it off in mid script execution.
So no real problem.
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / May / 2011, 10:44:15
I double checked what I did with my camera and I think it stayed dim afterwards just because I powered it off in mid script execution.
So no real problem.

That happens, but I still do not know how to fix it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 05 / May / 2011, 11:05:57
Could a dimmed by script flag be set and written to card and have brightness restored to previous level on next boot up if it is present?

Not that I think its really needed but it might be a small refinement
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 05 / May / 2011, 18:22:28
Even when the flash is set to off the lighting bolt icon stays on screen in the creative modes.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / May / 2011, 08:53:33
The menus look very nice and the top title line would be very helpful for users that are starting to lean their way around them.
But do you think it would be worth while to make a full screen mode so you can see one more option on the screen?
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / May / 2011, 09:14:29
Often I take a lot of pictures just to see how the camera behaves.
It takes some time to find and delete the all the many test pics.
Could there be a test mode where a flag is put on the pics taken so later you can chose to delete them all at the same time?
Perhaps another to remove the test flag if one happens to like a particular test pic.
Maybe make it automatic, perhaps with a confirmation option, when the card memory is full.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / May / 2011, 11:32:22
After i save a preset at 3200 (called it nitemoves lol) when i return to main screen is says 1600 til i hit some other button then it changes by its self back to 3200.

When finished  naming a preset and you come back to the preset list if the preset you just named was the one highlighted it would be quicker to save the preset there .
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / May / 2011, 12:40:39
If you could activate the auto play it could be used as a screensaver.
If pressing of the display button could be simulated it might be a bit more interesting alternating between the histogram and the full screen picture.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / May / 2011, 14:21:40
Man, you have to stop yourself !!
Please !
Be Real !!!
Stop that bullsh*t !
That is way too much already !
I do not want to be rude, but
I have got too much of you !

If you want to suggest real things, please start with reading the code or at least the commit logs and the issue list, so you will have idea what is real and what is nonsense !

Until now you're only flooding us in the forum and in the issue list.
Please read more, talk less !
Test more, report and suggest real things !



This is f*cking annoying...
Please read all your posts (for the last 2 months atleast), please !

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / May / 2011, 15:34:25
I have read just about every thing.
When you say comment log and issue list do you mean the same thing?
I ask just in case there is a different comment log to read other than the comments on the issues .


Just to name a few of my recent contributions.
2 bugs reported on this page
2 bugs reported on page just before this one.

Not to mention the invention of 1 feature -hand waving
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / May / 2011, 15:45:10
I don't want to argue, I just want you to think before you post !
when i said commIt log (i.e. not commENt log) i meant this: http://code.google.com/p/400plus/source/list (http://code.google.com/p/400plus/source/list)
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 06 / May / 2011, 16:42:12
Thanks for pointing me to the changes discussion.
And the programing word of the day "commit".
I hope you can spend that all energy next time telling me exactly what i am saying that is being misunderstood or might be based on a misunderstanding.

So, I have been reading some from those particular pages you mentioned.
On the page http://code.google.com/p/400plus/source/browse/trunk/funclist.S?spec=svn463&r=463 (http://code.google.com/p/400plus/source/browse/trunk/funclist.S?spec=svn463&r=463)
Where it says :
1659 DEF(StartMnAutoPlayApp, 0xFF86FC2C)
Is that defining a function that can be used by us?
If it is something else then what?
If we cant use it then why?
 I have been asking about the funclist for a while but no one has said any thing about it.
Other wise please explain how are functions found?
Title: Re: Eos 400d ( Rebel XTI )
Post by: lars on 06 / May / 2011, 17:03:07

Until now you're only flooding us in the forum and in the issue list.
Please read more, talk less !
Test more, report and suggest real things !

This is f*cking annoying...


I totally agree with 0xAF. Joe, please stop posting your unqualified ideas and try to stay realistic and constructive...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / May / 2011, 17:47:08
Sorry for being aggressive, I just had a blackout...
so about the funclist.S
this file is a dump from what routines are found in the firmware...
just the names, we do not know what arguments they have and what they do...
to tell you what StartMnAutoPlayApp() exactly do and how to use it... we'll have to spend some hours in reversing the routine... most of the routines we reverse are just a small part of a big puzzle...
after we understand what this routine() do, we will find out some of the other routines connected to the puzzle, then we have to spend many more hours until we finally find what is this function of the camera ... and start to use it...

in that matter ... you'll see alot of names in funclist.S, but very few of them we know how to use...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 07 / May / 2011, 07:38:34
Hi,
first of all thanks and thanks again for your job, I'm appeciating very much. I'd like to ask a simple thing that I cannot understand: is it possible to assign a name to a preset? If yes, how? Thanks in advance for your suppport.
Ciao
Francesco
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 07 / May / 2011, 08:34:52
to rename hit the buttons in this order; menu, DP, DP, menu, set . making sure to highlight the preset you want to change before pressing the second menu button .
while editing it the menu button deletes the rest of the line
pressing set while on the name will enter it and exit.

assuming your version works like the one I am using currently, the nightly build that was available yesterday.

correction: I cant seem to find the delete and capitals while editing in this version. It was there in a version before.
But you can still type over mistakes
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / May / 2011, 09:09:28
Hi,
first of all thanks and thanks again for your job, I'm appeciating very much. I'd like to ask a simple thing that I cannot understand: is it possible to assign a name to a preset? If yes, how? Thanks in advance for your suppport.
Ciao
Francesco


The ability to rename presets is still work in progress; you can download and try one of the nightly builds, but there is no guarantee that it will work, or you can wait for the next release.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / May / 2011, 07:12:36
When using hand waving with no delay, one shot, repeat, instant with a 30 second exposure and only when there is a lot of dark frame subtraction afterwards as is indicated by the busy icon and the red light going on for several seconds afterwards it will take a second picture with out a second hand wave instead of displaying the picture when it is done. Then one has to wait about another minute for the second exposure and dark frame subtraction.

Also I would like to add the personal observation that when working in the dark, with the screen off while it is taking a picture, the flashing blue light is a bit distracting and slightly blinding. But if that is just a personal problem i can easily just put a little bit of black tape over it while in that situation.

I must say that I really am impressed that you can turn the hand waving on, work with both hands free on the camera and then take a picture without having to go and grab something else. This makes things much easier in the dark.

I would like to learn more details about hooking firmware functions.
I am not sure I would be good at learning a new programing syntax after a 30 years with just knowing one.
But hooking functions sounds like fun, please pardon the pun, and how many parameters could simple functions like auto play have?
Any tips on this?
Any pointers to more reading material on this subject would be great.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / May / 2011, 07:24:24
I would like to learn more details about hooking firmware functions.
I am not sure I would be good at learning a new programing syntax after a 30 years with just knowing one.
But hooking functions sounds like fun, please pardon the pun, and how many parameters could simple functions like auto play have?
Any tips on this?
Any pointers to more reading material on this subject would be great.

start here and if you are interested after that, i'll PM you the next step.
http://www.idabook.com/ (http://www.idabook.com/)
(the url is just to point you to the right direction, you will find more materials on the net)
you will need some ASM knowledge too...
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / May / 2011, 09:15:27
Is this the process I would need to use?
Or is there a better way?

http://magiclantern.wikia.com/wiki/IDAPython/Backtracing (http://magiclantern.wikia.com/wiki/IDAPython/Backtracing)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / May / 2011, 09:48:45
I haven't used that... the file you'll need is already available here in the thread.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / May / 2011, 10:27:41
Would you please tell me its name, about what page and/or a keyword I could use to find the file.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 09 / May / 2011, 10:05:23
Thanks

 Now does anybody know how to get the tracer window open in IDA 5.2 ( i thought i take a look with this version first)

and Is the graphical flow chart only available in IDA Pro 5.5 or am i missing something or is it just not available with what we are doing?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 09 / May / 2011, 10:40:26
To trace the code, one will need somewhere to run the code in first place.
And AFAIK you cannot trace the code, as you cannot run it on your PC (unless your PC is the camera itself), neither you have JTAG (or any other debugger) connected to the camera while the code is running there.

Now about IDA:
Please do not post questions related to IDA on this thread, as I said, you can find any information on the net. Google is your friend.
Do not expect someone here to teach you how to use that product, or how to reverse some code with it.
I hope you are using a free version of IDA (http://www.hex-rays.com/idapro/idadownfreeware.htm (http://www.hex-rays.com/idapro/idadownfreeware.htm)) or perhaps you brought a license for the version you have. Stop asking for troubles here.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 09 / May / 2011, 11:32:54
Don't worry, it happens to be on a friends computer.
There are computers with licenses.
I didn't think asking about it would be a problem because when I  search the term in here and get 9 pages full of just messages containing the name of it.
But OK, I agree, I won't  beat a dead horse concerning this.
And thanks for the tip.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 09 / May / 2011, 17:22:30
@JoeNeptune:

I'd like to help you with the disassembly, but I must confess I have never done it myself; up to know, all my code is based on call to functions that others have found and documented.
Title: Re: Eos 400d ( Rebel XTI )
Post by: metai on 15 / May / 2011, 20:32:11
Hello everybody! Long time reader, first time poster here. Let me start off by saying how much I appreciate the work you do.

I also realize that it probably isn't the best start to barge in with feature suggestions, but there are two that really stand out since I've been using 400plus. I, however, have no idea how hard they are to implement, so feel free to shoot them down immediately.

The first would be to make 400plus format-resistant. I don't know where and when, but back when I started using my 400D, I received the hint to "never erase, always format". Possibly to prevent corruption, it may simply be superstition, too. In any case, I somehow became used to format the card to empty it, and of course 400plus won't survive a format. I honestly don't have a good idea how to prevent this, storing 400plus files temporarily and write them back after a format is probably very hard to implement. Maybe it would be easier to do an "are you sure, this will delete 400plus" check with the format option? I don't know ...

The second one is a bit of a pet peeve of mine. When using the 2nd curtain flash, the 400D would still fire a flash first to measure lighting. Which, with my favorite lens, is completely pointless (manual lens in manual mode). It's even counterproductive because my picture subjects assume it was the main flash and break pose. Would it be possible to turn off this first "guide" flash?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / May / 2011, 02:19:30
[Sorry if this post appears duplicated, but my proxy blocked the first try]

Hello everybody! Long time reader, first time poster here. Let me start off by saying how much I appreciate the work you do.

I also realize that it probably isn't the best start to barge in with feature suggestions, but there are two that really stand out since I've been using 400plus. I, however, have no idea how hard they are to implement, so feel free to shoot them down immediately.

Welcome to the forum!

The first would be to make 400plus format-resistant. I don't know where and when, but back when I started using my 400D, I received the hint to "never erase, always format". Possibly to prevent corruption, it may simply be superstition, too. In any case, I somehow became used to format the card to empty it, and of course 400plus won't survive a format. I honestly don't have a good idea how to prevent this, storing 400plus files temporarily and write them back after a format is probably very hard to implement. Maybe it would be easier to do an "are you sure, this will delete 400plus" check with the format option? I don't know ...

This one looks interesting, but I see some roadblocks in our way: intercept the camera's formatting routines, store the files somewhere, recondition the FAT, ...; not easy!

The second one is a bit of a pet peeve of mine. When using the 2nd curtain flash, the 400D would still fire a flash first to measure lighting. Which, with my favorite lens, is completely pointless (manual lens in manual mode). It's even counterproductive because my picture subjects assume it was the main flash and break pose. Would it be possible to turn off this first "guide" flash?

AFAIK, in the first flash is used by the TTL logic to measure the power needed for the second flash, and the aperture is selected according to the ambient light; so even if you have a manual lens, the camera needs that preflash, unless your flash operates in manual mode. Looks like we would need to determine how to make the built-in flash operate in manual mode first, and then how to disable the preflash.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 16 / May / 2011, 11:36:31
The first would be to make 400plus format-resistant. I don't know where and when, but back when I started using my 400D, I received the hint to "never erase, always format". Possibly to prevent corruption, it may simply be superstition, too. In any case, I somehow became used to format the card to empty it, and of course 400plus won't survive a format. I honestly don't have a good idea how to prevent this, storing 400plus files temporarily and write them back after a format is probably very hard to implement. Maybe it would be easier to do an "are you sure, this will delete 400plus" check with the format option? I don't know ...

This one looks interesting, but I see some roadblocks in our way: intercept the camera's formatting routines, store the files somewhere, recondition the FAT, ...; not easy!

I would say if not impossible, at least very hard to do it with current knowledge on the FW.

metai:
About the formating of the card, the only reason to format the CF i could think of is to make defragmentation.
I do not believe the camera fragments too much... But still I format once in 6 months. Theoretically writing should become a bit faster, but i doubt it...
I do not see other reason to format the card (correct me if I'm wrong), so you can just "erase all" and you're done.
btw, when I download the photos, I always delete the card from the laptop after that.
I guess this depends on the software you're using for downloading the photos though (I'm with digikam on linux).
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 16 / May / 2011, 13:47:13
Feature request...

Hi guys. How about adding the ability to set the exposure time from within the interval menu? At the moment, it is only possible to do exposures of up to 30 seconds as the next option is `bulb`. I would like to be able to set this so you could take a specific number of photos with anything up to 5 minute exposure times.

An example of when you may want to do this would be shooting star trails. To do this would would take a load of 5 minute exposures and then `stack` them in photoshop...

Anyone think this is possible?

Thanks for all the hard work so far!

Hello all,

I just wondered if anyone had any luck with this? It would be a really useful function for me but if it is too much work or too difficult then no worries...

many thanks for all the work so far!

Cheers

repeater
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / May / 2011, 16:45:39
Feature request...

Hi guys. How about adding the ability to set the exposure time from within the interval menu? At the moment, it is only possible to do exposures of up to 30 seconds as the next option is `bulb`. I would like to be able to set this so you could take a specific number of photos with anything up to 5 minute exposure times.

An example of when you may want to do this would be shooting star trails. To do this would would take a load of 5 minute exposures and then `stack` them in photoshop...

Anyone think this is possible?

Thanks for all the hard work so far!

Hello all,

I just wondered if anyone had any luck with this? It would be a really useful function for me but if it is too much work or too difficult then no worries...

many thanks for all the work so far!

Cheers

repeater

This has already been done; just wait for the next release, or try the latest nightly build (if you feel brave enough).
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 17 / May / 2011, 04:17:55
The second one is a bit of a pet peeve of mine. When using the 2nd curtain flash, the 400D would still fire a flash first to measure lighting. Which, with my favorite lens, is completely pointless (manual lens in manual mode). It's even counterproductive because my picture subjects assume it was the main flash and break pose. Would it be possible to turn off this first "guide" flash?

Disabling the preflash is COMPLETELY unnecessary, absurd, and not to mention the most POINTLESS thing ever.
The preflash is NEEDED to measure the power for the main flash that illuminates the image when you are using ETTL mode.

It's CALLED ETTL for a reason. It measures the power for the flash FOR you.

If you don't want the preflash, just USE the MANUAL power option on your flash... It's NOT THAT HARD.
If you want an automatic calculated flash power exposure, then you NEED to have a preflash.

Even in studio work, with a light meter and using studio strobes, you need to fire off the flash for the light meter to obtain a reading.
That flash you fired for the light meter is essentially A PREFLASH.
You then set your studio strobes manually according to the reading to achieve your perfect exposure.

So please don't even think about trying to disable the preflash in ETTL mode. It's pointless and absurd, and ETTL won't even work for that matter.

---

2nd curtain, you know what it is. As I said before. If you disable the preflash, in whatever curtain, ETTL WILL NOT WORK.

If you put the preflash before the main flash on 2nd curtain, then the preflash gets captured IN the image.
There is NO WAY to avoid the preflash on ETTL. PERIOD.

Just DON'T have your shutter speed too low then, so the subject won't assume the preflash is the main flash.
Easy fix.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / May / 2011, 04:33:08
[...]
If you don't want the preflash, just USE the MANUAL power option on your flash... It's NOT THAT HARD.
[...]

The built-in flash does not have a MANUAL option, AFAIK.
Title: Release 20110517
Post by: eduperez on 17 / May / 2011, 17:06:29
Time for a new release, thanks to the efforts (in no particular order) of 0xAF, Sergei, The Queen of England, and myself:

As always, the links are:

We hope you enjoy.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 18 / May / 2011, 02:20:15
The built-in flash does not have a MANUAL option, AFAIK.

I wasn't referring to the built in flash.

However, if the person I quoted was referring to the built in flash, then don't set your shutter speed too low to have the preflash seperated from the main flash for a good amount of time.
Simple.
Title: Re: Eos 400d ( Rebel XTI )
Post by: metai on 19 / May / 2011, 13:53:30
However, if the person I quoted was referring to the built in flash, then don't set your shutter speed too low to have the preflash seperated from the main flash for a good amount of time.
Simple.
Too simple. 2nd curtain flash, and please do correct me if I'm wrong, only makes sense if I intend to draw in at least some ambient light before the scene is illuminated by the flash. Setting the shutter speed short enough to make those two flashes indistinguishable defies the purpose of the 2nd curtain flash, I could as well use the front curtain flash then.

Quote from: sizzlincok
Disabling the preflash is COMPLETELY unnecessary, absurd, and not to mention the most POINTLESS thing ever.
I try not to take this personally, but it would actually be nice that, especially in a forum that dabbles in VERY specific tweaks of a camera's function, you could at least ASSUME there is a specific reason for people to ask about specific things. You are acting as if I actually insulted you by daring to ask about disabling the ETTL preflash. Especially since, in my scenario, the preflash becomes pointless:
Quote
The preflash is NEEDED to measure the power for the main flash that illuminates the image when you are using ETTL mode.
For ETTL to work, the 400D needs to know the lens aperture (technically speaking, it shouldn't, but for some reason only Canon knows, it does). If it cannot read the aperture from the lens, the internal flash will always fire full power, regardless of preflash results. Which is fine, I know the flash's guide number and calculate ISO and aperture after roughly estimating the shot. That's what people used to do before TTL, by the way.

Background: The internal flash turned out to be a lightweight and always-available replacement for a very narrowly set external strobe (e.g. with a snout). I actually like the way it lights the scene from the dead center when photographing people at very dimly lit events, which gives great looking results in conjunction with my beloved Samyang 8mm lens (even if the lens itself casts a bit of a shadow to the bottom of the frame). I have the subjects lighted by the flash and then draw in a second of ambient light, which gives a nice effect of ambient movement. It would be nice tho to be able to do this process with 2nd curtain, but, as I said, people tend to break pose when they see the preflash.

Manually controlling the internal flash would be an awesome addition to 400plus, not just if and when to fire, but also its intensity.
Title: Re: Eos 400d ( Rebel XTI )
Post by: metai on 19 / May / 2011, 13:58:41
About the formating of the card, the only reason to format the CF i could think of is to make defragmentation.
I agree. Again, I just got used to formatting the card instead of erasing all, but I don't see where there would be a big difference in everyday usage. Formatting once every while should be just fine. It would just be good to avoid the accidental formatting of the card without a laptop in reach to reapply the 400plus firmware. It would already help a lot to make the formatting option harder to use.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 21 / May / 2011, 09:39:38
Which is why you should just spend $200 on a Canon flash that does manual mode metai.

Yes, obviously 2nd curtain flash makes sense if you want to draw in ambient light before the final flash fires.
However, if you're in such place where people mistake the preflash as the main flash, it's not hard to use ISO3200 to SHORTEN your shutter speed, gaining the amount of light that it would take for a lower iso and longer shutter speed.
Hence keeping the two flashes close together so it wont be mistaken.

It ALSO helps if your aperture is as max as it will go.

The preflash becomes pointless because what YOU want doesn't work for YOU.
The preflash is NECESSARY for ETTL to work properly. Period.
You are correct. The camera needs to know the aperture before hand to calculate the numbers with the preflash.

I'm well aware on how TTL worked before in the past.

I do ALL my strobist work by eye. I don't use any fancy light meters or TTL technology.
I set it to what I think will work, then trial and error.
That is how you learn to control your lighting, rather than relying on TTL technology.

I do agree that manually controlling the built in flash would be a very good feature on the XTi.

Because simply saying the preflash is pointless in 2nd curtain is retarded. Period.
There's no other way for the built in flash to calculate the flash exposure without it.

Buy an external flash. It will benefit you in the long run.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 21 / May / 2011, 10:21:29
Time for a new release, thanks to the efforts (in no particular order) of 0xAF, Sergei, The Queen of England, and myself:
  • Multi-language support (only English and German right now).
  • Presets have been improved, there are more options related to them, and now they can be renamed and reordered.
  • Some enhancements for the scripts: disable MLU and auto power-off or dim LCD down during the execution of a script, and EAEB exposures up to 16 minutes.
  • Other minor additions and fixes.

As always, the links are:
  • A Word of Warning (that everybody should read) at http://code.google.com/p/400plus/wiki/AWordOfWarning (http://code.google.com/p/400plus/wiki/AWordOfWarning).
  • Source at http://400plus.googlecode.com/files/400plus-20110517-0.src.zip (http://400plus.googlecode.com/files/400plus-20110517-0.src.zip).
  • Binary at http://400plus.googlecode.com/files/400plus-20110517-0.bin.zip (http://400plus.googlecode.com/files/400plus-20110517-0.bin.zip).
  • Updated user guide at http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide).
  • There are also Spanish (http://code.google.com/p/400plus/wiki/UserGuideSpanish), Italian (http://code.google.com/p/400plus/wiki/UserGuideItalian), and German (http://code.google.com/p/400plus/wiki/UserGuideGerman) translations (still not updated to the latest version, however).

We hope you enjoy.

Hi Edu and thanks again for your job. Can you explain better how to rename a preset?
Thanks a lot.
Bye
Kekko
Title: Re: Eos 400d ( Rebel XTI )
Post by: metai on 21 / May / 2011, 16:08:55
Which is why you should just spend $200 on a Canon flash that does manual mode metai.
I do own a 430EX II, and know about its pros and cons. One con is that I don't want to take it around everywhere because it effectively doubles the space my camera and lens take in my bag.

Quote
it's not hard to use ISO3200 to SHORTEN your shutter speed, gaining the amount of light that it would take for a lower iso and longer shutter speed. (...) It ALSO helps if your aperture is as max as it will go.
No. High ISO and large aperture over a short exposure do not equal longer exposure.

Quote
Because simply saying the preflash is pointless in 2nd curtain is retarded. Period.
Nowhere did I say in general it was pointless, that is only what you are taking from what I can only assume is a very shallow scanning of my text.

Seriously, after three posts in here I am already thoroughly annoyed by your debating style. You are constantly putting words in my mouth I did not say, while at the same time lecturing me on photography basics as if you were the only one who could possibly know them. Or worse, as if you were the only one who is doing it right and everyone else is, quote, "retarded" not to go about photography the way you do. I said it before, and I'll say it again: Please at least try to ASSUME people know what they are talking about. That would be rather nice, thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / May / 2011, 16:27:28
Hi Edu and thanks again for your job. Can you explain better how to rename a preset?
Thanks a lot.
Bye
Kekko

Yes, of course:

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 22 / May / 2011, 05:22:43
I do own a 430EX II, and know about its pros and cons. One con is that I don't want to take it around everywhere because it effectively doubles the space my camera and lens take in my bag.
The 430EX II is SMALL enough as it is already. I own the 580EX II, and I find it very compact. I've rented the 430, and I was surprised it was that much smaller.
If you're saying it "doubles" the space of your camera and lens, then there must be a problem there. Because if you look at it, it's technically about 2/3 the size of the camera.
Maybe you should get a bigger camera bag. There are many shapes and sizes out there.

No. High ISO and large aperture over a short exposure do not equal longer exposure.
Um, yes it does. ISO3200 + F/2.8 vs ISO1600 + F/4.
The ISO1600 combo needs a longer exposure to reach the same amount of light as the ISO3200 combo gets.
You're effectively GAINING two stops if you were to use the ISO3200 combo than the ISO1600 combo.
You GAIN a stop of light from opening up to F/2.8, you also gain a stop from increasing the ISO to 3200.

I work with flash photography on a daily basis. Off camera flash photography as well, as WELL as flash photography in the complete dark.
I would assume so that I know the exposure of photography, as it's clearly seared into my brain.


Nowhere did I say in general it was pointless, that is only what you are taking from what I can only assume is a very shallow scanning of my text.
Well in no where was I indicating that I knew nothing about photography.
You're only assuming so from shallow scanning of MY response.

I'm not saying you said it was pointless. I'm saying it's the most pointless thing to even ASK, as if you actually knew flash photography itself, you will know that ETTL requires a preflash. That preflash is about 1/32 power, and it WILL get in your photo if you have the preflash fire before the actual flash in second curtain.

Seriously, after three posts in here I am already thoroughly annoyed by your debating style. You are constantly putting words in my mouth I did not say, while at the same time lecturing me on photography basics as if you were the only one who could possibly know them. Or worse, as if you were the only one who is doing it right and everyone else is, quote, "retarded" not to go about photography the way you do. I said it before, and I'll say it again: Please at least try to ASSUME people know what they are talking about. That would be rather nice, thank you.
Well I'm not the one who assumes that the other one is also a photography n00b with the basics.
No, everyone else didn't even question the fact to cancel out the preflash on ETTL, on the built in camera.

If you always assume assume assume, it's not a good habit to get into. Know your facts, then type accordingly, as if you're just going on about "assuming" the person this and that, it leads to such arguments like this one between you and I.

That being said, cool story bro.
Title: Re: Eos 400d ( Rebel XTI )
Post by: metai on 22 / May / 2011, 08:06:25
Maybe you should get a bigger camera bag.
(...)
ISO3200 + F/2.8 vs ISO1600 + F/4.
(...)
I'm saying it's the most pointless thing to even ASK, as if you actually knew flash photography itself
(...)
Well I'm not the one who assumes that the other one is also a photography n00b with the basics.
See where we've arrived here?

I was, and am still, asking if the internal preflash can be disabled
- for long exposures
- with manual lenses
- where ETTL doesn't work anyway
- so the preflash is pointless IN THIS CASE

Your answers were, in that order:
- that I am an idiot without a clue about flash photography
- that ETTL requires a preflash (which, in itself is true, and would be a perfectly fine argument if ETTL was even in the picture here. Which it, you know, isn't.)
- that I am an idiot without a clue about flash photography
- that I should lower the shutter time (because there's really no better advice for someone who seeks longer exposures)
- that I am an idiot without a clue about photography in general (implicit, since you seem to feel compelled to repeatedly explain ISO, aperture and shutter time to me)
- that I should get an external strobe (because there's really no better advice for someone who wants to use the internal flash)
- that I should get a bigger camera bag
- that I am an idiot without a clue about flash photography
- that I should use different ISO/aperture/shutter settings (because a long exposure is just a short exposure with less sensitivity ... are you f***ing serious?)
- that I am an idiot without a clue about flash photography
- that I am calling you a noob (I never did, but you seem to want to read my text in such a way)

Quote
I work with flash photography on a daily basis. Off camera flash photography as well, as WELL as flash photography in the complete dark.
I accept that, why wouldn't I. But please, for a moment, consider if everyone who doesn't go about photography the way you are really is a daft idiot who doesn't even deserve to be taken seriously in the first place.

Because if that's the way to have a conversation with you, Sir, then I respectfully decline.
Title: Re: Eos 400d ( Rebel XTI )
Post by: whoever on 22 / May / 2011, 09:13:46
Metai,
I cannot tell you if it is possible on the 400D (perhaps no one knows at the moment), but I can tell how it has been done on canon P&S cameras, hoping that something similar may work on DSLR's. Some P&S canons have native manual flash mode, and some don't (now think of the EOS 60D that has it, and 550D that doesn't). It was discovered, on those cameras that have native manual, that it is basically controlled by two "property cases" and a power preset table (for the technical details, see here: http://chdk.setepontos.com/index.php?topic=2204.0 (http://chdk.setepontos.com/index.php?topic=2204.0) ). Then, just writing to those locations at the appropriate moment in the capture sequence does the trick. If it is somewhat similar in the DSLR world, then Alex (the main developer for 550D) will eventually discover it, as he now also owns a 60D. If it is not, then a solution may never be found, as the capture sequence and flash related code is rather complex, next to incomprehensible in disasm.

And now you, sizzlincok. Shut the f-k up, will ya?
Title: Re: Eos 400d ( Rebel XTI )
Post by: metai on 22 / May / 2011, 09:50:59
Whoever,
thank you for the info, it certainly looks promising. There's a lot to be said for manual control of the internal flash, I hope something will come out of it. I just can't contribute very much: Although I can read code well enough to get the gist of it, I am not a programmer by any definition, most certainly not on that level. I'm in the graphics/UI profession, if you ever need someone in that field to help, I'll gladly see what I can do.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 22 / May / 2011, 15:01:33

And now you, sizzlincok. Shut the f-k up, will ya?


hear hear...

Up to now this has been a friendly forum populated by people like myself, who want to get the most out of their camera and the devs, who spend their spare time facilitating this for us less technically adept people...

Who cares who knows the most about photography? I really couldn't give a monkeys...I'm just loving the additional functionality I'm getting for my 400D.

Lets get it back on a friendly tip eh?

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 24 / May / 2011, 08:24:01
I think a system that in every picture the settings are  wrote, read and set with would be very user friendly and allow for a very fast tune of your camera to its environment.
For example you could take 4 shots in a row with different settings pick out the best perhaps by quickly looking at the histograms and bang your right there in the sweet spot quick.
And for people just learning and the visually and/or photographically challenged.-
Match the picture to environment.  We could train a monkey to be a photographer .:)
(maybe it might be possible for the software to make a file with all the different picture settings if it is found we need to get around reading data right from picture file).
The camera would have memory like an elephant an never forget.

I doubt its practical in the very near future but another function I propose that might be of interest someday.
If someone worked out how to do it...
They could make an automatic preset selection triggers, perhaps done by some camera data including light level, focus distance, lens on, flash on, camera orientation,  and I am sure there are other inputs that might be useful in triggering the camera to be ready just the way you want it when you go to push the button.
If it could be done right it could make any user the fastest draw in the west.
To just the way the user styles it.
There will be less "ones that got away" while stumbling threw extra buttons.
This could be as complicated as making a brain but may be someone can figure out how it could be done in a more simple way that works and isn't too hard to understand.

Thank you very much for any consideration.
And of course thanks for this already very amazing software.

 
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 24 / May / 2011, 10:04:06
I wonder if any one else thinks it would be useful to have a setting where the camera takes a second picture every time in full auto?(perhaps without the flash if off)
You would have a back up for any mistakes.
One could experiment and have a safety at the same time.
I think it also might be good for comparison while experimenting and for mixing in photoshop.
I know the full auto mode isn't great because I get a much better histogram without trying too hard in manual modes but full auto as a  second exposure could still be a bonus often in tougher shots.

Maybe also If it knew your exposure was under compared to what it calculates, one might want to have a setting so it will over expose a bit if possible on second shot so the two pictures together have a much wider color palate if I understand correctly.
Ones small over or under exposure mistake could be turned in a image bonus of light range with the addition of quick computer calculated second exposure.


 
Title: Pondering: Hack causing battery drainage??
Post by: pedroluis on 25 / May / 2011, 01:22:45
First of all: Thank you for making my camera much more versatile.  :D

Is the hack causing battery drainage?? The last 2-3 weeks or so I have experienced that after using my camera, on-off-on-off, photographing a 100 or so pictures, inbetween changing lenses (blue and red lamps blinking everytime), moving memory card in and out (lamps blinking everytime), goes to bed - after setting camera to 'OFF'. Next morning - camera, i.e. battery - is dead.  :'( Full recharge needed.

I do use a battery grip - and I thought this might be part of the problem, leaving the grip 'on'; but no, with control 'off', battery runs out of power. It could be old batteries, but no, my newer ones (recharged around 50 times) also drains out overnight.

This is a new situation. not quite sure when I first got suspicious - 3 or 4 main versions ('featured') ago? After setting and recalling presets was introduced?

Is this a bug - hack working night shift - or is it my camera-battery-combo?? I can't tell for sure. But it's annoying. Anybody experiencing the same???
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 25 / May / 2011, 04:30:14
First of all: Thank you for making my camera much more versatile.  :D

Is the hack causing battery drainage?? The last 2-3 weeks or so I have experienced that after using my camera, on-off-on-off, photographing a 100 or so pictures, inbetween changing lenses (blue and red lamps blinking everytime), moving memory card in and out (lamps blinking everytime), goes to bed - after setting camera to 'OFF'. Next morning - camera, i.e. battery - is dead.  :'( Full recharge needed.

I do use a battery grip - and I thought this might be part of the problem, leaving the grip 'on'; but no, with control 'off', battery runs out of power. It could be old batteries, but no, my newer ones (recharged around 50 times) also drains out overnight.

This is a new situation. not quite sure when I first got suspicious - 3 or 4 main versions ('featured') ago? After setting and recalling presets was introduced?

Is this a bug - hack working night shift - or is it my camera-battery-combo?? I can't tell for sure. But it's annoying. Anybody experiencing the same???

In theory, when the camera is off there should be absolutely no software running on it; I cannot think how could our hack drain a battery in that situation. I also have a grip, and you can imagine I do all kind of weird things with my camera, but have never experienced this problem. Just off the top of my head, there are two tests I would do:

* Take the grip off the camera, but leave the batteries inside
* Put one battery directly in the camera, without the grip, and leave the card out.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / May / 2011, 05:00:47
I wonder if any one else thinks it would be useful to have a setting where the camera takes a second picture every time in full auto?(perhaps without the flash if off)
You would have a back up for any mistakes.
here is my opinion on full auto mode:
the full auto mode of the camera is something canon shouldn't have put there...
i doubt anyone shoot in full auto mode... if you shoot in full auto then buying a DSLR is a waste of your money.
the P&S cameras will make better photos than the full auto of DSLR, basically because their auto mode is nice adapted to the non-changable lens they have...
so if you have a "backup" in full auto mode, you actually have no backup...

One could experiment and have a safety at the same time.
actually that's the main advantage of DSLR (and digital cameras at all)... you can experiment and see results... delete and experiment again...

I think it also might be good for comparison while experimenting and for mixing in photoshop.
I know the full auto mode isn't great because I get a much better histogram without trying too hard in manual modes but full auto as a  second exposure could still be a bonus often in tougher shots.
you wont have second exposure usable for merging with the first photo...
if you want HDR then use EAEB... shooting for second time from hand will need aligning of the both images... and 2 frames with same illumination on them, are not vary usable, not to mention the aperture will be different (and iso perhaps) because of the full auto.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / May / 2011, 05:01:55
I think a system that in every picture the settings are  wrote, read and set with would be very user friendly and allow for a very fast tune of your camera to its environment.   
i still cannot get your point ? how would we have the photo (with the settings) before we actually take the photo ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: metai on 25 / May / 2011, 06:40:54
I think a system that in every picture the settings are  wrote, read and set with would be very user friendly and allow for a very fast tune of your camera to its environment.  
i still cannot get your point ? how would we have the photo (with the settings) before we actually take the photo ?
Perhaps he is talking about using already-taken photos as "presets", something I have actually seen in P&S cameras several years ago. Wouldn't really make much sense, especially with a full-fledged preset system already in place.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 25 / May / 2011, 07:30:47
It is possible to put the camera in a state where it doesn't shutdown completely.

On 550D, this happens when:
- you block the gui_main_task (i.e. a custom handler for some event doesn't return)
- you use pointers in a wrong way (e.g. forget to malloc them)
- you try to open a non-existent file from the startup function on FAT32 cards (was an issue in early 2010 builds)

On 5D2, AJ stops all Magic Lantern tasks when he intercepts the shutdown effect. On 550D, calling msleep periodically does the job well :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 25 / May / 2011, 07:44:37
It is possible to put the camera in a state where it doesn't shutdown completely.

On 550D, this happens when:
- you block the gui_main_task (i.e. a custom handler for some event doesn't return)
- you use pointers in a wrong way (e.g. forget to malloc them)
- you try to open a non-existent file from the startup function on FAT32 cards (was an issue in early 2010 builds)

On 5D2, AJ stops all Magic Lantern tasks when he intercepts the shutdown effect. On 550D, calling msleep periodically does the job well :)

Very interesting... do you have any info on how can we detect when that happens? Many thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / May / 2011, 07:57:42
Does this mean we can have alarms wake the cam up to do a task?

Pedroluis-

  I should first note that i dont even have a battery grip but, if your camera drains the grip battery over night with the grip in off position I would think there is a small trickle of a short in the grip. It maybe some dirt in it. Cleaning it up inside with q-tips and alcohol might fix it but then again it might make it worse. Taking the batteries out while not in use may be the safest bet.
Otherwise would think it was the batteries. Li-ion batteries also get like this over time.

AF-

I will try to answer your last question first with an quick example.
You are with your camera in a new place, say your office.
You take a few pictures and find the best settings, iso, white balance, and everything else.
After you are done tuning it to perfection you will have a photo of office with all the best settings contained in it.
If you keep that photo on your card when ever you enter the office to take more shots, just click the office picture you made before and you are ready with no rethinking required.
This could be done for all the different situations one may find themselves in repeatedly.

About your concerns with the other idea (a second exposure done with auto mode)  I would say-

-the new photoshop will auto align the pictures if there is any movement in the split second between them ,so no problem.
-different ISO's would mean one photo would have less noise and this would be a bonus to work with.
-different apertures would give more control of the depth of field in the mix of pictures and the ability to remove the distortions some apertures have.

I do think this is the way to go.
Let the computer do all the mundane work with a fairly reliable base image.
Then we can focus our skills on making the photo outstanding.
Maybe setting the white balance so it makes the highlight of her hair rock
,perhaps overexposing your manual frame so you can see in that dark cave on the shore line, or under exposing so you get the sky-scape in addition.
This could all be done on the fly by knowing how the auto will work and you make your shot to make up for any of its short comings.
Also I would like you to please consider that when photographing wild life, children and other chaotic subjects you don't always have the chance to delete and try again and it could be very valuable to be free to try what ever you like to get an amazing shot and still be sure that you are getting the basic image to start with.
                                        
Its HDR made with a faster and easier and more diverse type computer aided of EAEB.
We would be truly working with the computer instead of it just doing what its told.

Before thinking of this, I had much the same thoughts of auto mode as you, but as a second complementary exposure it will be very useful.

Thank you for your help in making my self more clear.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / May / 2011, 08:32:28
Please excuse me for being long winded but I should add some more details to the above example.

When you are in your office experimenting with different settings to get the best picture you can take many different pictures and then when you review them to chose the right one. You don't have to keep in your short term memory all the different settings you changed since you were there to get back to that best tuned state.
This will allow one to try more options and get back to the right one much faster and with significantly less mental work.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / May / 2011, 09:07:56
metai- what camera(s) are you talking about?
If it is p&s what settings would it be controlling?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / May / 2011, 14:54:25
It is possible to put the camera in a state where it doesn't shutdown completely.

On 550D, this happens when:
- you block the gui_main_task (i.e. a custom handler for some event doesn't return)
- you use pointers in a wrong way (e.g. forget to malloc them)
- you try to open a non-existent file from the startup function on FAT32 cards (was an issue in early 2010 builds)

On 5D2, AJ stops all Magic Lantern tasks when he intercepts the shutdown effect. On 550D, calling msleep periodically does the job well :)

i through it can be something like unclean shutdown... but so far i have no battery drain... and noone else reports of such... so i though the shutdown on VxWorks is clean all the time...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / May / 2011, 15:18:01
Does this mean we can have alarms wake the cam up to do a task?
not precisely... if we want to do such thing, we need to block the shutdown and keep the camera online all the time... but if we want to do this, then why would we shutdown it ?
we can make a menu to put the camera into sleep mode, but im not sure we can sleep it with the current knowledge ...

Pedroluis-

  I should first note that i dont even have a battery grip but, if your camera drains the grip battery over night with the grip in off position I would think there is a small trickle of a short in the grip. It maybe some dirt in it.
the off switch of the grip is for the grip buttons only, not for the power. atleast mine.

AF-

I will try to answer your last question first with an quick example.
You are with your camera in a new place, say your office.
You take a few pictures and find the best settings, iso, white balance, and everything else.
After you are done tuning it to perfection you will have a photo of office with all the best settings contained in it.
If you keep that photo on your card when ever you enter the office to take more shots, just click the office picture you made before and you are ready with no rethinking required.
This could be done for all the different situations one may find themselves in repeatedly.
i think i got it now... (like metai suggested), but this means we should find a way to parse the exif data of the already taken photo, which i have no idea how to do...


-the new photoshop will auto align the pictures if there is any movement in the split second between them ,so no problem.
i'm aware of that, but still not the best way to get HDRs...

-different ISO's would mean one photo would have less noise and this would be a bonus to work with.
yes, but it would be the first(yours) photo, not the full-auto photo... so still pointless...

-different apertures would give more control of the depth of field in the mix of pictures and the ability to remove the distortions some apertures have.
i'm not sure how is this done, i never thought of mixing different aperture photos...

Also I would like you to please consider that when photographing wild life, children and other chaotic subjects you don't always have the chance to delete and try again and it could be very valuable to be free to try what ever you like to get an amazing shot and still be sure that you are getting the basic image to start with.
ok, but keep in mind that the second photo will be taken few seconds after the first one, so it's still not the same... actually it will be like holding your shutter button in continuous shooting... which you can do ATM.

                                       
Its HDR made with a faster and easier and more diverse type computer aided of EAEB.
it wont be HDR... you can setup your camera on tripod and take a photo in semi-auto mode (Av,Tv) with custom settings, then take it with full-auto... try to merge them and see what will happen ... i would like to see the results...

We would be truly working with the computer instead of it just doing what its told.
i would actually prefer to work with the camera on-site, instead of trying to fix my mistakes in photoshop...
if you want to do your photos in photoshop, you can always switch to full-auto and shoot only in this mode...

Before thinking of this, I had much the same thoughts of auto mode as you, but as a second complementary exposure it will be very useful.
it wont be usable frame for merging it with the first one... atleast in my opinion...




in final words i would say: i still believe that this addition would be pointless and not usable...
you will need to hold the camera still - for the second photo... and the second photo is something you will never use ...
so far i'm not convinced it's worth it to spend time investigating and developing this feature...
i would like to hear other opinions too...
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / May / 2011, 19:01:46
Parse the exif data or perhaps make a file containing all the photos data of whats been taken, if need be.
Is there a way to know what picture was last looked at during play back?
Is there some where in camera memory the exif data can be edited so it goes into the picture file when its written?

The experiment you propose is very interesting and i might want to do some simulations of what could be produced with double barrel shot of an auto canon mode plus one manual shot.
Of course I will be using manual setting and a semi-auto I dont think full auto is needed.
When I get new harddrive for my laptop i will have enough ram to run the software to do it.
I am still on a back up computer.
I don't see why second shot would need to take seconds should be just a  double click.
It would be HDR but I will admit if it was done right, the long way, you could get twice the improvement because the way i am thinking would just boost the highs or the lows but not both.
About having to stand still, the second safety shot could be at a shake proof fast shutter speed so in fact this way you wouldnt even need to stand still for your first.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / May / 2011, 20:27:38
Maybe we can make something even better.
A double barrel mode-
Set camera for secondary shot then hit a button then set it for primary shots.
Then camera takes both.
Continue to set primary shots and take both or hit a button and enter new secondary shot.
This way it do more things including HDR properly.
and of course why just 2?
The Multi-Shot-mode, Hit a button and set second and third shots that are to be taken in addition to what you are currently set to.
Just hitting a button to switch between control of the settings in each of the shots could be a faster way to set up normal exposure bracketing as well.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 26 / May / 2011, 08:26:31
Maybe you could look at it from the point of view of shooting with a number of presets at once  in an order and repeating while button is down.
But set up mode where you can quickly add or edit directly all the shots, like you were just about to take them, would be very quick and I think also  others my find this way intuitive.

When something is about to happen and you need a good shot a number of things enter you mind, why not set it to do them all at once .Then instead of fumbling at the controls at a big moment you could be shooting another round?
The first sort of order that occurs to me would be something like fast speed shot maybe 1/150/sec, followed by one that will be good if i am steady enough at 1/30th sec ,then a maybe flash followed if i am in a more playful mood a long exposure of the reaction to the flash.
I would not be surprised if these 4 exposures could not be done in 2 seconds maybe 3.
I maybe  i would label it "bang boom flash & laugh"
But of course there will be many other better ways to set it to allow stuff like HDR and perhaps control of depth of field and stuff we haven't even thought of yet.
A mode where you hit a button to add a new shot and perhaps another to rotate threw your barrels to edit them.
For example to do a basic double.
while at 1/30 sec hit it
then set to 1/100 sec
take picture and it does both and will repeat if you like.
set it to 1/80sec
take picture and it does 1/30 and 1/80
hit button then set 1/120 sec
it then shoots 1/30,1 /80,1/120
So its a simple add a shot button while you edit live one of the shots and can rotate threw them.
I think this could be a very productive mode for any photographer that likes to take pictures with various different settings and likes to get a lot of work done fast.
This also will allow us to get the most out of any given special moments too, like a wedding kiss for example.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 29 / May / 2011, 00:39:56
For people who want to uninstall the hack:
eventproc_DisableBootDisk(); // this function disables bootdisk and the hack!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / May / 2011, 07:24:31
For people who want to uninstall the hack:
eventproc_DisableBootDisk(); // this function disables bootdisk and the hack!

Does that mean that the camera will boot normally after that? Very interesting!

I think we could add a menu entry, so users can disable the camera on-the-go (if the hack starts acting weird, for example) without formatting the card. Many thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 29 / May / 2011, 07:38:08
Yes. I'm using a slightly different approach: the camera loads vanilla firmware if you hold the shutter half-pressed at startup.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / May / 2011, 02:25:33
what exactly this routine do ? does it disables the flag in the bootloader for loading the AUTOEXEC.BIN, and if we disable the hack this way, how would it be enabled again ? testfir.bin ?
perhaps what alex suggested is better approach... but slightly different:
we can disable it from a menu, then use some button (like the half-shutter or other btn) on power-up to enable it again...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / May / 2011, 02:57:39
from what i see it changes an address in the rom: 0xF8000004... i guess it is the flag for the bootloader.
so the hack should be enabled with testfir.bin after it was been disabled with eventproc_DisableBootDisk()...
still i believe it's not good idea to change rom addresses unless the user want's to disable the hack once and for all...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 30 / May / 2011, 03:14:19
from what i see it changes an address in the rom: 0xF8000004... i guess it is the flag for the bootloader.
so the hack should be enabled with testfir.bin after it was been disabled with eventproc_DisableBootDisk()...
still i believe it's not good idea to change rom addresses unless the user want's to disable the hack once and for all...

I think it can be useful: imagine you are shooting, and the camera starts acting weird, you blame it on 400plus (wrongly, of course) and you want it out of your camera, right then and there; but you cannot format the card, as there are precious pictures there that you need to keep... what can you do?

With this, you can completely "uninstall" the hack and continue shooting (with your crippled camera, that is). Back at home, you can download a more recent version of 400plus (which solves all real and imaginary issues, obviously) and do the complete installation cycle again.

I would not make it too accessible in the menus, however; and I would advice anyone to put a copy TESTFIR.BIN in all cards.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / May / 2011, 03:24:08
testfir.bin is something we do not know ... it just does it's magic ... and it hangs the camera... i consider it too dangerous to be in frequent use...
we can make our init routine to check if there is a flag "DontStartHack", or we can make it check for existence of a file named "nohack" , or whatever... and then we can skip our initializations and jump directly to the original FW...
this way we will be safe from testfir.bin and from changing rom addresses ...
but still it would be good to have "Undo the hack" option...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 30 / May / 2011, 04:45:36
we can make our init routine to check if there is a flag "DontStartHack", or we can make it check for existence of a file named "nohack" , or whatever... and then we can skip our initializations and jump directly to the original FW...

That would be nice, didn't know we could do it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / May / 2011, 08:08:33
btw the testfir.bin seems to be compiled with gcc 4.1.0, i presume it was generated by a hacker...
the original firmware is compiled with different compiler ... if someone have some info on testfir.bin would be nice...
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 30 / May / 2011, 17:07:12
Feature request...

Hi guys. How about adding the ability to set the exposure time from within the interval menu? At the moment, it is only possible to do exposures of up to 30 seconds as the next option is `bulb`. I would like to be able to set this so you could take a specific number of photos with anything up to 5 minute exposure times.

An example of when you may want to do this would be shooting star trails. To do this would would take a load of 5 minute exposures and then `stack` them in photoshop...

Anyone think this is possible?

Thanks for all the hard work so far!

Hello all,

I just wondered if anyone had any luck with this? It would be a really useful function for me but if it is too much work or too difficult then no worries...

many thanks for all the work so far!

Cheers

repeater

This has already been done; just wait for the next release, or try the latest nightly build (if you feel brave enough).

Hi all,

I  am a little confused by this as I cant seem to get it to work. If I wanted to set the camera to take 20 shots using the intervalometer, with each shot being 5 minutes long, how would I do it? I have tried enabling the EAEB option in the intervalomenter option but it still just brackets the shots by stops.

Can anyone explain, step-by-step, the procedure? Sorry for being an idiot - I would love to get this working though!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / May / 2011, 01:13:09
Hi all,

I  am a little confused by this as I cant seem to get it to work. If I wanted to set the camera to take 20 shots using the intervalometer, with each shot being 5 minutes long, how would I do it? I have tried enabling the EAEB option in the intervalomenter option but it still just brackets the shots by stops.

Can anyone explain, step-by-step, the procedure? Sorry for being an idiot - I would love to get this working though!

No, you are not an idiot... I misunderstood the comment, and it is not implemented the way it was requested: what we have now is the possibility of doing exposures longer than 30 seconds in EAEB (and EAEB can be used from the intervalometer, obviously); but there is a lower limit of 3 exposures in EAEB.

What you need is intervalometer + longer exposures, no bracketing involved, no? Does not look impossible at all, probably will be available on next release. Sorry for the confusion.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Coutts on 31 / May / 2011, 01:50:14
from what I understand, with magic_off, magic lantern still loads, but no tasks are started. why not implement something similar to this? this way it's a temporary off.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 31 / May / 2011, 01:58:22

What you need is intervalometer + longer exposures, no bracketing involved, no?

Yes - that is exactly what I would like. Thanks for your help!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / May / 2011, 02:49:46
from what I understand, with magic_off, magic lantern still loads, but no tasks are started. why not implement something similar to this? this way it's a temporary off.

All current functionalities of 400plus are designed around a proxy, that intercepts messages as they travel around the camera; if we just let the messages pass untouched, and do nothing else, the camera should behave exactly as before the hack. We would still be doing all the initialization at the booting process, but I do not see how to avoid that (unless we do call eventproc_DisableBootDisk, obviously).

It would be temporary, but the user would need to have access to a computer with a card reader in order to enable the hack back again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 31 / May / 2011, 03:18:46
from what I understand, with magic_off, magic lantern still loads, but no tasks are started. why not implement something similar to this? this way it's a temporary off.

All current functionalities of 400plus are designed around a proxy, that intercepts messages as they travel around the camera; if we just let the messages pass untouched, and do nothing else, the camera should behave exactly as before the hack. We would still be doing all the initialization at the booting process, but I do not see how to avoid that (unless we do call eventproc_DisableBootDisk, obviously).

It would be temporary, but the user would need to have access to a computer with a card reader in order to enable the hack back again.

I think Coutts means what we discussed last night... and i spoke with Alex to give me some light on magic_off in ML...
let's say the user wants to disable the hack... we will call this NoHackFlag...
my idea was to catch the NoHackFlag in early phase of booting, actually in the first possible moment, so we will not initialize with our tasks and our handlers and our proxies ... instead we will call the original rom_Start().
the result will be: the hack is still in the RAM, but effectively disabled, because no one actually is using it.
this is the safest way to disable the hack temporarily, without touching the ROM!

unfortunately we cannot detect NoHackFlag in that earlier phase, because we have nothing initialized at that moment... no FileIO, nothing we can really use to detect the NoHackFlag.

so Alex(or someone else on ML) found the best possible solution for NoHackFlag.
in ML they detect the half-shutter button hold when they power-on. if there is half-shutter holded on power-on, then they call the original FW.

there is another unfortunate for us here... we do not know the RAM addresses of any button... so far we know only the Blue and Red LED addresses in RAM...

when i spoke with Alex, he told me, that they use MemorySpy technique to catch the buttons... so i will implement something like that in the future, but there are other more important stuff for now ...

the solution for now would be to have the hack permanently disabled with eventproc_DisableBootDisk()
and if the user wants the hack again, he will need to go through the testfir.bin procedure.
we will need to warn the users when they want to disable the hack, to do this on charged battery, because if the battery drains while this routine works (it changes ROM addresses), then the camera can be bricked ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 31 / May / 2011, 14:37:48
btw the testfir.bin seems to be compiled with gcc 4.1.0, i presume it was generated by a hacker...
the original firmware is compiled with different compiler ... if someone have some info on testfir.bin would be nice...

My .02:

I have looked for a long time on info (particularly source) for testfir.bin and have come up with nothing.  It would be nice to know exactly what steps this small firmware does to enable the bootloader to boot from a CF card so that the reverse steps could one day be performed to put the camera back as it was before ever flashing testfir.bin.

There have been forum posts (here and elsewhere) and talk on other sites of just re-flashing original Canon firmware and the actions of testfir.bin would go away.  Not true for any of the 400D bodies that I have - I have tried this many times.  I have never found a way to do it.  Others say just format your card to remove AUTOEXEC.BIN and 400plus will not load, well that of course works but is not the same thing.

If use of "eventproc_DisableBootDisk" from 400plus could be determined to put the camera back into the state as if testfir.bin had never been flashed then that would be an excellent addition to 400plus just for the sole purpose of putting the bootloader back to its factory mode.  It could even be a menu option in the Developer menu.

As for having a way to power on the camera and not activate 400plus (even when a CF card with AUTOEXEC.BIN is loaded in camera) by half pressing the shutter btn on power-on (or another way) would be an entirely different thing and would also be an excellent feature to have in 400plus.

It will be interesting to see what you can do with this.
Title: Bug or Feature? Getting to the 400plus Settings menu.
Post by: guffster on 31 / May / 2011, 14:57:59
Bug or Feature?  8)

Since the current 400plus menu system briefly displays the original menu first and then displays the "400plus Settings menu" immediately afterwards, there is now potentially a second way to get to the "400plus Settings menu":  Try this test (using the svn-0567 nightly build):


If your two (2) DP button presses were fast enough, then you have now arrived at the "400plus Settings menu"!  This works just like pressing the MENU button first and then pressing the DP button to enter to the "400plus Settings menu".  And it makes sense why.

If you had just pressed the DP button only once then you would arrive at the "Shortcuts menu".

If you had pressed the DP button once, then paused slightly and pressed the DP button a second time you would be at the "Load presets menu" (if mode dial is set to A-DEP and the "Use A-DEP Setting is: Yes).


Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 31 / May / 2011, 15:59:41
I have looked for a long time on info (particularly source) for testfir.bin and have come up with nothing.  It would be nice to know exactly what steps this small firmware does to enable the bootloader to boot from a CF card so that the reverse steps could one day be performed to put the camera back as it was before ever flashing testfir.bin.

There have been forum posts (here and elsewhere) and talk on other sites of just re-flashing original Canon firmware and the actions of testfir.bin would go away.  Not true for any of the 400D bodies that I have - I have tried this many times.  I have never found a way to do it.  Others say just format your card to remove AUTOEXEC.BIN and 400plus will not load, well that of course works but is not the same thing.

If use of "eventproc_DisableBootDisk" from 400plus could be determined to put the camera back into the state as if testfir.bin had never been flashed then that would be an excellent addition to 400plus just for the sole purpose of putting the bootloader back to its factory mode.  It could even be a menu option in the Developer menu.

I think testfir.bin does same thing what  "eventproc_EnableBootDisk" and "eventproc_DisableBootDisk" do - modifying boot flag.  There is no source code for testfir.bin, but here is code for bootflg2 which been used in 350d to modify boot flag:
http://chdk.setepontos.com/index.php?topic=4202.msg57328#msg57328 (http://chdk.setepontos.com/index.php?topic=4202.msg57328#msg57328)
If you want to try "eventproc_DisableBootDisk" here is autoexec.bin with "Uninstall The Hack" option in settings menu.
http://www.mediafire.com/?r16185xl6mgkktw (http://www.mediafire.com/?r16185xl6mgkktw)
Press menu, dp to go in settings menu.
Press left button to go on last page. Then set, right to change "no" to "yes" and set to save it. After you reboot camera you will see it starts almost immediately, no more looking for autoexec file. I have tested it on my camera but there is always a risk. Make shure battery is not dead before trying to remove the hack.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 31 / May / 2011, 16:38:30
I think testfir.bin does same thing what  "eventproc_EnableBootDisk" and "eventproc_DisableBootDisk" do - modifying boot flag.  There is no source code for testfir.bin, but here is code for bootflg2 which been used in 350d to modify boot flag:
http://chdk.setepontos.com/index.php?topic=4202.msg57328#msg57328 (http://chdk.setepontos.com/index.php?topic=4202.msg57328#msg57328)
If you want to try "eventproc_DisableBootDisk" here is autoexec.bin with "Uninstall The Hack" option in settings menu.
http://www.mediafire.com/?r16185xl6mgkktw (http://www.mediafire.com/?r16185xl6mgkktw)
Press menu, dp to go in settings menu.
Press left button to go on last page. Then set, right to change "no" to "yes" and set to save it. After you reboot camera you will see it starts almost immediately, no more looking for autoexec file. I have tested it on my camera but there is always a risk. Make shure battery is not dead before trying to remove the hack.


Thank you Sergei.  I have tested and can confirm that your AUTOEXEC.BIN does indeed make the change to the camera so that it no longer will look for the file on the CF card upon power-on.  I tested this twice, followed both times by using testfir.fir afterwards to re-enable the ability to load the AUTOEXEC.BIN file again.  Everything worked exactly as you described.

This is nice to have and I think many will want it.  Thanks again for this tip and for all your efforts to date to help get 400plus to where it is today!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / May / 2011, 16:49:54

What you need is intervalometer + longer exposures, no bracketing involved, no?

Yes - that is exactly what I would like. Thanks for your help!

Now that I think about this... if you set the camera on BULB mode, and configure the same value for both "Manual [" and  "Manual ]" (*), then you get an one-exposure EAEB, which can be used from the intervalometer to achieve exactly what you want.

(*) These should probably be renamed to "Bulb min" and "Bulb max" now.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / May / 2011, 16:55:24
Bug or Feature?  8)

Since the current 400plus menu system briefly displays the original menu first and then displays the "400plus Settings menu" immediately afterwards, there is now potentially a second way to get to the "400plus Settings menu":  Try this test (using the svn-0567 nightly build):

  • Make sure Shortcuts settings is set to Yes
  • Power-on Camera
  • Very quickly press the DP (DIRECT PRINT) button two times

If your two (2) DP button presses were fast enough, then you have now arrived at the "400plus Settings menu"!  This works just like pressing the MENU button first and then pressing the DP button to enter to the "400plus Settings menu".  And it makes sense why.

If you had just pressed the DP button only once then you would arrive at the "Shortcuts menu".

If you had pressed the DP button once, then paused slightly and pressed the DP button a second time you would be at the "Load presets menu" (if mode dial is set to A-DEP and the "Use A-DEP Setting is: Yes).

Definitively not a feature... good finding.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 31 / May / 2011, 18:47:36

What you need is intervalometer + longer exposures, no bracketing involved, no?

Yes - that is exactly what I would like. Thanks for your help!

Now that I think about this... if you set the camera on BULB mode, and configure the same value for both "Manual [" and  "Manual ]" (*), then you get an one-exposure EAEB, which can be used from the intervalometer to achieve exactly what you want.

(*) These should probably be renamed to "Bulb min" and "Bulb max" now.

Quote
The Question: If I wanted to set the camera to take 20 shots using the intervalometer, with each shot being 5 minutes long, how would I do it?


If I am following this correctly, then this would give @repeater "almost" exactly the solution desired.  The choice of "5" minutes is not possible with current 400plus, it would need to be 1,2,4,8 or 16 minutes right?

This would be the setup:


This would be the workflow:


The outcome would produce 20 shots with 5 4 minute exposures.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 31 / May / 2011, 21:27:39

What you need is intervalometer + longer exposures, no bracketing involved, no?

Yes - that is exactly what I would like. Thanks for your help!

Now that I think about this... if you set the camera on BULB mode, and configure the same value for both "Manual [" and  "Manual ]" (*), then you get an one-exposure EAEB, which can be used from the intervalometer to achieve exactly what you want.

(*) These should probably be renamed to "Bulb min" and "Bulb max" now.

Quote
The Question: If I wanted to set the camera to take 20 shots using the intervalometer, with each shot being 5 minutes long, how would I do it?


If I am following this correctly, then this would give @repeater "almost" exactly the solution desired.  The choice of "5" minutes is not possible with current 400plus, it would need to be 1,2,4,8 or 16 minutes right?

This would be the setup:

  • Shortcuts menu: Yes
  • Ext. AEB> Delay: No or 2s
  • Ext. AEB> Frames: 1
  • Ext. AEB> Step (EV): Off
  • Ext. AEB> Manual [: 4'
  • Ext. AEB> Manual ]: 4'
  • Interval> Delay: No or 2s
  • Interval> Time (s): 0 - 250
  • Interval> EAEB: Yes
  • Interval> Shots: 20

This would be the workflow:

  • Set Camera Mode Dial to "M" for Manual.
  • Adjust main dial all the way to left to "BULB" setting.
  • Make any other settings/changes desired for your shot(s).
  • Press DP (DIRECT PRINT)  to enter Shortcuts menu.
  • Press DOWN (WB) to highlight Intervalometer script.
  • Press SET to launch highlighted Intervalometer script.
  • wait...

The outcome would produce 20 shots with 5 4 minute exposures.


5 minutes was a random number I picked. 4 would work equally as well. I will try this tomorrow and post back (I am knackered now - time for bed!)

Thanks all.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 01 / June / 2011, 05:49:23
Bug or Feature?  8)

Since the current 400plus menu system briefly displays the original menu first and then displays the "400plus Settings menu" immediately afterwards, there is now potentially a second way to get to the "400plus Settings menu":  Try this test (using the svn-0567 nightly build):


i'm aware of this bug... the new menu system is under way.
Sergei already found how to create the dialogs w/o calling the original menu of the camera.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 01 / June / 2011, 10:31:16
Bug or Feature?  8)

Since the current 400plus menu system briefly displays the original menu first and then displays the "400plus Settings menu" immediately afterwards, there is now potentially a second way to get to the "400plus Settings menu":  Try this test (using the svn-0567 nightly build):


i'm aware of this bug... the new menu system is under way.
Sergei already found how to create the dialogs w/o calling the original menu of the camera.


Excellent! Look forward to seeing it...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brandroid on 01 / June / 2011, 11:33:28
Is there a trick to getting preset names to save? I can rename them fine, the name displays after I click the bottom bar, I can reenter the preset screen and see it. However after I power cycle the camera, the preset reverts to the default name. This is also the same case with reordering the presets. They only retain their position until the power is cycled.

I'm using the 20110517 version.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 01 / June / 2011, 15:52:21
Is there a trick to getting preset names to save? I can rename them fine, the name displays after I click the bottom bar, I can reenter the preset screen and see it. However after I power cycle the camera, the preset reverts to the default name. This is also the same case with reordering the presets. They only retain their position until the power is cycled.

I'm using the 20110517 version.

Pressing the SET button should save both the names and the ordering... if that does not work, then it is a bug; I'll look into it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 01 / June / 2011, 18:42:07

What you need is intervalometer + longer exposures, no bracketing involved, no?

Yes - that is exactly what I would like. Thanks for your help!

Now that I think about this... if you set the camera on BULB mode, and configure the same value for both "Manual [" and  "Manual ]" (*), then you get an one-exposure EAEB, which can be used from the intervalometer to achieve exactly what you want.

(*) These should probably be renamed to "Bulb min" and "Bulb max" now.

Quote
The Question: If I wanted to set the camera to take 20 shots using the intervalometer, with each shot being 5 minutes long, how would I do it?


If I am following this correctly, then this would give @repeater "almost" exactly the solution desired.  The choice of "5" minutes is not possible with current 400plus, it would need to be 1,2,4,8 or 16 minutes right?

This would be the setup:

  • Shortcuts menu: Yes
  • Ext. AEB> Delay: No or 2s
  • Ext. AEB> Frames: 1
  • Ext. AEB> Step (EV): Off
  • Ext. AEB> Manual [: 4'
  • Ext. AEB> Manual ]: 4'
  • Interval> Delay: No or 2s
  • Interval> Time (s): 0 - 250
  • Interval> EAEB: Yes
  • Interval> Shots: 20

This would be the workflow:

  • Set Camera Mode Dial to "M" for Manual.
  • Adjust main dial all the way to left to "BULB" setting.
  • Make any other settings/changes desired for your shot(s).
  • Press DP (DIRECT PRINT)  to enter Shortcuts menu.
  • Press DOWN (WB) to highlight Intervalometer script.
  • Press SET to launch highlighted Intervalometer script.
  • wait...

The outcome would produce 20 shots with 5 4 minute exposures.


5 minutes was a random number I picked. 4 would work equally as well. I will try this tomorrow and post back (I am knackered now - time for bed!)

Thanks all.

Woohoo! Success! Thanks Eduperez / Guffster.

All I need now is some good clear nights to shoot some star trails - can you make this happen as well?

;)

Cheers!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 01 / June / 2011, 20:05:09
All I need now is some good clear nights to shoot some star trails - can you make this happen as well?

Call Chuck Norris.
... no wait, he will call you !
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 02 / June / 2011, 05:46:50
All I need now is some good clear nights to shoot some star trails - can you make this happen as well?

Call Chuck Norris.
... no wait, he will call you !

Ha!
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 07 / June / 2011, 09:41:35
Yo, excellent work leading up to nightly build r583!

It is looking very good and nicely polished.  I am still seeing situations where occasionally the "Load presets" menu will not show up when pressing DP from the Shortcuts menu with mode dial set to A-DEP but I can't quite nail it down yet as to the exact procedure for when it happens.  I'll chime in with more detail later on.

Thanks, and keep up the excellent work!
Guffster


Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / June / 2011, 17:50:14
Yo, excellent work leading up to nightly build r583!

Thanks, in the name of everyone involved!

It is looking very good and nicely polished.  I am still seeing situations where occasionally the "Load presets" menu will not show up when pressing DP from the Shortcuts menu with mode dial set to A-DEP but I can't quite nail it down yet as to the exact procedure for when it happens.  I'll chime in with more detail later on.

Thanks to your detailed report at the issues page, this problem has probably been solved; congratulations!

Thanks, and keep up the excellent work!
Guffster

And thanks to the testers, too...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 07 / June / 2011, 19:03:23
hello,

I'm new here. My english is not very good, because school is long ago ;-)

first, thank you for this great work!

now I have a question.
maybe there is a bug.
in the 400+ menu is since a few issues/releases the problem that if I want to change the settings in handwave and turn the wheel there is no change of the settings or only to the end of the possibilities an then the menu freezes...  it is possible to get out of the menu with the shutter button. but then the menu is not working again. with the dp button. you have to turn off the cam an on again. sometimes put the batteries out and in again.
in the timer settings the cam freezes immediately when turning the wheel. the on off switch do not work then. I have to open and restore the batteries  ...

has this problem one of you too?

Greetings Luk
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brandroid on 07 / June / 2011, 22:54:49
Does anyone have any experience using 400S on a CF card greater than 8GB? I've been using it with no problems on a Sandisk Ultra 8GB, and I'm looking to move up to 16GB. Just wondering if anyone has hand any issues with larger capacity cards.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 07 / June / 2011, 23:06:31
Does anyone have any experience using 400S on a CF card greater than 8GB? I've been using it with no problems on a Sandisk Ultra 8GB, and I'm looking to move up to 16GB. Just wondering if anyone has hand any issues with larger capacity cards.

Shouldn't be a problem for you.  A quick Google search for "16gb CF card Canon 400D" turns up quite a few hits with people having success with cards even up to 64gb.  You should know however that on the LCD of the camera, the value for the number of pictures remaining may not have enough digits in it to be accurate, so it will be off, but the CF card should work just fine.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 07 / June / 2011, 23:21:05
Does anyone have any experience using 400S on a CF card greater than 8GB? I've been using it with no problems on a Sandisk Ultra 8GB, and I'm looking to move up to 16GB. Just wondering if anyone has hand any issues with larger capacity cards.
Shouldn't be a problem for you.  A quick Google search for "16gb CF card Canon 400D" turns up quite a few hits with people having success with cards even up to 64gb.  You should know however that on the LCD of the camera, the value for the number of pictures remaining may not have enough digits in it to be accurate, so it will be off, but the CF card should work just fine.
This url describes well the various sizes of cards that many Canon cameras may use.

http://gronjord.com/daniel/faq/ (http://gronjord.com/daniel/faq/)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / June / 2011, 01:15:32
hello,

I'm new here. My english is not very good, because school is long ago ;-)

first, thank you for this great work!

now I have a question.
maybe there is a bug.
in the 400+ menu is since a few issues/releases the problem that if I want to change the settings in handwave and turn the wheel there is no change of the settings or only to the end of the possibilities an then the menu freezes...  it is possible to get out of the menu with the shutter button. but then the menu is not working again. with the dp button. you have to turn off the cam an on again. sometimes put the batteries out and in again.
in the timer settings the cam freezes immediately when turning the wheel. the on off switch do not work then. I have to open and restore the batteries  ...

has this problem one of you too?

Greetings Luk

Does this happens only when you use the wheel? If it does not happen with other buttons, I'd like to discard a hardware problem before trying anything else: do you normally use the wheel while shooting, or only in the menus? do you have a grip?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 08 / June / 2011, 02:49:24
To change the parameters in the 400+ menu in handwaving you have to use the wheel. there isn't a way to change the secondary settings i think. and this is only in handwaving and the timersetting.
and yes i have a batterygrip top. turning on this wheel is the same result.
the other menupoints does work normally.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / June / 2011, 03:23:57
To change the parameters in the 400+ menu in handwaving you have to use the wheel. there isn't a way to change the secondary settings i think. and this is only in handwaving and the timersetting.
and yes i have a batterygrip top. turning on this wheel is the same result.
the other menupoints does work normally.

Sorry if my question was confusing; I have had problems with the wheel too, but it was a hardware issue, not related to 400plus, and was trying to know if that could be your case. The wheel can be used out of the menus, too (for example, to change EV compensation, shutter speed, or aperture), and I wanted to know if you have experienced any problem with it out of the menus.

And with the other question I intended to guess if navigating the menus without using the wheel (obviously, the parts of the menus that can be navigated without the wheel), also locked the camera.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 08 / June / 2011, 03:52:44
the wheel is working normally in the other cam functions.
there are the problems in the 400+ menu I have. when I want to change the settings in the handwave script.
and timer script...

in the other scripts the settings turn round and begins new when turning the wheel.
only in handwave and timer freezing the menu or the cam complete
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brandroid on 08 / June / 2011, 09:52:04
Shouldn't be a problem for you.  A quick Google search for "16gb CF card Canon 400D" turns up quite a few hits with people having success with cards even up to 64gb.  You should know however that on the LCD of the camera, the value for the number of pictures remaining may not have enough digits in it to be accurate, so it will be off, but the CF card should work just fine.

Thanks for the info Guffster! I don't think I was clear in asking my question. I wrote 400S where I meant to write 400plus. Seems like there was a time when CHDK was not performing well on cards over a certain capacity. Of course, this was years ago. I just wanted to see if anyone was using 400plus currently on a high capacity card (16GB or higher).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brandroid on 08 / June / 2011, 09:57:23
Is renaming/reordering of presets still in a state of flux? As of r586 I still can't rename the presets. I can't get to the renaming menu. I also can't get a reordered preset to appear in the same location after cycling the camera.

I don't see issues for these currently. Should I add them?
Title: Re: Eos 400d ( Rebel XTI )
Post by: chross on 08 / June / 2011, 10:10:41
Does anyone have any experience using 400S on a CF card greater than 8GB? I've been using it with no problems on a Sandisk Ultra 8GB, and I'm looking to move up to 16GB. Just wondering if anyone has hand any issues with larger capacity cards.
I'm using a Transcend 16GB card without problems. Works like a charm.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / June / 2011, 10:36:14
the wheel is working normally in the other cam functions.
there are the problems in the 400+ menu I have. when I want to change the settings in the handwave script.
and timer script...

in the other scripts the settings turn round and begins new when turning the wheel.
only in handwave and timer freezing the menu or the cam complete

Sorry, but I cannot reproduce this; I have been abusing the wheel for a couple of minutes, and the camera behaved properly.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / June / 2011, 10:38:29
Is renaming/reordering of presets still in a state of flux? As of r586 I still can't rename the presets. I can't get to the renaming menu. I also can't get a reordered preset to appear in the same location after cycling the camera.

I don't see issues for these currently. Should I add them?

I am currently reworking most of the menus' internals, please wait until I have finished that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 08 / June / 2011, 11:18:56
Is renaming/reordering of presets still in a state of flux? As of r586 I still can't rename the presets. I can't get to the renaming menu. I also can't get a reordered preset to appear in the same location after cycling the camera.

I don't see issues for these currently. Should I add them?

I am having excellent success testing the latest r586 nightly build.  All of the menu features are working very well including the rename of presets both in the "Save presets" and "Load presets" menus.  Give this version a try and see if your problems go away.  If not, post again with more detail about which part is not working well for you.

*Edit: Looks like you were already using the r586 nightly build.  Can you post a paragraph or 2 of your workflow for how you are trying to perform the rename and ordering of menus so that I can try to reproduce your issues?  Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 08 / June / 2011, 11:20:29
the wheel is working normally in the other cam functions.
there are the problems in the 400+ menu I have. when I want to change the settings in the handwave script.
and timer script...

in the other scripts the settings turn round and begins new when turning the wheel.
only in handwave and timer freezing the menu or the cam complete

Sorry, but I cannot reproduce this; I have been abusing the wheel for a couple of minutes, and the camera behaved properly.

Main dial (wheel) is working just fine for me as well using latest nightly build of r586.  I have never had any hardware issues with the main dial (wheel), and I have tested this on 3 different 400D camera bodies.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 08 / June / 2011, 11:45:34
the wheel is working normally in the other cam functions.
there are the problems in the 400+ menu I have. when I want to change the settings in the handwave script.
and timer script...

in the other scripts the settings turn round and begins new when turning the wheel.
only in handwave and timer freezing the menu or the cam complete

Sorry, but I cannot reproduce this; I have been abusing the wheel for a couple of minutes, and the camera behaved properly.

Main dial (wheel) is working just fine for me as well using latest nightly build of r586.  I have never had any hardware issues with the main dial (wheel), and I have tested this on 3 different 400D camera bodies.



scary...

in the menu 400+ in the handwaving settings I want change the submenu like "delay" and so on I can only scroll with the wheel when to one way. when there is the end of the row of the list and turn again then the menu freezes. if the list is at the end of one side and I turn the wheel then not begins the list again, the menu freezes. this ist in handwave settings.
in timer settings the cam freezes complete when turn the wheel. the action setting is not reachable. only Delay.

the cam language is setting on german.
could it have something to do with the objective? I've testet two objectives, always the same...

Greetings Luk from Germany
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 08 / June / 2011, 11:49:17
now I set the language in english there is not the problem.
it seems the have to do with the language

is there a possibility to fix it?

thank you!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brandroid on 08 / June / 2011, 12:30:39
... Can you post a paragraph or 2 of your workflow for how you are trying to perform the rename and ordering of menus so that I can try to reproduce your issues?  Thanks.

Sure thing Guffster:

Trying to reposition a preset:
Turn on the camera, hit Menu, hit DPx2, press Play at the Save Presets screen, move the now selected preset to another position, press Play to drop the preset. At this time the card is accessed for a brief moment. Half-press the shutter button to get back to the shooting mode. Cycle the camera's power and enter the Save Preset screen or Load Preset screen and the preset order is back to the default.

When I try to rename the presets I use the same workflow up to the Play button. After selecting the preset with the Play button, I press Set to edit the name. Instead of entering the character selection menu, the preset is either saved or loaded (depending on whether I'm in the Load or Save Preset menu). I never see the character selection menu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 08 / June / 2011, 13:05:54
now I set the language in english there is not the problem.
it seems the have to do with the language

is there a possibility to fix it?

thank you!


Definitely go to the link below for 400plus and create a "New Issue" with your findings of this language - wheel issue.  This way the developers can ensure to take a look at the issue you have uncovered, and it will be officially recorded for review, correction, and testing.  Good find!

http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list)
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 08 / June / 2011, 13:15:43
... Can you post a paragraph or 2 of your workflow for how you are trying to perform the rename and ordering of menus so that I can try to reproduce your issues?  Thanks.

Sure thing Guffster:

Trying to reposition a preset:
Turn on the camera, hit Menu, hit DPx2, press Play at the Save Presets screen, move the now selected preset to another position, press Play to drop the preset. At this time the card is accessed for a brief moment. Half-press the shutter button to get back to the shooting mode. Cycle the camera's power and enter the Save Preset screen or Load Preset screen and the preset order is back to the default.

When I try to rename the presets I use the same workflow up to the Play button. After selecting the preset with the Play button, I press Set to edit the name. Instead of entering the character selection menu, the preset is either saved or loaded (depending on whether I'm in the Load or Save Preset menu). I never see the character selection menu.
Brandroid,

Yep, this works just as you described.  Thanks for providing this info.  Probably should create a new issue at the site below to officially record it (if you have not already done so).

I have tested these features quite a bit recently from the nightly builds.  These particular issues must have recently changed by the re-working of 400plus source code for the menu(s) infrastructure.  And since nightly builds are a work-in-process, it is not surprising that some of the menu features are still in the "to-do" queue.  Good find!

http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list)

*Edit: Note that it is the JUMP button you use to rename a Preset - not the SET, or PLAY button.  And the JUMP button again to save once you have renamed the Preset.  Still though, after a power cycle, this information appears to get lost.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brandroid on 08 / June / 2011, 14:49:09
... Probably should create a new issue at the site below to officially record it (if you have not already done so) ...

Thanks for confirming that Guffster (and setting me straight on the Jump button: it used to be the Set button). Looks like Eduardo is aware of the problem and wants me to hold off on submitting the issue:

I am currently reworking most of the menus' internals, please wait until I have finished that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / June / 2011, 16:38:15
now I set the language in english there is not the problem.
it seems the have to do with the language

is there a possibility to fix it?

thank you!


Definitively, this looks like the bug is in the German translation or the multi-language support; now that we found it, I think it will be easy to squash. Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / June / 2011, 17:22:25
now I set the language in english there is not the problem.
it seems the have to do with the language

is there a possibility to fix it?

thank you!


Definitively, this looks like the bug is in the German translation or the multi-language support; now that we found it, I think it will be easy to squash. Thanks!

Confirmed: the German translation contains texts far too long; now it is just a question of cutting them down, but I do not speak German...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 08 / June / 2011, 19:16:47
now I set the language in english there is not the problem.
it seems the have to do with the language

is there a possibility to fix it?

thank you!


Definitively, this looks like the bug is in the German translation or the multi-language support; now that we found it, I think it will be easy to squash. Thanks!

Confirmed: the German translation contains texts far too long; now it is just a question of cutting them down, but I do not speak German...


ok, what words you need in german, maybe I can give you short forms of them

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 09 / June / 2011, 10:05:22
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 09 / June / 2011, 11:42:26
... Probably should create a new issue at the site below to officially record it (if you have not already done so) ...

Thanks for confirming that Guffster (and setting me straight on the Jump button: it used to be the Set button). Looks like Eduardo is aware of the problem and wants me to hold off on submitting the issue:

I am currently reworking most of the menus' internals, please wait until I have finished that.

As expected, this issue has miraculously fixed itself while I was working on something else; please check next nightly build.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Brandroid on 09 / June / 2011, 12:03:25
As expected, this issue has miraculously fixed itself while I was working on something else; please check next nightly build.

Sweet! I'll give a go after tonight's build.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 09 / June / 2011, 13:31:56
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 09 / June / 2011, 15:55:34
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 10 / June / 2011, 03:30:21
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / June / 2011, 05:13:49
thank you for trying to fix it.
the problem is still alive :-(
in english language the menu is working, german not...

I found more strings that were too long and "fixed" them myself (home I have not converted some innocent word into an insult or something like that).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 10 / June / 2011, 15:53:07
thank you for trying to fix it.
the problem is still alive :-(
in english language the menu is working, german not...

I found more strings that were too long and "fixed" them myself (home I have not converted some innocent word into an insult or something like that).


with this nightlybuild version the cam freezes in handwave script settings too. it is not possible to change the secondmenu with the wheel...

ist there a possibility to fix the problem?
or does it work, if it is not possible, to use the script settings in english and the normal menu in german? of course it would be more nice, when the complete menu can show in german....

thank you, have a nice weekend!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / June / 2011, 16:28:04
with this nightlybuild version the cam freezes in handwave script settings too. it is not possible to change the secondmenu with the wheel...

ist there a possibility to fix the problem?
or does it work, if it is not possible, to use the script settings in english and the normal menu in german? of course it would be more nice, when the complete menu can show in german....

thank you, have a nice weekend!

The latest nightly build does not contain my latest changes; please wait until next one.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 11 / June / 2011, 05:29:21
Good morning!

in the short time i've looked now, the menu is working!

Great work! Thank you!

Have a nice Weekend!
Title: Release Announcement
Post by: eduperez on 15 / June / 2011, 11:29:43
Release 20110615-0 is out:

As always, the links are:

Thanks to everybody involved!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / June / 2011, 16:49:32
Release 20110615-1 is out, just to fix a bug with the flash at the settings menu:

The Spanish user guide (http://code.google.com/p/400plus/wiki/UserGuideSpanish) has been updated, too.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 18 / June / 2011, 11:52:56
Working perfectly for me, it's a very good work ! Thanks !
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 19 / June / 2011, 14:27:47
JMTD from a Spanish forum sent me a translation, so here is release 20110615-2:

The German user guide (http://code.google.com/p/400plus/wiki/UserGuideGerman) has been updated, too.
Title: Mirror lock-up (MLU) during scripts?
Post by: Brandroid on 20 / June / 2011, 15:07:18
The latest release is working pretty solidly for me. Thanks for all the hard work on this; it has really breathed new life into my 400D!

Is there any status update on issue #12 Mirror lock-up during scripts? I'd love to be able to have access to lock-up for doing star trails.
Title: Re: Mirror lock-up (MLU) during scripts?
Post by: eduperez on 21 / June / 2011, 02:18:30
The latest release is working pretty solidly for me. Thanks for all the hard work on this; it has really breathed new life into my 400D!

Glad to know, thank you.

Is there any status update on issue #12 Mirror lock-up during scripts? I'd love to be able to have access to lock-up for doing star trails.

I would like to be able to control the mirror, too, but as fas as I know, no, there has been no advance in this field; controlling the mirror lock-up function is still a mystery to us. 0xAF has been working hard to understand the firmware, and perhaps he will be able to throw some light on this, in a near future; or perhaps Sergei will come back and surprise us with another of his gems.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 21 / June / 2011, 03:56:15
In 550D/500D/60D, MLU is a custom function, which is available as a property with some kind of bit fields.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / June / 2011, 04:36:49
In 550D/500D/60D, MLU is a custom function, which is available as a property with some kind of bit fields.

In 400D we have a custom function, too; and we even know how to switch it on / off. But when it is active, it interferes with our calls to do a shutter release (camera neither raises the mirror nor takes a photograph). We are probably doing it all wrong there, we also have problems to wait for the camera to be ready after taking the photograph.

How do you raise the mirror in ML, when MLU is active? Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 21 / June / 2011, 05:05:23
With call("Release") twice.

Can you point me to the code where you set CFn's?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / June / 2011, 05:43:12
With call("Release") twice.

I am going bang my head if that works for us...

Can you point me to the code where you set CFn's?

Yes, of course: have a look at line 210 of presets.c (http://code.google.com/p/400plus/source/browse/trunk/presets.c (http://code.google.com/p/400plus/source/browse/trunk/presets.c)).
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 21 / June / 2011, 06:50:42
An alternative way to do a shutter release would be to set PROP_REMOTE_SW1 (half-shutter press) and PROP_REMOTE_SW2 (full-shutter press). This works for bulb timer (i.e. exposures longer than 30 seconds):

Code: [Select]
void SW1(int v, int wait)
{
prop_request_change(PROP_REMOTE_SW1, &v, 2);
msleep(wait);
}

void SW2(int v, int wait)
{
prop_request_change(PROP_REMOTE_SW2, &v, 2);
msleep(wait);
}

static void
bulb_take_pic(int duration)
{
[...]
SW1(1,100);
SW2(1,100);

// sleep

SW2(0,100);
SW1(0,100);
}
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 21 / June / 2011, 19:01:32
With call("Release") twice.
I am going bang my head if that works for us...

from what i know about the FW, almost everything which needs to take a photo, simulates a shutter button  press with something similar to press_button(shutter_btn);... so this should work (like alex described), i'm 99% sure (haven't tested it though)
i guess setting the MLU to ON and then calling shutter btn will rise up the mirror in first call, then in the second call photo will be taken.

it can be implemented in shutter_release();
we can check if settings.mlu==1 then set the MLU to ON and call eventproc_release() (which actually calls button_press(shutter)), then wait for 2 seconds (for example) for the camera to rest, then call the release() again...


Edu:
we should meet on chat to discuss what should i merge to the trunk ?
about the MLU was just a suggestion. we can discuss it on the chat... im sure there are better ways to do it.
btw i've put an option in the settings menu to enable the IR Remote Control in any drive mode of the camera (actually always enabled).
i guess this will be well accepted to the trunk (it's a short modification).

p.s. i've been busy lately, and ill be busy for next few months, so my work on the project will slow down.
but i have to say that i haven't lost my interest in this project, so i wont leave it any soon (at least until i have that camera). even with small additions, i hope it will be still of benefit to all.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / June / 2011, 01:30:46
from what i know about the FW, almost everything which needs to take a photo, simulates a shutter button  press with something similar to press_button(shutter_btn);... so this should work (like alex described), i'm 99% sure (haven't tested it though)
i guess setting the MLU to ON and then calling shutter btn will rise up the mirror in first call, then in the second call photo will be taken.

it can be implemented in shutter_release();
we can check if settings.mlu==1 then set the MLU to ON and call eventproc_release() (which actually calls button_press(shutter)), then wait for 2 seconds (for example) for the camera to rest, then call the release() again...

Yes, that probably will work; I also saw at mainctrl.c some SendToIntercom calls (IC_BUTTON_HALF_SHUTTER, IC_BUTTON_FULL_SHUTTER) that I want to try, just haven't found the moment to do that.

Edu:
we should meet on chat to discuss what should i merge to the trunk ?
about the MLU was just a suggestion. we can discuss it on the chat... im sure there are better ways to do it.
btw i've put an option in the settings menu to enable the IR Remote Control in any drive mode of the camera (actually always enabled).
i guess this will be well accepted to the trunk (it's a short modification).

p.s. i've been busy lately, and ill be busy for next few months, so my work on the project will slow down.
but i have to say that i haven't lost my interest in this project, so i wont leave it any soon (at least until i have that camera). even with small additions, i hope it will be still of benefit to all.

I have been busy lately, too... hard to believe, some days I do not even turn my computer on!

The project is "in good shape" now, in my humble opinion: there are obviously lots of improvements pending, but it adds some nice features to the camera, and it is very usable; so I am not worried if the development slows down, enhancements will arrive at a slower rate, but we still have something worth installing.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ataru on 22 / June / 2011, 09:31:49
ok, italian translation of the guide is now updated.

How can I help in converting software to italian?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / June / 2011, 10:35:50
ok, italian translation of the guide is now updated.

How can I help in converting software to italian?

Someone else has uploaded a patch at the "issues" page to add the Italian translation, precisely today; next release will be translated into Italian.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / June / 2011, 11:10:06
Release 20110615-3 with Italian translation is out:

The Italian user guide (http://code.google.com/p/400plus/wiki/UserGuideItalian) has also been updated.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 23 / June / 2011, 23:49:48
How come the option for RAW in Auto mode was removed?

I found that quite a nifty option.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 24 / June / 2011, 00:42:12
How come the option for RAW in Auto mode was removed?

I found that quite a nifty option.

Pressing the Av button while shooting from any basic zone (Full Auto, Portrait, Landscape, Close-up, Sports, Night Portrait, Flash Off) should toggle image quality between JPG / RAW.  Is this not working for you?  Which version of 400plus are you using?
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 24 / June / 2011, 00:53:52
@sizzlincok

RAw mode in automatique mode working perfectly for me, Pressing the Av button.

- 400plus-20110615-3.src.zip.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 26 / June / 2011, 16:28:57
Hi all i'm new here and i'm posting here just to confirm that all worked good with the italian localization, but as already posted in the google.code page (when I submitted the patch) there are some minor corrections that I'm thinking about to optimize it.
First of all Illimitato is too long. I yet don't know if we can use ?

Also for me there are no problem with RAW mode in automatique with Av button.


EDIT: Submitted some corrections to have a more readable localization with more self-explanatory entries.
Updated the wiki UserGuide to match the localized menu.

Ataru, great job with the translation...

I really really like this project, and because it's just a week that I've started using it I need to read a lot of post here before making silly questions, but let me make at least one.
what about Focus Bracketing ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / June / 2011, 17:06:59
Hi all i'm new here and i'm posting here just to confirm that all worked good with the italian localization, but as already posted in the google.code page (when I submitted the patch) there are some minor corrections that I'm thinking about to optimize it.
First of all Illimitato is too long. I yet don't know if we can use ?

Also for me there are no problem with RAW mode in automatique with Av button.

Yes, "Illimitato" is one character too long, and it goes out of the screen; I did not catch dat when I did the tests, sorry. Will be fixed in next version, thanks for pointing it out.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 26 / June / 2011, 18:14:53

Yes, "Illimitato" is one character too long, and it goes out of the screen; I did not catch dat when I did the tests, sorry. Will be fixed in next version, thanks for pointing it out.

Sorry for what? :)
Thank's to you for your work. (I was editing my previous post and the localizzation while you answered mine.)
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 28 / June / 2011, 01:47:40
Pressing the Av button while shooting from any basic zone (Full Auto, Portrait, Landscape, Close-up, Sports, Night Portrait, Flash Off) should toggle image quality between JPG / RAW.  Is this not working for you?  Which version of 400plus are you using?

Ohhh. It was changed from pressing the DP button to the Aperture button.

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 29 / June / 2011, 00:51:53
Ok tested the italian localization and the new layout is working. I need to short a word because it's a character too long and so the : are not aligned with the other lines. I'll also add the new menu entries added in the developers menu.

EKIT: Submitted new localization patch, updated wiki
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 29 / June / 2011, 14:16:01
Hello, i'm french,

My english is not perfect, and i have tested to edit "languages.c" for added French Language.

I dont no if is the good action for this.

Someone just help me ?

I'd realy like helped for this project :)

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / June / 2011, 17:10:01
Hello, i'm french,

My english is not perfect, and i have tested to edit "languages.c" for added French Language.

I dont no if is the good action for this.

Someone just help me ?

I'd realy like helped for this project :)

Thanks


Yes, you just need to edit "languages.c" and follow what others did for the German, Italian, and Spanish translations; then send it to us to incorporate it. Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 30 / June / 2011, 08:38:32
r682 TEST REPORT
Hi all, I've tested last nightly build (r682) and now the Italian localization is complete, clear and works good.
For who want to translate in other languages, I've learned (by editing it) that we can play with the word length to make all the > and : aligned.

LOCALIZATION HINT: WORD LENGHT
We can have a max length of 18 char (> included) in the settings menu (before the : ). Total char length of each line is 28 if I'm not wrong so after the : we have 9  char max (using 10 don't seem to create problem like a wrong length before the : but it's really ugly and unpleasant)
For the italian localization I used 9 char (instead of 8 like in the english version, if remember right) for all the SubMenu ITEM and 8 char for all the SUB-ITEM
Only the Scripts ITEM is 6char because that permitted me to use a more clear and self-explanatory entries of 11 char.
Now I'm looking for a way to keep it easy understandable using 8char for all the SubMenuITEMs, but that is definitely a cosmetic things (I will also add a space in front of the Yes, No and Off entries so to have them aligned with the number we can set).

WRAP AROUND MENU
I've almost read all the topic today and I'll bump an old post because even before reading it was thinking that that need to be the default behavior (like in the Canon's menu)
Hi,
great work and improvements so far.
Is it possible to implement cycling menus that wrap around when you reach the top/bottom of the list. So pressing the down arrow when at the bottom will select the topmost entry and vice versa?
Just a little suggestion to improve usability / handling.

Cheers

Looks interesting, I'll note it down; thanks.

NEW SHORTCUT MENU COLORS
And about the new color feature I like it a lot, but the green is for me too bright, It's in general more bright than the selected item and so at first is not so clear (I'll tend to read first the green entries before my eyes moves to the more important, selected one).

My suggestion is to make it more consistent with the settings menu using only one color (green) for the title underline and for the selected line frame. White for the font color and all the unselected items all gray (font anm frame like the settings menu)

EDIT: Localized also the FirmwareHackInstallation page
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 02 / July / 2011, 12:05:21
Didn't know where else to post this. Its a diff from a checkout from subversion that i got this morning which adds a shortcut for the color temp so i don't have to go to the menu all the time   :blink:

Code: [Select]
Index: menu_shortcuts.c
===================================================================
--- menu_shortcuts.c (revision 686)
+++ menu_shortcuts.c (working copy)
@@ -21,6 +21,7 @@
 void menu_shortcuts_script_self_timer   (type_MENUITEM *item);
 
 void menu_shortcuts_apply_iso                (type_MENUITEM *item);
+void menu_shortcuts_apply_color_temp         (type_MENUITEM *item);
 void menu_shortcuts_apply_cf_emit_aux        (type_MENUITEM *item);
 void menu_shortcuts_apply_cf_mirror_up_lock  (type_MENUITEM *item);
 void menu_shortcuts_apply_cf_flash_sync_rear (type_MENUITEM *item);
@@ -28,14 +29,15 @@
 void menu_shortcuts_script (type_TASK script);
 
 type_MENUITEM menu_shortcut_items[] = {
- MENUITEM_ISO    (LP_WORD(L_ISO),           &sc_cameraMode.iso,                menu_shortcuts_apply_iso),
- MENUITEM_LAUNCH (LP_WORD(L_EXTENDED_AEB),   menu_shortcuts_script_extended_aeb),
- MENUITEM_LAUNCH (LP_WORD(L_INTERVALOMETER), menu_shortcuts_script_interval),
- MENUITEM_LAUNCH (LP_WORD(L_HAND_WAVING),    menu_shortcuts_script_wave),
- MENUITEM_LAUNCH (LP_WORD(L_SELF_TIMER),     menu_shortcuts_script_self_timer),
- MENUITEM_AFFLASH(LP_WORD(L_AF_FLASH),      &sc_cameraMode.cf_emit_aux,        menu_shortcuts_apply_cf_emit_aux),
- MENUITEM_BOOLEAN(LP_WORD(L_MIRROR_LOCKUP), &sc_cameraMode.cf_mirror_up_lock,  menu_shortcuts_apply_cf_mirror_up_lock),
- MENUITEM_BOOLEAN(LP_WORD(L_FLASH_2ND_CURT),&sc_cameraMode.cf_flash_sync_rear, menu_shortcuts_apply_cf_flash_sync_rear)
+ MENUITEM_ISO        (LP_WORD(L_ISO),           &sc_cameraMode.iso,                menu_shortcuts_apply_iso),
+ MENUITEM_CLRTEMP    (LP_WORD(L_COLOR_TEMP_K),  &sc_cameraMode.color_temp,         menu_shortcuts_apply_color_temp),
+ MENUITEM_LAUNCH     (LP_WORD(L_EXTENDED_AEB),   menu_shortcuts_script_extended_aeb),
+ MENUITEM_LAUNCH     (LP_WORD(L_INTERVALOMETER), menu_shortcuts_script_interval),
+ MENUITEM_LAUNCH     (LP_WORD(L_HAND_WAVING),    menu_shortcuts_script_wave),
+ MENUITEM_LAUNCH     (LP_WORD(L_SELF_TIMER),     menu_shortcuts_script_self_timer),
+ MENUITEM_AFFLASH    (LP_WORD(L_AF_FLASH),      &sc_cameraMode.cf_emit_aux,        menu_shortcuts_apply_cf_emit_aux),
+ MENUITEM_BOOLEAN    (LP_WORD(L_MIRROR_LOCKUP), &sc_cameraMode.cf_mirror_up_lock,  menu_shortcuts_apply_cf_mirror_up_lock),
+ MENUITEM_BOOLEAN    (LP_WORD(L_FLASH_2ND_CURT),&sc_cameraMode.cf_flash_sync_rear, menu_shortcuts_apply_cf_flash_sync_rear)
 };
 
 type_MENU menu_shortcuts = {
@@ -76,6 +78,11 @@
  send_to_intercom(IC_SET_ISO, 2, *item->parm.menuitem_iso.value);
 }
 
+void menu_shortcuts_apply_color_temp(type_MENUITEM *item) {
+ send_to_intercom(IC_SET_WB,         1, WB_MODE_COLORTEMP);
+ send_to_intercom(IC_SET_COLOR_TEMP, 2, *item->parm.menuitem_int.value);
+}
+
 void menu_shortcuts_apply_cf_emit_aux(type_MENUITEM *item) {
  send_to_intercom(IC_SET_CF_EMIT_AUX, 1, *item->parm.menuitem_enum.value);
 }
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 02 / July / 2011, 16:53:15
Nice idea, i think that the appropriate place is the google code page, to be sure that all the dev can see it, here maybe it can be lost in the discussion (so i've also posted it there).
Can you post a compiled bin to test?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / July / 2011, 17:48:15
@scrax, about the colors, it was in "0xAF" branch before i merged it to the trunk. i actually forgot that the colors were set for the shortcuts menu. about the green color, it is some already existing color set in the camera. if i recall correctly, the colors are not free for choice. there was 5-6 combination of colors which we can use, but i'll play a bit with them, i can find some way to make custom sets.

@draekko, thanks for the patch, i'll merge it later. about the place where you should post the patches, please use the google code page and file an issue with the patch, like scrax suggested.

@scrax, i'll merge it later, so you will be able to test it in the next nightly build.
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 02 / July / 2011, 20:30:14
@Scrax & 0xAF .. ok will do that later or in the AM.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / July / 2011, 21:15:01
@draekko, no need to post it now, it's already in the code, check nightly build >= r687, should be there after couple of hours.
btw did you tested that change ? i mean are you compiling the code to test it ? if yes, what version of gcc is it ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / July / 2011, 21:19:50
...
LOCALIZATION HINT: WORD LENGHT
...
EDIT: Localized also the FirmwareHackInstallation page

Scrax,
if you have the time and the will to write another wiki to help the translators (like TomBStonE) would be great.
Instructions how to translate the languages.c file to their language. We could use another translators around.
Actually there is no need of instructions, but the problems and solutions you've faced while translated the file, would be great to have them written down.

I'm looking forward to what TomBStonE is up to.
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 03 / July / 2011, 07:47:32
@0xAF  I used gcc 4.5.2 as per the howto built on ubuntu 10.04. And yes it is on my camera as i type this. Will do an update to my svn checkout to get the latest.

A couple of question is there an easy way to detect that i'm manual mode? Also i tried to turn on debugging but i don't think i'm doing it right doesn't seem to work. Reason i ask is i'd like to figure a way to toggle between picture modes (ie raw -> raw/jpeg -> jpeg Fine -> etc..) when in manual mode using the av button.

This project sure added new life to my aging 400D :D thanks.

@scrax Seems its already in the latest build ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / July / 2011, 08:30:20
A couple of question is there an easy way to detect that i'm manual mode? Also i tried to turn on debugging but i don't think i'm doing it right doesn't seem to work. Reason i ask is i'd like to figure a way to toggle between picture modes (ie raw -> raw/jpeg -> jpeg Fine -> etc..) when in manual mode using the av button.

if (cameraMode->ae == AE_MODE_M) { ... }

about the debug mode, i've changed it a bit... go to developers menu
enable "Debug on power on", then choose the logfile mode (Overwrite/New/Append), it's self explaining.
then restart the camera, it will start logging.
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 03 / July / 2011, 10:11:02
@0XAF ok thanks will tinker with it see what i can come up with ;) As for debug i did that didn't seem to log anything, no files were created. Will try again later with r687.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 03 / July / 2011, 11:03:27
I'm using the last night build and it's ok with the WB in shortcuts menu.
I'll add my finding for the localization in the wiki in the next days now I'm trying to setup my arm tools chain to compile the source by myself. I'm using yagarto on osx as suggested on the MagicLantern dev forum (I'll use it also for the 600D code if possible) and now I need to find something to manage the svn.

with r687 I can see the log file in the card, and every key press activate the CF led (I think, because it's writing it to the log).


NOTE: My old preset don't works with this new build, I had to make them again
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 03 / July / 2011, 14:49:18
@0xAF Tried to get it to go into debug so i could log whats going on but no matter the options i toggle before or after setting it to yes and choosing any of the three file modes i get nothing. Everytime i restart it gets set back to no. Also deleted all the settings and preset files created just to make sure and same difference.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / July / 2011, 14:55:04
@0xAF Tried to get it to go into debug so i could log whats going on but no matter the options i toggle before or after setting it to yes and choosing any of the three file modes i get nothing. Everytime i restart it gets set back to no. Also deleted all the settings and preset files created just to make sure and same difference.

hmm very strange, it seems the problem is in the settings file, does the other settings work correctly ?

for a workarround see the tasks.c file, the start_up() routine, the first 3-4 lines... you'll get the idea.
but still, please try to find the problem, would be useful to know where/when it happens ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 03 / July / 2011, 15:01:52
Never mind i got a log file using a different memory card. Might try to reformat them to see if that was the problem later. Weird.
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 03 / July / 2011, 15:42:02
Thanks for the heads up on forcing it on ;) used that trick because formatting it did not change anything. Used os, camera and cardtricks 1.45 for format and CT to force it to be bootable on all of them and nothing. Its an 8GB Voigon card i got off of ebay. works well for everything else but that.

Now to learn to decipher them heiroglyphs  :blink:
Title: Re: Eos 400d ( Rebel XTI )
Post by: draekko on 03 / July / 2011, 18:26:03
Posted a patch to the issues page to use the AV button in Manual to toggle the image quality setting and to make it toggle between jpeg L, raw, jpeg/raw and to do the same in auto mode.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 14 / July / 2011, 16:05:17
Sure is quiet around here...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 14 / July / 2011, 16:16:55
yes, we got busy lately ;(... as it seems i'm gonna be free after a month or so ...
a lot stuff in my todo list and the issue page are waiting ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 14 / July / 2011, 16:31:44
I have been quite busy lately, too. Previous versions took a considerable amount of effort, and now that the project is in such a good shape, I can spend more time in all those other projects I postponed.

But I am still around here, and as 0xAF said there are still new features I want to implement.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 15 / July / 2011, 17:41:32
"There are still new features I want to implement"

It's again possibles ?  :o

I love your job and i love my 400D   :D
Title: Release 20110615-4
Post by: eduperez on 15 / July / 2011, 19:04:26
Release 20110615-4 is out; French translation added (thanks to TomBStonE), and Italian translation updated (thanks to scrax / scrizza):
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 16 / July / 2011, 22:58:54
Wiki updated to show French language support in both UserGuide and UserGuidePreview.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 18 / July / 2011, 00:44:48
Can I ask if this things can be considered/realizable, or leave just an opinion even from other user not only from the developer?

From Magic Lantern:

Trap Focus: With three options (Hold / Always / Off ). If enable when in MF holding halfshutter or always (for a no LiveView motion detection) camera will take a pic when something came in focus (detected by focus confirmation);

Stack Focus: a script to take some picture with different focus length for macro. Number of pics and focus step length size  in settings menu, Stack focus enabled from the shortcuts menu ;

In Camera User Guide: like in the last ML;

Autogenerated enfuse scripts: for HDR and focus stacking

Other suggestion:

Wrap around menu: like in the canon's one (that's a must have i think);

Add a 400plus folder on the card with all the file we need like presets, user guide and so on;

Flash button switch: Use the Flash button to switch it off and on when flash is raised. If flash is closed pressing flash button works as usual and raises the flash (maybe it enable it if is forced off in 400plus) if pressed again it forces flash off when raised, another press will set flash back on. If that can work with also a flash on the hotshoe it will be perfect for my needs.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 18 / July / 2011, 02:01:03
Can I ask if this things can be considered/realizable, or leave just an opinion even from other user not only from the developer?

My two cents:

From Magic Lantern:

Trap Focus: With three options (Hold / Always / Off ). If enable when in MF holding halfshutter or always (for a no LiveView motion detection) camera will take a pic when something came in focus (detected by focus confirmation);

Unfortunately, we still have no idea about how to control the AF... interesting, but far away in the horizon.

Stack Focus: a script to take some picture with different focus length for macro. Number of pics and focus step length size  in settings menu, Stack focus enabled from the shortcuts menu ;

Same as previous.

In Camera User Guide: like in the last ML;

0xAF had intentions to do something about this.

Autogenerated enfuse scripts: for HDR and focus stacking

Not as far in the horizon as the AF stuff, but quite complex anyway.

Other suggestion:

Wrap around menu: like in the canon's one (that's a must have i think);

Already in my "to do" list; will probably be done for the next release.

Add a 400plus folder on the card with all the file we need like presets, user guide and so on;

In my "to do" list too... directories' names follow a standard (DCF (http://en.wikipedia.org/wiki/Design_rule_for_Camera_File_system)), and the camera deletes anything in the card out of that standard; but I think we can work it out.

Flash button switch: Use the Flash button to switch it off and on when flash is raised. If flash is closed pressing flash button works as usual and raises the flash (maybe it enable it if is forced off in 400plus) if pressed again it forces flash off when raised, another press will set flash back on. If that can work with also a flash on the hotshoe it will be perfect for my needs.

We already have a "flash on/off" shortcut with some of these functionalities, we could assign that to a button (if we find one still not assigned); the rest looks quite complex, and uses some camera functions that we still do not know how to control.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 18 / July / 2011, 02:39:01
In Camera User Guide: like in the last ML;

0xAF had intentions to do something about this.
Yes, my intention was to make a HELP button over every item in our menus. Other way would be like in the older cell phones, when you are over some item in the menu for few seconds, a HELP OSD (OnScreen Display) would pop-up.

Add a 400plus folder on the card with all the file we need like presets, user guide and so on;

In my "to do" list too... directories' names follow a standard (DCF (http://en.wikipedia.org/wiki/Design_rule_for_Camera_File_system)), and the camera deletes anything in the card out of that standard; but I think we can work it out.
Edu, are you sure the camera deletes what's not DCF ? I've got the impression that it stays there.

Flash button switch: Use the Flash button to switch it off and on when flash is raised. If flash is closed pressing flash button works as usual and raises the flash (maybe it enable it if is forced off in 400plus) if pressed again it forces flash off when raised, another press will set flash back on. If that can work with also a flash on the hotshoe it will be perfect for my needs.

We already have a "flash on/off" shortcut with some of these functionalities, we could assign that to a button (if we find one still not assigned); the rest looks quite complex, and uses some camera functions that we still do not know how to control.
I cannot be 100% sure ATM, but I think we already got the FLASH button on MainCtrl. Would check it soon.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 18 / July / 2011, 03:37:49
Add a 400plus folder on the card with all the file we need like presets, user guide and so on;

In my "to do" list too... directories' names follow a standard (DCF (http://en.wikipedia.org/wiki/Design_rule_for_Camera_File_system)), and the camera deletes anything in the card out of that standard; but I think we can work it out.
Edu, are you sure the camera deletes what's not DCF ? I've got the impression that it stays there.

Well, my memory may fail... I was making tests, while trying something else, and I think the camera deleted the directory.
On a side note, "400_PLUS" happens to be a valid DCF name.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 18 / July / 2011, 04:19:00
scrax, please file them to issues, so we will have them in mind when we get back to the projects.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 18 / July / 2011, 09:29:02
Good, thanks for the answer. Nice to see about DCF we can have all the file in /DCIM/400_PLUS/FOLDER or DCIM/400_PLUS/ABCD1234.file

EDIT: Added issues 107 to 112 in the repo. I didn't add the wrap around menu because edu is already on it (and that's a great info!)

About intervallometer, I'm using it a lot to make timelapse of events and I think my cameras (400D and 600D) are missing a Time Lapse Calculator.
So for now there is a way to put some picture on the camera (with help and reminders) that can be shown when in play mode or only pic taken by the camera can be shown in play mode?
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 18 / July / 2011, 09:57:00
Other way would be like in the older cell phones, when you are over some item in the menu for few seconds, a HELP OSD (OnScreen Display) would pop-up.
I like it a lot that way and if this can be activated or not in settings it will be similar to the canon's one on the 600D.
On 600D if enabled it pop-up for a few second when changing item instead of waiting a few seconds (maybe this way it is more quick to use so please consider each behavior)

now I'll try to test the last build if my father gives me back my camera   :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 19 / July / 2011, 04:11:58
About intervallometer, I'm using it a lot to make timelapse of events and I think my cameras (400D and 600D) are missing a Time Lapse Calculator.

Looks doable: we could have a new menu where user sets some values (number of shots, interval between shots, ...) and other values are calculated (recording / playback time, ...); this reminds me of the (already planned) long exposure / depth of field calculators. Please fill a feature request.

So for now there is a way to put some picture on the camera (with help and reminders) that can be shown when in play mode or only pic taken by the camera can be shown in play mode?

What exactly do you mean by this? I do not get it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 19 / July / 2011, 13:52:35
Quote
So for now there is a way to put some picture on the camera (with help and reminders) that can be shown when in play mode or only pic taken by the camera can be shown in play mode?

Scrax got a 600D and he's referring to latest Magic Lantern feature: context help implemented with bitmap images rendered from a PDF version of the user guide.

At the end of this movie you can see how this looks like:
http://www.matthewrichey.com/magiclanternt2i (http://www.matthewrichey.com/magiclanternt2i)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 19 / July / 2011, 17:18:12
huh, we should definitely get that VRAM for OnScreen debugging and that bitmaps ! very cool !
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / July / 2011, 03:45:49
Wrap-around menus implemented; please, use a nightly build greater than r707 to test it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 21 / July / 2011, 07:47:10
testing right now and it works good so far. Thank you!
This addition makes also more useful the sortable shortcut menu,
now waiting the same for the value entries :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: mihai770 on 22 / July / 2011, 10:46:13
Hello guys!
I have used chdk for long time but a very early version.

Now I have found a very very much capabilites added but I don't manage to understand and use all of them.
Please tell me where I found CHDK instructions for Canon 400D DSLR(not for Powershot's).

Thanks in advance!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / July / 2011, 12:07:13
Hello guys!
I have used chdk for long time but a very early version.

Now I have found a very very much capabilites added but I don't manage to understand and use all of them.
Please tell me where I found CHDK instructions for Canon 400D DSLR(not for Powershot's).

Thanks in advance!

Strictly speaking, there is no CHDK for 400D; we have something equivalent, but it is only related to CHDK in their origins. Our project is called 400plus, and there is an official site at http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/) where you can find the most recent versions and usage instructions. Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: mihai770 on 23 / July / 2011, 05:16:39
Thank you very very much, this is what I've searched for.

Now I don't see about autoISO. Is that option removed from 400plus? Why?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 24 / July / 2011, 14:07:29
Now I don't see about autoISO. Is that option removed from 400plus? Why?

AutoISO was deactivated long time ago, because it was too slow and ineffective; perhaps, someday we will guess out how to make it work properly...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / July / 2011, 06:11:16
Alex had ported the AFP to ML, he made nice PNG too, which could be used in our Wiki...
http://magiclantern.wikia.com/wiki/File:AFP.png (http://magiclantern.wikia.com/wiki/File:AFP.png)

i'll start to work on VRAM buffers slowly, so eventually we will get free screen drawing and nice help on the camera, with BMP images, just like in ML... very cool feature ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / July / 2011, 08:03:13
btw, does anyone have broken 400d, but still powering up, just broken sensor or display or anything else which makes it garbage, but still powering up ? i want to make some hardware experiments, but do not want to brick my camera...
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 26 / July / 2011, 05:30:06
btw, does anyone have broken 400d, but still powering up, just broken sensor or display or anything else which makes it garbage, but still powering up ? i want to make some hardware experiments, but do not want to brick my camera...

Hi was looking too for a not working 400d camera but I only found one with the main board brokenand so it's noot booting up
Title: Re: Eos 400d ( Rebel XTI )
Post by: j-dogg on 29 / July / 2011, 03:54:27
Oh hai.

I've been using various versions of CHDK on my 400d with success, although the lastest variants do not do ISO 3200 they do 3000.

So I am using the 7-19-11 release which seems to be a good all-around release, but if I could have a 7-19 that did ISO 16, 32, 50 etc. that would be perfect. Right now I just swap between the original Sep. 13th 2009 release and the 7-19 depending on what I need it to do. The original was great, but no in-camera color temp function

Good work guys, this thing feels like a whole new camera now
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / July / 2011, 04:17:46
Oh hai.

I've been using various versions of CHDK on my 400d with success, although the lastest variants do not do ISO 3200 they do 3000.

Please, notice that you have downloaded a "NightlyBuild", that contains work-in-progress code; good for testing purposes, but not for general usage. That said, we have recently discovered that ISO-3200 has never worked: the camera displayed 3200, but internally it was 3000; thus it has been removed and will not be available on the next release.

So I am using the 7-19-11 release which seems to be a good all-around release, but if I could have a 7-19 that did ISO 16, 32, 50 etc. that would be perfect. Right now I just swap between the original Sep. 13th 2009 release and the 7-19 depending on what I need it to do. The original was great, but no in-camera color temp function

Lower ISOs are software-based, and thus useless; all it produced was clipped highlights.

Good work guys, this thing feels like a whole new camera now

Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 30 / July / 2011, 04:56:14
I tested the 400plus-20110730-r718.zip version of the hack, it is true she stop at 3000 iso, but as said Eduperez was the case before same if the display shows 3200, so no regret.

As against the 400plus-20110730-r718.zip version has more levels iso.

For the cons I do not like the green colors of the display, I prefer the red and gray theme closest to the current canon.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / July / 2011, 18:08:05
For the cons I do not like the green colors of the display, I prefer the red and gray theme closest to the current canon.

they should be reverted, it is a leftover from my tests ... as it seems we cannot use colors we like, only predefined colors.... this green colors was predefined for some dialog, but i do not know which one ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 02 / August / 2011, 05:44:19
They are red and gray again in the NightlyBuild, for who interested
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 02 / August / 2011, 14:18:48
Exact , they are red and gray again in the NightlyBuild !  cool :p

when I long press the right button ( AF ), iso go to 1600, it's normal ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: infamous on 03 / August / 2011, 02:49:14
Hi guys.

I need help with my 400d and the cf card. I can not my cf card bootable.

when I press make bootable there is still CHDK Autorun off [CF Boot Off]

i make it so
canon firmware
format
testfir in cam for 10 minutes
format
run chdk
load autoexec to the cf
cf to the cam




i need help.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 03 / August / 2011, 03:49:44
infamous: what operating system and card size are you using? You may also try with Magic Lantern tools: http://magiclantern.wikia.com/wiki/550d_install#Step_2._Making_the_SD_card_bootable (http://magiclantern.wikia.com/wiki/550d_install#Step_2._Making_the_SD_card_bootable)

For developers: calling 0xFFFF4020 write_bootflags_to_card(0) from a FIR (before initializing the operating system!) should make the card bootable ( http://bit.ly/oXXKfB (http://bit.ly/oXXKfB) )
Title: Re: Eos 400d ( Rebel XTI )
Post by: infamous on 03 / August / 2011, 03:55:10
i have win7 and my card is a sandisk ultra II 2GB

Magic lantern is for 550 d. i have a 400d
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 03 / August / 2011, 04:08:03
Bootflags are the same for all dSLR cameras; the ones for CHDK (compact cameras) may be different.
Title: Re: Eos 400d ( Rebel XTI )
Post by: infamous on 03 / August / 2011, 04:23:22
with eoscard the same. not bootable. i make it with eoscard and with cardtricks 1.45


but my card is not bootable.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / August / 2011, 15:27:50
with eoscard the same. not bootable. i make it with eoscard and with cardtricks 1.45

but my card is not bootable.

have you read the wiki: http://code.google.com/p/400plus/wiki/FirmwareHackInstallation (http://code.google.com/p/400plus/wiki/FirmwareHackInstallation)
see point 5.
there is a screenshot too...

btw, try formating the CF card on the camera, not on the pc before going to EOScard.

Title: Re: Eos 400d ( Rebel XTI )
Post by: infamous on 04 / August / 2011, 02:30:39
yes format in cam.

but not bootable.

Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 04 / August / 2011, 03:42:04
Under Windows 7 I think you have to run EOSCard as administrator. Also check if the boot strings were written to the card with HxD, for example (see http://magiclantern.wikia.com/wiki/Bootdisk (http://magiclantern.wikia.com/wiki/Bootdisk) ).

Or load a Linux CD and run the commands from the install page.
Title: Re: Eos 400d ( Rebel XTI )
Post by: infamous on 04 / August / 2011, 05:33:00
I run EOScard as admin .

i load cygwin for windows

this is the code for cygwin? H is the cf card .
dev=/dev/H:\
echo EOS_DEVELOP | dd of="$dev" bs=1 seek=43 count=11 press enter
echo BOOTDISK | dd of="$dev" bs=1 seek=64 count=8 press enter
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / August / 2011, 10:46:39
I run EOScard as admin .

i load cygwin for windows

this is the code for cygwin? H is the cf card .
dev=/dev/H:\
echo EOS_DEVELOP | dd of="$dev" bs=1 seek=43 count=11 press enter
echo BOOTDISK | dd of="$dev" bs=1 seek=64 count=8 press enter

one problem that could be is that you have only one back-slash '\' in the end of the 'dev=' line
use 2 backslashes or none... i'm not sure how the devices are named in cygwin
you can check it with this command:
ls /dev/H:*

if the device have backslash in the end (eg. /dev/H:\), you have to write 2 backslashes, like this
   dev=/dev/H:\\
if there is no backslash  (/dev/H:), then you need this:
   dev=/dev/H:

the ':' char should not need escaping.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 04 / August / 2011, 11:19:50
Check this link: http://www.cygwin.com/cygwin-ug-net/using-specialnames.html (http://www.cygwin.com/cygwin-ug-net/using-specialnames.html)

I didn't try, but if you put the wrong one, it won't be funny at all...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / August / 2011, 15:11:30
Check this link: http://www.cygwin.com/cygwin-ug-net/using-specialnames.html (http://www.cygwin.com/cygwin-ug-net/using-specialnames.html)

I didn't try, but if you put the wrong one, it won't be funny at all...

from that document it seems /dev/H: is totally wrong....
it should be /dev/sd[a-z]1, like in linux...

@infamous: i've replied to your PM, please check it and i will help you.


note:
it seems the installation wiki is not clear enough on this method of installing. i should write it more clearly.
try using 'dd' tool _ONLY_ if you are aware of what you're doing ...
you can end in broken HDD/partition/filesystem/whatever if you do not know how to use it...
Title: Re: Eos 400d ( Rebel XTI )
Post by: infamous on 06 / August / 2011, 10:08:26
0xAF: Thx  ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / August / 2011, 04:00:47
0xAF: Thx  ;)

you're welcome.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 12 / August / 2011, 15:40:06
Can't wait to test the latest nightly builds with hints of AutoISO!!! But it will be at least another week or so before I can get to my 400D's for testing...
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 12 / August / 2011, 16:20:17
I tested the latest version with the added feature autoISO.

The autoISO to run correctly in the way "AV" and "P".

As against other modes of AutoISO does not seem to work.

is this normal?

In any case, I'm glad to see new shows autoISO function p
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / August / 2011, 16:47:22
I tested the latest version with the added feature autoISO.

The autoISO to run correctly in the way "AV" and "P".

As against other modes of AutoISO does not seem to work.

is this normal?

In any case, I'm glad to see new shows autoISO function p

AutoISO is still work-in-progress: it only works in P and Av (Tv has not been coded), and there are some improvements pending (it is slow); but thanks for reporting.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 12 / August / 2011, 18:29:49
Hi guys/gals... Edu is making great progress with the AutoISO... He will announce it soon.

For now I need to get the names and the mails of the translator of languages.c file, I'm moving it into langiages.ini, so it will be stored on the CF card.

Please German, Italian, French and Spanish translators, send me PM with your nicks/names and mails, so we can  mention you in the languages.ini file

It will be useful if you give me the date/revision of your translations.

EDIT: Edu wrote while I was posting.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 12 / August / 2011, 19:35:08
I think I found a little bug that came up after removing ISO 3200, when in the shortcut menu to change iso we keep pressed the right arrow it goes to 1600 not to 3000 don't matter if we are on 1800 for example.
edit: posted the issue on the code page here (http://code.google.com/p/400plus/issues/detail?id=120)

I'll wait this first ini file to add last translation and a little clean up of the current one tu align better the > for the italian one.
I was bored today and so I did the modifications to the actual language file, feel free to put those in the future ini file, I'll test them as soon as they will be in the nightly build to be sure i didn't any errors.

For the auto iso is there a way to see it active on the screen or there is just the menu line?

EDIT: I've tested the last rev (735) and AutoISO is working good in P and Av.

I know it's not still finished and so please consider this (posted also in the code page):

I have auto iso set to use 100 as min and 400 as max to cover what i consider the acceptable ISO of this camera (before noise level is too much for my preferences).
But there are situations where i need to use a higher ISO and with AutoISO active I can't do it easily because if i use the canon menu to set it to, for example, 1600 the AutoISO function reset it to 400. For now I need to go in the 400plus menu and disable AutoISO and then set the ISO needed.
I think a solution would be to make AutoISO active only when we have ISO set to one of the value in the range covered by our AutoISO settings, this will allow user to override AutoISO settings with ISO value not used in the AutoISO settings.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 14 / August / 2011, 17:26:38
I think I found a little bug that came up after removing ISO 3200, when in the shortcut menu to change iso we keep pressed the right arrow it goes to 1600 not to 3000 don't matter if we are on 1800 for example.
edit: posted the issue on the code page here (http://code.google.com/p/400plus/issues/detail?id=120)
Not a bug, but a feature: holding the LEFT/RIGHT buttons jumps only across base ISOs (100, 200, 400, ...); as the highest base value is 1600, moving up to 3000 requires to release the button and then increase the ISO in small steps. If you still consider this unacceptable, please reopen the issue and I'll convert it to a feature request; thanks.

I'll wait this first ini file to add last translation and a little clean up of the current one tu align better the > for the italian one.
I was bored today and so I did the modifications to the actual language file, feel free to put those in the future ini file, I'll test them as soon as they will be in the nightly build to be sure i didn't any errors.
Thanks, I'll update the code as soon as possible.

For the auto iso is there a way to see it active on the screen or there is just the menu line?
Right now, only the menu line. AutoISO was an experiment, I wasn't event sure how will it work out, and left out all these details; but I have been doing more experiments this weekend, and so far it seems to be working properly. So I plan to work on it some more, before the next release.

EDIT: I've tested the last rev (735) and AutoISO is working good in P and Av.
Glad to know; thanks.

I know it's not still finished and so please consider this (posted also in the code page):

I have auto iso set to use 100 as min and 400 as max to cover what i consider the acceptable ISO of this camera (before noise level is too much for my preferences).
But there are situations where i need to use a higher ISO and with AutoISO active I can't do it easily because if i use the canon menu to set it to, for example, 1600 the AutoISO function reset it to 400. For now I need to go in the 400plus menu and disable AutoISO and then set the ISO needed.
I think a solution would be to make AutoISO active only when we have ISO set to one of the value in the range covered by our AutoISO settings, this will allow user to override AutoISO settings with ISO value not used in the AutoISO settings.
I still have to work on that; thanks for the suggestion.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 15 / August / 2011, 07:58:50
it is true that when ISO in textbook is changed the AUTO ISO deactivates. It is then necessary to reactivate him from the menu of regulating.

Would it be possible to show the AUTO ISO in the quick menu with choice speeded up or to deactivate?

in the menu of regulating of the AUTO ISO it is possible to add following options:

AUTO ISO> free> not
AUTO ISO> free> 1 Shoot

the first option would have the effect of locking the AUTO ISO preventing any manual modification of ISO.

The second function would have the effect of allowing the manual modification of ISO for a shot, then parametre ISO would go past again in auto ISO mode.

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / August / 2011, 09:14:29
it is true that when ISO in textbook is changed the AUTO ISO deactivates. It is then necessary to reactivate him from the menu of regulating.

Would it be possible to show the AUTO ISO in the quick menu with choice speeded up or to deactivate?

in the menu of regulating of the AUTO ISO it is possible to add following options:

AUTO ISO> free> not
AUTO ISO> free> 1 Shoot

the first option would have the effect of locking the AUTO ISO preventing any manual modification of ISO.

The second function would have the effect of allowing the manual modification of ISO for a shot, then parametre ISO would go past again in auto ISO mode.

Thanks

AutoISO is intended to be AUTO, and the camera will always select the lowest possible ISO that the situation permits; I do not understand the need to set an ISO in AUTO mode.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 16 / August / 2011, 13:13:55
Quote from: Eduperez
AutoISO is intended to be AUTO, and the camera will always select the lowest possible ISO that the situation permits; I do not understand the need to set an ISO in AUTO mode.

By using the AUTO ISO I pointed out that it was possible to change value ISO manually in spite of near regulating minimum / maximum established in the auto ISO menu.

For example if they programmed a margin included between 100 ISO and 800 ISO it is manually possible to validate 1600 ISO.

Disadvantage it is because this action deactivates the auto ISO function. (it is perhaps voluntary?!)

I therefore thought that it could be practical to block manual modifications:

 - Or completely so that the AUTO ISO uses only the chosen beach.

 - Or partly by allowing to take a photo in manual regulating then a return in auto ISO.

(I am not very good in English, for the posted texts I use a translator via Internet)

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 16 / August / 2011, 13:53:16
It's great to see that AutoISO has been revived! It's also great that the feature works in manual mode. On the issue activating/deactivating AutoISO, instead of pandering to individual requirements (none of the suggestions above will work for me), we need something more universal. For example, if AutoISO is active, choosing ISO manually should deactivate it. Reactivation should not be automatic, but should be done via a simple button combination, say the ISO select button + another button. Having to go into the menu system to activate/deactivate AutoISO is too cumbersome. Of course, the deactivation wouldn't work (or matter) if the AutoISO parameters aren't set up in the first place.
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 16 / August / 2011, 16:34:57
let us imagine that for a series of photos you program the auto ISO beach between 100 ISO and 400 ISO but that for any reason you must take 1 photo in 800 ISO!

it would be then damage that to make a shot the AUTO ISO deactivates...

it is perhaps true that the automatic return in auto ISO is not perhaps the most appropriate solution.

In that case she I join Mirfak on the idea of the combination of key, by taking back a point which I tackled before, that is to say the quick activation of the AUTO ISO via the abbreviated menu.

In summary, the AUTO ISO would deactivate during the manual modification of ISO, and it would be possible to reactivate fast via the abbreviated menu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / August / 2011, 17:31:56
AutoISO can now be (de)activate from the ISO menu (UP button): press DP and AutoISO is activated; select a value (press SET) and AutoISO is deactivated. To select a manual ISO value, you are going to enter the ISO menu anyway; and two keystrokes to go back to AutoISO does not seem a lot to me.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 16 / August / 2011, 17:41:08
scrax mentioned that he would set AutoISO between 100-400, but I would end up using 100-1600. Because I shoot RAW + JPEG, the RAW files with ISO >400 clean up fine in post processing. Now the foregoing made me think of something... How about an option to switch to RAW *only* under certain conditions e.g. ISO>user specified value or exposure time >1s (when long exposure noise can be a problem). When I say "switch to RAW," it assumes that either JPEG or RAW+JPEG is originally set. On the other hand, it could be argued that there should be an option to switch to JPEG if the camera is set for continuous shooting.

Anyway, I think that AutoISO is such a big feature that after it's completed, a new feature release should be generated, and the user guide updated.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 16 / August / 2011, 17:45:24
AutoISO can now be (de)activate from the ISO menu (UP button): press DP and AutoISO is activated; select a value (press SET) and AutoISO is deactivated. To select a manual ISO value, you are going to enter the ISO menu anyway; and two keystrokes to go back to AutoISO does not seem a lot to me.

Sorry, I haven't tried this out yet, so the solution I'm thinking of already exists! Excellent!!! With AutoISO this easy to activate/deactivate, I really don't see the need for any additional special logic for this purpose.

Out of curiousity, how does AutoISO work with flash?
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 16 / August / 2011, 17:55:35
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 16 / August / 2011, 18:25:44
Hi,

We've made some changes lately.
The AutoISO is returning and it is a great addition ;)
Kudos to Edu !

Another (not so big) change is the migration of the translations to languages.ini file.
All translators, please update languages in the languages.ini file and create an issue on the project page with the patch, or email me. Please update the translators info on the according section in the .ini file.

Please test and report bugs if found ;)


note: of course you will have to copy the languages.ini file to the CF card if you want additional languages.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 16 / August / 2011, 20:13:47
Auto ISO now is perfect in how it's activated and deactivated from the iso menu, can't wait to test the new languages.ini

EDIT: I'm testing r750 and auto ISO seems broken now, It stay at min ISO we have set. Last working rev tested is r741.
languages.ini works good.


r757 working good. AutoISO too! Great, thank's Edu and 0xAF
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 17 / August / 2011, 18:46:13
Why won't auto iso max go over 1600? I like the new gradual iso stepping.
Title: Re: Eos 400d ( Rebel XTI )
Post by: flemps on 17 / August / 2011, 21:06:17
Hi guys,

First I'd like to thank all of you for the efforts on this model. I'm actually still enjoying my EOS 400D because all the enhancements made by so many of you.

I'm from Brazil and I like to contribute by adding the Portuguese language on the Rebel XTi.

Let me know, how I can help.

Cheers,

Marcus
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / August / 2011, 21:20:25
Hi guys,

First I'd like to thank all of you for the efforts on this model. I'm actually still enjoying my EOS 400D because all the enhancements made by so many of you.
Thanks :)
I'm from Brazil and I like to contribute by adding the Portuguese language on the Rebel XTi.
Let me know, how I can help.

Unfortunately the camera does not support this language (just like mine).
So far we are relying on the camera's language and you cannot have other languages than the build-in.
I was thinking to add "extra" languages to 400plus, but so far I haven't done it.
For now you can take the languages.ini file from here: http://code.google.com/p/400plus/source/browse/trunk/languages.ini (http://code.google.com/p/400plus/source/browse/trunk/languages.ini)
or from the NightlyBuild ZIP file http://code.google.com/p/400plus/downloads/list (http://code.google.com/p/400plus/downloads/list) and add your language to it, then send a patch (or the whole file if you do not know how to send a patch) to us. You can open a new issue in the project page http://code.google.com/p/400plus/issues/list (http://code.google.com/p/400plus/issues/list) and put the file there.
As soon as we make the extra languages, we will post here and you will have the chance to test it.
Thanks for your support.

note: please keep in mind that the translations are only for the 400plus (the hack) and not the Original firmware itself.
Title: Re: Eos 400d ( Rebel XTI )
Post by: relic38 on 17 / August / 2011, 21:33:27
Hello, my first post!  I am excited about the AUTO ISO feature.  I am not sure from the previous posts, but is the max Auto ISO configurable?  I hope so, as limiting it to 100-400 is restrictive.  The user should be able to select the Max, up to 1600.  Please ignore this if it's already working that way.

On another note, The feature that disables the arrow buttons when your face is on the viewfinder (preventing the nose of left-eyed users from accidentally changing settings), has removed an important function for me.  I routinely change ISO and AF without moving away from the VF.  This change has eliminated this ability.  Can this be changed to an option?

I am looking into how to submit an issue to the proper place, but I figured I'd start here.

Excellent work and thank you to all contributors!
Title: Re: Eos 400d ( Rebel XTI )
Post by: relic38 on 17 / August / 2011, 22:27:06
I played around with the nightly build  a bit, specifically Auto-ISO.  I noticed some quirks in Tv, where it did not always adjust and went back to the selected ISO.  I am not sure how to reproduce this, it just happens.  I have safety shift on, if that helps.  I have not seen it in Av or M.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 18 / August / 2011, 07:31:35
Why won't auto iso max go over 1600? I like the new gradual iso stepping.

Because Auto ISO use the base ISOs that are 100, 200, 400, 800 and 1600 to work like when quick scroll in the intermediate ISO menu.
I've already suggested to add 3000ISO (the max usable value) to the base ISOs but I'm not sure it can be done easily because (from what i understood from the source code) there are some maths involved to find out the intermediate values that will go wrong because 3000 is not 3200, hope it makes sense and please correct me if i'm wrong.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eliz on 18 / August / 2011, 18:31:42
very happy to see AUTOISO function back.
I remember this thread was made by someone who wanted this future on his 400D. this seems to be the third serious try to make Autoiso. I tested the older version before (made by sergei), but it had problems. not working corectly (sometime the iso do not change) and it was to slow.

this third try seems the best. it's working fast, and it works correctly, so a BIG CONGRATULATION to eduperez for that. however a simple like this Autoiso is no better then a camera in Auto mode.

I WILL GIVE YOU SOME HINTS IN IMPLEMENTING A GOOD AUTOISO

You need to have some control over it to make it helpful for advanced users:
1) the possibility to set a maximum ISO for autoiso (like Nikon dslr have, and Canon 60D have)
2) the possibility to use only full stops ISO for autoiso.
the problem with xD, xxD, xxxD Canon cameras is that intermediary ISO is not by made hardware amplification. So Read Noise (Blackframe Noise) is bigger on ISO125 compared to ISO200. On ISO 160 Read Noise is smaller then on ISO100 but you lose dynamic range. So from my point of view is not a good idea to use intermediary ISO
see this http://forums.dpreview.com/forums/read.asp?forum=1019&message=19721647 (http://forums.dpreview.com/forums/read.asp?forum=1019&message=19721647)
Also on the 1Dx series is not a good idea to use intermediary ISO. Even they make those using hardware amplification, they use a second amplifier to make those iso. So on intermediary ISO's you have primary + secondary amplifier noise.
see this http://www.openphotographyforums.com/forums/showthread.php?t=4771 (http://www.openphotographyforums.com/forums/showthread.php?t=4771)
Only Nikon use hardware amplification on the intermediary ISO, and they use a single amplifier. So there you have no bad points on using them.

Also to make the Autoiso usable in different modes you have to put some limits in exposure parameters:
1) in Av mode you must be able to set a maximum exposure time (like Nikon have, or Canon 1DmIII, 1DmIV).
It is a bad idea to use a fixed exposure time as the limit to change iso (like Canon 40D, 50D have), because different focal lengths require different exposure time for obtaining unmoved images. Even linking the maximum exposure time to focal lengt of the lens (like 5DmII,7D,60D have) not think is a good idea, because for example maybe you want to shot a moving object in fast change lightning . So is a better idea to set this maximum exposure time manually.
2) in Tv mode you must be able to set a maximum aperture opening (like Canon 1DmIII, 1DmIV have)
For example you may not want to let camera chose F2.8 or F4 when shooting on macrophotography
3) in M mode you must be able to set exposure compensation (like Nikon have)
Letting the camera chose all exposure parameters is not a god idea because it can overexpose or underexpose.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 18 / August / 2011, 18:44:43
very happy to see AUTOISO function back.
I remember this thread was made by someone who wanted this future on his 400D. this seems to be the third serious try to make Autoiso. I tested the older version before (made by sergei), but it had problems. not working corectly (sometime the iso do not change) and it was to slow.

this third try seems the best. it's working fast, and it works correctly, so a BIG CONGRATULATION to eduperez for that. however a simple like this Autoiso is no better then a camera in Auto mode.

I WILL GIVE YOU SOME HINTS IN IMPLEMENTING A GOOD AUTOISO

You need to have some control over it to make it helpful for advanced users:
1) the possibility to set a maximum ISO for autoiso (like Nikon dslr have, and Canon 60D have)
2) the possibility to use only full stops ISO for autoiso.
the problem with xD, xxD, xxxD Canon cameras is that intermediary ISO is not by made hardware amplification. So Read Noise (Blackframe Noise) is bigger on ISO125 compared to ISO200. On ISO 160 Read Noise is smaller then on ISO100 but you lose dynamic range. So from my point of view is not a good idea to use intermediary ISO
see this http://forums.dpreview.com/forums/read.asp?forum=1019&message=19721647 (http://forums.dpreview.com/forums/read.asp?forum=1019&message=19721647)
Also on the 1Dx series is not a good idea to use intermediary ISO. Even they make those using hardware amplification, they use a second amplifier to make those iso. So on intermediary ISO's you have primary + secondary amplifier noise.
see this http://www.openphotographyforums.com/forums/showthread.php?t=4771 (http://www.openphotographyforums.com/forums/showthread.php?t=4771)
Only Nikon use hardware amplification on the intermediary ISO, and they use a single amplifier. So there you have no bad points on using them.

Also to make the Autoiso usable in different modes you have to put some limits in exposure parameters:
1) in Av mode you must be able to set a maximum exposure time (like Nikon have, or Canon 1DmIII, 1DmIV).
It is a bad idea to use a fixed exposure time as the limit to change iso (like Canon 40D, 50D have), because different focal lengths require different exposure time for obtaining unmoved images. Even linking the maximum exposure time to focal lengt of the lens (like 5DmII,7D,60D have) not think is a good idea, because for example maybe you want to shot a moving object in fast change lightning . So is a better idea to set this maximum exposure time manually.
2) in Tv mode you must be able to set a maximum aperture opening (like Canon 1DmIII, 1DmIV have)
For example you may not want to let camera chose F2.8 or F4 when shooting on macrophotography
3) in M mode you must be able to set exposure compensation (like Nikon have)
Letting the camera chose all exposure parameters is not a god idea because it can overexpose or underexpose.

Perhaps you should check AutoISO on 400plus again, as most of those features are already implemented (in fact, all but the last one).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 18 / August / 2011, 22:31:38
Having exposure compensation (EC) in manual mode when AutoISO is active makes sense. Normaly, this isn't required because the user has full control of shutter speed and aperture, and ISO is fixed. However, AutoISO compensates to provide a "correct" exposure (per the camera meter) and thus EC is required when the meter is fooled by lighting conditions. The issue of course, is that both EC (in P, AV, or TV) and aperture control (in manual mode) use the same button.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 19 / August / 2011, 03:06:02
Having exposure compensation (EC) in manual mode when AutoISO is active makes sense. Normaly, this isn't required because the user has full control of shutter speed and aperture, and ISO is fixed. However, AutoISO compensates to provide a "correct" exposure (per the camera meter) and thus EC is required when the meter is fooled by lighting conditions. The issue of course, is that both EC (in P, AV, or TV) and aperture control (in manual mode) use the same button.

This is already planned (the algorithm for this is quite simple), but as you mentioned, the problem is in the buttons; we will probably have to use LEFT/RIGHT while at the viewfinder for this.
Title: Re: Eos 400d ( Rebel XTI )
Post by: north_wind_rus on 19 / August / 2011, 05:06:10
Hi everyone! I can help translate the file "languages.ini" in Russian, should it? and how to do this?

Translated by Google Translator
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 19 / August / 2011, 07:45:46
This is already planned (the algorithm for this is quite simple), but as you mentioned, the problem is in the buttons; we will probably have to use LEFT/RIGHT while at the viewfinder for this.

This problem make me think to a feature that I was thinking about.
Scrollwheel function switchable in M mode with Av button.

Camera starts with Scrollwhell set to change times,
pressing Av once makes Scrollwheel change Aperture,
pressing Av for a second time makes scrollwhell change Exposure compensation,
pressing again Av for a third times goes back to the default (Scrollwhell changes times)

and if possible we need to think to a way to show in what mode we are,
maybe just underline the value that will be changed by the scrollwheel.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 19 / August / 2011, 07:50:19
Hi everyone! I can help translate the file "languages.ini" in Russian, should it? and how to do this?

Translated by Google Translator

You need to translate these:

   LANG_PAIR( FREE_SPACE,         "Free Space"         ) \
   LANG_PAIR( RELEASE_COUNT,      "ReleaseCount"       ) \
   LANG_PAIR( OFF,                "Off"                ) \
   LANG_PAIR( YES,                "Yes"                ) \
   LANG_PAIR( NO,                 "No"                 ) \
   LANG_PAIR( 2S,                 "2s"                 ) \
   LANG_PAIR( ENABLED,            "Enabled"            ) \
   LANG_PAIR( DISABLED,           "Disabled"           ) \
   LANG_PAIR( EXT_ONLY,           "Ext Only"           ) \
   LANG_PAIR( EXT_AEB,            "Ext. AEB"           ) \
   LANG_PAIR( ONE_SHOT,           "One Shot"           ) \
   LANG_PAIR( INTERVAL,           "Interval"           ) \
   LANG_PAIR( NO_LIMIT,           "No Limit"           ) \
   LANG_PAIR( RENAME,             "Rename"             ) \
   LANG_PAIR( LOAD_PRESETS,       "Load presets"       ) \
   LANG_PAIR( SAVE_PRESETS,       "Save presets"       ) \
   LANG_PAIR( PRESET_NAME,        "Preset"             ) \
   LANG_PAIR( DEVELOPER,          "Developer"          ) \
   LANG_PAIR( TEST_DIALOGS,       "Test the dialogs"   ) \
   LANG_PAIR( DUMP_LOG_TO_FILE,   "Dump log to file"   ) \
   LANG_PAIR( ENTER_FACTORY_MODE, "Enter factory Mode" ) \
   LANG_PAIR( EXIT_FACTORY_MODE,  "Exit  factory Mode" ) \
   LANG_PAIR( DEBUG_ON_POWERON,   "Debug on PowerOn"   ) \
   LANG_PAIR( LOGFILE,            "Log File Mode"      ) \
   LANG_PAIR( OVERWRITE,          "Overwrite"          ) \
   LANG_PAIR( NEW,                "New"                ) \
   LANG_PAIR( APPEND,             "Append"             ) \
   LANG_PAIR( SETTINGS,           "Settings"           ) \
   LANG_PAIR( DELAY,              "Delay"              ) \
   LANG_PAIR( ACTION,             "Action"             ) \
   LANG_PAIR( REPEAT,             "Repeat"             ) \
   LANG_PAIR( INSTANT,            "Instant"            ) \
   LANG_PAIR( FRAMES,             "Frames"             ) \
   LANG_PAIR( STEP_EV,            "Step (EV)"          ) \
   LANG_PAIR( MANUAL_L,           "Bulb min"           ) \
   LANG_PAIR( MANUAL_R,           "Bulb max"           ) \
   LANG_PAIR( TIME_S,             "Time (s)"           ) \
   LANG_PAIR( EAEB,               "EAEB"               ) \
   LANG_PAIR( SHOTS,              "Shots"              ) \
   LANG_PAIR( AV_COMP,            "AV comp"            ) \
   LANG_PAIR( FLASH_COMP,         "Flash comp"         ) \
   LANG_PAIR( AEB,                "AEB"                ) \
   LANG_PAIR( ISO_IN_VF,          "ISO in viewfinder"  ) \
   LANG_PAIR( SHORTCUTS_MENU,     "Shortcuts menu"     ) \
   LANG_PAIR( SAFETY_SHIFT,       "Safety Shift"       ) \
   LANG_PAIR( COLOR_TEMP_K,       "Color Temp. (K)"    ) \
   LANG_PAIR( USE_FLASH,          "Disable flash"      ) \
   LANG_PAIR( HANDWAVE,           "Handwave"           ) \
   LANG_PAIR( TIMER_SPACES,       "Timer   "           ) \
   LANG_PAIR( IR_REMOTE_ENABLE,   "IR remote enable"   ) \
   LANG_PAIR( IR_REMOTE_DELAY,    "IR remote delay"    ) \
   LANG_PAIR( DEVELOPERS_MENU,    "Developers Menu"    ) \
   LANG_PAIR( SCRIPTS_SPACES,     "Scripts "           ) \
   LANG_PAIR( DIM_LCD_DOWN,       "LCD dim"            ) \
   LANG_PAIR( KEEP_POWER_ON,      "APO dsbl"           ) \
   LANG_PAIR( SHORTCUTS,          "Shortcuts"          ) \
   LANG_PAIR( ISO,                "ISO"                ) \
   LANG_PAIR( EXTENDED_AEB,       "Extended AEB"       ) \
   LANG_PAIR( INTERVALOMETER,     "Intervalometer"     ) \
   LANG_PAIR( HAND_WAVING,        "Hand Waving"        ) \
   LANG_PAIR( SELF_TIMER,         "Self Timer"         ) \
   LANG_PAIR( AF_FLASH,           "AF Flash"           ) \
   LANG_PAIR( MIRROR_LOCKUP,      "Mirror Lockup"      ) \
   LANG_PAIR( FLASH_2ND_CURT,     "Flash 2curt"        ) \
   LANG_PAIR( PRESETS_SPACES,     "Presets "           ) \
   LANG_PAIR( PRESETS_ADEP,       "Use A-DEP"          ) \
   LANG_PAIR( PRESETS_CAMERA,     "Camera"             ) \
   LANG_PAIR( PRESETS_400PLUS,    "400plus"            ) \
   LANG_PAIR( PRESETS_SETTINGS,   "Settings"           ) \
   LANG_PAIR( PRESETS_IMAGE,      "Image"              ) \
   LANG_PAIR( PRESETS_CFN,        "Custom Fn"          ) \
   LANG_PAIR( AUTOISO,            "AutoISO "           ) \
   LANG_PAIR( AUTOISO_ENABLE,     "Enable"             ) \
   LANG_PAIR( AUTOISO_MINISO,     "Min ISO"            ) \
   LANG_PAIR( AUTOISO_MAXISO,     "Max ISO"            ) \
   LANG_PAIR( AUTOISO_MINTV,      "Min Tv"             ) \
   LANG_PAIR( AUTOISO_MAXAV,      "Max Av"             ) \

and put the translation in the file languages.ini that you can find in the last nightly builds or here http://400plus.googlecode.com/svn/trunk/languages.ini (http://400plus.googlecode.com/svn/trunk/languages.ini)

Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 19 / August / 2011, 08:05:07
testing r761 and in the menu
AutoISO>Max Av : 22
I can go from 1 to 22 and then i can go on for 3 times more without nothing shown
like this:
AutoISO>Max Av :
pressing left three times brings me back to 22

note: the lens can go to 36 when zoomed.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 19 / August / 2011, 09:37:30
This is already planned (the algorithm for this is quite simple), but as you mentioned, the problem is in the buttons; we will probably have to use LEFT/RIGHT while at the viewfinder for this.

This problem make me think to a feature that I was thinking about.
Scrollwheel function switchable in M mode with Av button.

Camera starts with Scrollwhell set to change times,
pressing Av once makes Scrollwheel change Aperture,
pressing Av for a second time makes scrollwhell change Exposure compensation,
pressing again Av for a third times goes back to the default (Scrollwhell changes times)

and if possible we need to think to a way to show in what mode we are,
maybe just underline the value that will be changed by the scrollwheel.

An interesting idea, and would only need to work this way when AutoISO is active. I much prefer changing EC via the scroll wheel than by buttons, if possible. Highlighting the value that will be changed would be good (similar to the highlighting you see in the EC scale when adjusting EC).
Title: Re: Eos 400d ( Rebel XTI )
Post by: eliz on 19 / August / 2011, 12:50:43
Perhaps you should check AutoISO on 400plus again, as most of those features are already implemented (in fact, all but the last one).
hmm, the r761 seems to use only full stops iso.
but i gave no idea how to set a Maximum ISO for autoiso or the slowest exposure time for using in Av mode. it there a menu build for that ?
or do you set the exposure time in the M or P mode and then you switch back to Av ? (like in sergei version)
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 19 / August / 2011, 13:42:54
hmm, the r761 seems to use only full stops iso.
but i gave no idea how to set a Maximum ISO for autoiso or the slowest exposure time for using in Av mode. it there a menu build for that ?
or do you set the exposure time in the M or P mode and then you switch back to Av ? (like in sergei version)

Yes, check in the settings menu, use scrollwhell to scroll thru all the options AutoISO offers, arrows to change them.
Note: In M mode AutoISO use all the ISOs value, ignoring max and min set in the AutoISO menu.

I think that instead could be better to have a AllISOs options in the min ISO and Max ISO settings in a way that when
min ISO is set to a value that value is used like now (limits the min ISO we want to use)
max ISO set to a value again used like now (limits the max ISO we want to use)
min ISO set to AllISOs go down to 100ISO and uses all the intermediate values
max ISO set to AllISOs go up to 3000ISO and uses all the intermediate values

so we can have all the different options asked till now in a simple way
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 19 / August / 2011, 16:42:30
@flemps, @north_wind_rus and other translators:
http://code.google.com/p/400plus/wiki/TranslatorsGuide (http://code.google.com/p/400plus/wiki/TranslatorsGuide)

basically you should get the idea of translating 400plus, though my english is not the best.
Title: Re: Eos 400d ( Rebel XTI )
Post by: drpr0 on 20 / August / 2011, 10:57:26
Hello everyone
I can help translate to russian and ukrainian too.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 20 / August / 2011, 11:22:16
Hello everyone
I can help translate to russian and ukrainian too.
Hi,
that's good. read the guide posted by 0xAF and post a patch when ready in the code pages.

Also canon's not supported languages are in development from what I can see from the repo...

And you can translate also the User Guide or the install guide too if you want.
Title: Re: Eos 400d ( Rebel XTI )
Post by: drpr0 on 20 / August / 2011, 11:30:51
Hello everyone
I can help translate to russian and ukrainian too.
Hi,
that's good. read the guide posted by 0xAF and post a patch when ready in the code pages.

Also canon's not supported languages are in development from what I can see from the repo...

And you can translate also the User Guide or the install guide too if you want.

In what code to write down a file: koi - 8r, win - 1251, UTF ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eliz on 20 / August / 2011, 12:34:13
Yes, check in the settings menu, use scrollwhell to scroll thru all the options AutoISO offers, arrows to change them.
seems i have search in the Shortcuts Menu (Print button) not in the Settings Menu (Menu+Print buttons), that's why I didn't find Autoiso settings first time. thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 20 / August / 2011, 14:02:03
Hello everyone
I can help translate to russian and ukrainian too.
Hi,
that's good. read the guide posted by 0xAF and post a patch when ready in the code pages.

Also canon's not supported languages are in development from what I can see from the repo...

And you can translate also the User Guide or the install guide too if you want.

In what code to write down a file: koi - 8r, win - 1251, UTF ?

I think UTF is ok but i'm not sure.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 20 / August / 2011, 14:29:50
Some hints are here (including source code for Japanese characters).

http://chdk.setepontos.com/index.php?topic=6204.msg63022#msg63022 (http://chdk.setepontos.com/index.php?topic=6204.msg63022#msg63022)

Edit: encoding is UTF8 (on 550D).

Code: [Select]
int msg[] = {0x9381e3, 0x9382e3, 0xab81e3, 0xa181e3, 0xaf81e3, 0}; // konnichiwa
bfnt_puts_utf8(msg, 250, 20, COLOR_BLACK, COLOR_WHITE);
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 20 / August / 2011, 16:48:35
Hello everyone
I can help translate to russian and ukrainian too.
Hi,
that's good. read the guide posted by 0xAF and post a patch when ready in the code pages.

Also canon's not supported languages are in development from what I can see from the repo...

And you can translate also the User Guide or the install guide too if you want.

In what code to write down a file: koi - 8r, win - 1251, UTF ?


I believe UTF8 is ok. Since we did not have any languages than latin's i'm not sure too... but i can convert it to any other charset if its not utf8...

now after alex posted about 500d i believe our camera is in utf8 too...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 29 / August / 2011, 17:43:43
so, i fixed the UTF8 languages and enabled the Russian again from the .ini.
it will be unaligned though, at least for now... we are working on a new menu structures, eventually in the end it will be aligned like the latin1 languages.

it should be included in nightly builds >= r769
Title: Re: Eos 400d ( Rebel XTI )
Post by: drpr0 on 30 / August / 2011, 15:07:11
Hi, All.

How i can switch menu to Russian Languages ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / August / 2011, 15:21:03
from the normal settings menu of the camera ... you have to put languages.ini file together with the autoexec.bin to the CF card to have additional languages on the hack.
take the last nightly build.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / August / 2011, 16:43:21
This is already planned (the algorithm for this is quite simple), but as you mentioned, the problem is in the buttons; we will probably have to use LEFT/RIGHT while at the viewfinder for this.

This problem make me think to a feature that I was thinking about.
Scrollwheel function switchable in M mode with Av button.

Camera starts with Scrollwhell set to change times,
pressing Av once makes Scrollwheel change Aperture,
pressing Av for a second time makes scrollwhell change Exposure compensation,
pressing again Av for a third times goes back to the default (Scrollwhell changes times)

and if possible we need to think to a way to show in what mode we are,
maybe just underline the value that will be changed by the scrollwheel.

An interesting idea, and would only need to work this way when AutoISO is active. I much prefer changing EC via the scroll wheel than by buttons, if possible. Highlighting the value that will be changed would be good (similar to the highlighting you see in the EC scale when adjusting EC).

All this only makes sense if you are looking to the display; but if you are looking through the viewfinder, you cannot know what is the scroll wheel going to change, and that is a major drawback. Since ISO cannot be changed when AutoISO is active, I think that using LEFT/RIGHT (while looking at the viewfinder) to change Av is way better. Please, give me a couple of days to implement this, and we can see how it works out.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 31 / August / 2011, 19:32:53
Yes it's true,but I will know(remember) what the scroll wheel will change watching the display before putting it in front of the eye, the same thing with all the stuff that is not displayed in the viewfinder.

I don't get were we need to change Iso's, for the exposure compensations function maybe?
Title: Re: Eos 400d ( Rebel XTI )
Post by: drpr0 on 02 / September / 2011, 15:25:01
from the normal settings menu of the camera ... you have to put languages.ini file together with the autoexec.bin to the CF card to have additional languages on the hack.
take the last nightly build.

Thanks.

One more quastion. If i need add more string for translation, where i am write him ? Sorry for my bad english.
Title: Pre-Release Announcement
Post by: eduperez on 02 / September / 2011, 17:14:19
I sent this same message to the mailing list, but it is probably worth posting it here too:

Latest nightly build contains the code to change the EV compensation for AutoISO in M mode, using LEFT / RIGHT while at the viewfinder; and that is all I have to say about AutoISO for now. So this is probably a good moment to make a new release: I will be updating the documentation for a day or two, and if no new bugs appear by then, make a new release.

Edu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / September / 2011, 07:58:52
Thanks.
One more quastion. If i need add more string for translation, where i am write him ? Sorry for my bad english.

sorry, what you mean to add more strings.
you can translate only the strings we are using in the hack, see the langiages.h for the LANG_PAIR pairs.
these are the strings you can translate.
add your translations to languages.ini file.

please describe a situation where you need more strings ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: drpr0 on 03 / September / 2011, 11:45:21
First of all, thanks for the answer.

I am trying describe:
I have languages.ini - i put this file on my flash, a switch 2 the Russian lng, but i see some non-translated string.

I am try add this string in 2 languages.ini with translation (for example AUTO ISO = My Russian text), write this new languages.ini to the flash, but i cant see translation in my camera.

Pls, says where is my errors. Thanks one more, and sorry for my bad English.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / September / 2011, 20:01:46
First of all, thanks for the answer.

I am trying describe:
I have languages.ini - i put this file on my flash, a switch 2 the Russian lng, but i see some non-translated string.

I am try add this string in 2 languages.ini with translation (for example AUTO ISO = My Russian text), write this new languages.ini to the flash, but i cant see translation in my camera.

Pls, says where is my errors. Thanks one more, and sorry for my bad English.



please check the translators guide: http://code.google.com/p/400plus/wiki/TranslatorsGuide (http://code.google.com/p/400plus/wiki/TranslatorsGuide)
if you still have problems write me a PM, i will help you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 04 / September / 2011, 11:53:53
A couple of comments on r796 - "AutoISO explained" that should be documented, based on my observations.

1) You must set Max AV at most just above the maximum aperture of the lens that you're using. For example, if your lens is F4.0-F5.6, Max AV number should be set no lower than 4.5. Otherwise, AutoISO will not function in TV mode.

2) If safety shift is enabled, to maintain correct exposure in AV mode, the shutter speed could drop below Min TV if Max ISO is exceeded.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / September / 2011, 13:02:21
A couple of comments on r796 - "AutoISO explained" that should be documented, based on my observations.

1) You must set Max AV at most just above the maximum aperture of the lens that you're using. For example, if your lens is F4.0-F5.6, Max AV number should be set no lower than 4.5. Otherwise, AutoISO will not function in TV mode.

2) If safety shift is enabled, to maintain correct exposure in AV mode, the shutter speed could drop below Min TV if Max ISO is exceeded.

Changes applied; many thanks!
Title: Release Announcement
Post by: eduperez on 04 / September / 2011, 13:39:24
Release 20110904-0 is out:

As always, the links are:

Thanks to everybody involved!
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 04 / September / 2011, 18:29:46
Neato... AutoISO goes to 3000 in manual mode... Max ISO is still stuck at 1600 in the settings menu and only goes to 1600 in TV/P/AV. I shoot manual lots of the time so hopefully its not a bug and stays.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / September / 2011, 02:03:05
Neato... AutoISO goes to 3000 in manual mode... Max ISO is still stuck at 1600 in the settings menu and only goes to 1600 in TV/P/AV. I shoot manual lots of the time so hopefully its not a bug and stays.

Not  a bug, but a feature: AutoISO only uses real ISO values for P, Tv, and Av modes; please, see http://code.google.com/p/400plus/issues/detail?id=124 (http://code.google.com/p/400plus/issues/detail?id=124) for more info.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / September / 2011, 05:05:47
very happy to see AUTOISO function back.
I remember this thread was made by someone who wanted this future on his 400D. this seems to be the third serious try to make Autoiso. I tested the older version before (made by sergei), but it had problems. not working corectly (sometime the iso do not change) and it was to slow.

this third try seems the best. it's working fast, and it works correctly, so a BIG CONGRATULATION to eduperez for that. however a simple like this Autoiso is no better then a camera in Auto mode.

I WILL GIVE YOU SOME HINTS IN IMPLEMENTING A GOOD AUTOISO

You need to have some control over it to make it helpful for advanced users:
1) the possibility to set a maximum ISO for autoiso (like Nikon dslr have, and Canon 60D have)
2) the possibility to use only full stops ISO for autoiso.
the problem with xD, xxD, xxxD Canon cameras is that intermediary ISO is not by made hardware amplification. So Read Noise (Blackframe Noise) is bigger on ISO125 compared to ISO200. On ISO 160 Read Noise is smaller then on ISO100 but you lose dynamic range. So from my point of view is not a good idea to use intermediary ISO
see this http://forums.dpreview.com/forums/read.asp?forum=1019&message=19721647 (http://forums.dpreview.com/forums/read.asp?forum=1019&message=19721647)
Also on the 1Dx series is not a good idea to use intermediary ISO. Even they make those using hardware amplification, they use a second amplifier to make those iso. So on intermediary ISO's you have primary + secondary amplifier noise.
see this http://www.openphotographyforums.com/forums/showthread.php?t=4771 (http://www.openphotographyforums.com/forums/showthread.php?t=4771)
Only Nikon use hardware amplification on the intermediary ISO, and they use a single amplifier. So there you have no bad points on using them.

Also to make the Autoiso usable in different modes you have to put some limits in exposure parameters:
1) in Av mode you must be able to set a maximum exposure time (like Nikon have, or Canon 1DmIII, 1DmIV).
It is a bad idea to use a fixed exposure time as the limit to change iso (like Canon 40D, 50D have), because different focal lengths require different exposure time for obtaining unmoved images. Even linking the maximum exposure time to focal lengt of the lens (like 5DmII,7D,60D have) not think is a good idea, because for example maybe you want to shot a moving object in fast change lightning . So is a better idea to set this maximum exposure time manually.
2) in Tv mode you must be able to set a maximum aperture opening (like Canon 1DmIII, 1DmIV have)
For example you may not want to let camera chose F2.8 or F4 when shooting on macrophotography
3) in M mode you must be able to set exposure compensation (like Nikon have)
Letting the camera chose all exposure parameters is not a god idea because it can overexpose or underexpose.

Now that he have a documented release with AutoISO, which (I hope) addresses all the issues you pointed out, I would like to read your opinion on how we are doing. I am still a bit hesitant about M mode and intermediate ISOs: this is the only mode that uses them, for the reasons you explained, but I do not know how else we can avoid over / under exposures. Many thanks.

I am asking specifically you because you showed interest and knowledge in this subject, but obviously any opinion is welcome.
Title: Re: Eos 400d ( Rebel XTI )
Post by: andrew_sj on 06 / September / 2011, 07:42:32
Hello, I am working on an ISO noise reduction plugin for gimp with the 400d in mind as that is what I have. I would like to first characterise the noise across the CCD. To do this ideally what I want to do is:

1. lock the mirror up
2. take a bunch of photos (10 ish) for the ISO and time I've set.
3. put the mirror back down.

It is essential that the camera doesn't move for my image processing needs hence the mirror operation. What would be the best way of doing this?

On another note I am interested in contributing to the code base as I am a professional C/C++ coder for embedded systems and love the work you guys are doing. Am just setting up a build machine this week.

Thanks for any input
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / September / 2011, 08:02:55
Hello, I am working on an ISO noise reduction plugin for gimp with the 400d in mind as that is what I have. I would like to first characterise the noise across the CCD. To do this ideally what I want to do is:

1. lock the mirror up
2. take a bunch of photos (10 ish) for the ISO and time I've set.
3. put the mirror back down.

It is essential that the camera doesn't move for my image processing needs hence the mirror operation. What would be the best way of doing this?

I am afraid that we still do not know how to control the mirror, so it is not possible to keep it up after the first shot.

On another note I am interested in contributing to the code base as I am a professional C/C++ coder for embedded systems and love the work you guys are doing. Am just setting up a build machine this week.

Thanks for any input

Welcome abroad!
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 06 / September / 2011, 08:07:37
If you find out how to control the mirror, I'm interested too :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: andrew_sj on 06 / September / 2011, 09:18:43
Ok, thanks for the reply. Could someone either point me to a resource or explain to me how the hack works. I understand that the hack sits on the CF and doesn't modify the firmware but I don't know what it contains or how it works. I'm pretty good at reverse engineering so I'll start work on the mirror control by decrypting the canon firmware and decompiling it the best I can.

Does anyone know the extent to which the symbol table is populated in the canon firmware? thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / September / 2011, 11:04:09
Ok, thanks for the reply. Could someone either point me to a resource or explain to me how the hack works. I understand that the hack sits on the CF and doesn't modify the firmware but I don't know what it contains or how it works. I'm pretty good at reverse engineering so I'll start work on the mirror control by decrypting the canon firmware and decompiling it the best I can.

Does anyone know the extent to which the symbol table is populated in the canon firmware? thanks

I am probably not the best person to explain this, but I will try (0xAF will surely correct my mistakes): Basically, when the camera starts up, it executes "start" at "entry.S", which passes the control to "my_romStart" at "init.c"; from there, we replicate all the initialization stuff from the original firmware, but with some subtle changes to plug-in our code.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / September / 2011, 01:39:23
Ok, thanks for the reply. Could someone either point me to a resource or explain to me how the hack works. I understand that the hack sits on the CF and doesn't modify the firmware but I don't know what it contains or how it works. I'm pretty good at reverse engineering so I'll start work on the mirror control by decrypting the canon firmware and decompiling it the best I can.

Does anyone know the extent to which the symbol table is populated in the canon firmware? thanks

hi Andrew, it's good to have more embedded devs arround. Please check your PM I'll send mine contacts, so we can have a more real-time conversation.
Title: Re: Eos 400d ( Rebel XTI )
Post by: andrew_sj on 08 / September / 2011, 03:42:06
I'm now on the hunt for tools. Anyone got anything useful please let me know as would it would get me up to speed much quicker. Also any scripts etc would be useful.

Cheers
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / September / 2011, 03:50:24
I'm now on the hunt for tools. Anyone got anything useful please let me know as would it would get me up to speed much quicker. Also any scripts etc would be useful.

Cheers

perhaps you should talk with alex, he can help you with tools...
btw when you start digging, i can help you with the basics of the FW, so you get on the track fastly.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / September / 2011, 04:00:03
I'm now on the hunt for tools. Anyone got anything useful please let me know as would it would get me up to speed much quicker. Also any scripts etc would be useful.

Cheers

I cannot help you with that: I only do development, and have never done any reverse-engineering.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 08 / September / 2011, 04:57:14
For reverse engineering I wrote (and use) this script: https://github.com/alexdu/ARM-console (https://github.com/alexdu/ARM-console)

http://magiclantern.wikia.com/wiki/GPL_Tools/ARM_console (http://magiclantern.wikia.com/wiki/GPL_Tools/ARM_console)
some tricks: http://magiclantern.wikia.com/wiki/ARM-console_Tips_by_Alex (http://magiclantern.wikia.com/wiki/ARM-console_Tips_by_Alex)
how to setup: http://magiclantern.wikia.com/wiki/Magic_Lantern_Development_on_Mac (http://magiclantern.wikia.com/wiki/Magic_Lantern_Development_on_Mac)
theory: http://magiclantern.wikia.com/wiki/IDAPython (http://magiclantern.wikia.com/wiki/IDAPython)

But these scripts were written for DryOs cameras, which use a different compiler. They will find 400D code a bit difficult; importing a good IDC with functions properly defined will help a lot.
Title: Re: Eos 400d ( Rebel XTI )
Post by: north_wind_rus on 09 / September / 2011, 06:30:51
Attention! Developers' alternative firmware ", translated into Russian, includes a large number of spelling errors and incorrect technical parameters translated into Russian.
Remove from nightly builds of the Russian language ...

P.s At this point I can offer an alternative translation into Russian, but it is 80% and I will be presented next week only ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 09 / September / 2011, 07:06:09
ok, thanks for the report...
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 14 / September / 2011, 23:50:52
Hi all, I was not able to log in after the forum update, but solved now.

Welcome to andrew_sj.

Edu, are you sure that the italian translation is not updated? I think it is, but I had back the camera just today so didn't tested yet the last nightly build to check (note to me: the user guide is not yet full translated).
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / September / 2011, 01:24:57
Hi all, I was not able to log in after the forum update, but solved now.

Welcome to andrew_sj.

Edu, are you sure that the italian translation is not updated? I think it is, but I had back the camera just today so didn't tested yet the last nightly build to check (note to me: the user guide is not yet full translated).

Well, the guide wasn't updated when I prepared the release announcement, but now I see that you updated it just before the announcement; so probably I missed those changes, and assumed that it wasn't updated. Sorry, will try to be more careful next time.

On a side note, probably we should coordinate releases and translations better. I plan to keep the preview up to date (or almost) with the nightly builds, so translators can (if they want) do the same, and have the translations ready for the release day. Note, however, that only "preview" guides should reflect the features of the nightly builds, the "non-preview" guide must be synced to the last release.

Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 15 / September / 2011, 14:43:40
Yes that could be a good way. But is there a way to add the diff also to the translated file, so to have in the italian preview for example the same line added to the english one? that way it can be easier to follow the updates in the guides to translate.
Actually I'm opening 3 tabs from the repo, one with the diff from the different version of the english file to see what was added, one with the english file in edit mode to copy the new lines, and another with the italian in edit mode to paste the lines and translate them.
I'm not an expert on using diff so this is the only way I know to do this.
Probably there is a command line method to do all this in a quicker way.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / September / 2011, 16:17:45
Yes that could be a good way. But is there a way to add the diff also to the translated file, so to have in the italian preview for example the same line added to the english one? that way it can be easier to follow the updates in the guides to translate.
Actually I'm opening 3 tabs from the repo, one with the diff from the different version of the english file to see what was added, one with the english file in edit mode to copy the new lines, and another with the italian in edit mode to paste the lines and translate them.
I'm not an expert on using diff so this is the only way I know to do this.
Probably there is a command line method to do all this in a quicker way.

I am not an expert on diff, either; I do not know how to do that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 15 / September / 2011, 16:31:02
svn diff command can show all the differences on all files (or a specific file) between two given revisions...
you can remember the revision you had translated... then when edu finalize the new version of the guide, you can see the whole diff between the one you've translated and the new one...
not sure if i explained good enough...
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 19 / September / 2011, 23:51:23
Hmm.. No more ISO3200 but 3000? As well as no more disable shortcut menu?

Pressing the shortcut button to change to ISO3200 is very annoying and slow.

I tested out the newest versions without backing up the older version I was using for the longest time...
Fail, now I'll have to bear with the shortcut menu...

-------------
Also, using the ISO's in between, such as ISO2800, it displays ISO2500 in the picture info...
There's no such thing as these random in between ISO's in photography. Such as ISO2800? 2600? 2400? 2200?!?

They're so random, and not considered real values.
In photography light is measured in 1/3 stops. There's a reason why it's IS0 1600, 2000, 2500, and 3200.
It's 1/3 increments.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 20 / September / 2011, 00:24:10
http://magiclantern.wikia.com/wiki/Unified/UserGuide#iso (http://magiclantern.wikia.com/wiki/Unified/UserGuide#iso)
http://code.google.com/p/400plus/wiki/UserGuide#The_missing_ISO-3200 (http://code.google.com/p/400plus/wiki/UserGuide#The_missing_ISO-3200)

FYI, in Canon dSLRs, ISO is in 1/8 EV increments. Do your research before sharing your disrespect.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 20 / September / 2011, 01:32:18
http://magiclantern.wikia.com/wiki/Unified/UserGuide#iso (http://magiclantern.wikia.com/wiki/Unified/UserGuide#iso)
http://code.google.com/p/400plus/wiki/UserGuide#The_missing_ISO-3200 (http://code.google.com/p/400plus/wiki/UserGuide#The_missing_ISO-3200)

FYI, in Canon dSLRs, ISO is in 1/8 EV increments. Do your research before sharing your disrespect.

Excuse YOU. My disrespect?

Just because it's in Canon's DSLR's doesn't mean it's in ALL DSLR's. You're the one who should be doing the research.

It's not in ALL Canon DSLR's. Just because the 1D4 has it, doesn't mean the 7D has it. Less so the XTi. It's a 2006 model. Yes having this "option" available in a 2006 model, but how useful is it? Do tell me.
ISO700? Nothing ISO800 + 1/3 increment in shutter speed won't yield the same exposure as ISO700.

Having such increments doesn't prove to be that useful since MAJORITY of photography is done in 1/3 increments.
Since the camera doesn't even do video, it's not as useful as it will be in video.

Having more values in between and no ability to disable the shortcut menu just adds more time to select an ISO rather than just choosing one, pushing the button 1 or 2 times to get your desired 1/3 increment ISO. (3 times for ISO3200).

So please do YOUR research before sharing your disrespect.

Not ALL Canon DSLR's have 1/8 EV increments.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / September / 2011, 01:44:10
As "a1ex" already pointed out, there is a reason why ISO-3200 is gone (if we can say that something that never existed is gone), and it is explained in the user guide; moreover,  intermediate ISOs have now their own button (see http://code.google.com/p/400plus/wiki/UserGuide#In_the_creative_zone (http://code.google.com/p/400plus/wiki/UserGuide#In_the_creative_zone)), and thus there is no need to disable the shortcuts menu.

The issue you comment about the displayed value at the picture info is also commented in the user guide (http://code.google.com/p/400plus/wiki/UserGuide#Extended_ISOs (http://code.google.com/p/400plus/wiki/UserGuide#Extended_ISOs)); it is a known limitation in the original firmware, and I would like to solve it, but it won't be easy.

Current intermediate ISO values are not "random" at all: there is a 1/8EV separation between them (unless I made a mistake with the math, that is). And there is a good reason to use that value: it is what the camera uses internally (and not only for ISO values, by the way, but also for shutter speeds and aperture). So basically what you have now is direct control over what the camera really does.

I would like to know why light should be measured in 1/3EV increments, in your opinion; because the only reason I could find is that someone decided, fifty years ago, to add two intermediate stops in the aperture ring of a lens. Think about that: a mechanical limitation, from half a century ago, that is still with us. There is, on the other hand, a technical reason why 1/8 (or 1/4, or 1/2) EV values make much more sense; and I guess the people at Canon decided to use that value and round 1/3EV values to those (internally, 1/3EV is in fact 3/8EV, and 2/3EV is 5/8EV).

Anyway, if all this still does not convince you, there is no reason why you cannot continue using the old version. As far as I know, it is still available for download, at the same place where you downloaded it last time. Just go to the downloads page (http://code.google.com/p/400plus/downloads/list (http://code.google.com/p/400plus/downloads/list)), select "All downloads" in the drop-down selection, and press the "Search" button.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 20 / September / 2011, 11:36:03
Hi all,
About the 1/3 step, just to add my 2 cent.
When I was in my photography class they taught me that we can't see more than a 1/3 step difference by eyes, so two photo taken with less light difference will be perceived with the same exposition to us.
I believe that this is why in photography we have in general 1/3 increments as "standard".

I don't want to suggest any change to how 400plus is working, just sharing what they taught me.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 20 / September / 2011, 12:55:56
Quote
we can't see more than a 1/3 step difference by eyes
... except for timelapse, where 1/8 EV difference between frames is very noticeable.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 20 / September / 2011, 13:04:34
If you just look it up on the web on why light is measured in 1/3 EV values you'll get a lot of explanations and what not. There's a reason why it has stuck with photography over centuries. (Obviously I don't know the reason, and not many people do know as it's not that important.)

The new "jump" button for it's own intermediate ISO's seem very slow and sluggish. Pressing it isn't as responsive as the old DP button just jumping from ISO 1600, 2000, 2500, 3200.

True. I realized I did not click the search button when I selected the all downloads button, so I thought last night there were no older versions. I do apologize for that, making it seem like I was stuck with this version.
And BTW, thanks for fixing the locking up issue. It really has helped.

Also why remove the option to disable the shortcut menu?
You should also put the disable flash option in the shortcut menu as well.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 20 / September / 2011, 13:22:06
You can also use auto ISO, works pretty well. I vote for more features. The rules of photography are meant to be broken. If you don't even KNOW the reason, why care?

400D is now better than more expensive cameras. Very usable for pro work, only issue is noise. It used to be a fairly mediocre crippled camera. Only T2i/T3i has some advantage because of video modes with magic lantern. GH1 was also garbage and now look...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / September / 2011, 16:28:20
When I was in my photography class they taught me that we can't see more than a 1/3 step difference by eyes

Probably correct: as anyone can test by themselves, two images made with 1/8EV separation are hard to tell apart; only by going back and forth between them I can identify, each other. But this is not the question: if the camera supports 1/8EV, then 400plus should support 1/8EV; this is precisely one of the main reasons why we have 400plus, to unveil the hidden features from our camera. However...

The new "jump" button for it's own intermediate ISO's seem very slow and sluggish. Pressing it isn't as responsive as the old DP button just jumping from ISO 1600, 2000, 2500, 3000.

I somewhat expected this; so while 400plus must allow photographers to use all 1/8EV values, it should not force them to jump through all of them. So I will probably add a method to optionally reduce the number if intermediate values.

Also why remove the option to disable the shortcut menu?
You should also put the disable flash option in the shortcut menu as well.

As has been explained before, now that intermediate ISOs have their own button, there is no point in disabling the shortcuts menu: just do not press DP.
What I do not get is why you want more options in the shortcuts menu, if you are going to disable it... Anyway, I am going to reorganize all menus.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 20 / September / 2011, 23:47:09
As said many years ago: You can please some of the people some of the time, all of the people some of the time, some of the people all of the time, but you can never please all of the people all of the time.

The 400D with 400plus is the best thing going right now for a modded DSLR and for good reason - lots of input and hard work.  Can't wait to see what comes up next.  Good job to all!


Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 21 / September / 2011, 07:02:12
... except for timelapse, where 1/8 EV difference between frames is very noticeable.
yep, probably because we are seeing it quickly like edu sad with going back and forth, the difference became visible.
I like the 1/8 possibility even if I'm used to think in 1/3 step, and i'm totally agree with edu idea of opening all the possibilities we have with the camera. And this discussion is an example. Because maybe in general we can use the camera like it is with 1/3 step and be happy with the results, but in specific situation we can have 400plus to let us going more deep and get better pictures (i think that in the end is that what counts)

And now that we discussed this thing I unerstand more how to use better 1/8 step so thanks guys for your replyes
You can also use auto ISO, works pretty well. I vote for more features. The rules of photography are meant to be broken. If you don't even KNOW the reason, why care?

400D is now better than more expensive cameras. Very usable for pro work, only issue is noise. It used to be a fairly mediocre crippled camera. Only T2i/T3i has some advantage because of video modes with magic lantern. GH1 was also garbage and now look...

I'm agree, 400D is a beast with this software but the noise at high ISOs have made me buy a 600D.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 21 / September / 2011, 07:16:01
svn diff command can show all the differences on all files (or a specific file) between two given revisions...
you can remember the revision you had translated... then when edu finalize the new version of the guide, you can see the whole diff between the one you've translated and the new one...
not sure if i explained good enough...

I think I understood a little, what i need is the last english revision translated and then i'll diff it with the last english revision posted so to know what was added/changed. this is "simple" what i need now is to merge that diff with the translated guide so to have a file with a mix of old translation and new untranslated line already in place. Maybe I can use merge or awk?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / September / 2011, 06:32:00
I think I understood a little, what i need is the last english revision translated and then i'll diff it with the last english revision posted so to know what was added/changed. this is "simple" what i need now is to merge that diff with the translated guide so to have a file with a mix of old translation and new untranslated line already in place. Maybe I can use merge or awk?

I see what you want to do, but I would not know how to do it. Patch/diff do the merge by context, but the context in the destination is in another language, so this is not going to work. Or you could try to do the merge by line number, but again lines can be different, you'll have to ensure first that there is a one-to-one match between the lines of each file, and it is going to be difficult.

I really do not know how this could be made easier...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 22 / September / 2011, 11:37:41
I'm agree, 400D is a beast with this software but the noise at high ISOs have made me buy a 600D.

I always shoot RAW + JPEG at anything over ISO 400 and PP if necessary. At normal viewing levels and print sizes up to 8x10, I notice virtually no noise at all at ISOs up to 1600.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 22 / September / 2011, 12:18:36
Go take some photos in the "dark" and tell me how you do. 600D is in my future for the video capabilities alone. Probably should get a nice big constant f/2.8 lens first. There are a couple of cheaper 70-200mm to chose from that aren't made by canon.

I shoot raw only and I still have to process the noise out. Problem is that the pics get soft when you pull out the luma noise. 600d is I believe good till ISO 1600, the 400d only does relatively noiseless to 800. An average F/3.5 or F/4 lens kinda forces you to shoot 2000-3000 indoors and you can't light someone else's event.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / September / 2011, 16:43:07
I think I understood a little, what i need is the last english revision translated and then i'll diff it with the last english revision posted so to know what was added/changed. this is "simple" what i need now is to merge that diff with the translated guide so to have a file with a mix of old translation and new untranslated line already in place. Maybe I can use merge or awk?

you cannot merge the diff directly... you should do it by hand (unless you invent some AI software to do it) :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: andrew_sj on 23 / September / 2011, 17:04:24
anyone got any information about the hardware? i.e. memory mapping of hardware, how any of it works, etc..? thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: artDeQo on 24 / September / 2011, 09:14:26
Hi to All! I have a problem with IR remote control feature. This stuff doesn't work on my 400D.
After my camera is on I go to MENU > PRINT BUTTON > IR Remote enable option set to ON. Than I try to release button on my IR control and nothing happens. Than I try to set my camera to Self Timer /Remote control mode again nothing happens. Than I set my camera back to normal (MENU > PRINT BUTTON > IR Remote enable = No) and still it doesn't work.

Please help me to solve this problem. Maybe I do something wrong.

PS
I used 400plus automated build - 20110916 - r847

Thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / September / 2011, 15:30:21
anyone got any information about the hardware? i.e. memory mapping of hardware, how any of it works, etc..? thanks
Hi Andrew, I'm not sure if this can help you, but our camera is very similar to the DryOS ones, so ML page on Memory Map should be somehow useful. http://magiclantern.wikia.com/wiki/Memory_map (http://magiclantern.wikia.com/wiki/Memory_map)
As for the how it actually works (in hardware), I have no idea... perhaps the ARM has a some bus for that...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / September / 2011, 15:33:33
Hi to All! I have a problem with IR remote control feature. This stuff doesn't work on my 400D.
After my camera is on I go to MENU > PRINT BUTTON > IR Remote enable option set to ON. Than I try to release button on my IR control and nothing happens. Than I try to set my camera to Self Timer /Remote control mode again nothing happens. Than I set my camera back to normal (MENU > PRINT BUTTON > IR Remote enable = No) and still it doesn't work.

Please help me to solve this problem. Maybe I do something wrong.

PS
I used 400plus automated build - 20110916 - r847

Thank you.

I cannot test this ATM, but from what i see in the code it should work... Can anyone confirm this, please ?

p.s.
Better put this reports in the bug-tracker of the project.
Title: Re: Eos 400d ( Rebel XTI )
Post by: artDeQo on 24 / September / 2011, 15:43:06
0xAF
Thank you for your answer.

I have strange thing with my camera. With formated CF card I cannot take pictures with IR remote control too.
BUT when I turn on my camera and before first beep I can take pictures using IR remote control (with Self Timer /Remote control mode only).

Maybe it's something wrong with settings, or with firmware?

Thanks for any suggestions.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / September / 2011, 15:49:26
Maybe it's something wrong with settings, or with firmware?
Or may be the IR sensor?

...when I turn on my camera and before first beep I can take pictures using IR remote control...
What you mean before the first beep ? When the first beep happens anyway ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: artDeQo on 24 / September / 2011, 16:06:12
Quote
Or may be the IR sensor?
I don't think so, because it always work instantly after I turn on my camera.

Quote
What you mean before the first beep ? When the first beep happens anyway ?
1. I turn my camera with the switch (green led turn on instantly)
2. Red led (CF indicator) blink
3. Blue led start to beam
4. Red led (CF indicator) blink a couple times more and than it stops blinking. With this blinking or instant after that I hear beep sound. This is the first beep in my case.
So just before this beep I can shoot using IR remote control. It can take 2 or 3 photos that way.
And no matters I'm using CHDK or not. And no matters did I enable that option (IR Remote - on/off) in CHDK or not. But I always have to set camera in Self Timer / Remote control mode.

Thank you
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 24 / September / 2011, 17:04:44
1. I turn my camera with the switch (green led turn on instantly)
2. Red led (CF indicator) blink
3. Blue led start to beam
4. Red led (CF indicator) blink a couple times more and than it stops blinking. With this blinking or instant after that I hear beep sound. This is the first beep in my case.
So just before this beep I can shoot using IR remote control. It can take 2 or 3 photos that way.
And no matters I'm using CHDK or not. And no matters did I enable that option (IR Remote - on/off) in CHDK or not. But I always have to set camera in Self Timer / Remote control mode.

Thank you

Strange...
btw please call the hack 400plus and not CHDK, the CHDK guys gets angry when you call some DSLR hack CHDK.
so... the blue led and the beep are only possible if you're using the 400plus. You should not see/hear them if not using 400plus.
Moreover the beep should come only if the DebugOnPowerOn is enabled.

Please try this:
Remove your CF card and try shooting with the IR remote w/o a storage card.
There is a setting in the camera to enable it to shoot w/o a card.
Title: Re: Eos 400d ( Rebel XTI )
Post by: artDeQo on 24 / September / 2011, 17:25:30
Quote
the CHDK guys gets angry when you call some DSLR hack CHDK.
Sorry about that ::)
Yes I using 400plus.

I attempt to do as you described (without CF).
1. I turn on my camera with the switch (green led turn on instantly)
2. Red led (CF indicator) blink once
3. Display lights on and there appear "No CF card" (for a few seconds, than this message disappears)
4. Until this message is on the display I hear beep sound and then this message disappears.

So when I just turn my camera on I can take maximum 3 pictures with IR remote control, since camera display is on and some data appears on it, I cannot take pictures using IR remote control anymore.

BTW
I've attempt to do that procedure with lens and without. Anyway - no differences, no result

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 25 / September / 2011, 05:58:39
If you have the problem also without the card in the camera, it's not 400plus related.
Try to reset camera settings from canon menu and do all your test without card to be sure that you are using only the canon firmware.
Title: Re: Eos 400d ( Rebel XTI )
Post by: artDeQo on 25 / September / 2011, 06:25:38
Quote
If you have the problem also without the card in the camera, it's not 400plus related.
Yes, I think the same
Quote
Try to reset camera settings from canon menu and do all your test without card to be sure that you are using only the canon firmware.
I did it and still have the same problem.

Then I attempt to update my firmware from canon official site. My current firmware version was 1.1.1 and I updated with the same version 1.1.1, because it is latest one. No result (

Then I take out the main battery, then the little coin battery. Put them back into battery slots. Turn on the camera and have to insert clock and day settings. But still no result (

I think this problem appears after I install testfir.fir file for using 400plus.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / September / 2011, 07:27:51
What is disturbing me is that you hear a beep w/o the 400plus, there should be no beep when you start the camera w/o CF.
So far we have no reports of problems after installing the testfir.fir.
I'm not saying it is bullet proof, but still... it is unusual.
What happens after you reinstalled the original firmware and put 400plus on the CF card ? Does the hack start ?
If it starts, please enable DebugOnPowerOn, then leave the menu (so the settings get saved), then restart the camera.
After that go to the developers menu again, and select DumpLog, and then PrintInfo...
Then please upload all log files somewhere when we can see them... (in the issue on the project page)

Title: Re: Eos 400d ( Rebel XTI )
Post by: artDeQo on 25 / September / 2011, 11:56:44
Thank you 0xAF for your help.
400plus after all run smoothly as usual, but IR mode still doesn't work (I attemped on / off this function)

Also I attached log files as you said. please take a look.

http://code.google.com/p/400plus/issues/detail?id=148 (http://code.google.com/p/400plus/issues/detail?id=148) (third message of the tread)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 25 / September / 2011, 14:26:09
artDeQo,
can you check if FactoryMode is enabled? If it is, disable it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: artDeQo on 25 / September / 2011, 14:54:52
Sergei
Thank you very much! It is solution. Everything is ok now. I can use IR Remote control without any problem!

Dear 0xAF thank you very much for your help! Best wishes to you!

Thank you Scrax for your suggestion!

All your comments help me to stay with feeling of hope these days!

2All
Please tell me what to do with issues tread, that started by me?
http://code.google.com/p/400plus/issues/detail?id=148 (http://code.google.com/p/400plus/issues/detail?id=148)
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 25 / September / 2011, 18:43:37
it's closed now, don't bother about it anymore. Good to hear that it'solved.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 26 / September / 2011, 02:52:33
artDeQo,
can you check if FactoryMode is enabled? If it is, disable it.

Hey Sergei, glad to see you're around :-)

Perhaps we should disable that menu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / September / 2011, 04:46:00
Perhaps we should disable that menu.

Yes, my thoughts exactly... I would make it available only through a compile-time variable, so only those that compile their own versions (I think that is a good definition of a developer) can access it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 26 / September / 2011, 04:47:17
Yes, my thoughts exactly... I would make it available only through a compile-time variable, so only those that compile their own versions (I think that is a good definition of a developer) can access it.
Thumbs Up.
Title: Extended Mirror lock-up & Lower ISO feature
Post by: artDeQo on 26 / September / 2011, 05:00:54
What do you think about Extended Mirror lock-up & Lower ISO feature?
Described here - http://code.google.com/p/400plus/issues/detail?id=149 (http://code.google.com/p/400plus/issues/detail?id=149)
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 26 / September / 2011, 07:23:49
lower ISO were implemented in some first version but they are not working like iso3200, so now they are removed from what i understood.

2s for me are good for mlu, but I like your idea to extend it to a variable value.
Title: Updated translation
Post by: eduperez on 30 / September / 2011, 18:38:22
Someone (JmTD at Canonistas) sent me an update to the Spanish translation, so I have just released 20110904-1 at http://code.google.com/p/400plus/downloads/list (http://code.google.com/p/400plus/downloads/list). He also made a nice manual, and gave me permission to share it here; it is in Spanish, but the first page contains some very nice graphics: http://dl.dropbox.com/u/14091554/400plus/GuiaUsuario400plus.doc (http://dl.dropbox.com/u/14091554/400plus/GuiaUsuario400plus.doc).

UPDATE: Links corrected (thanks OxAF!), the forum added a dot at the end of each one.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 01 / October / 2011, 08:55:37
Someone (JmTD at Canonistas) sent me an update to the Spanish translation, so I have just released 20110904-1 at http://code.google.com/p/400plus/downloads/list. (http://code.google.com/p/400plus/downloads/list.) He also made a nice manual, and gave me permission to share it here; it is in Spanish, but the first page contains some very nice graphics: http://dl.dropbox.com/u/14091554/400plus/GuiaUsuario400plus.doc (http://dl.dropbox.com/u/14091554/400plus/GuiaUsuario400plus.doc.)

looks very nice, if it can be done in English too, it would be great.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 03 / October / 2011, 11:48:45
Hey, how about this for a new feature... remove certain things from exif data when camera takes a pic. I don't want my body serial in all of my photos and scrubbing it manually can easily be forgotten. Or maybe copyright line added by default to all pics, etc. Maybe even exif editor if someone is adventurous.

I hope its not reinventing the wheel as you can easily edit data in other programs, apparently not lightroom.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / October / 2011, 18:02:50
Hey, how about this for a new feature... remove certain things from exif data when camera takes a pic. I don't want my body serial in all of my photos and scrubbing it manually can easily be forgotten. Or maybe copyright line added by default to all pics, etc. Maybe even exif editor if someone is adventurous.

I hope its not reinventing the wheel as you can easily edit data in other programs, apparently not lightroom.

unfortunately we do not have control over the exif data stored in the photo... nor in the raw, neither in the jpg...
your suggestion seems cool, but not doable at the moment...
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 11 / October / 2011, 07:08:51
I hope its not reinventing the wheel as you can easily edit data in other programs, apparently not lightroom.

I use only Lightroom to add exif data to my photos, and copyright infos are added automatically with a preset during import.

You can do all what you asked with Lightroom when importing pics and more.

Why would you remove the camera body from the pic, anyway?
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 11 / October / 2011, 12:41:52
I downloaded a program called PhotoME and it showed me there is a SHITLOAD of metadata. It even has lens info & serial... maybe that should go into new info screen ;)

I want to remove camera serial because it can be used to track you. If you sell any photos, it can track you back to your name. Sometimes this is good, sometimes this is bad depending on what you're photographing. Lightroom will not do it but photome will. I can even change body type to 5dMKII and mess with people's heads.

I know I can add copyright info and watermark in LR and I can scrub all data off jpgs with FSviewer but removing or editing certain bits is harder.

Like the new menu system. I thought things were screwed up when I initially tested it and then I saw you could move between screens with the wheel. It rocks.

Also: Why do bulb max and bulb min appear switched?
Title: Re: Eos 400d ( Rebel XTI )
Post by: scrax on 12 / October / 2011, 09:49:04
thanks nxb for your reply, I prefer to have all my photo with all the original data in my LR database, that's why I don't see the needs for a exif editor in-camera, but this don't mean that it need to be the same for others like you for example.

But after your reply I'll check my metadata better to see what there is and if there is something I don't want too...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / October / 2011, 17:43:54
Like the new menu system. I thought things were screwed up when I initially tested it and then I saw you could move between screens with the wheel. It rocks.

After a suggestion from "0xAF", latest versions now have a "<<" and a ">>" on the menu title, to help people know how they can change pages. But yes, documentation is a bit outdated now, even the "preview" page does not reflect any of the changes in the menus; give me a couple of days, until I finish everything, and I will start with the documentation.

I am happy to know you like it; the current menu is a bit too long now, and sometimes navigating down to an option was slow; hopefully, this one will be much easier to navigate, and items easier to find.

Also: Why do bulb max and bulb min appear switched?

Are they? ... 1/250 is a smaller than 1/60, isn't it?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 16 / October / 2011, 14:09:37
is it only me, or the forum seems to be missing last posts after the last downtime ?
it's becoming frequent for this forum to be down ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: TomBStonE on 16 / October / 2011, 14:34:53
… For my part, I often speak about this forum to the people around me, I makes a little PUB.

For the moment my card reader is hs, therefore I can nothing test, I must will buy new! snif.
Title: Re: Eos 400d ( Rebel XTI )
Post by: acseven on 16 / October / 2011, 18:59:45
is it only me, or the forum seems to be missing last posts after the last downtime ?
it's becoming frequent for this forum to be down ...


Hi,

yes, it is. It's the last day of posts, and I will try to get them back.

As for the forum hiccups, the last host was really bad and hopefully this new one will be enough for the forum to hang on.

More on this here: http://chdk.setepontos.com/index.php?topic=6925.msg74301#msg74301 (http://chdk.setepontos.com/index.php?topic=6925.msg74301#msg74301)

Cheers
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 16 / October / 2011, 19:37:20
yes, it is. It's the last day of posts, and I will try to get them back.

As for the forum hiccups, the last host was really bad and hopefully this new one will be enough for the forum to hang on.

Hi acseven,
Thanks for the light on the problem (that's kind of you).
Hope it will get better now.

Title: Re: Eos 400d ( Rebel XTI )
Post by: flemps on 19 / October / 2011, 08:42:30
I just want to tell you guys, for the record, what a wonderful job you're all doing. I just bought a Nikon D7000, but, with all the enhancements with 400plus project, my XTi survives aging. Thanks a lot. It is a shame though, that I can't help with Portuguese translations as it is, accordingly 0xAF, not possible. Anyway, keep it up guys. This project is just amazingly great!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 19 / October / 2011, 09:41:12
Thanks. About the translations in languages other than supported by the camera - soon ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuririkura on 20 / October / 2011, 05:22:27
All,

I got a bug when i try using Auto ISO (configured Min:100 Max:1600 Tv:1/50 Av:3.2) on M (Manual) mode

sometimes the ISO is forced to max 1600 and the image become overexposed but when i try second shot it back to normal (not overexposed)

Any idea what's wrong?

Thx
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / October / 2011, 05:36:28
All,

I got a bug when i try using Auto ISO (configured Min:100 Max:1600 Tv:1/50 Av:3.2) on M (Manual) mode

sometimes the ISO is forced to max 1600 and the image become overexposed but when i try second shot it back to normal (not overexposed)

Any idea what's wrong?

Thx

In M mode, AutoISO does not honor Min / Max limits: it will always use the full range, as needed; but this is not the cause of the problem. Probably, what is happening here is that AutoISO does not have enough time to react, and the first shot is taken with whatever ISO was set before; by the time you take the second shot, AutoISO has already acted and set a proper ISO. Does this explanation match your experience?

I have some ideas on making AutoISO faster, but still haven't found the time to test them... and they may work or not. In the meantime, the only solution that comes to my mind is to make a little pause between the half-press and the full-press when taking a photograph (thus giving AutoISO time to work). Could you please try this?
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 20 / October / 2011, 12:34:35
That is how it works for me. I try to half press a few times to get the lowest ISO. It would be nice if you could set the autoISO to work the way it works in M for P mode.

Maybe set lowest shutter for P mode and things like that too. I don't want to use shutters under 1/30 as the photos come out blurry but I like P mode for the convenience.
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuririkura on 20 / October / 2011, 19:29:56

In M mode, AutoISO does not honor Min / Max limits: it will always use the full range, as needed; but this is not the cause of the problem. Probably, what is happening here is that AutoISO does not have enough time to react, and the first shot is taken with whatever ISO was set before; by the time you take the second shot, AutoISO has already acted and set a proper ISO. Does this explanation match your experience?

I have some ideas on making AutoISO faster, but still haven't found the time to test them... and they may work or not. In the meantime, the only solution that comes to my mind is to make a little pause between the half-press and the full-press when taking a photograph (thus giving AutoISO time to work). Could you please try this?

Yeah, after I try to figure out the problem is sometimes Auto ISO react slower than light changing, half shutter to other object fix it, by the way is there any way to limit Auto ISO mode on M? since sometimes I might prefer underexposed than noised :)
PS: funny things also happen.. I do not know what I have done, but once in "M" mode and I press half shutter, and move around the object, the shutter speed is automatically changed!(in M mode.. wow) i'll update when i already can pointed the exact bug condition

one more thing, on AV mode + Auto ISO, when I press AE lock button, the shutter speed is locked too?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / October / 2011, 08:26:01
That is how it works for me. I try to half press a few times to get the lowest ISO. It would be nice if you could set the autoISO to work the way it works in M for P mode.

Sorry, I am not sure I fully understand what you are trying to say here. AutoISO will always sue the lowest possible ISO value required by the scene, taking more measurements will not make the scene any brighter. If you really what to use a low ISO, why don't you just use a low "Max ISO" value? Or maybe even a fixed ISO?

Maybe set lowest shutter for P mode and things like that too. I don't want to use shutters under 1/30 as the photos come out blurry but I like P mode for the convenience.

And what do you expect the camera to do, if the scene requires a greater exposure, and the lens is already wide open? Just underexpose the picture? Raise the ISO value, perhaps?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / October / 2011, 08:36:34
Yeah, after I try to figure out the problem is sometimes Auto ISO react slower than light changing, half shutter to other object fix it, by the way is there any way to limit Auto ISO mode on M? since sometimes I might prefer underexposed than noised :)

In Av mode, there are no limits to the shutter speed (other than the physical limits imposed by the mechanics in the camera); in Tv mode, there are no limits to the aperture (other than the physical limits imposed by the lens). Thus, for consistency, M + AutoISO should not have limits to the ISO value, other than those imposed by the camera.

If you want to underexposed your pictures, why don't you just play with the exposure compensation? And I hope you are not trying to underexpose and then correct during post-processing: that technique produces far more noise than exposing correctly, even if you need a higher ISO.

You see, I could do that, but I am not convinced that I should do it; but I may be wrong, of course...

PS: funny things also happen.. I do not know what I have done, but once in "M" mode and I press half shutter, and move around the object, the shutter speed is automatically changed!(in M mode.. wow) i'll update when i already can pointed the exact bug condition

Yes, please report back: AutoISO should never change any value other than ISO. I'll have a look at the code, and try to reproduce it myself.

one more thing, on AV mode + Auto ISO, when I press AE lock button, the shutter speed is locked too?

I should: AutoISO only changes ISO values, not shutter speeds; if the camera does not change shutter speeds, neither do we.
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuririkura on 21 / October / 2011, 08:51:55
If you want to underexposed your pictures, why don't you just play with the exposure compensation?
You're right, I forgot that there's such a way :)

I should: AutoISO only changes ISO values, not shutter speeds; if the camera does not change shutter speeds, neither do we.
Ah.. I see..

By the way many thanks for creating such great improvement to my old 400d :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 21 / October / 2011, 11:18:34
I think shutter changes because you have safety shift enabled.

Quote
Sorry, I am not sure I fully understand what you are trying to say here.

Make P auto ISO have an option to work the same as it does in M mode so you have full range 100-3000. Maybe for all the modes that this is technically feasible.


Quote
And what do you expect the camera to do, if the scene requires a greater exposure, and the lens is already wide open? Just underexpose the picture? Raise the ISO value, perhaps?

Flash the shutter speed and take the picture anyway. A lot of times "underexposed" with this camera means slightly overexposed. As an option, once ISO is maxed out and slowest acceptable shutter speed set. That way everyone has it both ways. (think reverse safety shift)

I can fix slightly underexposed pictures... I can't fix ghosted pictures. Unless I'm on a tripod those long exposure photos don't turn out anyway.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 21 / October / 2011, 11:29:51

Look at these 2 photos with f/4.5 (average lens)

One is P mode and it went to 1/4, the other is 1/30 in M.
 
(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi56.tinypic.com%2F5kfrjt.jpg&hash=45e40a2440041ae544755f586cdc691b)

(https://chdk.setepontos.com/proxy.php?request=http%3A%2F%2Fi52.tinypic.com%2F2wd24pj.jpg&hash=ff4560e1e16bafe669f1d3d64955fac4)
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 25 / October / 2011, 11:49:48
Scripts broken in build 941. Handwave pops up the menu and dims the screen. Sensor stops working.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 25 / October / 2011, 16:47:21
Scripts broken in build 941. Handwave pops up the menu and dims the screen. Sensor stops working.

Nightly builds can be expected to be broken, but thanks for reporting.
Title: Re: Eos 400d ( Rebel XTI )
Post by: J_canon on 30 / October / 2011, 16:38:33
Hello all.
Since than I have the hack and if I use EOS UTILITY, I can't dowload the pictures.

I really need to use Eos UTILITY, to see my picture in live.

I need a solution...

Thank you.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / October / 2011, 17:12:42
i remember someone had similar problem with the eos utility. if you search this thread, you will find it.
try disabling the factory mode from the developers menu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: SoNic on 30 / October / 2011, 19:52:30
This thread got too big. Would be nice if the first post had the links to the latest firmware and wiki page, instead of what it is now...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 31 / October / 2011, 02:32:16
Hello all.
Since than I have the hack and if I use EOS UTILITY, I can't dowload the pictures.

I really need to use Eos UTILITY, to see my picture in live.

I need a solution...

Thank you.

I guess that reading the user guide before trying options at random, or even after encountering the first problems, is asking for too much, isn't it guys? This is what the user guide says about the developers' menu:

NOTE: Remember to exit "factory mode" before using the camera, as photographs cannot be downloaded to a computer while the camera is in factory mode.

Not to mention the warning at the beginning of that section:

WARNING: These options should be used with great care, there is probably little to see here, unless you are developing your own hack.

I have had enough of these "I cannot download pictures" and similar comments (and I am sure that I am not the only one); next version will have the factory menu disabled for anybody but developers.
Title: Re: Eos 400d ( Rebel XTI )
Post by: J_canon on 01 / November / 2011, 14:15:34
Thank you very much and sorry for this question...   :-[
Title: Re: Eos 400d ( Rebel XTI )
Post by: scubadude on 03 / November / 2011, 01:22:06
Thank you very much !!! You guys made my day !!!! My 400D's life was revived !!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 06 / November / 2011, 11:56:23
Quick exposure in M mode sounds great. Could use the AE lock button for it. Would end having to scroll through all the shutter speeds/apertures after previously shooting in a bright/dark place.

Also, hitting play twice after running handwave is a decent work-around to still use it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / November / 2011, 17:32:12
just to let you know:
acseven was so kind to update the first posts of this thread.
now we have some up-to-date info in the beginning of the thread.

p.s.
thanks to SoNic for reminding us.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 06 / November / 2011, 17:58:39
whoa the trunk is at 1.0
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / November / 2011, 18:20:59
whoa the trunk is at 1.0

actually not !
we are just at revision >1000, but this does not mean our version is 1.0
actually our versions are DATE-based.

p.s.
this is the moment to thank Edu for his brilliant work on soon-to-come next release.
he did very good job lately, not so visible by the user, but believe me he did great stuff under the hood.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / November / 2011, 03:12:28
Scripts broken in build 941. Handwave pops up the menu and dims the screen. Sensor stops working.

Should be working again in latest nightly builds, could you try again, please?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / November / 2011, 03:38:49
Quick exposure in M mode sounds great. Could use the AE lock button for it. Would end having to scroll through all the shutter speeds/apertures after previously shooting in a bright/dark place.

There is a custom function (that I happen to use myself, btw) to map the AE button to activate the AF (instead of half-shutter), and I do not want to interfere with that; besides, Av and Tv modes can benefit from this functionality, too, that button has a use in those modes. I will probably use one of the keypad buttons (while looking through the viewfinder).

Also, hitting play twice after running handwave is a decent work-around to still use it.

Someone requested something similar, but more flexible: map the PLAY button to repeat the last script executed; so this button will be configurable, and this will be one of the options.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / November / 2011, 03:41:50
just to let you know:
acseven was so kind to update the first posts of this thread.
now we have some up-to-date info in the beginning of the thread.

p.s.
thanks to SoNic for reminding us.

And thank you for solving it!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / November / 2011, 04:04:16
this is the moment to thank Edu for his brilliant work on soon-to-come next release.
he did very good job lately, not so visible by the user, but believe me he did great stuff under the hood.

Thanks! And probably this also is a good moment to mention those others ;) who also make great contributions to this project, but perhaps are less visible (or even completely invisible) to the casual observer: sometimes, a couple of apparently innocent lines of code, or a just to let you know private message, have a big impact in the final result; and both of them come after long hours of work that few see. Not to mention the people that help with the documentation, translations, bug reports, ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / November / 2011, 17:34:54
I agree with you, so we now have the Credits page in our wiki: http://code.google.com/p/400plus/wiki/Credits (http://code.google.com/p/400plus/wiki/Credits)

I would ask all the users of this great software to give their respect by reading this page and let me know if we missed someone there.

Title: Release pre-announcement
Post by: eduperez on 08 / November / 2011, 10:25:44
I have finished all the changes that I had in mind for the multi-page menus, plus some suggestions that 0xAF sent me; he is still working on some improvements, but we both agree this is probably a good moment to prepare the next release. Documentation is still not updated, I will do that as soon as possible, but in the meanwhile you can download the latest nightly build and experiment with the buttons; bug reports are very welcome.

There is also an improvement to the way we wait for the camera during scripts (thanks 0xAF for finding the right routines in the firmware); taking long series of photographs should be bulletproof now.

Edu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 08 / November / 2011, 10:58:21
No bugs so far, handwaving is fixed.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 08 / November / 2011, 12:59:57
How about this as a feature: Double Pressing zoom in brings you to full zoom and then double pressing it again zooms you out. Would be useful for focus check with manual lenses.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 09 / November / 2011, 02:43:27
I have to trouble you:I do not know how to use the "languages.ini", even though I have a Simplified Chinese translation.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scubadude on 09 / November / 2011, 02:49:39
Kudos guys, eagerly awaits the latest release mentioned by eduperez ...!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 09 / November / 2011, 05:10:42
I have to trouble you:I do not know how to use the "languages.ini", even though I have a Simplified Chinese translation.

There is a guide to translators at http://code.google.com/p/400plus/wiki/TranslatorsGuide; (http://code.google.com/p/400plus/wiki/TranslatorsGuide;) if you try to follow that guide, when do you get struck?
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 09 / November / 2011, 06:08:18
Offtopic: you may want to apply patch 0003 from this message:
http://groups.google.com/group/ml-devel/browse_thread/thread/2fd0bb4dd410a7fc (http://groups.google.com/group/ml-devel/browse_thread/thread/2fd0bb4dd410a7fc)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / November / 2011, 01:37:55
Offtopic: you may want to apply patch 0003 from this message:
http://groups.google.com/group/ml-devel/browse_thread/thread/2fd0bb4dd410a7fc (http://groups.google.com/group/ml-devel/browse_thread/thread/2fd0bb4dd410a7fc)

Oh yes, that _EOL_ trick has room for improvement ;); thanks for the tip.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 10 / November / 2011, 02:21:26
Thank eduperez timely response
 I have to admit, I am not computer professionals, are not familiar with "NOTEPAD + +", just "languages.ini" some of the terminology used in the translation software translated into simplified Chinese, it now appears this is not enough, although I would like to contribute their power
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / November / 2011, 04:53:24
Thank eduperez timely response
 I have to admit, I am not computer professionals, are not familiar with "NOTEPAD + +", just "languages.ini" some of the terminology used in the translation software translated into simplified Chinese, it now appears this is not enough, although I would like to contribute their power

"Notepad++" is just a file editor, the program you use to modify the "languages.ini" file; how did you change it?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 10 / November / 2011, 22:06:49
Hello eduperez
 I use the "MS-Window's Notepad" direct change "languages.ini".
 How can I Email to you? Personally by the judge whether it is useful to you
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 11 / November / 2011, 02:56:51
Hello eduperez
 I use the "MS-Window's Notepad" direct change "languages.ini".
 How can I Email to you? Personally by the judge whether it is useful to you

Please read the last lines in http://code.google.com/p/400plus/wiki/TranslatorsGuide (http://code.google.com/p/400plus/wiki/TranslatorsGuide)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / November / 2011, 02:59:16
Hello eduperez
 I use the "MS-Window's Notepad" direct change "languages.ini".
 How can I Email to you? Personally by the judge whether it is useful to you

MS-Windows' Notepad breaks the file, then the camera cannot understand it; that file, does it work for you? Do the menus at 400plus change to your language?

You can open an issue at http://code.google.com/p/400plus/issues/entry (http://code.google.com/p/400plus/issues/entry) and attach the file there; thanks
Title: Release announcement
Post by: eduperez on 11 / November / 2011, 09:23:20
Release 20111111-0 is out at http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/); enjoy!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 11 / November / 2011, 09:32:48
Great news, thanks for your effort and the hard work on this!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 11 / November / 2011, 13:50:25
I'm not sure what what I'm doing wrong, but I can't get this new release to work. After pressing MENU, nothing happens when I press DP. If I hit DP directly (which used to take you the the shortcuts menu), I get a menu that allows me to change AutoISO and some other parameters. At the top, this menu is labeled "<<Parameters>>." For now, I've reverted back to the previous released version.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 11 / November / 2011, 14:07:47
@Mirfak: when you're in 400plus menu, try moving between the tabs with the wheel, you'll get the idea.

I guess i've forced Edu to release on this day, and he had very short time to make this release available to you so soon.
(Edu: sorry for that, I did not meant to insist on this)

All the grats and thanks should go to EduPerez !

Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 11 / November / 2011, 14:56:12
Thanks! My bad for not reading the pre-release documentation.  :-[ Wow. The new menus are fantastic! Great work and thanks a lot Edu!  :D
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / November / 2011, 15:05:32
Sorry, everybody; my fault: I did finish the new User Guide before the release, but I always work on a "Preview" version, and forgot to move it over the real "User Guide". Please, go to http://code.google.com/p/400plus/wiki/UserGuide (http://code.google.com/p/400plus/wiki/UserGuide) now, I just updated it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: pfavre on 12 / November / 2011, 06:44:41
Briliant piece of work ! But... Where are the AF-Pattern point selection gone ? It no longer works with me (ZOOM IN button twice)...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / November / 2011, 10:19:16
Briliant piece of work ! But... Where are the AF-Pattern point selection gone ? It no longer works with me (ZOOM IN button twice)...

It works for me, exactly as before... could you please give us more info?
Title: Re: Eos 400d ( Rebel XTI )
Post by: pfavre on 12 / November / 2011, 11:26:56
I just upgraded to 11/11 release. Got the great new menus, ISO stuff works fine etc.  But Zoom In button reatisn its standard beahviour (AF point selection). Re Zoom In button has no further action.
Title: Re: Eos 400d ( Rebel XTI )
Post by: pfavre on 12 / November / 2011, 11:44:39
Ooops. sorry It works, but slightly differently from the build I ran before. I mostly works in Av with AI Servo and got used to have the selected AP points highlighted in the viewfinder after Zoom In button pressed twice, making it easy to toogle while focusing. Apparently this is no longer the case, I need to look at the LCD instead.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / November / 2011, 14:14:41
Ooops. sorry It works, but slightly differently from the build I ran before. I mostly works in Av with AI Servo and got used to have the selected AP points highlighted in the viewfinder after Zoom In button pressed twice, making it easy to toogle while focusing. Apparently this is no longer the case, I need to look at the LCD instead.

Sorry, I did not test the AF-Patterns on the viewfinder, only on the LCD; now I see what you mean. If it worked on the previous version, it should still work: I do not remember making any changes related to this feature. Will have a look at it as soon as possible.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / November / 2011, 16:58:42
@pfavre

Do you remember which version where you using before this stopped working? I'm trying with 20110904 and it does not seem to work... does that version work for you? Many thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: pfavre on 12 / November / 2011, 17:14:16
Hum I did revert back to to version svn-0797. Same behaviour... I apologize for the erroneous complaint.
And kuddo to the team for this GREAT work ! This makes my good old 400D a new body with tons of exciting   features (spot, auto ISO, zone AF, Raw with basic mode....).
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / November / 2011, 17:24:15
No worries, and thank you!
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 13 / November / 2011, 03:18:52
I played with a 7d today and 400plus outclasses the internal software :)
7d > 400d in IQ however but what can you do
Title: Re: Eos 400d ( Rebel XTI )
Post by: pfavre on 13 / November / 2011, 04:31:10
7D better in IQ ? Not necessarily, depends on the lense (and the PP software) IMHO.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sigii on 13 / November / 2011, 09:09:14
Hello everybody,

First I want to thank you all for this great piece of software.

But unfortunately I have a big problem with the 11/11 build.
I think the new menu System broke something in my Camera.
I played a little bit around with the new Version to test it and everything seemed to be fine but at some Point the screen turned to be complete orange and the camera stopped working. I had to remove the battery to get it run again. But from this Point on every time i press the Direct Print Button to get in to the menu the camera screen switches into one of the following states and the camera stops working:
- screen completely orange
- screen completely off
- screen white with a regular pattern of black dots

I tried the following things to fix the problem
- reset the camera
- remove both batteries (main and backup) over night
- format the CF-card and reinstall the hack
- reinstall the original Canon Firmware 1.1.1

Apart from the menu system everything works. I can set AF-Pattern, Spot-metering, auto iso and so on. But trying to access the menu freezes the camera.

I also tried a Version with the old menu system (20110818-r758) and this works still fine and showed the menu.

Did you have any Idea what went wrong on my camera?

Thank you in advance

Sigii

Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 13 / November / 2011, 14:30:40
Quote
7D better in IQ ? Not necessarily, depends on the lense (and the PP software) IMHO.

Software is just software. 7d has more iso range and better sensor, sure with good lenses adequate lighting you won't notice that much. Its not like $2k better though and button layout was more of a PITA, I could do what I wanted faster with 400d.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sigii on 13 / November / 2011, 14:51:58
Hi ,

it's me again.
After playing around with the 20110818 build, even this Build stopped showing the Menu. When I press the DP-Button from the normal camera menu (remember this Build uses the old menu system) the camera freezes (still showing the camera menu).
But I know what I did last, before this happens. I tried to figure out what the 'Disable flash' function does and I was shooting a picture with every option. There were more than enable and disable (around 6, some seemed to be from the assist beam function) and then no option name was displayed and the camera stopped working. I think this could be the same option I played with, when the 11/11 build stops working.
Is there any chance for me, to reset this option to the default value in both builds without having access to the menu?
The Shortcuts menu from this Buid is still working.

sigii
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 13 / November / 2011, 15:07:43
@sigii, try removing the "settings" file from the flash card. then check again if it's working.
this file stores the user-settings.
If this does not help try removing the CF card, and start the camera w/o the card, then reset to factory defaults.
Put the card back and see what happens.
Please report back the results.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 14 / November / 2011, 01:34:42
Just installed, it's not very easy to use but it is rich of features. Great job guys.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 14 / November / 2011, 07:30:53
Just installed, it's not very easy to use but it is rich of features. Great job guys.

What was the last version (prior to 2011.11.11) that you used? This version was all about usability, there are absolutely no new features (or even improvements); I'll hate to have spent all this time to make it worse, but at least I'll like to know what is on the other side of the comparison. Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sigii on 14 / November / 2011, 08:46:35
@0xAF

thank you very much for your Answer.
Unfortunately I am not at home during the week, so I can test it next weekend.
But I tried all things you suggest and it does not help.
The last test was:
- formatting the CF card in the camera
- installing the 1.1.1 canon firmware again
- removing both batteries
- resetting the camera to factory default
- reinstalling the hack from the zip archive I've downloaded

From my point of view there was something stored in the flash-memory outside the firmware area and I need to reset these Values.
Are there any settings, especially regarding the menu system, stored in the cameras flash memory?
Because the hack itself works, only trying to access the menu crashes the camera.
Again, thank you very much for your help.

sigii
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 14 / November / 2011, 11:29:35
Just installed, it's not very easy to use but it is rich of features. Great job guys.

What was the last version (prior to 2011.11.11) that you used? This version was all about usability, there are absolutely no new features (or even improvements); I'll hate to have spent all this time to make it worse, but at least I'll like to know what is on the other side of the comparison. Thanks.

Hi Eduperez and first of all thanks a lot for all you have done for us.
My previous version was that of July, not very old.
I think that the new one is not worse than previous but, at the end, it's not simple to be used mainly because some features is directly activable by few steps (spot measure, high ISO) just clicking on the arrow and then on DP button, while other need to pass by the new menu.
I often used the self shot and I admit to have understood howto activate not fastly.
BTW this version is very useful and I only need to study more it.
Ciao
Francesco
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 14 / November / 2011, 11:46:00
Hi Eduperez and first of all thanks a lot for all you have done for us.
My previous version was that of July, not very old.
I think that the new one is not worse than previous but, at the end, it's not simple to be used mainly because some features is directly activable by few steps (spot measure, high ISO) just clicking on the arrow and then on DP button, while other need to pass by the new menu.
I often used the self shot and I admit to have understood howto activate not fastly.
BTW this version is very useful and I only need to study more it.
Ciao
Francesco

Yes, I'd like to have more options accessible with a button; there are plans to make some buttons configurable and use them for quick access to most used actions (JUMP or TRASH, for example, but even the whole pad could be configurable). But at the end, there aren't that many buttons available, and sometimes learning a combination of buttons can be harder than navigating the menus.

Thanks for your feedback.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ciccio on 14 / November / 2011, 17:31:41
@0xAF

thank you very much for your Answer.
Unfortunately I am not at home during the week, so I can test it next weekend.
But I tried all things you suggest and it does not help.
The last test was:
- formatting the CF card in the camera
- installing the 1.1.1 canon firmware again
- removing both batteries
- resetting the camera to factory default
- reinstalling the hack from the zip archive I've downloaded

From my point of view there was something stored in the flash-memory outside the firmware area and I need to reset these Values.
Are there any settings, especially regarding the menu system, stored in the cameras flash memory?
Because the hack itself works, only trying to access the menu crashes the camera.
Again, thank you very much for your help.

sigii


I wish I could add few more comments about the problem reported by Sigii.
In the past I was using a bit old version of the hack, but it did include the "internal flash disable" function.
At the time I decided to disable the internal flash, which I never use.
I then removed completely the hack from the flash card, by doing a full format.
All went fine until I needed the flash back. It turned out that the flash worked only in the Full Auto mode, and may be in the creative modes; but I am not too sure about this last option.
Resetting the camera to factory default didn't cure the problem.
The only way to get the flash back to normal, was to re-install the hack, re-enable the flash and them remove the hack again.
It really seems that the hack is capable of manipulating settings internal to the camera that are independent from those stored in the settings file.
I hope all this can help.
By the way you all did a great job.

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / November / 2011, 03:16:07
@Ciccio: Just in case you are not aware of this...

Or camera has a button cell battery, used to hold the memory for some settings and the internal watch. I would try to remove both batteries, wait some minutes, and then plug them in again. This should clear all settings to factory defaults.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ciccio on 15 / November / 2011, 07:29:59
@Ciccio: Just in case you are not aware of this...

Or camera has a button cell battery, used to hold the memory for some settings and the internal watch. I would try to remove both batteries, wait some minutes, and then plug them in again. This should clear all settings to factory defaults.
@eduperez

I remember I did remove the internal battery. It could be that I didn't wait long enough, but once you loose the clock settings, it should be done.
Unless the retention time of the clock and the one of the internal RAM is different.
As lons as I have some spare time I will try again, just to verify and let everybody know.
Ciao
Title: Re: Eos 400d ( Rebel XTI )
Post by: sigii on 20 / November / 2011, 11:58:59
Good news,

Today I tested the 20111118-r1070 nighty build and this one works. I also tried the older 20110818 and 20111111 builds which didn't work before, and even these two did work again. So at the Moment my 400D works fine with the 400plus hack.

One thing I found during my several tests is that the camera must store some settings in flash memory. If I change the language setting from German to English or vice versa and then remove the main battery and also the small backup battery, the camera asks for the date after reinserting the batteries, but remembers the language last used.


Thanks for your work
sigii


P.S. the 'Disable flash' option now only shows the two options enabled and disabled and works as expected.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 25 / November / 2011, 01:55:41
Your work is too great! Especially 20111111-0 integrated version of the menu is very good!
 I did not understand,Whether to use "SET" button, or other, led to the use of "Presets-! LOAD" can not be activated?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 25 / November / 2011, 06:55:09
I did not understand,Whether to use "SET" button, or other, led to the use of "Presets-! LOAD" can not be activated?

When the "hijack A-DEP mode" option is active, presets can only be loaded when the camera is in A-DEP mode; it is explained here: http://code.google.com/p/400plus/wiki/UserGuide#The_A-DEP_mode. (http://code.google.com/p/400plus/wiki/UserGuide#The_A-DEP_mode.)
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 26 / November / 2011, 17:08:43
Hey, got one problem with autoISO. When I switch between lenses with different aperture capabilities i.e deal with a 4-5.6 lens then a 4 and a 2.8, autoiso defaults to ISO 100 in av. When I set it up again and configure the correct limit it begins to work.

If I don't look I'll get dark dark shots. How do I stop this? On the 4-5.6 lens if I zoom in all the way autoiso stops working. If I set it to absolute limit then lower apertures are not used (i think).  Can it not only detect but also set limit at power on? Might screw up people who set it to like F/8 though.

Ideas?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / November / 2011, 17:18:38
Hey, got one problem with autoISO. When I switch between lenses with different aperture capabilities i.e deal with a 4-5.6 lens then a 4 and a 2.8, autoiso defaults to ISO 100 in av. When I set it up again and configure the correct limit it begins to work.

If I don't look I'll get dark dark shots. How do I stop this? On the 4-5.6 lens if I zoom in all the way autoiso stops working. If I set it to absolute limit then lower apertures are not used (i think).  Can it not only detect but also set limit at power on? Might screw up people who set it to like F/8 though.

Ideas?

Could you post all the parameters in the AutoISO sub-menu, please?
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 27 / November / 2011, 15:03:33
Sure:
Min:100
Max:1600
MinTV 1/60
MinAV: was 4, now I've been trying 5.6 and 6.7

Auto ISO also hangs out at 3000(M) when I use flash which I don't know if it should do as noise develops.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 27 / November / 2011, 15:53:41
I'm not sure I understand your problem.

You said that "autoiso defaults to ISO 100 in av", but you configure Min ISO to 100; then, this is the expected behavior, AutoISO will always use the lowest ISO, unless shutter goes lower than the selected MinTV (1/60, in your case). MinAv is only used in Tv mode.

In M mode, AutoISO will set a ISO value that matches the scene, for the aperture and speed that you selected; if you are using a flash, chances are that you are in a dark situation, and hence the high ISO. Try lowering the shutter speed, or increasing the aperture.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 27 / November / 2011, 17:44:02
I think I'm mixing up TV and AV. I was in between a 2 part gig so I wrote without thinking. I was using shutter priority and instead of taking shots at 1600 iso, it was taking them at 100. So you would get a black photo. Right before it was using 1600... as soon as I zoomed the lens in to 5.6 it screwed up. When I used a different lens that was F2.8-4.0 I had the same problem. Changing minAV one step higher than lens minimum seemed to solve the problem. Also the problem showed up between lens changes when new minimum was too low. I need to find a way to reproduce this issue reliably.

As for flash, it seemed to not account for it at all. I was shooting 1/90 and f8 in close quarters. This is the point of flash... so I don't have to shoot at 1/30 + wide open + 1600/3000. The subjects came out flash "painted" and I had to turn the exposure down anyway.

Ok... I just picked up the camera and tested flash in M mode. Iso stays the same whether you use flash or not. In P mode at first it jumps to ISO 1600 when you raise flash... then after a couple of half presses it drops the ISO below what it was when flash was closed.

In TV mode, autoiso closes up the aperture but ISO stays the same.
In AV mode it randomly tries a couple of things when you raise flash but it does appear to lower the ISO with a few tries.

Problem is that I don't see the ISO in the viewfinder so I'll only see that it screwed up after I look down :(

P.P.S Jump button needs a setting to jump through all ISOs not just intermediate in that range. Otherwise it is 2+ button presses to change iso. I'm glad this feature is back in some form though.  :lol
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 27 / November / 2011, 20:33:08
Thank eduperez
 I'm sorry I did not carefully read the User's Guide;
 I want to say great development team, I love this version of the menu settings 20111111-0
 Please forgive my English
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / November / 2011, 01:49:27
I think I'm mixing up TV and AV. I was in between a 2 part gig so I wrote without thinking. I was using shutter priority and instead of taking shots at 1600 iso, it was taking them at 100. So you would get a black photo. Right before it was using 1600... as soon as I zoomed the lens in to 5.6 it screwed up. When I used a different lens that was F2.8-4.0 I had the same problem. Changing minAV one step higher than lens minimum seemed to solve the problem. Also the problem showed up between lens changes when new minimum was too low. I need to find a way to reproduce this issue reliably.

In Tv mode, AutoISO kicks in (raises the ISO) when the camera selects an aperture greater than the "Max Av" parameter; but the camera will never set an aperture out of range for the lens, and thus AutoISO will never kick in if you select a "Max Av" value out of range for your lens (next version will not let you do that, BTW). For example, in you have a f/4 lens and set "Max Av" to f/2.8, then AutoISO will raise the ISO when the camera sets f/2.8, but the camera will never set f/2.8, because that value is out of range for your lens.

Zoom lenses are a bit more complex, as there are different maximum apertures. With a f/3.5 - f/5.6 lens, "Max Av" at f/4 will work only on the wide end of the zoom (where max aperture is f/3.5), but not on the tele end (where max aperture is f/5.6). This is all expected behavior (well, at least expected by me ;)), but your post made me think that AutoISO could also try to avoid underexposures, not only look at aperture values; will investigate on this.

As for flash, it seemed to not account for it at all. I was shooting 1/90 and f8 in close quarters. This is the point of flash... so I don't have to shoot at 1/30 + wide open + 1600/3000. The subjects came out flash "painted" and I had to turn the exposure down anyway.

Ok... I just picked up the camera and tested flash in M mode. Iso stays the same whether you use flash or not. In P mode at first it jumps to ISO 1600 when you raise flash... then after a couple of half presses it drops the ISO below what it was when flash was closed.

Yes, AutoISO does not account for flash, just like Av / Tv modes do not account for it when calculating shutter speed or aperture; and I do not think I could change this, even if I wanted. Think that AutoISO is trying to produce a good exposure for the background (where the flash does not reach), and let the camera adjust the flash intensity to expose the foreground (where the flash does reach).

In these situations, I would not use AutoISO, or try to compensate down the exposure.

In TV mode, autoiso closes up the aperture but ISO stays the same.

Not exactly: AutoISO just raises the ISO, then the camera compensates by closing the aperture; I think this is explained in the manual.

In AV mode it randomly tries a couple of things when you raise flash but it does appear to lower the ISO with a few tries.

Problem is that I don't see the ISO in the viewfinder so I'll only see that it screwed up after I look down :(

Raising the flash should not affect AutoISO at all, but I'll have a look at this later.

P.P.S Jump button needs a setting to jump through all ISOs not just intermediate in that range. Otherwise it is 2+ button presses to change iso. I'm glad this feature is back in some form though.  :lol

Point taken.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 28 / November / 2011, 14:25:43
AutoISO needs to drop ISO quicker. Seems very quick to raise but no so quick to lower.

Quote
and thus AutoISO will never kick in if you select a "Max Av" value out of range for your lens

So since f was 5.6 and maxAV was 4 it defaults to ISO 100 because ISO is never raised from minISO? I don't think it lets you set lower maxAV already, it just doesn't account for zoom or lens changes. I guess I should have kept it on like 400/800 or something when using the flash.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / November / 2011, 02:27:27
AutoISO needs to drop ISO quicker. Seems very quick to raise but no so quick to lower.

AutoISO only drops ISO when there is at least a headroom of 1EV, to avoid bouncing.

For example, in Av mode with MinTv at 1/50, AutoISO will raise to ISO 200 as soon as the camera sets a shutter speed of 1/50s, and consequently shutter speed will jump to 1/100s; if we drop ISO immediately (shutter speed is above MinTv now), the camera will go back to 1/50s, and AutoISO will have to raise ISO again. To avoid this bouncing effect, AutoISO will not drop ISO until the shutter speed goes up to 1/200.

I could make that headroom configurable, but we do not want to make it too small.

Quote
and thus AutoISO will never kick in if you select a "Max Av" value out of range for your lens

So since f was 5.6 and maxAV was 4 it defaults to ISO 100 because ISO is never raised from minISO? I don't think it lets you set lower maxAV already, it just doesn't account for zoom or lens changes. I guess I should have kept it on like 400/800 or something when using the flash.

AutoISO always defaults to MinISO, and raises it when the camera tries to set a shutter speed or aperture out of the range indicated by the user. If you set MinAv to f/4, AutoISO will raise ISO when the camera sets the aperture to f/4; but if your lens can only go to f/5.6, then the camera will never set f/4, and thus AutoISO will never raise ISO. This is like setting the thermostat of your air conditioning unit to stop when the temperature goes below an insanely low temperature.

MaxAv is only limited in the nightly builds, so I figure you are using that, by the way; but no, it does not account for zoom or lens changes, and I do not think it will ever do.
Title: Re: Eos 400d ( Rebel XTI )
Post by: iDentist on 29 / November / 2011, 20:05:20
Please help!

If I use this method (http://code.google.com/p/400plus/wiki/FirmwareHackInstallation):

Nothing happens. No files written to camera except the one .bin file that I copy. Tried direct option and with EOScard.

If I use this method (http://chdk.setepontos.com/index.php?topic=3290.msg30604#msg30604):

Even though I have new files written on card (two "boot" files + .bin), camera behaves normally, no new options.

What am I doing wrong?  :-[ Please help!

Windows 7 x64, EOS XTi, CF 4GB (3.8GB)

UPDATE:

Oh, I got it finally. I was copying .bin beta builds instead of final release. :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 30 / November / 2011, 19:16:10
Yes, last nightly build is like 1kb, not likely to work.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 01 / December / 2011, 01:50:23
Yes, last nightly build is like 1kb, not likely to work.

Ups! This is probably my fault, will have a look as soon as possible.
Title: Re: Eos 400d ( Rebel XTI )
Post by: iDentist on 01 / December / 2011, 10:45:01
Is there a way to add ticking sound when self timer is set up by the script?
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 01 / December / 2011, 12:55:25
Turn on focus beep. It should give you enough warning to watch your expression/look at the camera, etc.
Title: Re: Eos 400d ( Rebel XTI )
Post by: iDentist on 02 / December / 2011, 08:01:20
Where do I do that?
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 02 / December / 2011, 12:30:32
Regular canon menu Beep -> On
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / December / 2011, 16:27:48
Hi guys/gals, its been some time since i were around, and the NightlyBuilds (NB) became broken somehow.
I've upgraded the GCC to the latest version 4.6.0, and it seems to be working nicely now.
Sorry for the last days with broken NB, I hope that not so much ppl get affected by this (more than 100 downloads though)

So, now we have NB again, sorry for the late response on this.
Have a nice shooting with 400Plus ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: iDentist on 03 / December / 2011, 06:55:53
Regular canon menu Beep -> On

I was thinking about sound when using custom time delay (with hack).
Title: Re: Eos 400d ( Rebel XTI )
Post by: iDentist on 08 / December / 2011, 06:40:34
Anyone?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / December / 2011, 16:40:18
Anyone?

Right now, you can't do that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: iDentist on 09 / December / 2011, 07:07:30
So, you're saying it will be possible in the future?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 09 / December / 2011, 07:43:06
So, you're saying it will be possible in the future?

No; I'm just saying that it looks interesting and doable, so I will probably try to do it in a near future; but I cannot promise anything.
Title: Re: Eos 400d ( Rebel XTI )
Post by: iDentist on 12 / December / 2011, 14:59:51
That would be very nice and useful.

Thanks in advance. :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: mrtrusers on 20 / December / 2011, 01:44:41
Hi is someone trying to port 400plus to 40d? If someone is up for it id be happy to help
Title: Re: Eos 400d ( Rebel XTI )
Post by: scubadude on 21 / December / 2011, 03:04:21
Thanks to eduardo, we have Release 20111111-3, kudos for the great work !!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 21 / December / 2011, 07:06:15
Thanks to eduardo, we have Release 20111111-3, kudos for the great work !!!

And thanks also to everybody else who helps: that version, for example, contains a bugfix thanks to the detailed report someone posted. Oh, and lets all act as if 20111111-2 just never never existed, please? (I left some stupid testing code inside).
Title: Re: Eos 400d ( Rebel XTI )
Post by: flemps on 21 / December / 2011, 10:46:39
Hi guys,

Just wanna thank you all again for your efforts in 2011 and wish the best holidays ever.

 :xmas Merry Christmas and a great 2012 for all of us!

Marcus Roque
(Rio - Brazil)
Title: Re: Eos 400d ( Rebel XTI )
Post by: AlecEdworthy on 23 / December / 2011, 06:14:47
Hello,

I've just downloaded the latest build (20111111-3) and while the blue light flashes on boot (I think I am getting two flashes if that means anything, one short and one slightly longer), the hack does not appear to be active (pressing DP or DISP in the menu does not reveal the usual hack menus).  I've tried 20111111-2 but that didn't work either.  Dropping back to 20110904-1 works and previous to that I was using one from June I seem to recall.  Does anyone know why it isn't working?  If there's anything I can do to assist please let me know.

Thanks for all your hard work :)

Alec
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / December / 2011, 14:29:00
Hello,

I've just downloaded the latest build (20111111-3) and while the blue light flashes on boot (I think I am getting two flashes if that means anything, one short and one slightly longer), the hack does not appear to be active (pressing DP or DISP in the menu does not reveal the usual hack menus).  I've tried 20111111-2 but that didn't work either.  Dropping back to 20110904-1 works and previous to that I was using one from June I seem to recall.  Does anyone know why it isn't working?  If there's anything I can do to assist please let me know.

Thanks for all your hard work :)

Alec

Please, have a look to the user guide: all the menus (there are several menus now) are where the shortcuts used to be; just press DP from the MAIN screen (not the MENU) to get to them.
Title: Re: Eos 400d ( Rebel XTI )
Post by: AlecEdworthy on 23 / December / 2011, 14:57:09
Please, have a look to the user guide: all the menus (there are several menus now) are where the shortcuts used to be; just press DP from the MAIN screen (not the MENU) to get to them.
Thank you very much, I can't actually believe I missed that!  I was sure I'd re-read the instructions but somehow I clearly missed that bit.  You're spot on, it works a treat.  Now to re-read the rest of the user guide!

Thanks and sorry for being so rubbish!

Alec
Title: Re: Eos 400d ( Rebel XTI )
Post by: Isellmypictures on 29 / December / 2011, 11:37:07
Ok, so let's suppose that this is related to the FACTORY MENU, just suppose it; to activate that menu, or current code does:
Code: [Select]
EnterFactoryMode();
SleepTask(25);
ExitFactoryMode();

This is: we go into FACTORY MODE (whatever that is) and then exit back. This means there is a FACTORY MODE, which we do not normally "see" as it is deactivated immediately. Perhaps your camera got somehow stuck into FACTORY MODE, and that is why it is acting that way.

But then, activating the FACTORY MENU from 400plus should revert back to the normal mode, I guess. I would try to install 400plus in an empty card (no MCTEST.BIN file, obviously) and activate the FACTORY MENU (just MENU + DP + DP). Then switch off, change to a fresh card, an try again with the computer.

just my two cents.

Hey eduperez

Well, I've got the same problem as described by Knatterman above. I reinstalled the 400plus hack again, but factory menu is present from the beginning, so going into the menu and pressing DP DP does nothing.
Did I misunderstand something there? I can't make the factory menu go away and I can't connect my camera to my pc anymore, help please?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / December / 2011, 15:41:20
[...]
Hey eduperez

Well, I've got the same problem as described by Knatterman above. I reinstalled the 400plus hack again, but factory menu is present from the beginning, so going into the menu and pressing DP DP does nothing.
Did I misunderstand something there? I can't make the factory menu go away and I can't connect my camera to my pc anymore, help please?

Menus have changed in the latest release, please have a look to the user guide. Anyway, all entries related to factory mode are hidden now, so you'll need to revert to a previous release (see here: http://code.google.com/p/400plus/downloads/list?can=2&q=Release+Type%3DExecutable (http://code.google.com/p/400plus/downloads/list?can=2&q=Release+Type%3DExecutable)) to get out of the factory mode.

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 31 / December / 2011, 12:15:03
Why does my camera keep thinking the CF has less space than it does. It says I can take 416 pictures on a 16g card and thinks 10gb is full. Deleting the DCIM folder fixed the count before but today it did not.

*I manually had to make a 356CANON folder, it was creating 355CANON. Still weird it ties used space to folder name.
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 05:58:42
I've got a problem with my 400D.
My 400D was working fine with 400plus firmware. Everything was fine. But it suddenly broke.
The camera hangs (sometimes with white screen with dots, sometimes with black) when I press Print from "Home" screen, but AutoISO, Spot focus still works, when I press Print in standart ISO and focus selection screens. The camera blinks blue light on startup and then blue light fires until camera fully start.
Reinstalling of 1.1.1 firmware, testfir.fir, formating CF... nothing helps :(
Any ideas?  :'(
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / January / 2012, 06:39:54
I've got a problem with my 400D.
My 400D was working fine with 400plus firmware. Everything was fine. But it suddenly broke.
The camera hangs (sometimes with white screen with dots, sometimes with black) when I press Print from "Home" screen, but AutoISO, Spot focus still works, when I press Print in standart ISO and focus selection screens. The camera blinks blue light on startup and then blue light fires until camera fully start.
Reinstalling of 1.1.1 firmware, testfir.fir, formating CF... nothing helps :(
Any ideas?  :'(

Looks like 400plus is initializing properly, but fails to display the menus; and the menus only contain the literals and the settings. Since you formated the card, we can discard an error on the settings' file; so this smells like a problem with the literals.

First thing I would try is to delete the "languages.ini" file from the card, set the camera to "English", and see what happens. If that works, then I would guess the "languages.ini" file is somehow corrupted; 400plus is quite sensitive about that file, did you edit it yourself? otherwise, could you please try to download and copy it again? Perhaps even the original is buggy, what language are you using?

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 07:57:22
First thing I would try is to delete the "languages.ini" file from the card, set the camera to "English", and see what happens.
Set to English, deleted languages.ini. The same thing :(
Could something corrupt in the camera? Something went wrong with VxWorks?
I tried two different CFs.
And the main thing - it worked about two weeks when I just installed 400plus.

Update: I could edit "settings" file in Hiew hex-editor and set debug_on_poweron and logfile_mode options on. Here is my logfile: http://pastebin.com/DLbbWVEF (http://pastebin.com/DLbbWVEF)
First record: I turn the camera on, swithed ISO by Jump button and turn it off.
Second record (unfinished): turn the camera on and and press Print button.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / January / 2012, 08:45:59
Set to English, deleted languages.ini. The same thing :(
Could something corrupt in the camera? Something went wrong with VxWorks?
I tried two different CFs.
And the main thing - it worked about two weeks when I just installed 400plus.

Not what I expected to hear... I still do not think there is anything wrong with the camera, however.

Let's see: literals are OK, settings are OK... so perhaps the menu initialization is failing? 400plus jumps through the standard menu to display our menu (we still do not know how to do it directly); if the standard menu is not in the appropriate state, then our initialization could fail.

Please, go to the camera's menu, change to another page within that menu, and then try again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 08:59:22
Please, go to the camera's menu, change to another page within that menu, and then try again.
nothing new :( still hangs with err99 in viewfinder.
Documentation says "If the blue LED of your camera briefly lights up when the camera is turned on, the hack has been successfully loaded." But in my case when the camera is turning on the LED lights up briefly and then light up again and light down only after camera starts and fully ready to works. May be this sign could help?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / January / 2012, 09:16:21
nothing new :( still hangs with err99 in viewfinder.

I understood it would display a blank screen, not an error message; has this changed recently? or is it just something intermittent?

Documentation says "If the blue LED of your camera briefly lights up when the camera is turned on, the hack has been successfully loaded." But in my case when the camera is turning on the LED lights up briefly and then light up again and light down only after camera starts and fully ready to works. May be this sign could help?

No, that is normal behavior.
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 09:26:09
I understood it would display a blank screen, not an error message; has this changed recently? or is it just something intermittent?
After initial installation 400plus was working fine for about two weeks and just once stoped working. Screen is not just blank - it can be black, or white, white with dots, or black with orange noise pattern - not stable. Error message ("Err99") is in viewfinder window, not at screen.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / January / 2012, 09:45:37
After initial installation 400plus was working fine for about two weeks and just once stoped working. Screen is not just blank - it can be black, or white, white with dots, or black with orange noise pattern - not stable. Error message ("Err99") is in viewfinder window, not at screen.
Interesting, i've never seen an Err99 in the ViewFinder, where is it written exactly ?

see what happens in this scenarios:

1. Try operating the camera w/o entering the Hack menus... make some photos, do some stuff in the menus... see if it is working correctly.
2. Try detaching the lens, external flash and whatever is attached to the body (if there is anything else). Then try the hack again.

Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 11:09:22
Interesting, i've never seen an Err99 in the ViewFinder, where is it written exactly ?

see what happens in this scenarios:

1. Try operating the camera w/o entering the Hack menus... make some photos, do some stuff in the menus... see if it is working correctly.
2. Try detaching the lens, external flash and whatever is attached to the body (if there is anything else). Then try the hack again.
I tried both scenarios.
1. All works fine.
2. The same - hangs.
May be there is a way to get very detailed debugging logs?
And I found that Err99 is written only if I press shutter button after DP. So I think it's just a reaction of the camera on unknow error.
Err99 is written (blinking) in the middle of text field in viewfinder, where shutter speed and f-number are normaly writes.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / January / 2012, 11:35:54
There is a way to get a very detailed log, but needs recompiling of the hack.
Anyway, IMO this will not reveal anything useful, as the log is from canon's firmware with their stuff...

Have you tried to reset to factory defaults the camera ?

Edit:
attached AUTOEXEC.BIN with massive debug enabled.
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 11:59:59
Have you tried to reset to factory defaults the camera ?

Edit:
attached AUTOEXEC.BIN with massive debug enabled.
I can't get logs with this autoexec with the same SETTINGS file.
Reset settings to default gives nothing :(
I've just tried Release 20110328-0.bin and it works - menu shows and all works. I'll try another versions...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / January / 2012, 15:02:54
I can't get logs with this autoexec with the same SETTINGS file.

This one should start with debug-on-power-on, w/o checking the settings file.
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 15:37:40
Thank you, all guys, for help!!!
I don't know what was that, but night build is working!  :blink:
If i'll find out anything about this bug, i'll post it here...

Update: hehe! 400plus-201111111-3 now working too! I just tried old version and now it's all ok.
May be some settings in the camera was broken? But I tried reinstalling firmware, 400plus, formating CF, reset setting to default... Magic.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / January / 2012, 17:10:32
Update: hehe! 400plus-201111111-3 now working too! I just tried old version and now it's all ok.
May be some settings in the camera was broken? But I tried reinstalling firmware, 400plus, formating CF, reset setting to default... Magic.

Good to know it's ok now, though it is essential to know what was the problem. Please if you ever have a clue what was it, share with us. ;)
(I would bet on the camera settings and the factory defaults fixed it, since I don't know which setting is it)
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 03 / January / 2012, 18:16:11
Good to know it's ok now, though it is essential to know what was the problem. Please if you ever have a clue what was it, share with us. ;)
(I would bet on the camera settings and the factory defaults fixed it, since I don't know which setting is it)
I would like to know it too, but I don't know how to find it..
I tried 400plus after cleaning settings and it didn't worked. May be old version of 400plus could reset some settings?
I'll keep watching at camera's behavior...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / January / 2012, 03:09:26
Good to know it's ok now, though it is essential to know what was the problem. Please if you ever have a clue what was it, share with us. ;)
(I would bet on the camera settings and the factory defaults fixed it, since I don't know which setting is it)
I would like to know it too, but I don't know how to find it..
I tried 400plus after cleaning settings and it didn't worked. May be old version of 400plus could reset some settings?
I'll keep watching at camera's behavior...

if my memory serves me correctly, this is the second time something similar happens: user is suddenly unable to open menus, no matter what he tries, until he install a nightly nuild, and then everything goes back to normal... I'll give an arm and a leg to know why!
Title: Re: Eos 400d ( Rebel XTI )
Post by: zing on 04 / January / 2012, 08:08:54
if my memory serves me correctly, this is the second time something similar happens: user is suddenly unable to open menus, no matter what he tries, until he install a nightly nuild, and then everything goes back to normal... I'll give an arm and a leg to know why!
Actually everything goes back for me after install of an old version - I could use menu in old version (there is only one menu), so I'm not sure what was the solution - nightly build or old version. I just installed nightly build to test and it worked, so I tried release build and it worked too.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sigii on 06 / January / 2012, 16:41:10
@eduperez

Yes, your memory serves you correct, It was me who had a similar problem like zing before (Post #1442). I never looked through the viewfinder when I had the problem, so I don't know whether I hat an error 99 or not. But in Post 1444 you can read a little bit about what I have done before the error appears.
Since the problem was fixed by the nightly build, I don't had any further problems. 400d works fine and the plus hack is a great enhancement.
Thank you all for your great work.

sigii
Title: Re: Eos 400d ( Rebel XTI )
Post by: tzobor on 11 / January / 2012, 09:09:11
hi, sorry if this is innapropriate:
my friend with a 400D has asked me if it's possible to use the red eye lamp as a AF Assist illuminator.
Title: Re: Eos 400d ( Rebel XTI )
Post by: paopao on 20 / January / 2012, 03:02:22
您好,感谢您!

期待中文菜单。

另外想问下 BIN SRC  这两个文件里的文件是什么?

谢谢 :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 20 / January / 2012, 04:11:37
您好,感谢您!
期待中文菜单。
另外想问下 BIN SRC  这两个文件里的文件是什么?
谢谢 :)
Hi, Please translate your messages in English.
I only understood the half of your message, which is about the Chinese menu.
You probably got the original Canon Chinese menu, since we do not have translations in Chinese at this moment.
Title: Re: Eos 400d ( Rebel XTI )
Post by: mancads on 03 / February / 2012, 03:28:44
Hi! pls teach me how to install the hacked firmware for 400d/rebel xti. Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Luk on 03 / February / 2012, 06:06:57
hi mancads

start reading at page one of this thread ;-), then you will know nearly all about it... :-)
and here http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/)

thank you guys for the great work!


greetings Luk
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / February / 2012, 12:28:59
start reading at page one of this thread ;-), then you will know nearly all about it... :-)
and here http://code.google.com/p/400plus/ (http://code.google.com/p/400plus/)

reading from page 1 will take forever ;)
better start reading the wiki pages on the project home page (link above)
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 10 / February / 2012, 20:31:00
Is it possible to make adjustments to metering to compensate for different focusing screens like in more expensive cameras?

I think 5d/1d have a custom function. I got a split prism focusing screen and when its dark outside spot/partial can be off. I know it won't work when the prisms are blacked out.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / February / 2012, 02:39:22
Is it possible to make adjustments to metering to compensate for different focusing screens like in more expensive cameras?

I think 5d/1d have a custom function. I got a split prism focusing screen and when its dark outside spot/partial can be off. I know it won't work when the prisms are blacked out.

I read somewhere about an internal utility, used by Canon technicians, that could adjust an "exposure bias" parameter inside the camera; but I have never seen such tool myself, and I do not know how to access that parameter. I have also been thinking how else could we accomplish this (maybe tinkering with the exposure readings, as they transverse our code?), but could not come up with an easy solution.

So, unless somebody else steps in, I am afraid the answer is no.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 13 / February / 2012, 16:28:53
I also found this: http://www.learn.usa.canon.com/app/pdfs/quickguides/CDLC_FocusingScreens_QuickGuide.pdf (http://www.learn.usa.canon.com/app/pdfs/quickguides/CDLC_FocusingScreens_QuickGuide.pdf)

It says you could move spot metering point to another place not within the prisms. Don't know if metering follows the AF points on the 400d.

Maybe we can try AF pattern that doesn't include the center point? I tried getting the X without the center but it won't let me pick that pattern. I can only do sides and top.

I've been doing -2 ev for spot and -1ev for partial and it helps a bit but people have been saying it changes at different apertures. Still need to test more.

I'm getting a 45degree split prism too so I'll see what that does to metering. They are cheap right now from CN, I think like 15 bucks free shipping.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 14 / February / 2012, 05:50:30
We could add any combination of points to the list of extended AF patterns, or we could add an option to exclude the central point from the existing patterns; bot options seem feasible.

But I'd like to be sure that this will solve the issue before changing the code, however; and I'm currently busy with other projects, and will need some time before I can come back and start coding again. Could you test whether metering follows AF points? If selecting a lateral AF point does not solve the issue, adding another pattern will not do it, either.
Title: Re: Eos 400d ( Rebel XTI )
Post by: north_wind_rus on 27 / February / 2012, 12:50:03
Hi all! Tell a modified firmware allows you to shoot more than 30 seconds, or need to use the remote ...
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / February / 2012, 01:34:02
Hi all! Tell a modified firmware allows you to shoot more than 30 seconds, or need to use the remote ...

Look into the EAEB script: configure both "Bulb min" and "Bulb max" to the desired exposure time, and set the camera to BULB mode.
Title: Re: Eos 400d ( Rebel XTI )
Post by: north_wind_rus on 28 / February / 2012, 12:32:53
Hi all! Tell a modified firmware allows you to shoot more than 30 seconds, or need to use the remote ...

Look into the EAEB script: configure both "Bulb min" and "Bulb max" to the desired exposure time, and set the camera to BULB mode.

And how to incorporate these "scripts" or you can create yourself a preset?

I found this menu EAEB script, change the value Bulb min and Bulb max, pressed the shutter button, but nothing happened, only the darkened screen and has flashing blue button and everything, nothing happens (((

And why in the "Scripts" there are exclamation marks?

Sorry for my english, translated by Google Translator
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / February / 2012, 16:10:48
Hi all! Tell a modified firmware allows you to shoot more than 30 seconds, or need to use the remote ...

Look into the EAEB script: configure both "Bulb min" and "Bulb max" to the desired exposure time, and set the camera to BULB mode.

And how to incorporate these "scripts" or you can create yourself a preset?

I found this menu EAEB script, change the value Bulb min and Bulb max, pressed the shutter button, but nothing happened, only the darkened screen and has flashing blue button and everything, nothing happens (((

And why in the "Scripts" there are exclamation marks?

Sorry for my english, translated by Google Translator


Please, read the user guide, it is all explained there...
Title: Switch language
Post by: Ordinary on 04 / March / 2012, 20:23:05
Hi,everyone!
Will languages.ini copyed the CF card, how to switch between different languages ​​in the camera
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / March / 2012, 01:19:04
Hi,everyone!
Will languages.ini copyed the CF card, how to switch between different languages ​​in the camera

Using the standard camera menus: 400plus will try to use the same language that you select for the camera.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Coutts on 05 / March / 2012, 10:14:55
Hi guys - I'm working on running code on the 5d classic, and it runs VxWorks similar to the 400d (it's a cross between the 400d and modern DryOS..it's odd).

anyways I seem to be having the same issues the early devs of 400plus had, where they were unable to run code from a fir. I can make an led blink but i cannot boot the firmware or make the camera restart... anybody have any ideas?

I've tried:
- writing some of the asm code in an entry.s of the boot process and making it branch to ROM locations to continue execution - no luck.
- writing some of the boot process in C and then calling ROM functions - no luck
- just straight calling 0xFF810000 - no luck

initially somebody dumped the 400d bootloader using the LED blink method, then they reverse engineered what was needed for an autoexec.bin boot and then i guess they could run code. It was some problem with running FIR files, I guess autoexec.bin files worked fine. I've tried adapting led blink code with no success yet, so I'm stuck.

If anybody has any knowledge on this, please pm me. I have been reading 400d threads like mad trying to figure out what I need to do... starting to lose hope for the 5dc.
http://chdk.setepontos.com/index.php?topic=7759.0 (http://chdk.setepontos.com/index.php?topic=7759.0)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 05 / March / 2012, 16:02:46
Hi Andrew,
I have plans to make 400Plus run from a .fir file (or at least part of it), so we can have sort of Preview version of the hack and we can enable the AUTOEXEC.BIN from there.
Now after your post here, and after we discussed this in private for last few days, I'm wondering will I succeed in making a workable .fir file. At least we have the BootLoader code and it can help me understand more.

Perhaps my experiments with the .fir file will bring some information for you.

Regarding 5dc, I'm tempted to get one and cross the both projects together, while mixing the ML code with it.
This way 400Plus will become more like ML in it's internals, allowing it to get cool features from ML.
And 5dc is VxWorks with older Canon's API, so I'm sort of familiar with it (btw DryOS and the newer API are not so different from what I've seen).

All this sounds like a huge and time consuming work, unfortunately I'm still swamped with other projects.
Moreover the 5dc after market price is not what I've expected and it doesn't look like I'm getting one soon.
(I though it would be something like 300-350 EUR, unfortunately it's more like 500-600 EUR)

So for now I can only wish you luck, hopefully, sooner or later, I will be able to help you with info at least.

Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 12 / March / 2012, 22:39:34
Hi,everyone!
Will languages.ini copyed the CF card, how to switch between different languages ​​in the camera

Using the standard camera menus: 400plus will try to use the same language that you select for the camera.

Set the language of the camera, the menu is not translated, just press the print button when the screen flashed.Either French, German or other languages​​.
There is no way to upload my camera language settings page photos.
I think it is the "language.ini language name, produced inconsistent with the language name in the camera menu.
For example, my camera language settings page, the "German" corresponds to "Deutsch", "French" corresponds to "Francais," Simplified Chinese "corresponds to" 简体中文"
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / March / 2012, 02:30:58
[...]
Set the language of the camera, the menu is not translated, just press the print button when the screen flashed.Either French, German or other languages​​.
There is no way to upload my camera language settings page photos.
I think it is the "language.ini language name, produced inconsistent with the language name in the camera menu.
For example, my camera language settings page, the "German" corresponds to "Deutsch", "French" corresponds to "Francais," Simplified Chinese "corresponds to" 简体中文"

Looks like you've found a bug here: we use the "name" of the selected language to find a match in LANGUAGES.INI; but that name may be translated to the language previously configured in the camera. As the names in that file are in English, it only works if we try to move from English to another language; but fails if we move from non-English to another language.

I'll have a look at it as soon as possible; in the meantime, could you please try to configure the camera to English, then to French / German? Many thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 13 / March / 2012, 03:37:11

Looks like you've found a bug here: we use the "name" of the selected language to find a match in LANGUAGES.INI; but that name may be translated to the language previously configured in the camera. As the names in that file are in English, it only works if we try to move from English to another language; but fails if we move from non-English to another language.

I'll have a look at it as soon as possible; in the meantime, could you please try to configure the camera to English, then to French / German? Many thanks!

I was thinking the same, though i do not have the camera near me to test this.
But then, IIRC, when the camera starts, it was using the correctly selected language.
What would that mean ? The camera starts in english (i think not).
I will check this tonight too... and if we need we can set  the language IDs instead of language NAMEs in the language.ini file.
Title: Re: Eos 400d ( Rebel XTI )
Post by: javamomo on 18 / March / 2012, 04:57:30
hi, I am looking for a hack that change aperture with scroll in m mode, then av button with scroll to change expose speed. For underwater, expose speed can keep 1/100, but change aperture frequency.  thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 18 / March / 2012, 16:46:03
hi, I am looking for a hack that change aperture with scroll in m mode, then av button with scroll to change expose speed. For underwater, expose speed can keep 1/100, but change aperture frequency.  thanks

Please, open a "Feature request" at http://code.google.com/p/400plus/issues/entry, (http://code.google.com/p/400plus/issues/entry,) and perhaps someone will do it; thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 19 / March / 2012, 17:59:00

Looks like you've found a bug here: we use the "name" of the selected language to find a match in LANGUAGES.INI; but that name may be translated to the language previously configured in the camera. As the names in that file are in English, it only works if we try to move from English to another language; but fails if we move from non-English to another language.

I'll have a look at it as soon as possible; in the meantime, could you please try to configure the camera to English, then to French / German? Many thanks!

I was thinking the same, though i do not have the camera near me to test this.
But then, IIRC, when the camera starts, it was using the correctly selected language.
What would that mean ? The camera starts in english (i think not).
I will check this tonight too... and if we need we can set  the language IDs instead of language NAMEs in the language.ini file.


I have playing with this for a while, and couldn't get the camera to fail: I changed languages from English to Spanish, then to German, and from there to French; and 400plus always displayed the menus in the correct language....
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 19 / March / 2012, 18:12:30
I have playing with this for a while, and couldn't get the camera to fail: I changed languages from English to Spanish, then to German, and from there to French; and 400plus always displayed the menus in the correct language....

May be the reporter did something wrong (or edited the file with wrong tools) ?

Ordinary, can you please try to reproduce ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 20 / March / 2012, 04:23:28
I have playing with this for a while, and couldn't get the camera to fail: I changed languages from English to Spanish, then to German, and from there to French; and 400plus always displayed the menus in the correct language....

May be the reporter did something wrong (or edited the file with wrong tools) ?

Ordinary, can you please try to reproduce ?

I will " language.ini"file a direct copy of the CF card, cannot switch language;
I think that the cause of failure is due to the" camera language" and "language.ini" documents in different languages.
For example, my camera language is set to English, language settings page display: the" German" corresponds to" Deutsch"," French" to" corresponds Francais," Simplified Chinese" corresponds to" 简体中文".

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / March / 2012, 04:33:44
My camera also displays "Deutch" / "Français" / "Español", instead of "German" / "French" / "Spanish", yet I can select any of those languages, and 400plus will change to the selected language; I'm not saying it is not a bug in 400plus, only that I do not think the cause is where you mention.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 20 / March / 2012, 04:39:30

I have playing with this for a while, and couldn't get the camera to fail: I changed languages from English to Spanish, then to German, and from there to French; and 400plus always displayed the menus in the correct language....

Troubled me for a long time problem
In the case of not open LANGUAGE.INI "file, copying directly into the CF card, and still can not successfully switch the language, even English changed to any other language.
I have the language files translated into Simplified Chinese, looking forward to solve this problem
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 20 / March / 2012, 04:47:32
Have you changed something in languages.ini ?
If so, please attach the languages.ini file you're using, so we can try it too.
It could be a problem with UTF8 languages only, as the latin languages seems to work ok.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 20 / March / 2012, 05:04:57
Have you changed something in languages.ini ?
If so, please attach the languages.ini file you're using, so we can try it too.
It could be a problem with UTF8 languages only, as the latin languages seems to work ok.

Thank you very much!
To send the file to your mailbox" [email protected]".The theme of "can not successfully switch the language"
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 22 / March / 2012, 23:07:27
...
It could be a problem with UTF8 languages only, as the latin languages seems to work ok.

Have been identified UTF8 language problem?
Ideas to solve it?

I really need.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / March / 2012, 03:18:58
...
It could be a problem with UTF8 languages only, as the latin languages seems to work ok.

Have been identified UTF8 language problem?
Ideas to solve it?

I really need.


Ok, let's go step by step...

Download the latest release, copy both files (AUTOEXEC.BIN and LANGUAGES.INI) to an empty card, put the card in the camera, and test that you can select French or Spanish and it works. If this does not work, either there is something weird with your camera, or you are doing something wrong with the files.

If the first step works properly, try now to make a simple change: open it with Notepad++, make some silly change to a Spanish text (change "Guiones" to "Camiones", for example), and see if that works. If the Spanish translation stops working, and you see the texts in English again, then you probably are not using a nice editor.

Finally, if you can safely edit the file, then try to add some Chinese word in the Spanish translation, and see what happens. If this step fails, send us the file (just attach it to a post, or send it to the mailing list, or open an issue in the site) and we'll have a look at it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / March / 2012, 07:09:39
Hi guys, whats new?
Thanks again for coding my handwave script for me.

Has anyone considered making the multi-shot button script?
Where you set your camera for first shot then hit button to set second or third then it takes pictures with each of the different settings when you push shutter button.

I dont see why peeps didnt jump all over this idea to begin with when i first mentioned it, as  its just like exposure bracketing but simpler, faster, and with many less limitations.
A little code could save lots of work for many.

Thanks again, I will keep this short as I know how you hate distraction.

party on.

Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / March / 2012, 07:15:39
and I forgot to ask above,

Has any one got around the silly limits to the exposure times that come from the mechanical dark ages?
I could really use finer tuning around 1/30 sec.
 
have a good one
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 25 / March / 2012, 08:47:07
A relativistic mode would also be useful for the multi-shot in addition. Where the cam just applies the difference between the two settings.
For example Perhaps you could press the button then double your iso and half your exposure time.
In this case you could still use the best iso but also have the back up shot in case you moved a bit during the shooting and you could have it do it all day if you want without hitting another button besides just setting up your shot.

Perhaps asymmetric exposure bracketing could be use full too, say if, you were out on a day trip where the sky was just a little brighter than the main shot but also there were very dark shadows.  Then you could set it so it will properly expose the three areas in three shots and still have your main image set just right for the meat of the shot instead of having to skew it to be in  the middle of the other 2 exposures.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 25 / March / 2012, 20:26:05

Ok, let's go step by step...
Download the latest release, copy both files (AUTOEXEC.BIN and LANGUAGES.INI) to an empty card, put the card in the camera, and test that you can select French or Spanish and it works. ...


Thank you eduperez .

I did try.

Download the 20111111-4 BIN and INI files, copy into the CF card, successfully switched to the german.

Use the "Notepad + +" open "language.ini" files, in the German Department modify the word, handover success.

In the German Department modified simplified Chinese, handover success! However, short Chinese word can display, long Chinese words do not show the full.

The short Chinese editors to simplified Chinese, to copy into the CF card, cannot successfully switched to chinese.

Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / March / 2012, 02:11:45
Looks like we are on the right track now, Ordinary.

Two possibilities come to my mind now. One is that there is some byte, in the UTF8 code for Chinese, that 400plus misinterprets and breaks. Another is that we are hitting an internal limit (we allow a max. of 64 bytes per string, and in UTF8 each character is 3 bytes long, so a 22-character string could be too long for us).

In either case, having a look at the file will give us an exact idea of where is the problem; could you please upload an edited file? Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 26 / March / 2012, 03:16:07
Two possibilities come to my mind now. One is that there is some byte, in the UTF8 code for Chinese, that 400plus misinterprets and breaks. Another is that we are hitting an internal limit (we allow a max. of 64 bytes per string, and in UTF8 each character is 3 bytes long, so a 22-character string could be too long for us).

I agree on the first, there could be some byte in the UTF8 set which is interpret as EOF in vxworks (like there was such in DOS)...
But the second part - UTF8 char takes 2 bytes (not 3) so we have 32 chars for word.

We definitely should have a look at the file.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Ordinary on 26 / March / 2012, 04:40:57
Two possibilities come to my mind now. One is that there is some byte, in the UTF8 code for Chinese, that 400plus misinterprets and breaks. Another is that we are hitting an internal limit (we allow a max. of 64 bytes per string, and in UTF8 each character is 3 bytes long, so a 22-character string could be too long for us).

I agree on the first, there could be some byte in the UTF8 set which is interpret as EOF in vxworks (like there was such in DOS)...
But the second part - UTF8 char takes 2 bytes (not 3) so we have 32 chars for word.

We definitely should have a look at the file.

Documents have been sent to your mailbox"[email protected]"
Subject: Add Simplified Chinese "languages.ini (version 20111111-4)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / March / 2012, 05:52:45
Documents have been sent to your mailbox"[email protected]"
Subject: Add Simplified Chinese "languages.ini (version 20111111-4)

I fear that message may have been lost, as it still haven't appeared in my inbox or in the group's page (https://groups.google.com/forum/?fromgroups# (https://groups.google.com/forum/?fromgroups#)!forum/400plus); could you please try to attach it in a post here, or open an issue (http://code.google.com/p/400plus/issues/entry (http://code.google.com/p/400plus/issues/entry)) and attach it there? Many thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 05 / April / 2012, 04:11:13
Hello, everyone.
Just want to share my latest code:
http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip (http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip)
Additional functionalities, which this AUTOEXEC.BIN provide, are listed in Readme.txt file.
Mainly new things are: "preset white balance"  -  camera can save up to 5 custom wb measurements, and EAEB script now can be started with shutter release button.

Please note this bin doesn't have all the features of 400plus firmware.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 05 / April / 2012, 09:35:09
Hello, everyone.
Just want to share my latest code:
http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip (http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip)
Additional functionalities, which this AUTOEXEC.BIN provide, are listed in Readme.txt file.
Mainly new things are: "preset white balance"  -  camera can save up to 5 custom wb measurements, and EAEB script now can be started with shutter release button.

Please note this bin doesn't have all the features of 400plus firmware.

Awesome...  Thanks for sharing Sergei!
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 05 / April / 2012, 09:41:41
Some really nice new enhancement ideas have recently been added to the 400plus google code site.   So glad to see this project moving forward in such a positive direction.  Thanks again to all those who have contributed to make 400plus what it is.   Be sure and check out the new enhancement ideas and offer up opinions.  -Guffster
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / April / 2012, 07:30:21
Hello, everyone.
Just want to share my latest code:
http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip (http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip)
Additional functionalities, which this AUTOEXEC.BIN provide, are listed in Readme.txt file.
Mainly new things are: "preset white balance"  -  camera can save up to 5 custom wb measurements, and EAEB script now can be started with shutter release button.

Please note this bin doesn't have all the features of 400plus firmware.


Hi Sergei, it is very nice to see you are still here ;)
Thanks for sharing with us, I will check it tonight ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / April / 2012, 16:29:07
Hello, everyone.
Just want to share my latest code:
[...]

Hi Sergei! Glad to hear from you again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 07 / April / 2012, 19:18:44
2 things well maybe 3.

1. Latest nightly build and I don't see the DOF calculator on the scripts page. I scroll and it just goes back to the beginning.
2. Long exposure calculator doesn't let me change any of the settings. I tried the wheel and left/right, I have a feeling I'm doing something wrong.

I already tried to delete the settings file but no change.

I checked out spot metering and it doesn't follow the AF points, just stays in the center. Seems like you can file selective spot metering along with multi spot metering. If that gets solved I think moving the spot will be trivial to implement. I got a 45deg screen and it works much better than the 180.

Also, sergei... file factory never has any free download spots. Can you mirror it somewhere else.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 08 / April / 2012, 06:53:15
Here is another link:
http://localhostr.com/file/qIR4fSx/400d_firmware_hack_2012-04-05.zip (http://localhostr.com/file/qIR4fSx/400d_firmware_hack_2012-04-05.zip)
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 08 / April / 2012, 07:20:11
Hello, everyone.
Just want to share my latest code:
http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip (http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip)
Additional functionalities, which this AUTOEXEC.BIN provide, are listed in Readme.txt file.
Mainly new things are: "preset white balance"  -  camera can save up to 5 custom wb measurements, and EAEB script now can be started with shutter release button.

Please note this bin doesn't have all the features of 400plus firmware.

Super awesome. I always liked your versions of the firmware. They've always remained very clean.
You integrated the boot flag removal for the hack? Love it.

The menus in 400plus are just way too crowded and there's just too much going on for me.
Title: Re: Eos 400d ( Rebel XTI )
Post by: nxb on 08 / April / 2012, 12:59:14
Ok got the DOF calculator after trying sergei's version. Long exposure still baffles me.

The quick shutter was great. Wish it was the * button instead of set as that button is useless and set is a little hard to reach.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 08 / April / 2012, 16:14:31
Yes, * button would be great. But this button doesn't generate any events when pressed, so it's impossible to make hook to it. Maybe Eduperez or 0xAF know how to get this button working in firmware.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / April / 2012, 16:38:42
Sergei,
if i understood correctly, you are looking for these:
(400Plus main.h)
Code: [Select]
          GUI_BUTTON_ZOOM_IN_PRESS       = 0x819,
          GUI_BUTTON_ZOOM_IN_RELEASE     = 0x81A, // DISP_RELEASED // idle handler shows them w/o a reason, could be disp_release
          GUI_BUTTON_ZOOM_OUT_PRESS      = 0x81B,
          GUI_BUTTON_ZOOM_OUT_RELEASE    = 0x81C, // DISP_RELEASED // idle handler shows them w/o a reason, could be disp_release
as the comments show and if i remember correctly - 0x81A and 0x81C can be seen without a obvious reason in the log file... we need to understand what they mean, besides the names we gave them.

as for the 0x819 and 0x81B - they seems to work as expected.
the Star Button should be 0x81B.

just one thing i found long time ago, the GUI_MODE (GUIMode) matters... if you are in the "wrong" GUIMode, the codes are different... for now we are using GUIMode == 0xFF, and these codes should work.

Edu will correct me if I'm missing something, or if I forgot something...


EDIT:
BTW I think we catch them in the menu_event_handlers. These are the handlers that you give to CreateDialogBox().
I'm not sure if they can be hooked in the Intercom handler.

EDIT2:
Now I realized that this will not help you if you want to hook the star button at the main screen (OLC)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / April / 2012, 17:31:43
1. Latest nightly build and I don't see the DOF calculator on the scripts page. I scroll and it just goes back to the beginning.
DOF calculator was added in release r1194; you'll need nightly preview 400plus-20120408-r1199.zip or later.

2. Long exposure calculator doesn't let me change any of the settings. I tried the wheel and left/right, I have a feeling I'm doing something wrong.
Not all fields in the long exposure calculator can be edited; please have a look to the user guide preview: http://code.google.com/p/400plus/wiki/UserGuidePreview#Long_Exposure_Calculator (http://code.google.com/p/400plus/wiki/UserGuidePreview#Long_Exposure_Calculator).

I checked out spot metering and it doesn't follow the AF points, just stays in the center. Seems like you can file selective spot metering along with multi spot metering. If that gets solved I think moving the spot will be trivial to implement. I got a 45deg screen and it works much better than the 180.
400plus just activates spot metering, then it works as designed by Canon; if the camera does not make it follow the AF points, then we will probably not be able to make it work that way.

The menus in 400plus are just way too crowded and there's just too much going on for me.
We're already aware of that; perhaps you would like to add your voice here: http://code.google.com/p/400plus/issues/detail?id=202 (http://code.google.com/p/400plus/issues/detail?id=202).

The quick shutter was great. Wish it was the * button instead of set as that button is useless and set is a little hard to reach.
The * button is used to control the AF, if you set C.Fn-4 to anything other than the default "AF/AE lock".
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 09 / April / 2012, 07:41:46
as for the 0x819 and 0x81B - they seems to work as expected.
the Star Button should be 0x81B.

just one thing i found long time ago, the GUI_MODE (GUIMode) matters... if you are in the "wrong" GUIMode, the codes are different... for now we are using GUIMode == 0xFF, and these codes should work.

Yes, you're right.  Also, if GUIMode is MENU_MODE, Zoom-in (0xA7) and Zoom_out (0xA8) buttons can be seeing in IntercomHandler. And you can check if those buttons were pressed in or released. What I like to find, what enables or disables buttons for current GUIMode. Or at least what sends them to IntercomHandler.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 09 / April / 2012, 07:56:01
What I like to find, what enables or disables buttons for current GUIMode. Or at least what sends them to IntercomHandler.

I tried to find what enables/disables the buttons in the different GUI_MODEs, and what assigns them different codes ...
no luck so far ... perhaps i should try to find them again.
As for what sends them to the intercom:
We have the MainCtrl (MC) task reversed: http://code.google.com/p/400plus/source/browse/trunk/mainctrl.c#109 (http://code.google.com/p/400plus/source/browse/trunk/mainctrl.c#109)
the task calls MC_T_1_5() for all events of type 1 to type 5, the buttons are type 2.
http://code.google.com/p/400plus/source/browse/trunk/mainctrl.c#139 (http://code.google.com/p/400plus/source/browse/trunk/mainctrl.c#139)

so we our button handler assigned to type 2 (MC_BUTTON)
http://code.google.com/p/400plus/source/browse/trunk/mainctrl.c#14 (http://code.google.com/p/400plus/source/browse/trunk/mainctrl.c#14)
from there you can catch some important events like:
MC_BUTTON_BATTERY_DOOR_OPEN
MC_BUTTON_CARD_DOOR_OPEN
MC_BUTTON_POWER
MC_BUTTON_HALF_SHUTTER
MC_BUTTON_FULL_SHUTTER
MC_BUTTON_JUMP
MC_BUTTON_TRASH

This routine is rewrite of the original one, and we added code only for the JUMP button (and some debug maybe).
so when this routine finish, it calls MC_T_Button(), which in turn sends the button codes to Intercom. So if you are looking for who sends the buttons to the intercom, these should be a good start.


note: Please be aware that comments and debugs starting with "AF:" does not mean AutoFocus, they mean 0xAF :) (sorry for this confusion)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 09 / April / 2012, 08:19:59
We must talking about different IntercomHandlers. I always thought IntercomHandler (0xFFA5D3E0) sends codes and data to MC. I could be wrong. Thanks for the info. I will check it sometimes later today.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 09 / April / 2012, 12:02:20
We must talking about different IntercomHandlers. I always thought IntercomHandler (0xFFA5D3E0) sends codes and data to MC. I could be wrong. Thanks for the info. I will check it sometimes later today.

Hmm... i was talking from my memories, and i may be totally wrong about who sends to whom the message ...
so you are right i guess... MC sends to IC.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 09 / April / 2012, 18:25:06
Looks like SendToIntercom sends messages to outside unit (maybe MPU) and IntercomHandler receives messages from that unit.
    I see you got "jump" and "trash" buttons in MC_T_Button function. Can you still use those buttons when cammera in OLC mode?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / April / 2012, 01:23:12
Looks like SendToIntercom sends messages to outside unit (maybe MCU) and IntercomHandler receives messages from that unit.
    I see you got "jump" and "trash" buttons in MC_T_Button function. Can you still use those buttons when cammera in OLC mode?

Yes; in fact, latest version can configure an action on the JUMP button.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 10 / April / 2012, 08:08:17
Looks like SendToIntercom sends messages to outside unit (maybe MPU) and IntercomHandler receives messages from that unit.
    I see you got "jump" and "trash" buttons in MC_T_Button function. Can you still use those buttons when cammera in OLC mode?

From what I see there, the SendToIntercom writes some data into specific memory addresses, which are not in MMIO area.
So it seems it does not directly talk to another MCU/DSP/whatever, only writes to the memory, which  seems to be an OS memory (VxWorks), not the Canon's software... Though there are some other MPU related stuff which are calling the SendToIntercom().
It could be that some interrupts reads and writes to that memory. The debug strings shows that the module which is in control of this memory is named "virtualSTATE", which only confirms that this is software based emulation... but what writes and reads in that memory i could not find either.

BTW, do you know what is this FlyingKeeper thing ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 10 / April / 2012, 15:44:17
No, I don't know what the FlyingKeeper is.
The task_MainCtrl receives "Jump" and "Trash" buttons  from SendButtonToMC all the time regardless GUI_Mode. But "Zoom_in" and "Zoom_out" comes from IntercomHandler when camera is not in OLC mode. So I guess it's impossible to make hooks to those buttons in OLC mode without knowing what operates IntercomHandler.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scharrow on 10 / April / 2012, 17:00:31
welcome. is it possible to do more than 250 pictures in the Time-lapse I tried several memory cards of 1GB and 4GB but still remained a number of photos the same.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / April / 2012, 17:18:33
welcome. is it possible to do more than 250 pictures in the Time-lapse I tried several memory cards of 1GB and 4GB but still remained a number of photos the same.

250 is the maximum of "limited" shots 400plus will do (*), regardless of card capacity; you can also select "No limit" as the number of shots, and the camera will fire endlessly (until manually stopped or card runs out of space).

(*) 250 shots is a self-imposed limit, nothing prevents us from raising it; please, add a "feature request" at http://code.google.com/p/400plus/issues/entry (http://code.google.com/p/400plus/issues/entry) if you feel that limit should be larger.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scharrow on 10 / April / 2012, 19:52:52
I did not notice this before with ,,no limit''. but I think I could use more than 250 frames. I've tried to deal with time-lapse, unfortunately, only when connected to a computer. solution would be a good opportunity to set a larger number of frames or time the camera would work. thanks
Title: New release pre-announcement
Post by: eduperez on 12 / April / 2012, 17:47:21
Good evening, ladies and gentlemen.

We have a new release ready for consumption; but before we make the official announcement, we would like to let a couple of days pass, so people can test it. Below you can find the list of enhancements and new features; the updated user guide can be found at: "http://code.google.com/p/400plus/wiki/UserGuidePreview", and the most updated version at "http://code.google.com/p/400plus/downloads/list?q=label%3ANightlyBuild".

We hope you enjoy it!

* Usability improvements
· New language system: now 400plus can be translated to languages not supported by the camera.
· Menus have been reordered, everything should be easier to find now.
· JUMP and TRASH buttons are now configurable (on the main dialog).
· DISP button can be used to change brightness in small increments.
· Use UP to display current ISO in the viewfinder (without changing it).
   
* New scripts
· Long exposure script, with long exposure calculator included.
· Depth-of-field and hyperfocal calculator.
· ISO and Flash AEB.

* Enhancements to scripts
· Strict scheduling and time-lapse calculator added to the intervalometer.
· Bracketing direction configuragle for EAEB.
· LCD brightness and blinking LED during scripts are now configurable.
· Restore camera before shut down, and check for card space before each shot.

* New and updated translations
· Finnish.
· Russian.
· Polish.
· The translation procedure has also been made easier.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2012, 17:11:02
Here you are... release 20120415-0 (aka "Easter Release") is out:Thanks to everybody involved!
Title: Re: Eos 400d ( Rebel XTI )
Post by: scottscheetz on 15 / April / 2012, 21:47:04
Hello everyone,
Sorry to be the needy person, but I've been attempting to set up the cross-compiler for a long time on my Fedora16 system and have had no luck. I'm currently running the 200110615-4 (June 15, 2011) build of 400plus, and was wondering if someone could help me by extending the high ISO to 6400 and the corresponding 1/3rd stops between 3200 and 6400.

Here is a link to the source code build 20110615-4 download:
http://code.google.com/p/400plus/downloads/detail?name=400plus-20110615-4.src.zip&can=1&q= (http://code.google.com/p/400plus/downloads/detail?name=400plus-20110615-4.src.zip&can=1&q=)

Any help would be greatly appreciated.

Thanks,
 - Scott S.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / April / 2012, 01:32:40
Hello everyone,
Sorry to be the needy person, but I've been attempting to set up the cross-compiler for a long time on my Fedora16 system and have had no luck. I'm currently running the 200110615-4 (June 15, 2011) build of 400plus, and was wondering if someone could help me by extending the high ISO to 6400 and the corresponding 1/3rd stops between 3200 and 6400.

Here is a link to the source code build 20110615-4 download:
http://code.google.com/p/400plus/downloads/detail?name=400plus-20110615-4.src.zip&can=1&q= (http://code.google.com/p/400plus/downloads/detail?name=400plus-20110615-4.src.zip&can=1&q=)

Any help would be greatly appreciated.

Thanks,
 - Scott S.

I already tried to use ISOs above 3000, but they do not work: there seems to be some partial support in the firmware, and the camera is even capable of showing those values in the display; but the result is a completely broken picture. And 1/3 stops are not real either: the camera works with 1/8 stops internally, but only uses 3/8 (displayed as 1/3), 4/8 (displayed as 1/2), and 5/8 (displayed as 2/3) stops.

But perhaps you have more knowledge and / or luck than me... I also use Fedora 16, so if you still want to try it, just send me (by a private message) your email address, and I'll share a folder at Dropbox with my toolchain (about 150MB, if my memory serves correctly). You might also want to have a look at the updated devinfo page (http://code.google.com/p/400plus/wiki/devinfo); the new procedure is much simpler now.

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scottscheetz on 16 / April / 2012, 13:08:50
Thanks for the quick response. You are probably much more knowledgeable about the subject then I am.

I thought I had seen something from back in 2009 on this thread where someone had gotten the ISO up to 4000, or 5000. I was wondering if that was could be achieved, but it sounds like it is not. So does the camera start under-exposing once you get past 3000, because I've never noticed a problem when shooting at 3200? (Ex: ISO 6400 would be around 1 stop under-exposed)

Interesting that the camera works by 1/8th stops internally. I never knew that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / April / 2012, 16:32:16
Thanks for the quick response. You are probably much more knowledgeable about the subject then I am.

I thought I had seen something from back in 2009 on this thread where someone had gotten the ISO up to 4000, or 5000. I was wondering if that was could be achieved, but it sounds like it is not. So does the camera start under-exposing once you get past 3000, because I've never noticed a problem when shooting at 3200? (Ex: ISO 6400 would be around 1 stop under-exposed)

Interesting that the camera works by 1/8th stops internally. I never knew that.

Yes, it's very easy to "ask" the camera to set higher ISOs, and the display will happily show values up to 6400; but the pictures come out completely broken: not just underexposed, all the camera produces are random blobs of color on a completely black background.

The highest usable ISO is 3000 (ISO 1600 + 7/8 EV, actually), not 3200; but as the camera uses 1/3 stop numbers, it rounds to "3200" when asked to set ISO 3000. Older versions of 400plus set ISO 3000 and let the camera display "3200", and hence the confusion. On newer versions, we do the display ourselves, and thus we show "3000" when we set ISO 3000.
Title: Re: Eos 400d ( Rebel XTI )
Post by: scottscheetz on 16 / April / 2012, 18:31:28
How interesting. Well I guess that answers my question pretty well, and explains why it won't work. I wonder if there is some way to get around the broken image problem at ISOs higher than 3000. Some sort of other patch maybe? Probably not though. Thanks for all your help.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / April / 2012, 02:11:58
How interesting. Well I guess that answers my question pretty well, and explains why it won't work. I wonder if there is some way to get around the broken image problem at ISOs higher than 3000. Some sort of other patch maybe? Probably not though. Thanks for all your help.

In 400plus we have to "enable" intermediate ISOs, as a previous step; just asking the camera to use them does not seem to be enough. That first action is still a mystery to me (somebody else found it before I joined the project), so perhaps there is a method to enable higher ISOs, that we must use before going higher than 3000... who knows.

Bear in mind that we are just asking the camera to use one ISO or another, we are not doing any of the work ourselves; patching the internal processing algorithms is way out of scope for me.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / April / 2012, 04:08:44
How interesting. Well I guess that answers my question pretty well, and explains why it won't work. I wonder if there is some way to get around the broken image problem at ISOs higher than 3000. Some sort of other patch maybe? Probably not though. Thanks for all your help.

In 400plus we have to "enable" intermediate ISOs, as a previous step; just asking the camera to use them does not seem to be enough. That first action is still a mystery to me (somebody else found it before I joined the project), so perhaps there is a method to enable higher ISOs, that we must use before going higher than 3000... who knows.

Bear in mind that we are just asking the camera to use one ISO or another, we are not doing any of the work ourselves; patching the internal processing algorithms is way out of scope for me.

In my opinion ISO greater than 3000 would not be possible ever on this camera.
The firmwares that are used in all the cameras share some base functionality (actually they are almost the same in functionality), only that for the cheaper models some features are "disabled", but there is still functionality in the camera. So we basically "unlock" some of the goodies that are already there.
In the hardware point of view it is different... the sensor used in 400d is not capable of ISO > 3000 (i was actually surprised that it made even 3000).
As far as I know the ISO depends on the voltage applied over the sensor, so if you choose ISO 100, there is X volts on the sensor, if you choose ISO 200, there is 2X volts on the sensor (this is only an example, it is most likely very different scheme of voltage applying),  and so on ...
Our sensor is capable of handling up to ISO 3000, then when you ask for more, you are applying more voltage on the sensor, and it gives you what it can, broken image... so IMO it's not a matter of under/over exposure ... it is just broken...
and i would not force my chances on the sensor applying more voltage on it than it can handle...

So this is what I know about the sensor... but it can be wrong, it's just my opinion.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / April / 2012, 05:15:26
All intermediate ISOs are software-based: the camera applies a digital amplification (aka multiplication) after the capture and digitalization phase; for example, when set to ISO-125 (ISO-100 + 2/8 EV) the camera configures the sensor for ISO-100, then multiplies each value by 1.25 (1 + 2/8) after the digitalization.

Consequently, ISO-3000 is just ISO-1600 + 7/8 EV, and it just works; but ISO-3200 is a full stop over ISO-1600. It could be done by software, but then the algorithm used to calculate intermediate ISOs should be ready to increase a full stop. Or it could be done by hardware, but as 0xAF explains that means tinkering with hardware, and thus dangerous.
Title: What is your favorite feature in 400plus? (open to all - post your thoughts)
Post by: guffster on 25 / April / 2012, 21:57:27
Just thought I would try to stir up some discussion in an otherwise quiet forum.

What is your favorite feature in 400plus and why?

I'll start it off.  My favorite feature by far is the "Presets" feature.  With this added ability I can store up to 9 different shooting styles (per CF card) and easily switch between them for fast setting and parameter changes for different types of shooting styles while in the field.  And with the "way cool" ability to rename each preset to something friendly and meaningful instead of simply "Preset 1", "Preset 2", etc. this gives me capabilities in the 400d camera that many other cameras that are much more expensive don't offer.  Thanks for that!

My second favorite feature would be "Spot Metering"- I think all Canon bodies should offer this very well known metering mode.  I use it all the time.  Thanks for that as well!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 27 / April / 2012, 02:03:15
Just thought I would try to stir up some discussion in an otherwise quiet forum.

What is your favorite feature in 400plus and why?

[...]


Nice idea, I'll join in:

* Spot metering: this single feature is what got me started with this project, and is the metering mode I always use now; I cannot understand why canon decided to block this feature (actually yes, I know they did it not to undermine the sales of higher cameras).

* ISO in viewfinder: much much faster that using the display; I just wish it could work better (like make it work in other modes, and be more obvious to the user).

* Presets: this and the configuration of the TRASH / JUMP buttons (I have mine set so JUMP => MLU and TRASH => AEB) are very useful for walking around; I just wish we had more buttons!

* Safety shift: another useful feature incomprehensibly left out.

* Negative flash exposure compensation: in low-light situations and with a fast lens, gives portraits just a nice touch of light; I would never use the incorporated flash with an FEV higher than -4EV.

* Long exposure script and calculator: I like long-exposure photography a lot, and this is very useful to me, especially when using strong ND filters; next version will probably show some enhancements to this feature.

Perhaps it would be useful to have a "400plus in action" page in the wiki, where people can add links to their blog posts talking about how they use 400plus; what do you think about that?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 30 / April / 2012, 12:14:35
Just thought I would try to stir up some discussion in an otherwise quiet forum.

What is your favorite feature in 400plus and why?

I'll start it off.  My favorite feature by far is the "Presets" feature.  With this added ability I can store up to 9 different shooting styles (per CF card) and easily switch between them for fast setting and parameter changes for different types of shooting styles while in the field.  And with the "way cool" ability to rename each preset to something friendly and meaningful instead of simply "Preset 1", "Preset 2", etc. this gives me capabilities in the 400d camera that many other cameras that are much more expensive don't offer.  Thanks for that!
When we can use Scene Modes for quickly dialing-in presets, that will be my favorite feature. In the meantime, there's a lot to like: 1) AutoISO 2) Spot Meter 3) Long exposure stuff....Okay, no single favorite  :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: docthomas on 02 / May / 2012, 18:59:57
OK got the new bin installed and it is pretty nice. using the jump button for the ISO incrementals and that seems to best compromise.

I am trying to get A-Dep to work though. I set a preset, in this case an ISO of 3000, spot metering and an EV of +2/3 and then I save it . all works well as a starting point for low light high ISO pics but then when I switch out of A-DEP I have all my AV and ISO settings still. ISO is an easy fix but the AV not so much. so I set up a "default" preset. but that is still several clicks into the screen to reset the preset and then it remembers THAT preset as the LAST one the next time I'm in A-dep.


powering off/on does not reset the settings. So what is the best way to switch between A-dep and "default" having to manually reset after a preset change kind of negates the need for the A-dep button if it doesn't reset.

also cannot get ISO in the view finder but not a huge deal to me. I wanted AEB and ISO and possibly A-DEP the rest is unneeded for me.

Thanks for any help

Shawn
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / May / 2012, 20:38:29
Ok, great news,
With the great help and work of Andrew and Alex, i've managed to find the VRAM buffer and ported 5dc's (ML's) bmp.[ch] with the fonts.

The first step is done...

400D now says "Hello World!"

400D / 400Plus - VRAM buffers and fonts printed (http://www.youtube.com/watch?v=LsbJYobmpPQ#ws)
http://code.google.com/p/400plus/source/detail?r=1342 (http://code.google.com/p/400plus/source/detail?r=1342)

Thanks a lot guys.

Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 02 / May / 2012, 22:43:27
Ok, great news,
With the great help and work of Andrew and Alex, i've managed to find the VRAM buffer and ported 5dc's (ML's) bmp.[ch] with the fonts.

The first step is done...

400D now says "Hello World!"


This is very cool.   Great job!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / May / 2012, 01:23:48
OK got the new bin installed and it is pretty nice. using the jump button for the ISO incrementals and that seems to best compromise.

I am trying to get A-Dep to work though. I set a preset, in this case an ISO of 3000, spot metering and an EV of +2/3 and then I save it . all works well as a starting point for low light high ISO pics but then when I switch out of A-DEP I have all my AV and ISO settings still. ISO is an easy fix but the AV not so much. so I set up a "default" preset. but that is still several clicks into the screen to reset the preset and then it remembers THAT preset as the LAST one the next time I'm in A-dep.


powering off/on does not reset the settings. So what is the best way to switch between A-dep and "default" having to manually reset after a preset change kind of negates the need for the A-dep button if it doesn't reset.

also cannot get ISO in the view finder but not a huge deal to me. I wanted AEB and ISO and possibly A-DEP the rest is unneeded for me.

Thanks for any help

Shawn

I'm not sure to have understood the problem... you want to load a preset in A-DEP mode, and make A-DEP work as a separate mode, with its own set of parameters, is that? No, unfortunately that is not possible right now. Presets are a quick method to recall a set of parameters, not a separated new mode: if a preset sets the camera into Av mode, for example, then those parameters stay on the Av mode; you cannot have an Av mode for the Av position of the dial and another Av mode for the A-DEP position.

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / May / 2012, 01:26:11
Ok, great news,
With the great help and work of Andrew and Alex, i've managed to find the VRAM buffer and ported 5dc's (ML's) bmp.[ch] with the fonts.

The first step is done...

400D now says "Hello World!"


Thanks a lot guys.



That's GREAT!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 03 / May / 2012, 03:52:42
Great job, 0xAF! I guess you can draw anything on the screen now. New dialogs, help windows... Do you know if default GUI updates screen so often or there is no problem with it?
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 03 / May / 2012, 04:13:48
Canon GUI updates can be disabled, at least in DryOS. They draw in a back buffer (idle) and then they copy the image on the front buffer, where the display hardware can see it. There should be a flag preventing them to copy data between buffers.

Also, in certain modes, Canon does not update the screen continuously (they use a event loop). As long as you block the GUI events, it should be fine.

Be careful what events you block.

50D is exception here: they always refresh the central portion of the screen (almost the entire screen, minus some small borders).

See http://magiclantern.wikia.com/wiki/VRAM/BMP (http://magiclantern.wikia.com/wiki/VRAM/BMP) .
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 03 / May / 2012, 04:37:11
In our "gui.c" we intercept the GUI_IDLEHandler routine, to detect when the main dialog has been updated (event GUI_START_OLC_MODE), and change some of the info displayed (like the spot metering icon, for example). I have played very little with that code, but looks like a nice starting point to look for events to block.
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 03 / May / 2012, 08:00:23
I have played a bit with IDLEHandler events, but wasn't able to handle them without causing stability problems.

I'm even thinking to move all menu button handlers into gui_main_task (instead of dialog API).
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / May / 2012, 09:56:27
Great job, 0xAF! I guess you can draw anything on the screen now. New dialogs, help windows... Do you know if default GUI updates screen so often or there is no problem with it?

Basically this means, we can now draw whatever we want, just like in ML, and the basic idea was to use a ML style of menus/dialogs, as the canon's (which we use now) are not good enough for our needs.

In the video you can see the normal start of the camera and after few seconds i paint the whole VRAM in yellow, then "Hello World!" is written. As you can see a part of the screen is being redrawn by gui task, thought it's not everytime and not so often, but in this video it's visible.
Then i do nothing, i wait for a regular event which redraws the screen, so you can see how much time it takes before a regular redraw happens... of course if you press a button or force some screen change, the redraw will happen sooner.

I already knew that ML has a way to block redraws, and i was thinking to block the GUI task (atleas the redraw event).
As Alex explained, we will probably look for the ML's way of blocking the redraws.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / May / 2012, 10:01:09
In our "gui.c" we intercept the GUI_IDLEHandler routine, to detect when the main dialog has been updated (event GUI_START_OLC_MODE), and change some of the info displayed (like the spot metering icon, for example). I have played very little with that code, but looks like a nice starting point to look for events to block.

Yes, I was thinking the same ... gui task is a good candidate.
Probably we should do the handlers in one task too (if it's possible), this would be more clean to maintain i guess...

I have played a bit with IDLEHandler events, but wasn't able to handle them without causing stability problems.
I'm even thinking to move all menu button handlers into gui_main_task (instead of dialog API).
Alex, have you investigated if you can catch everything you need in the GUI task?
I was thinking for the MainCtrl task, but i'm not sure we can catch every button press there...

Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 03 / May / 2012, 10:08:47
There are some buttons which can't be seen from gui_main_task (like scrollwheels in main photo mode). But at least what works, works well.

MainCtrl task looks pretty low level, and doesn't seem to handle more buttons.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Mirfak on 04 / May / 2012, 15:11:07
Currently I use the JUMP button in shooting mode for AEB. Is there a reason why we can't have finer steps for each button press, like we can when setting AEB through the camera menu (e.g. +/-1/3 EV)?

Flash AEB would be another useful option for the buttons. I have a few presets that I use with flash (if necessary).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 04 / May / 2012, 15:49:01
  Speaking of buttons, I found two buttons: jump in *(int*)(0xC0220134)  and trash in *(int*)(0xC0220130). When button is pressed value of an address will be 0x20 and  0x21 when button isn't pressed. Good for exiting a loop in a script.
Or can be used to prevent loading of autoexec.bin at startup.
  if(*(int*)(0xC0220130)==0x20)InitializeIntercom(); //if trash button pressed at startup load default IntercomHandler.
  else  my_InitializeIntercom();


Probably best place is in my_romStart:
Code: [Select]
void my_romStart(int startType)
{
  unknown_cache(&cache_0xFFB602F0, &addr_0x1900, 0xC6B0>>2);
  if(*(int*)(0xC0220130)!=0x20)my_usrInit(startType); // if trash botton is not pressed.
  else usrInit(startType);
}
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / May / 2012, 16:11:35
Currently I use the JUMP button in shooting mode for AEB. Is there a reason why we can't have finer steps for each button press, like we can when setting AEB through the camera menu (e.g. +/-1/3 EV)?

Flash AEB would be another useful option for the buttons. I have a few presets that I use with flash (if necessary).

I do not see any reason why these two features could not be implemented.
Please, open a couple of "feature requests" here (http://code.google.com/p/400plus/issues/entry), and we'll have a look at them later; thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / May / 2012, 16:12:42
  Speaking of buttons, I found two buttons: jump in *(int*)(0xC0220134)  and trash in *(int*)(0xC0220130). When button is pressed value of an address will be 0x20 and  0x21 when button isn't pressed. Good for exiting a loop in a script.
Or can be used to prevent loading of autoexec.bin at startup.
  if(*(int*)(0xC0220130)==0x20)InitializeIntercom(); //if trash button pressed at startup load default IntercomHandler.
  else  my_InitializeIntercom();


Probably best place is in my_romStart:
Code: [Select]
void my_romStart(int startType)
{
  unknown_cache(&cache_0xFFB602F0, &addr_0x1900, 0xC6B0>>2);
  if(*(int*)(0xC0220130)!=0x20)my_usrInit(startType); // if trash botton is not pressed.
  else usrInit(startType);
}

Another great finding, Sergei! And many thanks for sharing!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / May / 2012, 16:33:05
  Speaking of buttons, I found two buttons: jump in *(int*)(0xC0220134)  and trash in *(int*)(0xC0220130). When button is pressed value of an address will be 0x20 and  0x21 when button isn't pressed. Good for exiting a loop in a script.
Or can be used to prevent loading of autoexec.bin at startup.
  if(*(int*)(0xC0220130)==0x20)InitializeIntercom(); //if trash button pressed at startup load default IntercomHandler.
  else  my_InitializeIntercom();


Probably best place is in my_romStart:
Code: [Select]
void my_romStart(int startType)
{
  unknown_cache(&cache_0xFFB602F0, &addr_0x1900, 0xC6B0>>2);
  if(*(int*)(0xC0220130)!=0x20)my_usrInit(startType); // if trash botton is not pressed.
  else usrInit(startType);
}


GREAT,
i was looking for mem address of any button fo so long time.
since i've ported the bmp stuff now, i was going to make the memspy work with realtime displaying, so i can find btn addresses.
it seems you already found a way to catch them, thanks for sharing ;)

preventing the loading of the hack is why i wanted it...

EDIT:
http://code.google.com/p/400plus/source/detail?r=1344 (http://code.google.com/p/400plus/source/detail?r=1344)
Thanks Sergei !

EDIT2:
Sergei, just saw the canon's service manual and it seems only these 2 buttons are connected to the digic processor, so i guess you wont find the other button addresses unless they are mmap'ed from the MPU (which i doubt). Just to let you know, if you're trying to find the other buttons.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 04 / May / 2012, 20:45:30
Thanks 0xAF. Yes I did try to find more buttons with no luck. It explains why.
Title: Re: Eos 400d ( Rebel XTI )
Post by: koswix on 07 / May / 2012, 14:00:52
Hi,

First of all thanks for the brilliant work on the firmware, my 400D is now even more fun.

Secondly, I have looked through this entire thread and can't see the answer, so apologies if I've missed it somewhere.

I've been playing with the intervalometer for the passed week or so, and today I decided to do something a bit longer-term with it: namely filming a flower decomposing over 2-3 weeks. Ideally I'd like to take 1 shot every hour, so that at 24FPS the video will be a second a day.  But lo', the intervalometer only goes up to 5 minutes!

Is this for a technical reason, or just because? And is it possible to change this? I notice that the display is in the format mm:ss so I'd just assumed I could go up to 99:59 as the maximum.

Thanks.

P.S. If anyone is interested in the time lapse videos I've done so far they can be found on my youtube page, http://www.youtube.com/user/koswix?feature=mhee (http://www.youtube.com/user/koswix?feature=mhee)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / May / 2012, 15:55:17
No, there is no other technical reason that we had to set a limit, and five minutes seemed long enough. While raising the limit is quite easy, the behavior of the menu will probably have to be modified first: changing the value up to one hour, second by second, can be very boring for the user. Please, open a "feature request" here (http://code.google.com/p/400plus/issues/entry), so it gets registered.

Then, there is the issue of powering the camera for that period of time, but that is clearly outside the scope of this project.
Title: Re: Eos 400d ( Rebel XTI )
Post by: koswix on 08 / May / 2012, 06:33:23
Hi,
Thanks for the response. I did have a quick look at the source code to see if I could change the limit, but then I remembered I haven't done C++ for over ten years, and I wasn't very good at it then!

I'll put a feature request in - a friend who has a plug-in timer manages to get over 24 hours out of a battery doing one shot an hour, so battery life isn't that much of a problem. I've got a DC adapter on order anyway, though.

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 08 / May / 2012, 07:25:09
Canon's adapter is way too expensive. Unless you find a second hand one or a china one, OR:
I've made 2 adapters for car (12V) and for wall-socket (220V).
I've used one dead battery as a plug to the camera.
Total cost - not more than 4-5 EUR.

power supply for EOS 400d (http://www.flickr.com/photos/0xaf/5666519880/#)
Battery disassembled, 3 wires soldered to the connector pads (though 2 were needed, the central one is not connected)
The battery modules and the PCB are removed from the body.

power supply for EOS 400d (http://www.flickr.com/photos/0xaf/5665951515/#)
One capacitor connected, just in case (though it's not needed)

power supply for EOS 400d (http://www.flickr.com/photos/0xaf/5665951999/#)
The battery body with a cable and plug,
The car adapter and the wall-socket adapter, which can be plugged to the battery body.

Important note: The both adapters are 7.2V-7.4V and 1.5A  (atleast). The power-up of the camera is hungry.
One of my colleges made the changes to the adapters (some resistor), so they are 7.2V.

Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 08 / May / 2012, 08:50:25
Canon's adapter is way too expensive. Unless you find a second hand one or a china one, OR:
I've made 2 adapters for car (12V) and for wall-socket (220V).
I've used one dead battery as a plug to the camera.
Total cost - not more than 4-5 EUR.

power supply for EOS 400d (http://www.flickr.com/photos/0xaf/5666519880/#)
Battery disassembled, 3 wires soldered to the connector pads (though 2 were needed, the central one is not connected)
The battery modules and the PCB are removed from the body.

power supply for EOS 400d (http://www.flickr.com/photos/0xaf/5665951515/#)
One capacitor connected, just in case (though it's not needed)

power supply for EOS 400d (http://www.flickr.com/photos/0xaf/5665951999/#)
The battery body with a cable and plug,
The car adapter and the wall-socket adapter, which can be plugged to the battery body.

Important note: The both adapters are 7.2V-7.4V and 1.5A  (atleast). The power-up of the camera is hungry.
One of my colleges made the changes to the adapters (some resistor), so they are 7.2V.



What a cool idea.  Never thought about doing such a hack with a used dead battery.  Thanks for sharing... I must try this. :-)
Title: Re: Eos 400d ( Rebel XTI )
Post by: bosznai.istvan on 17 / May / 2012, 06:49:18
Hi!

I have a problem, the 400plus menu enters automatically to the Parameters menu, if I click the Av button, it exists, but only for a brief time, than it enter it again. If I go to a sub-menu item in the Parameters menu, like AutoISO it behaves normally.
I'm using the latest stable release, 400plus-20120415-7
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / May / 2012, 06:57:25
Hi!

I have a problem, the 400plus menu enters automatically to the Parameters menu, if I click the Av button, it exists, but only for a brief time, than it enter it again. If I go to a sub-menu item in the Parameters menu, like AutoISO it behaves normally.
I'm using the latest stable release, 400plus-20120415-7
I made a video of this behavior, it is a low quality video, sorry for that.
[...]

From the User Guide (http://code.google.com/p/400plus/wiki/UserGuide):

"
400plus features a multi-page menu, where each page is dedicated to a certain task. To navigate the pages, use the front wheel or the ZOOM IN / ZOOM OUT buttons (notice the << and >> at the header). There is also a method to quickly access any page: press and hold the AV button down, then a list of all available pages will appear; now then use the front dial to select a page, and release the AV button to jump into it.
"

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: sizzlincok on 20 / May / 2012, 05:04:39
Hello, everyone.
Just want to share my latest code:
http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip (http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip)
Additional functionalities, which this AUTOEXEC.BIN provide, are listed in Readme.txt file.
Mainly new things are: "preset white balance"  -  camera can save up to 5 custom wb measurements, and EAEB script now can be started with shutter release button.

Please note this bin doesn't have all the features of 400plus firmware.

I have a small minor suggestion.

Would you be able to code it to be possible to change the ISO via DP button when the eye is in the viewfinder, or when the screen is off?

I still use one of the old releases of the 400plus before the design, and I'm able to press the DP button to change the ISO when I'm looking through the VF.
I find it to be very convenient for a quick ISO jump, rather than spend the time to look or turn on the screen just to change the ISO.

I want to keep using your version of this, but I miss the ability to change ISO while the camera is up to my eye.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 20 / May / 2012, 07:09:10
sizzlincok, i need more info. Right now you can change ISO with right and left buttons when you look through viewfinder. DP button was used for jumping through intermediate ISOs. Do you want to use DP button for intermediate ISO when screen is off or you talking about be able to see ISO in viewfinder?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / May / 2012, 16:13:45
Here is new AUTOEXEC with ISO in Viewfinder.
http://lh.rs/UDLk5xjEXMLo (http://lh.rs/UDLk5xjEXMLo)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 24 / May / 2012, 18:36:05
Another variant of AUTOEXEC with ISO in Viewfinder:
http://lh.rs/kiDQ5Catx5bl (http://lh.rs/kiDQ5Catx5bl)
This time it uses burst counter to display ISO.
1 is 100
2 is 200
4 is 400
8 is 800
6 is 1600
3 is 3200

And it works in P, Tv, Av, M and A-DEP modes.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / May / 2012, 10:51:13
Another variant of AUTOEXEC with ISO in Viewfinder:
http://lh.rs/kiDQ5Catx5bl (http://lh.rs/kiDQ5Catx5bl)
This time it uses burst counter to display ISO.
1 is 100
2 is 200
4 is 400
8 is 800
6 is 1600
3 is 3200

And it works in P, Tv, Av, M and A-DEP modes.


Very good :)
Excellent solution :) and it works in Av :)
Thanks for sharing :)

p.s.
how you control the burst counter ? is it a ram address ? (and which if it is)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 25 / May / 2012, 11:39:34
SendToIntercom(0x6D, 1, burst_int);
I think the only way to access viewfinder lcd is through MPU. SendToIntercom is only function I could find which talks to MPU. Would be nice to find a ram address  which corresponds to viewfinder lcd.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / May / 2012, 11:46:37
SendToIntercom(0x6D, 1, burst_int);
I think the only way to access viewfinder lcd is through MPU. SendToIntercom is only function I could find which talks to MPU. Would be nice to find a ram address  which corresponds to viewfinder lcd.

I believe there will be NO ram address for this...
that's why i asked for it ...
and you are right about the MPU...
Alex found something about the communication, it seems to be done via ISRs (interrupt service routine) SIO3 and MREQ...
though there is some protocol which needs to be reversed, if we catch this ISRs it could be possible to proxy them and change some stuff in the communication, or even talk to MPU with our code ... but it seems there is a lot of work to be done there ....

In that matter of speaking, i think that tracing the SendToIntercom will NOT lead to anything useful for controlling the MPU in low level, though it could lead to some more commands which can be used.


p.s.
perhaps Alex could explain better what he found :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 25 / May / 2012, 11:56:20
Here: http://magiclantern.wikia.com/wiki/SIO3_MREQ (http://magiclantern.wikia.com/wiki/SIO3_MREQ)

In digic4, viewfinder seems to be related to something named NotifyOlcInfoChanged. Didn't investigate this.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 25 / May / 2012, 12:03:24
Here: http://magiclantern.wikia.com/wiki/SIO3_MREQ (http://magiclantern.wikia.com/wiki/SIO3_MREQ)

In digic4, viewfinder seems to be related to something named NotifyOlcInfoChanged. Didn't investigate this.
I though the OLC stuff are related to the display on the back of the camera, not to the VF, but they both seems to be somehow related to each other ... I may be worth to investigate more on the OLC, thanks Alex :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 25 / May / 2012, 19:59:11
Alex found something about the communication, it seems to be done via ISRs (interrupt service routine) SIO3 and MREQ...
though there is some protocol which needs to be reversed, if we catch this ISRs it could be possible to proxy them and change some stuff in the communication, or even talk to MPU with our code ... but it seems there is a lot of work to be done there ....
Here: http://magiclantern.wikia.com/wiki/SIO3_MREQ (http://magiclantern.wikia.com/wiki/SIO3_MREQ)
That is interesting. I need to check it. Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 26 / May / 2012, 03:39:46
Hello, everyone.
Just want to share my latest code:
http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip (http://www.filefactory.com/file/1wdg7fpyeg8z/n/400d_firmware_hack_2012-04-05_zip)
Additional functionalities, which this AUTOEXEC.BIN provide, are listed in Readme.txt file.
Mainly new things are: "preset white balance"  -  camera can save up to 5 custom wb measurements, and EAEB script now can be started with shutter release button.

Please note this bin doesn't have all the features of 400plus firmware.



Is the ability to trigger EAEB using the shutter release something that can be added to the full 400plus firmware? If i try to shoot handheld HDR it is difficult to keep camera stable using the buttons on the back...

Great work guys by the way!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Wlad69 on 28 / May / 2012, 17:29:21
Hello,

In 400Plus, I do not recall the default parameter of the Color Temp. (K) and I do not know how to restore this value. :(

Thank you for your help.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / May / 2012, 02:15:58
Is the ability to trigger EAEB using the shutter release something that can be added to the full 400plus firmware? If i try to shoot handheld HDR it is difficult to keep camera stable using the buttons on the back...

Great work guys by the way!

Yes, triggering the scripts from the shutter button is interesting; I'll try to see how Sergei's code fits into 400plus.

In the meantime, you could assign the JUMP or TRASH buttons to repeat the last script: not the real thing, but easier than fiddling with the menus each time.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / May / 2012, 02:18:22
Hello,

In 400Plus, I do not recall the default parameter of the Color Temp. (K) and I do not know how to restore this value. :(

Thank you for your help.

There is no original value to restore: just set the color temperature you need in each situation, or use one of the predefined white balances (sunny, cloudy, ...).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 06 / June / 2012, 09:25:33
Well, back again with little time (still more than before). Updated german translation of Wiki.
If there are any germans here: please review it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 07 / June / 2012, 03:27:40
Well, besides translating i'm planning to improve my C skills before they get lost :).
And what would be better than doing it here.
But before browsing and reading tons of src:

is there anything equal to a documentation of memory adresses or even a documentation where i should expect to find which fuction?
if not: what would you say: where's the best place to start getting into the code?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / June / 2012, 03:42:55
There is "funclist.S", where we have a map with names and addresses of functions provided by the firmware; but probably not all functions are listed there, and for most functions we only know the name and address, not the parameters or what it does. The known functions are somehow documented at "firmware.h".

If you are interested to know how we start the camera and place our hooks, have a look at "entry.S", "init.c", and "gui.c". But the "core" of the hack is mostly at "main.c"; that's a good starting point to know how the hack works once the camera is up and running, and pretty much all the rest of the code is launched from there.

Hope this helps!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Speedy on 07 / June / 2012, 04:16:34
Great, i'll have a look into it :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: rhg on 07 / June / 2012, 05:25:43
I have downloaded the latest patch and cannot set the max iso value beyond 1600 in the autiso settings anymore in AV mode. Switched back to the old patch (20110909) and it does not work either anymore. Any ideas (yes I have researched the 109 pages of this thread, but could not find anything).

Thanks,
Roland.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / June / 2012, 06:16:58
I have downloaded the latest patch and cannot set the max iso value beyond 1600 in the autiso settings anymore in AV mode. Switched back to the old patch (20110909) and it does not work either anymore. Any ideas (yes I have researched the 109 pages of this thread, but could not find anything).

Thanks,
Roland.

"Max ISO" in AutoISO settings has always had a limit of 1600, if I recall correctly.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / June / 2012, 07:21:29
is there anything equal to a documentation of memory adresses or even a documentation where i should expect to find which fuction?
if not: what would you say: where's the best place to start getting into the code?

Edu gave you pointers to start with, once you learn how the hack is working (basics at least), you will know where to put your skills...
I would suggest investigating the main.c and leave the gui.c for later, since it is not yet fully reversed from ASM and the most things are done in the intercom_proxy (main.c) as for now. BTW scripts.c may be of interest too.

As for the documentation, take a look at the Magic Lantern documentations, they have good set of hardware (e.g. memory regions, different hardware controls) and API (e.g. structures, functions) related information.
Though ML is for DryOS cameras, most of the information is identical with our VxWorks camera.
Title: ISO in Viewfinder - I Need Help
Post by: DjD on 30 / June / 2012, 01:01:02
Hi,
I really need help and I haven't found another place to post this question. I've  downloaded and installed 400plus-20120415-11.bin.zip and as far as I can tell everything works great except for being able to change ISO via the Left/Right buttons and seeing ISO in the viewfinder.

So I figure there must be something I'm missing. Are there any other setting that need to be a certain way to enable this function. The manual doesn't say anything other than

When I follow this above instructions nothing happens. What am I doing wrong?

Thanks,
DJD
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / July / 2012, 02:32:00
This issue was also posted as a comment in the UserGuide page; as DJD found the cause himself, but put the answer only there, I'm copying his comment here:

"[...]But the good news is I finally figured out the problem. I had Custom Function 01 "SET button/Cross keys funct." set to "4:Cross keys:AF frame Selec." Once I changed that function back to the default "0:SET:Picture Style" I could finally set the ISO with those buttons and see ISO in the Viewfinder. There should probably be a note in the manual about this requirement. It would have helped me. Cheers, DJD"

I added a comment in the UserGuide yesterday; hope that helps to others that face the same problems.
Thanks DJD!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 07 / July / 2012, 09:27:21
Greetings and thanks to you for all your hard work.

I really like how you renamed our Touchless Trigger.

Here is another Idea I hope somebody else might like and find useful in a positive way.

A stealth mode where pictures taken in this mode are auto erased if card door is opened without unlocking it with code first.
Perhaps playback could be stopped on the pictures taken in this mode by adding an error to the pic file that can be removed later?

Party on!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 07 / July / 2012, 09:52:12
I just read back some and saw the interesting shutter release trigger for scripts. I wonder if using a double click on the half shutter button, so you can have your script ready with other shots possible until script is needed, would be useful?
Please forgive me if its all ready that way or is otherwise uncompatible as i havent been able to check it out yet.

Keep up the great work!

ciao
Title: Re: Eos 400d ( Rebel XTI )
Post by: Akusai on 16 / July / 2012, 11:36:39
Hi everyone and a big Thanks to to the great work you've done with the 400plus!

I have a question if anyone got an idea what I am doing wrong. I've tried searching the forum and google - but without success (perhaps I was just using the wrong keywords).
I'm trying to use the intervalometer -> which in itself works fine. But one or two weeks ago I wanted the camera to work through the night, making a picuture every 30 seconds from the nightsky.
To save battery power I wanted the display disabled, so I switched it off and then choose Settings > Config-Scripts > LCD Display > off. After that I started the Intervalometer.
To my surprise it took only one picture and then stopped. Only after switching the display on (either by pressing "Display" or "Playback") or pressing the shutter button the camera took another picture.
I tried a little bit to play around - but without success - I couldn't convince the 400D to take more than one picture without doing anything else.
Yesterday I had a little bit more time and downloaded the latest nightly build (20120713-r1408). I deleted the settings file and the presets file on the CF Card and tried intervalometer again -> worked without a hitch. Until I again used Settings -> Config-Scripts -> LCD Display -> Off.
It seems as soon as the Display is switched off (when switching into the 400plus menu) and the Option "Display - Off" under Scripts is activated, the Intervalometer refuses to take anymore pictures.

Does anyone have an idea if that is expected or what settings I would have to make to keep display off and get the Intervalometer working?
As a sidenote:
"Auto Power off" is "Off" (in the standard Canon menu in the 1st settings tab)
"Config-Scripts -> Disable power-off" is "Yes"

Thanks
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / July / 2012, 09:23:32
That looks like a bug to me. Using those options, 400plus should just turn the display off, but we have recently learned that it can also put the camera in a low power mode than pauses all running tasks. I'll have a look at this later, thanks for reporting it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: David Reyes on 04 / August / 2012, 01:20:09
Hi!!, first...thanks to all of the developers for such a great piece of software!.

I've been using  the 400plus hack since april. I had some issues with the latest release 20120415-12.
Intervalometer is not working with 1 sec intervals. Can't  making less than 3 sec intervals. I had to rolled out to 20120415-7 release, and 1 sec intervals are working again.

Anyone experience the same issue?

Thanks again!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 04 / August / 2012, 12:47:03
Hi!!, first...thanks to all of the developers for such a great piece of software!.

I've been using  the 400plus hack since april. I had some issues with the latest release 20120415-12.
Intervalometer is not working with 1 sec intervals. Can't  making less than 3 sec intervals. I had to rolled out to 20120415-7 release, and 1 sec intervals are working again.

Anyone experience the same issue?

Thanks again!

 We had stability issues with the intervalometer, and had to add some delays between shots; this probably breaks with shorter intervals. I'll have a look at this later, but will probably be hard to fix.
Title: Re: Eos 400d ( Rebel XTI )
Post by: cyberhun on 06 / August / 2012, 14:53:09
Great job on chdk for the eos 400d - I just installed it, nice work guys.

The intervalometer script works perfectly but I can't get the handwaving script to fire the shutter.
In the wiki it says:
"This script will fire the camera when the display-off sensor (at the rear of the camera) is triggered"
Does this mean when you push the 'display off/on' button?
I tried that but nothing happened when I covered and uncovered the lens with my hand.
I can tell the script is running because the blue light flashes and it beeped when started.
Any ideas?
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / August / 2012, 17:16:06
Great job on chdk for the eos 400d - I just installed it, nice work guys.

The intervalometer script works perfectly but I can't get the handwaving script to fire the shutter.
In the wiki it says:
"This script will fire the camera when the display-off sensor (at the rear of the camera) is triggered"
Does this mean when you push the 'display off/on' button?
I tried that but nothing happened when I covered and uncovered the lens with my hand.
I can tell the script is running because the blue light flashes and it beeped when started.
Any ideas?


No, it is neither the DISP button nor the front lens. Have you noticed the camera automatically switches the display off when you try to look through the viewfinder? That is: there is a sensor at the back of the camera (two red/black circles just below the viewfinder), that detects when there is an object (your face, usually) near the camera. To start the handwaving script, you must place your hand behind the camera, and trigger that sensor.

Hope this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: cyberhun on 06 / August / 2012, 17:23:50
That totally helped.
Thank-you.
;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / August / 2012, 17:56:04
Hi!!, first...thanks to all of the developers for such a great piece of software!.

I've been using  the 400plus hack since april. I had some issues with the latest release 20120415-12.
Intervalometer is not working with 1 sec intervals. Can't  making less than 3 sec intervals. I had to rolled out to 20120415-7 release, and 1 sec intervals are working again.

Anyone experience the same issue?

Thanks again!

I just tried to use the intervalometer with 1s intervals, and it is working; what shutter speed where you using?
Title: Re: Eos 400d ( Rebel XTI )
Post by: David Reyes on 07 / August / 2012, 17:11:11
Hi, edu, thanks for your reply!.
Yes, the intervalometer actually works when you set 1 sec intervals, BUT is not a shot every 1 sec, is more like every 2 or 3 seconds...
I was using a shutther speed of 1/80, and also used 1/600 in others circumstances.

Everything works great with 20120415-7 release, so i keep that version for now.

Cheers!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / August / 2012, 03:19:39
Hi, edu, thanks for your reply!.
Yes, the intervalometer actually works when you set 1 sec intervals, BUT is not a shot every 1 sec, is more like every 2 or 3 seconds...
I was using a shutther speed of 1/80, and also used 1/600 in others circumstances.

Everything works great with 20120415-7 release, so i keep that version for now.

Cheers!

The problem with earlier versions is that sometimes 400plus can fire the shutter too fast, and the camera gets locked or displays an "ERR-99" message. I added some delays, and it seems to be more stable now; but this also means that sometimes the intervalometer may not meet the deadline for a shot, and has to skip forward for the next one. A faster CF card may help, but I cannot guarantee anything...

I'll try to change how those delays work, and see if that improves the situation; but I very much prefer a slow but stable camera than a fast one that fails.
Title: Re: Eos 400d ( Rebel XTI )
Post by: David Reyes on 08 / August / 2012, 15:00:26
Ok, i understand the stability problem. I had some problems too with my camera locking and get unresponsive because of the buffer filling quickly, so im using Jpgs instead of Raw, im sacrifying some quality but i can use 1 sec intervals.

Thank edu!!
Title: Re: Eos 400d ( Rebel XTI )
Post by: ELB on 10 / August / 2012, 10:01:52
I'd like to thank all those who have contributed to developing the 400+. She has made some of my shots so much easier or even possible! I have been happily running it for a year now.

I used to think manipulating a film camera was something any user could do because all the functions were basic and manual. Then I picked up a DSLR. The only way to make your camera work now requires some dev-computer knowledge! Can't wait to try the long exposure script with Perseids meteor shower this weekend.

Many thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 11 / August / 2012, 14:09:23
Show us the results later ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: ELB on 17 / August / 2012, 11:54:21
Forecast was for rain until the am. the Storm slowed and rain didn't come until 2am. Cloud cover was almost 100%... Such a shame. I am still optimistic about using her for long exposure. Just means I need to make another trip to the woods.

Cheers.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / August / 2012, 15:23:09
cant remember if we already posted this (i do not see it), but if you have a broken camera we may use it.
if it's 400d please contact us, if it's another camera please see here: http://www.magiclantern.fm/whats-new/78-news/133-defective-cameras (http://www.magiclantern.fm/whats-new/78-news/133-defective-cameras)
Title: Re: Eos 400d ( Rebel XTI )
Post by: aalper on 29 / August / 2012, 03:22:37
hello everyone.. i ve been using this for a while and it's really a great job. i have recomendations. yesterday i tried time lapse and i wish i could select intervalometer in self timer option. i wanted to shoot runrise  if i had an intervalometer option in self timer menu i didnt have to wake up.  and in intervalometer menu shot count restrict to 250 . why is that? i want to shoot thousand maybe? is there a way to resolve this issues?
Title: Re: Eos 400d ( Rebel XTI )
Post by: sterr on 03 / September / 2012, 12:03:08
I use CHDK long time but never use some extended functions, as maximum is AEB script. But some problem in the world of DSLR canon not solved. It is lenses of old film cameras. As SIGMA, Tamron etc. Perfect quality, but protocol of controlling apperture is wrong. Shutting only on full open diaphragm. I know that it's really solve in CHDK, because I see is source lens parameters read. It's will be more effective CHDK update than all do before. Main problem is get old commands for old lenses for change it protocols in CHDK and make compatible with new DSLR Cameras.

And issue that I found in 400d plus - I can't shut with long time. I will set all parameters and move cursor to 'ready' (I dont, know how it in english may be 'apply') but nothing matter. use v13 400d plus. camera XTi.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / November / 2012, 02:13:57
Ok, i understand the stability problem. I had some problems too with my camera locking and get unresponsive because of the buffer filling quickly, so im using Jpgs instead of Raw, im sacrifying some quality but i can use 1 sec intervals.

Thank edu!!

It's been a long time, but I finally got back to this problem. I think I finally managed to fix the cause of the locks when the scripts fires the shutter too quickly; and with the fix, the delays I had to introduce in version 20120415-11 can be removed now. Please, have a look at comment 48 in issue 192 (http://code.google.com/p/400plus/issues/detail?id=192#c48), there is an experimental AUTOEXEC.BIN file there; scripts should be very fast with that version, as fast as the camera goes.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 23 / November / 2012, 16:29:27
I just released version 20120415-15, which hopefully fixes all issues about speed or stability in scripts.
Title: Re: Eos 400d ( Rebel XTI )
Post by: guffster on 18 / December / 2012, 18:40:23
There are some really nice changes coming to 400plus in the most recent and upcoming nightly builds.  If you have not tried a recent 400plus nightly build then you might want to give one a shot (or two or three)...  Many issues have been and are being addressed and resolved!

Thank you to all the developers, testers, bug/issue enhancement reporters, and others who have contributed a lot of time and energy to make these changes and document them all!  Nice job.
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuilrega on 24 / January / 2013, 15:32:00
Hi

I cannot disable the double flashing with 400plus. Is it supposed be possible or not?
I want to synchonize with an external flash, it is too slow to detect the double flash so I have to lift the mirror in advance. Better it would be to get only one flash.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 24 / January / 2013, 15:34:26
Hi

I cannot disable the double flashing with 400plus. Is it supposed be possible or not?
I want to synchonize with an external flash, it is too slow to detect the double flash so I have to lift the mirror in advance. Better it would be to get only one flash.


That's the TTL pre-flash, and you cannot disable it; you need a slave flash prepared to fire on the second shot only.
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuilrega on 24 / January / 2013, 15:50:50
Ok thanks, good to know.
My slave is too slow to detect it. It detects it only if I lift mirror first (with first flash), half a second or so ...  :(
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 25 / January / 2013, 06:18:02
Ok thanks, good to know.
My slave is too slow to detect it. It detects it only if I lift mirror first (with first flash), half a second or so ...  :(

I would guess that your slave does detect both flashes, but when the second one is too close to the first one, it does not have enough time to recharge and simply has to ignore it; prepared slaves do not fire at all during the first flash, and simply wait for the second one.
Title: Re: Eos 400d ( Rebel XTI )
Post by: kuilrega on 25 / January / 2013, 09:16:58
it does not have enough time to recharge
No it doesn't fire at the first flash, nevertheless it detects the second one only when slow enough. Really bad.

... It works with flash on second curtain and 1/25 s
Title: Re: Eos 400d ( Rebel XTI )
Post by: edmundronald on 09 / February / 2013, 23:21:17
Is there any way to get Lua or uBasic user scripting working on the 400D?
Do these work on any dSLR?

Edmund
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / February / 2013, 15:23:54
Is there any way to get Lua or uBasic user scripting working on the 400D?
Do these work on any dSLR?

Edmund

Each DSLR has its own hack: for the 400d we have 400plus, and many other cameras share MagicLantern; right now, there is no support for user scripting in 400plus.
Title: Converting for 1000D? Some work and inital porting from 400D was done
Post by: Gigaah on 11 / March / 2013, 23:33:24
Hi. Myself and other fellow photographers locally and random inquiries I see across posts from CHDK and MagicLantern have a solid interest in getting some sort of alternate firmware and features on our 1000D's.

Some initial work was done by Coutts and Others seems to have been kinda of set in place and left for someone else.
Here are links to the stuff that was finished
https://bitbucket.org/coutts/1000d_dev/commits
https://bitbucket.org/coutts/1000d_dev/src/a7835d17602f?at=default
https://bitbucket.org/coutts/1000d_dev/src/a7835d17602fe2de51fda54d372f48ede290858e/engelmarkus_examples?at=default

It looks like Coutts initially was working towards porting 400plus to the 1000D and infact initially ported a bunch of init functions before reverting back to basic and labeling the work done as "ready to be ported to magic lantern".

I'm seriously not a great programmer. Can anyone give me an idea of how much work needs to be done to get 400plus or ANY mannor of alt firmware with extended functions done?

I'd give it a shot but I don't know where to start and it could very easily be way beyond my expertise.

Any help is appreciated. Its a shame all that work has gone dormant with nobody to work on it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / March / 2013, 04:13:02
Hi. Myself and other fellow photographers locally and random inquiries I see across posts from CHDK and MagicLantern have a solid interest in getting some sort of alternate firmware and features on our 1000D's.

Some initial work was done by Coutts and Others seems to have been kinda of set in place and left for someone else.
Here are links to the stuff that was finished
https://bitbucket.org/coutts/1000d_dev/commits (https://bitbucket.org/coutts/1000d_dev/commits)
https://bitbucket.org/coutts/1000d_dev/src/a7835d17602f?at=default (https://bitbucket.org/coutts/1000d_dev/src/a7835d17602f?at=default)
https://bitbucket.org/coutts/1000d_dev/src/a7835d17602fe2de51fda54d372f48ede290858e/engelmarkus_examples?at=default (https://bitbucket.org/coutts/1000d_dev/src/a7835d17602fe2de51fda54d372f48ede290858e/engelmarkus_examples?at=default)

It looks like Coutts initially was working towards porting 400plus to the 1000D and infact initially ported a bunch of init functions before reverting back to basic and labeling the work done as "ready to be ported to magic lantern".

I'm seriously not a great programmer. Can anyone give me an idea of how much work needs to be done to get 400plus or ANY mannor of alt firmware with extended functions done?

I'd give it a shot but I don't know where to start and it could very easily be way beyond my expertise.

Any help is appreciated. Its a shame all that work has gone dormant with nobody to work on it.

Programming is not the hard part, but reverse-engineering: coding features is relatively easy for anyone with some background in programming, and there is lots of information and resources about it... that is, provided you know how to talk to the camera, and obviously there is no documentation about how to talk to the camera. You need to get a firmware dump, decompile it, start digging around the code to find function calls, guess what they do, ...

There was some relatively recent activity at the ML forum:
http://www.magiclantern.fm/forum/index.php?topic=2054.0 (http://www.magiclantern.fm/forum/index.php?topic=2054.0)

And there is a board dedicated to reverse-engineering:
http://www.magiclantern.fm/forum/index.php?board=6.0 (http://www.magiclantern.fm/forum/index.php?board=6.0)

Hope this helps...
Title: New BETA releases announcement
Post by: eduperez on 24 / March / 2013, 17:13:29
It's been almost a year since the last major release was announced, and we think it is time for a new one. We have a long list of new features and enhancements ready, and probably a long list of new bugs, too... this time, I'd like to open a period of "BETA releases" before the next major release.

There is still some polishing needed, but these beta releases are feature complete, and completely usable, in my humble opinion; besides, I am convinced we need more testers before announcing a new release.

As always, this is the result of the collective work of lots of people who contributed with code, ideas, bug reports, documentation... Many thanks to everybody!

Beta releases can be downloaded from here:
* http://code.google.com/p/400plus/downloads/list?q=label%3ABeta (http://code.google.com/p/400plus/downloads/list?q=label%3ABeta)

There is an updated user guide at:
* http://code.google.com/p/400plus/wiki/UserGuidePreview (http://code.google.com/p/400plus/wiki/UserGuidePreview)

And this is the list of new features and enhancements:

* General enhancements:
 - Faster initialization.
 - Added a method to disable 400plus during boot-up.
 - Added some info to the main display.
 - Relax Av limits when a manual lens is attached to the camera.
 - New menu entry to restore settings to its default values.

* "Presets" have been renamed to "custom modes":
 - All "scene modes" can now be configured into a "custom mode".
 - Up to sixteen "custom modes" can be saved.
 - The A-DEP mode is no longer special.

* Scripts:
 - New "bulb ramping" script.
 - New "exposure bracketing" script.
 - Improved the long-exposure script and calculator.
 - When available, use lens' focal length for the DOF calculator.
 - Scripts now honor camera's MLU and self-timer options honored.
 - Added an option to switch the review off during a script.

* Misc functions:
 - Multi-spot metering.
 - Quick exposure for M mode.
 - Named custom temperatures.
 - Use the burst count to display ISO in the viewfinder while in P and Av modes.

* AutoISO:
 - New AutoISO algorithm for Tv mode: "Av max" is now relative to max aperture supported by the lens.
 - New AutoISO algorithm for M mode: use only real ISOs, and respect min / max limits.
 - Configurable sensitivity for AutoISO in M mode.
 - Added an option to make AEB persistent.
 - Added an option to revert D-Pad to its original function.
 - Configurable intermediate ISO step.

* Usability enhancements to menus:
 - Added an option to disable warp menus.
 - Added an option to make main menu navigable.
 - Added an option to enter directly to the main menu.
 - Enter menu to last active page after a powercycle
 - Use ZOOM IN / OUT as PAGE UP / DOWN buttons.

* Shortcut buttons:
 - Enhanced quick-AEB action.
 - New action: toggle flash.


Edu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 25 / March / 2013, 06:44:46
I honestly thought that the work on this project had stopped. TBH, I am more than happy with what you guys have already built but I am blown away to see you adding even more functionality! Thanks for the hard work - it really is appreciated.

Personally, I am looking forward to trying these out...

'- All "scene modes" can now be configured into a "custom mode".'
'- Up to sixteen "custom modes" can be saved.'
'- New "bulb ramping" script.'
'- New "exposure bracketing" script.'
'- Named custom temperatures.'

Needless to say, I will be updating when I get home from work tonight - I appreciate this is a beta so will make sure I feedback any issues. Thanks again to all involved!
Title: Re: Eos 400d ( Rebel XTI )
Post by: teemo on 25 / March / 2013, 07:53:00
I was impatient and compiled a week ago from the nightly source.
I can only say: This is 400Plus reborn. It is like getting a new camera.

Many many thanks to Edu and everyone helping. They (he) have been busy for a long time, cleaning, updating and adding features to the code.

My favourite: With one simple turn on the dial you can change all settings. No more messing with menus when changing settings.
Second favorite: Change AEB up to six steps without entering the menu system - just push a button a few times.

Awesome!
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:21:53
There has been a very interesting conversation between Serguei and 0xAF about the VRAM and other subjects; it started as private messages, but we agree that it is too interesting and must be shared, so I am going to dump it here in separate messages.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:22:17
  Hi eduperez, 0xAF !
I have being working on VRAM last couple of weeks. I was trying to stop flicker, but don't have any luck to find a function which writes into the vram. Maybe you have any idea?
Here my code, look in display.c  VramModTask().https://lh.rs/ycJ2bZHHEwRy (https://lh.rs/ycJ2bZHHEwRy)

 Thanks for your help.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:22:33
  Hi eduperez, 0xAF !
I have being working on VRAM last couple of weeks. I was trying to stop flicker, but don't have any luck to find a function which writes into the vram. Maybe you have any idea?
Here my code, look in display.c  VramModTask().https://lh.rs/ycJ2bZHHEwRy (https://lh.rs/ycJ2bZHHEwRy)

 Thanks for your help.

Hi Sergei! Glad to know about you again!

After 0xAF ported all the code to write to VRAM, we also began to work with the display. We've managed to make it almost flicker-free: it only flicks when the exposure needle flashes (because there is over/under exposure); but, when that happens, we lose the overlay completely until the user half-presses the shutter button again. Really annoying.

All I know is already committed into our repository: what we are doing now is to refresh the overlay when we detect certain events (GUI_START_OLC_MOD in GUI_IDLEHandler and IC_MEASURING[0x80] or IC_MEASUREMENT[0x81] in the intercom proxy), and then refreshing it again after a small delay.

I have the impression (and please, take this with a grain of salt) that there is some "idle state" related to the display, and when it enters into that state, then it does not refresh, no matter what we do.

I'll have a look to your code right now, this is one of my current priorities; let's try to find a solution together!

Many thanks!
Edu.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:22:56
  Hi eduperez, 0xAF !
I have being working on VRAM last couple of weeks. I was trying to stop flicker, but don't have any luck to find a function which writes into the vram. Maybe you have any idea?
Here my code, look in display.c  VramModTask().https://lh.rs/ycJ2bZHHEwRy (https://lh.rs/ycJ2bZHHEwRy)

 Thanks for your help.

Hi Sergei! Glad to know about you again!

After 0xAF ported all the code to write to VRAM, we also began to work with the display. We've managed to make it almost flicker-free: it only flicks when the exposure needle flashes (because there is over/under exposure); but, when that happens, we lose the overlay completely until the user half-presses the shutter button again. Really annoying.

All I know is already committed into our repository: what we are doing now is to refresh the overlay when we detect certain events (GUI_START_OLC_MOD in GUI_IDLEHandler and IC_MEASURING[0x80] or IC_MEASUREMENT[0x81] in the intercom proxy), and then refreshing it again after a small delay.

I have the impression (and please, take this with a grain of salt) that there is some "idle state" related to the display, and when it enters into that state, then it does not refresh, no matter what we do.

I'll have a look to your code right now, this is one of my current priorities; let's try to find a solution together!

Many thanks!
Edu.


Hi Guys,
I've been away from the camera hacking for long now, though i remember many things and eventually will try to implement some of the ideas I still have.

What I know from Alex about the display refreshes is that they (ML) found a way to block them.
There are some events that will force display to refresh, Edu, you're right, the display can stay in idle state until some events (messages) are received.

We have our code wrapped around the Intercom task mostly, hence our intercom proxy.
It seems our camera is the only one (may be there are few more cameras, namely 30d, 450d and 1000d i think) that have intercom. All other cameras are using the so called properties system, which i'm not so familiar with.
The properties are basically what we have in DPR Data (Digital PRoperties Data). But somehow they can be used to traverse messages and commands. So it's not so different after all.

The ML guys have worked their way around the GUI Task (not the intercom task, like we are), so Alex told me that in GUI task they can block some events (namely, DISPLAY_REFRESH).

So my idea was to reverse the GUI task (somewhere it is called: GUI Idle) and then we can block the original display refresh if we need to. That's what I know about it.
If somehow in our intercom task we can see these events we can block them there I guess.

Unfortunately so far (the last 2 years) I have very little time to work on hobby projects :( which is very sad, since I'm missing the camera hacking so much.
If I can help somewhere, please do not hesitate to ask. I will gladly help (at least with knowledge I have).

Be cool.

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:23:15
All I know is already committed into our repository: what we are doing now is to refresh the overlay when we detect certain events (GUI_START_OLC_MOD in GUI_IDLEHandler and IC_MEASURING[0x80] or IC_MEASUREMENT[0x81] in the intercom proxy), and then refreshing it again after a small delay.
I did it little different way. I start a new task right before "START_OLC_MODE" which writes overlay to vram plus sets one pixel at a corner of the screen. Then it checks for set pixel to be the same, if not it rewrites overlay again.
Still flickers time to time. That's why i want to find what writes into vram address and see if it is anyway to control it.
I tried to stop blink timer in OLC by setting hBlinkTimer (*(int*)0x47F4) to 0. It makes OLC stop flashing Tv or Av values on the screen but something else still rewrites overlay.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:23:31
Looks like I successfully locked vram. OLC can't change anything on screen after lock, but direct write to vram still works . 

DEF(TakeVramSemaphore, 0xFF92E41C)  //
DEF(GiveSemaphore__, 0xFF92E468)      // goes in funclist.txt

#define VramInstance_address *(int*)0x5190

TakeVramSemaphore(VramInstance_address);  // takes vram semaphore so other tasks have to wait for it to free before thay can write to vram
SleepTask(2000);
bmp_printf(50, 134, "test", COLOR_BLACK, COLOR_GRAY); //writes directly to vram
SleepTask(7000);
GiveSemaphore__(VramInstance_address);  //releases the semaphore


Not exactly what I needed but it can be used for custom windows on OLC screen or maybe to hide menu screen when firmware goes into 400plus menu. 
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:23:47
  Well, firmware waits for semaphore to free before it starts menu, so I guess it's no way to hide the menu screen.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:24:08
Looks like I successfully locked vram. OLC can't change anything on screen after lock, but direct write to vram still works . 

DEF(TakeVramSemaphore, 0xFF92E41C)  //
DEF(GiveSemaphore__, 0xFF92E468)      // goes in funclist.txt

#define VramInstance_address *(int*)0x5190

TakeVramSemaphore(VramInstance_address);  // takes vram semaphore so other tasks have to wait for it to free before thay can write to vram
SleepTask(2000);
bmp_printf(50, 134, "test", COLOR_BLACK, COLOR_GRAY); //writes directly to vram
SleepTask(7000);
GiveSemaphore__(VramInstance_address);  //releases the semaphore


Not exactly what I needed but it can be used for custom windows on OLC screen or maybe to hide menu screen when firmware goes into 400plus menu. 

Very interesting, thanks for sharing.

I guess this could be used to make our own menus, writing directly to VRAM, no? And I should probably update our overlay code, and use that semaphore.

But, do you think this could be used to avoid flickering? Actually, we do not want to lock the OLC, we just want to know when somebody else writes to the display; perhaps we could "watch" that semaphore, or get informed each time it is released, so we can update our overlay afterwards. Just some thoughts...
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:24:27
Looks like I successfully locked vram. OLC can't change anything on screen after lock, but direct write to vram still works . 

DEF(TakeVramSemaphore, 0xFF92E41C)  //
DEF(GiveSemaphore__, 0xFF92E468)      // goes in funclist.txt

#define VramInstance_address *(int*)0x5190

TakeVramSemaphore(VramInstance_address);  // takes vram semaphore so other tasks have to wait for it to free before thay can write to vram
SleepTask(2000);
bmp_printf(50, 134, "test", COLOR_BLACK, COLOR_GRAY); //writes directly to vram
SleepTask(7000);
GiveSemaphore__(VramInstance_address);  //releases the semaphore


Not exactly what I needed but it can be used for custom windows on OLC screen or maybe to hide menu screen when firmware goes into 400plus menu. 

Very interesting, thanks for sharing.

I guess this could be used to make our own menus, writing directly to VRAM, no? And I should probably update our overlay code, and use that semaphore.

But, do you think this could be used to avoid flickering? Actually, we do not want to lock the OLC, we just want to know when somebody else writes to the display; perhaps we could "watch" that semaphore, or get informed each time it is released, so we can update our overlay afterwards. Just some thoughts...

If "everybody else" who writes to the main display uses this same semaphore (looks like they should, that is what semaphores are for, no?), and we could somehow intercept all calls to TakeVramSemaphore, then we would know when to refresh our overlay. Could the "cache hack" be used here?
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:24:43
  Yes, you're right, it will not help to stop flickering. I'm not familiar with semaphores but it looks like it is just a flag and some info, so you will have to check it all the time to know if something is using it. Would be nice to find a way to execute a function on semaphore access without checking it all the time.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:25:05
Hi guys,
This reply is going to be a long one, sorry for that.
It seems the forum didn't sent any mail notifications to me and I'm way behind this conversation.
So here we go...


Looks like I successfully locked vram. OLC can't change anything on screen after lock, but direct write to vram still works . 

DEF(TakeVramSemaphore, 0xFF92E41C)  //
DEF(GiveSemaphore__, 0xFF92E468)      // goes in funclist.txt

#define VramInstance_address *(int*)0x5190

TakeVramSemaphore(VramInstance_address);  // takes vram semaphore so other tasks have to wait for it to free before thay can write to vram
SleepTask(2000);
bmp_printf(50, 134, "test", COLOR_BLACK, COLOR_GRAY); //writes directly to vram
SleepTask(7000);
GiveSemaphore__(VramInstance_address);  //releases the semaphore


Not exactly what I needed but it can be used for custom windows on OLC screen or maybe to hide menu screen when firmware goes into 400plus menu. 

This is very good finding, I think this can be useful in many cases, though may be not what exactly we dreamed of ;).
Thanks for sharing it.


  Well, firmware waits for semaphore to free before it starts menu, so I guess it's no way to hide the menu screen.
I've expected that, by locking this semaphore, we are blocking some tasks (the one that want to Take it).
I think this can turn out to be dangerous (ErrXX or something) if we block for too long.
But on a second thought these ErrXX stuff only shows when the MPU cant do something or return error to main CPU.
I guess the main firmware is not locking up with ErrXX on it's own, it does only when MPU is in trouble. This is just a guess.


Very interesting, thanks for sharing.

I guess this could be used to make our own menus, writing directly to VRAM, no? And I should probably update our overlay code, and use that semaphore.

But, do you think this could be used to avoid flickering? Actually, we do not want to lock the OLC, we just want to know when somebody else writes to the display; perhaps we could "watch" that semaphore, or get informed each time it is released, so we can update our overlay afterwards. Just some thoughts...

Edu, It can be used for some stuff, but not for full display control. If we TAKE the semaphore we will block one or more canon TASKs.
I think blocking canon tasks for long time is not a good idea. On the other hand, only experiments can prove me right or wrong.
I guess we wont find an easy way to be informed of screen updates, at least not with this semaphore.
Watching the semaphore wont be efficient, since it's not atomic operation, so we may miss some changes. At least I do not know if we can watch it.
Busy-looping to watch the semaphore is out of question too.


If "everybody else" who writes to the main display uses this same semaphore (looks like they should, that is what semaphores are for, no?), and we could somehow intercept all calls to TakeVramSemaphore, then we would know when to refresh our overlay. Could the "cache hack" be used here?
I think you are right, everyone who wants to write to display should rely on this semaphore, though it could be only one task (GUI) and everyone else talk to this task. Quite possible, but not so reasonable... If this is the case, then why would it need a Semaphore ?
The approach with "cache hacks" sounds possible, I will try to find some time soon to implement them in 400Plus.
I see one major disadvantage to this, wrapping the real TakeVramSemaphore means to execute extra code (time) on every call to it.
And if I'm not mistaken the Semaphore routines are atomic. This is very important, since it guarantees that no race-condition can happen.


  Yes, you're right, it will not help to stop flickering. I'm not familiar with semaphores but it looks like it is just a flag and some info, so you will have to check it all the time to know if something is using it. Would be nice to find a way to execute a function on semaphore access without checking it all the time.
Sergei, semaphores are just flags (similar to mutex'es in posix). The idea of these flags are to block you if someone is using the flag.
The idea of semaphore is to prevent race conditions.

Here is an example:

Basically you have 2 tasks and one variable which is used (read/write) in both tasks.

Code: [Select]
var x=0;
taks1() {
if (x) {
do_something();
} else {
do_other();
}
}

task2() {
while(1) {
x = !x; // invert x
}
}

now the problem comes when task1() is in this line:
Code: [Select]
if (x) {
lets say x == 1 in this case.
durring the check the x is 1, and task1() is going to do_something();
but before executing the call (Branch) to do_something(), the scheduler changes to task2() and task2() sets x to 0.
then in this case task1() is still going to call do_something() which is wrong already.

to prevent this you need atomic instructions
but i guess you already know the rest of the story...





Final notes:
I think this conversation should be pasted to the forum thread, so others can learn about it. And ML guys can join the conversation if they know more.


Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:25:25
My idea was to use the cache hack to substitute the original TakeVramSemaphore to something similar to:

Code: [Select]
MyTakeVramSemaphore(int *address) {
    TakeVramSemaphore(address);
    enqueue_action(overlay_refresh);
}

It should be almost as fast as the original, and we use the original functionality. Then, our overlay_refresh function should use the same semaphore before writing to the display. This would tell us when to refresh the overlay, and I think it would avoid all the flickering.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:26:38
I see what you mean, but I guess it would be better to use GiveVramSemaphore in this manner...
I will find time soon to try some cache hacks stuff...
  GiveVramSemaphore and TakeVramSemaphore have been called in many different places and it called from ROM address. I think it will be hard to change anything without knowing exact path which firmware takes to write OLC screen. Probably we can find an easier way to get hook for our function.

Final notes:
I think this conversation should be pasted to the forum thread, so others can learn about it. And ML guys can join the conversation if they know more.
I don't mind if you want to paste it in main thread. I didn't know if anybody else would have interest in firmware hacking on 400D. Looks like only three of us who is still working on it.
    0xAF, thanks for explanation of how semaphores are operating.

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:27:08
I see what you mean, but I guess it would be better to use GiveVramSemaphore in this manner...
I will find time soon to try some cache hacks stuff...
  GiveVramSemaphore and TakeVramSemaphore have been called in many different places and it called from ROM address. I think it will be hard to change anything without knowing exact path which firmware takes to write OLC screen. Probably we can find an easier way to get hook for our funyction.

The people at ML found a method to 'poison' the CPU's cache, so all calls to a certain function are redirected to another function; and you do not need to find or modify all the calls.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:27:24
I see what you mean, but I guess it would be better to use GiveVramSemaphore in this manner...
I will find time soon to try some cache hacks stuff...
  GiveVramSemaphore and TakeVramSemaphore have been called in many different places and it called from ROM address. I think it will be hard to change anything without knowing exact path which firmware takes to write OLC screen. Probably we can find an easier way to get hook for our funyction.

The people at ML found a method to 'poison' the CPU's cache, so all calls to a certain function are redirected to another function; and you do not need to find or modify all the calls.
  That's interesting! I will see if I can figure out their method of changing program flow.
Thanks.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:27:45
  I finally got hook in function which seems like updates GUI. But overlay still flickers. I think it has something to do with "GUIBlinkTimer".
Code: [Select]
int UpdateGUI (int r0, int r1, int r2, int r3, int a, int b, int c, int d)
{      int aa = sub_FF92D950 (r0, r1, r2, r3, a, b, c, d);  // looks like this function get called everytime GUI updates
UnSuspendTask(hVramModTask);
return aa;
}

(*(int*)0x51C0)= (int)&UpdateGUI;  // goes in main.c at initialization

Code: [Select]
void VramModTask(void)
{ char str[25];
while (1)
{ if(GUIMode==OLC_MODE && dpr_data.wb==8)
{ sprintf(str,"%d",dpr_data.color_temp);
bmp_printf(50, 134, str, COLOR_BLACK, COLOR_GRAY_2);
}
SuspendTask(hVramModTask);
}
}

void bmp_printf(int ofset_x, int ofset_y, char *str, int fg_color, int bg_color)
{ int x, y, pixel, pixels;
char c;
if(TakeVramSemaphore(VramInstance_address))return;
while( (c = *str++) )
{ for( y=0 ; y<font_small.height ; y++ )
{ pixels = font_small.bitmap[ c + (y << 7) ];
for( x=0 ; x<font_small.width; x++ )
{ vram.pixel[y+ofset_y][x+ofset_x] = (pixels & 0x8000) ? fg_color : bg_color;
pixels <<=1;
}
}
ofset_x += font_small.width;
}
GiveVramSemaphore(VramInstance_address);
}
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:28:09
  I finally got hook in function which seems like updates GUI. But overlay still flickers. I think it has something to do with "GUIBlinkTimer".
Code: [Select]
int UpdateGUI (int r0, int r1, int r2, int r3, int a, int b, int c, int d)
{      int aa = sub_FF92D950 (r0, r1, r2, r3, a, b, c, d);  // looks like this function get called everytime GUI updates
UnSuspendTask(hVramModTask);
return aa;
}

(*(int*)0x51C0)= (int)&UpdateGUI;  // goes in main.c at initialization
........

Looks interesting, when looking around the address of this CallBackRoutine (CBR), it looks like it is related to WindowInstance stuff... may be this means that it is called only when there are "windows" on the screen...

Another interesting thing is that on the next few addresses, there are stuff related to:
eventproc_TransferNormalScreen()
I think this eventproc is the one that transfers the FrameBuffer to the real LCD screen.
Everything is drawn in a framebuffer and i guess it's double buffered (i.e. there are 2 frame buffers)
then when the frame buffer is changed this routine will draw the original lcd.

IIRC all eventproc routines are registered in table, and there were register_eventproc() or something...
this way, we can replace the original eventproc with ours... and if I'm right on this, this routine should be used to refresh the screen, hence we can use this to stop flickering...

I'm only guessing here, I have no chance to test it ATM.



this is what i see in RAM, right next after some VRAM buffer (frame buffer)

RAM:0023D008     off_23D008:     .long off_227DFC        @ DATA XREF: RAM:00227E00o
RAM:0023D008                                             @ RAM:off_23D01Co
RAM:0023D00C                     .long off_23D01C
RAM:0023D010                     .long sub_14
RAM:0023D014                     .align 8
RAM:0023D018                     .long eventproc_TransferNormalScreen
RAM:0023D01C     off_23D01C:     .long off_23D008        @ DATA XREF: RAM:0023D00Co
RAM:0023D01C                                             @ RAM:off_23D048o
RAM:0023D020                     .long off_23D048
RAM:0023D024                     .long dword_2C
RAM:0023D028                     .byte    0
RAM:0023D029                     .byte    0
RAM:0023D02A                     .byte    0
RAM:0023D02B                     .byte    0
RAM:0023D02C                     .byte 0x14
RAM:0023D02D                     .byte 0xD0 @ -
RAM:0023D02E                     .byte 0x23 @ #
RAM:0023D02F                     .byte    0
RAM:0023D030     aTransferNormalScreen:.ascii "TransferNormalScreen"



and this is the ROM where it gets registered:

FW:FF934EB4 028                 LDR     R0, =aTransfernormal @ "TransferNormalScreen"
FW:FF934EB8 028                 STR     R2, [LR]        @ Store to Memory
FW:FF934EBC 028                 LDR     R1, =eventproc_TransferNormalScreen @ Load from Memory
FW:FF934EC0 028                 STR     R6, [R4]        @ Store to Memory
FW:FF934EC4 028                 STR     R6, [R5]        @ Store to Memory
FW:FF934EC8 028                 BL      RegisterEventProcedure @ Branch with Link


i'm not 100% sure, but i think at 0x00005448 in RAM starts the eventproc table
format is simple:
struct {
    int * pointer_to_routine;
    char * pointer_to_string;
}

RAM:00005448                     .long eventproc_about
RAM:0000544C                     .long aabout            @ "about"
RAM:00005450                     .long eventproc_about
RAM:00005454                     .long aGetSystemInfo    @ "GetSystemInfo"
RAM:00005458                     .long eventproc_GetSystemInfo
RAM:0000545C                     .long aPrintModelName   @ "PrintModelName"



Unfortunately i do not find the eventproc_TransferNormalScreen()
it seems this list is only registering the eventproc's available for the shell (console) of the camera, and transfernormalscreen is not one of them. Anyway, it is registered right after one of the VRAM's (see above)


These are just few random thoughts that crossed my mind, hope it helps.

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:28:26
Another interesting thing is that on the next few addresses, there are stuff related to:
eventproc_TransferNormalScreen()
I think this eventproc is the one that transfers the FrameBuffer to the real LCD screen.
Everything is drawn in a framebuffer and i guess it's double buffered (i.e. there are 2 frame buffers)
then when the frame buffer is changed this routine will draw the original lcd.

  eventproc_TransferNormalScreen() calls sub_FF92D950 or "WindowInstance" at the end. ( MOV     PC, R7)
I'm sill trying to find how "vram2" get copied to vram.
#define vram (*(vram_t*)(*(int*)0x19638))
#define vram2 (*(vram_t*)(*(int*)(*(int*)(*(int*)(0x5190)+0x10))))

Maybe i'm wrong about vram2 and it never copies to vram. I know it doesn't respond to any changes, but many routines are using it.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:28:42
Another interesting thing is that on the next few addresses, there are stuff related to:
eventproc_TransferNormalScreen()
I think this eventproc is the one that transfers the FrameBuffer to the real LCD screen.
Everything is drawn in a framebuffer and i guess it's double buffered (i.e. there are 2 frame buffers)
then when the frame buffer is changed this routine will draw the original lcd.
  0xAF, looks like eventproc_Transfer_XXXXX_Screen() functions sets (*(int*)0x51C0) to a pointer to a function which transfers vram according to its name.
I have tried pointer from "eventproc_TransferRotateScreen" and screen flipped up side down.  :lol
  Here is some pointers for 0x51C0:
0xFF92D950 -  eventproc_TransferNormalScreen
0xFF92E12C - eventproc_TransferUpsideDownScreen
0xFF92E294 - eventproc_TransferMirrorScreen
0xFF92DCFC - eventproc_TransferRotateScreen  //Probably good macro when camera is up side down under tripod

I guess if we decompile routine at 0xFF92D950, we could understand how vram is copied.

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:29:01
  I finally got hook in function which seems like updates GUI. But overlay still flickers. I think it has something to do with "GUIBlinkTimer".
Code: [Select]
int UpdateGUI (int r0, int r1, int r2, int r3, int a, int b, int c, int d)
{      int aa = sub_FF92D950 (r0, r1, r2, r3, a, b, c, d);  // looks like this function get called everytime GUI updates
UnSuspendTask(hVramModTask);
return aa;
}

(*(int*)0x51C0)= (int)&UpdateGUI;  // goes in main.c at initialization

Code: [Select]
void VramModTask(void)
{ char str[25];
while (1)
{ if(GUIMode==OLC_MODE && dpr_data.wb==8)
{ sprintf(str,"%d",dpr_data.color_temp);
bmp_printf(50, 134, str, COLOR_BLACK, COLOR_GRAY_2);
}
SuspendTask(hVramModTask);
}
}

void bmp_printf(int ofset_x, int ofset_y, char *str, int fg_color, int bg_color)
{ int x, y, pixel, pixels;
char c;
if(TakeVramSemaphore(VramInstance_address))return;
while( (c = *str++) )
{ for( y=0 ; y<font_small.height ; y++ )
{ pixels = font_small.bitmap[ c + (y << 7) ];
for( x=0 ; x<font_small.width; x++ )
{ vram.pixel[y+ofset_y][x+ofset_x] = (pixels & 0x8000) ? fg_color : bg_color;
pixels <<=1;
}
}
ofset_x += font_small.width;
}
GiveVramSemaphore(VramInstance_address);
}

Yes, it still flickers, but it is totally acceptable now...
Great job, I just committed a change that incorporates this code; many thanks!
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:29:17
  0xAF, looks like eventproc_Transfer_XXXXX_Screen() functions sets (*(int*)0x51C0) to a pointer to a function which transfers vram according to its name.
I have tried pointer from "eventproc_TransferRotateScreen" and screen flipped up side down.  :lol
  Here is some pointers for 0x51C0:
0xFF92D950 -  eventproc_TransferNormalScreen
0xFF92E12C - eventproc_TransferUpsideDownScreen
0xFF92E294 - eventproc_TransferMirrorScreen
0xFF92DCFC - eventproc_TransferRotateScreen  //Probably good macro when camera is up side down under tripod

I guess if we decompile routine at 0xFF92D950, we could understand how vram is copied.


Yes, flipping down the display can be very interesting for macro; good!

Edu.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:30:07
  0xAF, looks like eventproc_Transfer_XXXXX_Screen() functions sets (*(int*)0x51C0) to a pointer to a function which transfers vram according to its name.
I have tried pointer from "eventproc_TransferRotateScreen" and screen flipped up side down.  :lol

I might misunderstood something, are these Transfer functions set the pointer on every call ?
If so then we must replace the pointer on every call of Transfer function... the cache hacks can do this easily i think.
If not, then we are safe to put our function in this pointer and do what i've talked in previous message...
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:30:32
  0xAF, looks like eventproc_Transfer_XXXXX_Screen() functions sets (*(int*)0x51C0) to a pointer to a function which transfers vram according to its name.
I have tried pointer from "eventproc_TransferRotateScreen" and screen flipped up side down.  :lol
  Here is some pointers for 0x51C0:
0xFF92D950 -  eventproc_TransferNormalScreen
0xFF92E12C - eventproc_TransferUpsideDownScreen
0xFF92E294 - eventproc_TransferMirrorScreen
0xFF92DCFC - eventproc_TransferRotateScreen  //Probably good macro when camera is up side down under tripod

I guess if we decompile routine at 0xFF92D950, we could understand how vram is copied.


Yeah, I've been playing with these functions back in the time.
These are the real transfer functions to the VRAM and i've been looking at their source back then.
Buy didn't look too deep, to understand it fully.
Anyway, I think the copying is not so important, it will be just a copy of the frame buffer to the MMIO address of the real display (or something similar).
Even if we understand how it's copied, it's not so interesring IMO.
It is more important to replace the function that copy the framebuffer to vram, since this way, we can block the real coping, without blocking the TASKs (like with the semaphore).

Or to be more correct, we should not block the display refreshes at all... instead we should do the following:
If we are able to replace the Transfer function with ours, when someone calls this function (we do not care who and why calls it), we just put our stuff to the VRAM and then call the real transfer function. This way our drawn content will be always there and no flickering should be visible.

This will work only if there is no other methods to transfer the FB to VRAM (at least the OFW should not call other functions to transfer)


Let me see if I understood correctly:

* Those functions transfer the contents of certain memory address to the real display.
* We can easily replace which function makes the transfer.

Could we replace one of these functions, and force the firmware to use one of ours? In that case, perhaps we could change "TransferNormalScreen" to something that does "display_overlay + TransferNormalScreen", and that would eliminate all flickering, no? I'll give it a try tonight.

Besides, if we knew how the transfer is made, perhaps we could try other tricks, like inverse all colors for a night-mode display...
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:30:52

Let me see if I understood correctly:

* Those functions transfer the contents of certain memory address to the real display.
* We can easily replace which function makes the transfer.

Could we replace one of these functions, and force the firmware to use one of ours? In that case, perhaps we could change "TransferNormalScreen" to something that does "display_overlay + TransferNormalScreen", and that would eliminate all flickering, no? I'll give it a try tonight.

Besides, if we knew how the transfer is made, perhaps we could try other tricks, like inverse all colors for a night-mode display...

Basically yes.
But on the second though, if the Transfer functions set the pointer each time they are called (i guess they will), we should patch these functions to set our function in this pointer and not their function. This will be easily achieved with cache hacks ... I will find time very soon to try cache-hacks on 400d.

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:32:34
eventproc_TransferNormalScreen sets the pointer 0x51C0 to 0xFF92D950 function. Edu sets this pointer to my_UpdateGUI() which calls 0xFF92D950 or "UpdateGUI()" and enqueue_action(display_overlay) .
   Something sets the pointer one time at boot and every GUI window uses it to update vram. I could be wrong, but window instance has section of RAM which looks like a copy of vram. I think the function in 0x51C0 updates it and then copies it to vram. My idea was to find which subroutine does the copy. Maybe BlinkTimer uses it to write to vram.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:32:53
eventproc_TransferNormalScreen sets the pointer 0x51C0 to 0xFF92D950 function. Edu sets this pointer to my_UpdateGUI() which calls 0xFF92D950 or "UpdateGUI()" and enqueue_action(display_overlay) .
   Something sets the pointer one time at boot and every GUI window uses it to update vram. I could be wrong, but window instance has section of RAM which looks like a copy of vram. I think the function in 0x51C0 updates it and then copies it to vram. My idea was to find which subroutine does the copy. Maybe BlinkTimer uses it to write to vram.

I see.
Then this simplifies the whole stuff, we just register at this pointer with our routine, then on every call, we "poison" the vram with our content, then call the original routine.
Am I thinking right ?

BTW, why would you need to find what exactly copies the FB to VRAM ? What is it good for ?

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:33:12
eventproc_TransferNormalScreen sets the pointer 0x51C0 to 0xFF92D950 function. Edu sets this pointer to my_UpdateGUI() which calls 0xFF92D950 or "UpdateGUI()" and enqueue_action(display_overlay) .
   Something sets the pointer one time at boot and every GUI window uses it to update vram. I could be wrong, but window instance has section of RAM which looks like a copy of vram. I think the function in 0x51C0 updates it and then copies it to vram. My idea was to find which subroutine does the copy. Maybe BlinkTimer uses it to write to vram.

I see.
Then this simplifies the whole stuff, we just register at this pointer with our routine, then on every call, we "poison" the vram with our content, then call the original routine.
Am I thinking right ?

BTW, why would you need to find what exactly copies the FB to VRAM ? What is it good for ?

  In theory it should work already. But it doesn't. Something is blocking overlay writes time to time. And it not consistent. I thought if I find what writes original screen and put a filter there, so it never overwrites our overlay, it may stop the flicker.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:33:32
  Ok, I finally spotted that "vram copy" routine! No more flickering.
Look in main.c for "UpdateGUI", in gui.S for  "my_TransferNormalScreen" and "VramMod", in display.c for "VramMod" and "bmp_printf" to get an idea.
https://lh.rs/ycJ2bZHHEwRy (https://lh.rs/ycJ2bZHHEwRy)
 We probably can invert screen colors for night mode now too.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:34:15
  Ok, I finally spotted that "vram copy" routine! No more flickering.
Look in main.c for "UpdateGUI", in gui.S for  "my_TransferNormalScreen" and "VramMod", in display.c for "VramMod" and "bmp_printf" to get an idea.
https://lh.rs/ycJ2bZHHEwRy (https://lh.rs/ycJ2bZHHEwRy)
 We probably can invert screen colors for night mode now too.

BRAVO!!! May I kiss you???  :-*

I get a "404-Not found" when I try to access that link... could you upload it again, please?
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:34:39
try this one:
https://lh.rs/3uvQzJ3NP7OP (https://lh.rs/3uvQzJ3NP7OP)
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:35:04
try this one:
https://lh.rs/3uvQzJ3NP7OP (https://lh.rs/3uvQzJ3NP7OP)

Got it, I'm reviewing the code right now; many thanks!
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:35:24
  Ok, I finally spotted that "vram copy" routine! No more flickering.
Look in main.c for "UpdateGUI", in gui.S for  "my_TransferNormalScreen" and "VramMod", in display.c for "VramMod" and "bmp_printf" to get an idea.
https://lh.rs/ycJ2bZHHEwRy (https://lh.rs/ycJ2bZHHEwRy)
 We probably can invert screen colors for night mode now too.

Looks quite interesting... You've gone deeper to reach this.
In this case the cache-hacks would be very useful.
Though you've did a great job on this, I think there should be easier way to handle the flickering, but i'm not in position to talk about it, since i have no time to do any experiments.
On the other hand, you've mentioned inverting the colors, which would be interesting feature and for such feature, your great work is most appreciated.

Good job.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:35:45
  Ok, I finally spotted that "vram copy" routine! No more flickering.
Look in main.c for "UpdateGUI", in gui.S for  "my_TransferNormalScreen" and "VramMod", in display.c for "VramMod" and "bmp_printf" to get an idea.
https://lh.rs/ycJ2bZHHEwRy (https://lh.rs/ycJ2bZHHEwRy)
 We probably can invert screen colors for night mode now too.

Looks quite interesting... You've gone deeper to reach this.
In this case the cache-hacks would be very useful.
Though you've did a great job on this, I think there should be easier way to handle the flickering, but i'm not in position to talk about it, since i have no time to do any experiments.
On the other hand, you've mentioned inverting the colors, which would be interesting feature and for such feature, your great work is most appreciated.

Good job.
  I don't know anything about "cache-hacks". Something about changing CPU cache to swap pointers to functions? If you remember any links to information about cache-hacks please send them to me.
   Thanks.

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:36:02
  I don't know anything about "cache-hacks". Something about changing CPU cache to swap pointers to functions? If you remember any links to information about cache-hacks please send them to me.
   Thanks.

The idea behind cache-hacks was developed by g3gg0 from ML.
There are 2 cache lines in ARM. One for DATA and one for INSTRUCTIONS.
When code is executed from ROM (or RAM) the internals of the CPU (the caches) are checking if the instruction at this address already exists in the I cache. If it is in the cache, then it's not read from the ROM, but it is executed directly from the cache.
Same is happening for the Data.

lets say we have this instruction:
ROM:0x12345678      LDR     R12, =dword_ABCD

the following will happen when the execution take place:
1. Check I cache of we have 0x12345678 already in the cache
1.1. If yes - then execute from there
1.2 If no - then read the instruction from ROM and execute (and cache it in I cache)

2. Check the D cache if we have =dword_ABCD already
2.1. If yes - then get the data from D cache
2.2. If no - then read the data from ROM and cache it in D cache.


The good thing of the I/D caches is that we can change their content and lock them, so nothing changes after that. (the caches are separated in several blocks and we can put our stuff in 1 block and lock only this block)

What we are going to do is the following.
We "poison" the cache and put another instruction for the address 0x12345678, then when the code is executing from ROM and the execution gets to 0x12345678, the caches will execute our instruction instead of the real one.
Very handful to replace B/BL calls for example.

D cache is not so interesting once we can poison I cache.


This is the implementation for cache-hacks written by g3gg0 for ML:
https://bitbucket.org/hudson/magic-lantern/src/1f347d21f1599ee6bc49f2ea0cc829735a79e9c3/src/cache_hacks.h?at=unified

It may look scary when you first see it, but if you read the ARM ARM (ARM Architecture Reference Manual), it gets quite clear how it works... Though it took me some good time to understand it fully.

But my idea was to port it in 400Plus (which should be relatively easy) and i will do it some time soon.


Hope this explains enough on how the cache-hacks works.

Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:36:26
  I don't know anything about "cache-hacks". Something about changing CPU cache to swap pointers to functions? If you remember any links to information about cache-hacks please send them to me.
   Thanks.

The idea behind cache-hacks was developed by g3gg0 from ML.
There are 2 cache lines in ARM. One for DATA and one for INSTRUCTIONS.
When code is executed from ROM (or RAM) the internals of the CPU (the caches) are checking if the instruction at this address already exists in the I cache. If it is in the cache, then it's not read from the ROM, but it is executed directly from the cache.
Same is happening for the Data.

lets say we have this instruction:
ROM:0x12345678      LDR     R12, =dword_ABCD

the following will happen when the execution take place:
1. Check I cache of we have 0x12345678 already in the cache
1.1. If yes - then execute from there
1.2 If no - then read the instruction from ROM and execute (and cache it in I cache)

2. Check the D cache if we have =dword_ABCD already
2.1. If yes - then get the data from D cache
2.2. If no - then read the data from ROM and cache it in D cache.


The good thing of the I/D caches is that we can change their content and lock them, so nothing changes after that. (the caches are separated in several blocks and we can put our stuff in 1 block and lock only this block)

What we are going to do is the following.
We "poison" the cache and put another instruction for the address 0x12345678, then when the code is executing from ROM and the execution gets to 0x12345678, the caches will execute our instruction instead of the real one.
Very handful to replace B/BL calls for example.

D cache is not so interesting once we can poison I cache.


This is the implementation for cache-hacks written by g3gg0 for ML:
https://bitbucket.org/hudson/magic-lantern/src/1f347d21f1599ee6bc49f2ea0cc829735a79e9c3/src/cache_hacks.h?at=unified

It may look scary when you first see it, but if you read the ARM ARM (ARM Architecture Reference Manual), it gets quite clear how it works... Though it took me some good time to understand it fully.

But my idea was to port it in 400Plus (which should be relatively easy) and i will do it some time soon.


Hope this explains enough on how the cache-hacks works.

   Great! Thank you very much! I will try to understand how it works.
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:36:53
   Great! Thank you very much! I will try to understand how it works.

g3gg0 made them (cache-hacks) quite simple for usage, though it's big voodoo magic in first look.

it should be simple as this:
1. lock the caches, so nothing will change them anymore: cache_lock();
2. poison the I cache and change any instruction you want:
        cache_fake(0xFFB40340, NOP_INSTR, TYPE_ICACHE); // change the instruction at this address to NOP
or
        cache_fake(0xFFB40344, BL_INSTR(0xFFB40344, &my_super_special_routine), TYPE_ICACHE); // change the original BL call with our BL call

as long as the caches stays locked, it will work... but if the caches gets unlocked, our poison will be replaced very quickly... so we must be sure nothing unlocks or clears the caches once we poison them...

i've been working on these things on my 5D,
to do this i had to read the ARM ARM (ARM Architecture Reference Manual) about the caches, to see the all possible ways to clear them...
then i've looked at the firmware to see where are the caches cleared or unlocked... and replaced all instructions that are going to stop us...
some with NOPs, some i had to make a helper routines to do what's needed, since they were changing the control register 15, and we cannot nop this instructions easily...

https://bitbucket.org/0xAF/magic-lantern-5dc-port-wip/src/9900ee745965978b31f302d94a54dcf6f17ebd4f/platform/5DC.111/init.c?at=unified#cl-211
this is the code i've been doing some time ago for 5D
you can see the helper functions before that routine, but for 400d i will have to inspect the firmware again...

as it turns out, for all ML cameras there were 2-3 instructions which needs to be NOPed, so the cache stays locked and intact...
but on 5D it seems there are quite more... something like 25-30 instructions in random places in the firmware... it is not that easy to catch all of them... the main reason was that the original VxWorks code did a lot of cache stuff... and the newer cameras with Canon's DryOS do not touch the caches...

i only hope 400d to get fewer instructions, so it will be easier to port the cache-hacks... it is still a vxworks camera, but it's newer firmware and newer api than 5D...
and 40d is vxworks camera, but ML guys made it with few instructions only ....

i guess i made all this too much confusing already ...
hope this will help you (both) in understanding the initial process of the porting of the cache hacks...

just keep in mind that the most cache clear instructions are in the moment of initializing the camera ...
once its booted and runs, there are just few instructions that needs to be replaced...

if you are going to try to port them, drop a line, i can give some techniques that will help you...

another option is to wait for me to get some time (hope this week or the next one)
and do it ...
 
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:37:15
I will study it. Not sure if I will be able to port cache hacks to 400plus, at least not for long time. One question I have, does it make camera noticeable slower since cache locked?
I'm not sure how big the cache is and how often it updates. On every new GUI window execution? Or only at boot time?   
Title: VRAM
Post by: eduperez on 28 / March / 2013, 06:37:40
I will study it. Not sure if I will be able to port cache hacks to 400plus, at least not for long time. One question I have, does it make camera noticeable slower since cache locked?
I'm not sure how big the cache is and how often it updates. On every new GUI window execution? Or only at boot time?   

The theoretical slowdown is about 5%, but it's not noticeable.
If the cache is locked, then it wont replace any content in it. If it's unlocked (like the normal operation), then it updates on every instruction which is executed. The idea of the cache is, if you have some code that executes frequently, it gets cached and used there, but in our case the firmware have no such code... so it wont matter...

Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 28 / March / 2013, 08:32:38
The theoretical slowdown is about 5%, but it's not noticeable.


Keep in mind that i'm talking from memories here and i think we've discussed this with g3gg0, so it really doesnt matter... the slowdown is not noticeable at all.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 28 / March / 2013, 14:47:19
Purely out of interest, as I don't understand what you guys are discussing, what is the advantage / use of VRAM? What does it do or what will it allow you to do?

Hope you don't mind me being nosey!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / March / 2013, 17:11:45
Purely out of interest, as I don't understand what you guys are discussing, what is the advantage / use of VRAM? What does it do or what will it allow you to do?

Hope you don't mind me being nosey!

Writing to VRAM means writing directly to the display, instead of asking the firmware to write something. The main advantage is that we can write whatever we want, not just what Canon decided to put in the firmware; the main disadvantage is that the firmware does not expect anybody else writing to the display, and can overwrite our work.

It's just like ordering the waiter something from the menu, or entering to the kitchen and cooking it yourself.
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 28 / March / 2013, 18:34:33
Ok - I think I get it. Thanks for the response Edu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 29 / March / 2013, 03:28:35
It's just like ordering the waiter something from the menu, or entering to the kitchen and cooking it yourself.
I like that comparison. :)

@repeater, the reason we want VRAM, is that it will allow us to write our notifications or texts over the screen. And/or some day we may write our icons and our windows there. The way we are using it now is to ask canon's API to write something for us. Think of our menu system, it looks like canon's but with different texts. With direct writing to VRAM, we are able to write some specific texts/icons to the screen (pretty useful for notifications).
Title: New beta available
Post by: eduperez on 31 / March / 2013, 15:37:41
There is a new beta available, that fixes all defects reported:

* Reduced the flickering in the main display.
* Fixed a defect using multi-spot metering with custom modes.
* Improved BULB mode when AutoISO is active.
Title: Third beta available
Post by: eduperez on 07 / April / 2013, 17:20:52
There is a third beta available, which fixes the named custom color temperatures menu, and adds Danish translation.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 12 / April / 2013, 09:42:44
Here is simplified overlay update hook. Finally got rid of gui.S.
    Goes in main.c at startup:
Code: [Select]
(*(int*)0x51C0)= (int)&my_TransferNormalScreen;
    And VRAM hook function:
Code: [Select]
my_TransferNormalScreen(int r0, int r1, int r2, int r3, int a, int b, int c, int d)
{   VramMod((vram_t*)(r3+0x78));  // r3+0x78 is a pointer to VRAM.
    return TransferNormalScreen(r0, r1, r2, r3, a, b, c, d);  //DEF(TransferNormalScreen, 0xFF92D950)
}

http://hostr.co/52MHvJ9CiloB (http://hostr.co/52MHvJ9CiloB)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / April / 2013, 17:49:47
Here is simplified overlay update hook. Finally got rid of gui.S.
    Goes in main.c at startup:
Code: [Select]
(*(int*)0x51C0)= (int)&my_TransferNormalScreen;
    And VRAM hook function:
Code: [Select]
my_TransferNormalScreen(int r0, int r1, int r2, int r3, int a, int b, int c, int d)
{   VramMod((vram_t*)(r3+0x78));  // r3+0x78 is a pointer to VRAM.
    return TransferNormalScreen(r0, r1, r2, r3, a, b, c, d);  //DEF(TransferNormalScreen, 0xFF92D950)
}

http://hostr.co/52MHvJ9CiloB (http://hostr.co/52MHvJ9CiloB)

After releasing three betas, I did not want to change our code before the next release; but this was too tempting...
I've just integrated this code into 400plus, and it works perfectly.

Many thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2013, 06:04:27
And... we have new version!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 15 / April / 2013, 06:55:23
And... we have new version!
That's great!
I have ported cache hacks to 400d.
Here it is if you want to check if it will be usable in 400plus:
http://hostr.co/PH59nDeigtFK (http://hostr.co/PH59nDeigtFK)
Look in init.c for EnableCacheHacks().
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 15 / April / 2013, 07:07:47
Edu, thanks for the great job on the release !
A lot of new stuff :)


That's great!
I have ported cache hacks to 400d.
Here it is if you want to check if it will be usable in 400plus:
http://hostr.co/PH59nDeigtFK (http://hostr.co/PH59nDeigtFK)
Look in init.c for EnableCacheHacks().

Very good, thanks !
I feel a bit shamed now :)

Anyway, have you got the chance to trace all the spots where the Cache is cleared.
I mean, if we hijack some routines at later point of execution, i.e. the Transfer_to_VRAM function (it's just an example, not that we need to hijack it with cache hacks), would it be cleared at some point later ?

My ultimate goal with cache hacks was to port the whole booting procedure (like in ML), so our entry point is one routine that just uses cache-hacks and hijacks all cache-clearing routines, then hijack some init routine to start our code.
If we have this, then we get rid of all copied code from canon.

p.s.
Great job, cache-hacks will give us great powers, thanks to you (for porting them) and to g3gg0 for the idea and implementation in first place!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 15 / April / 2013, 07:51:52
   Firmware clears caches somewhere in vmBaseGlobalMapInit() at startup. I didn't look too deep in that function. Just disabled it for now. Everything works. I'm using cache hacks to modify original boot process, so no more long copies of code.
  Thanks, 0xAF!
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2013, 08:26:56
And... we have new version!
That's great!
I have ported cache hacks to 400d.
Here it is if you want to check if it will be usable in 400plus:
http://hostr.co/PH59nDeigtFK (http://hostr.co/PH59nDeigtFK)
Look in init.c for EnableCacheHacks().

"Usable in 400plus", you ask? Dear God, that's a gold mine! I just had a look at your code, and you did a fantastic job with the initialization, I liked it very much; it's very clean and smooth now, congratulations.

Just a question (to both you and 0xAF), please: do we still have to keep that piece of ASM code at "entry.S"? It looks quite "innocent" to my ignorant eyes, and I would love to get rid of all unneeded ASM code.

Thank you very much!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 15 / April / 2013, 08:39:13
Just a question (to both you and 0xAF), please: do we still have to keep that piece of ASM code at "entry.S"? It looks quite "innocent" to my ignorant eyes, and I would love to get rid of all unneeded ASM code.

May be with the cache hacks, now we can skip the ASM part.
We may link our entry point to the COPY() routine directly, then from the copy call the EnableCacheHacks() which will do the hijcks, then call the original entry point.
Title: Eos 400d ( Rebel XTI )
Post by: Sergei on 15 / April / 2013, 19:14:33
Looks like it is possible. I will check on it when I get time.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 17 / April / 2013, 10:44:38
Just a question (to both you and 0xAF), please: do we still have to keep that piece of ASM code at "entry.S"? It looks quite "innocent" to my ignorant eyes, and I would love to get rid of all unneeded ASM code.
  I got rid of ASM code in entry.S but can't convert entry.S to entry.c. Missing GCC flags ?
Quote
ld: error: stubs.o uses hardware FP, whereas AUTOEXEC.arm.elf uses software FP
ld: failed to merge target specific data of file stubs.o
Here is the source code:
http://hostr.co/QaDx9TNOxlTi (http://hostr.co/QaDx9TNOxlTi)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 17 / April / 2013, 14:57:10
  I got rid of ASM code in entry.S but can't convert entry.S to entry.c. Missing GCC flags ?
Quote
ld: error: stubs.o uses hardware FP, whereas AUTOEXEC.arm.elf uses software FP
ld: failed to merge target specific data of file stubs.o
Here is the source code:
http://hostr.co/QaDx9TNOxlTi (http://hostr.co/QaDx9TNOxlTi)

yeah, sounds like a toolchain problems...
try adding these to CFLAGS
-mfpu=fpa
-msoft-float
-mfloat-abi=soft

and see if it's working...

you can try to put an entry.S with similar code:
Code: [Select]
      .text
      .org 0
      .globl _start, start
  start:
  _start:
LDR     PC, =my_romStart
only this code ... and see if the linker will give errors again...

it's very strange that after removing the entry object file (entry.o) from the linker, it gives strange FPU related errors...


EDIT:
dont forget to "make clean" before compiling ... you can even check if all .o files are removed and remove them just in case (rm *.o)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 17 / April / 2013, 16:05:13
    When I have entry.S and ASM code in it, it compiles with no problem.
Code: [Select]
    .text
    .org 0
    .globl _start, start

start:
_start:
BL      EnableHacks
.align 2
fin:
But it will not compile if I change file to entry.c and put C code in it:
Code: [Select]
void start()
{  EnableHacks();
}
I had -msoft-float enabled.
Other two, -mfpu=fpa and -mfloat-abi=soft, gives me errors.
Quote
cc1: error: invalid option `fpu=fpa'
cc1: error: invalid option `float-abi=soft'
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 17 / April / 2013, 17:10:39
I tried to compile it using the "Makefile" and "link.script" files from 400plus (just copied the latest files from our repository), and it compiles with no alarming warnings; but when I tried it on the camera, the blue LED switches on and then the camera locks...

EDIT: Pardon my ignorance, but there was some code in entry.S that I do not see anywhere, now; where have you moved that? or was it unnecessary? Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 17 / April / 2013, 18:06:30
  This source code will compile with no problems and works on my camera.
http://hostr.co/QaDx9TNOxlTi (http://hostr.co/QaDx9TNOxlTi)
It was a problem when I was renaming entry.S to entry.c. I think "entry.S" and "_start:" are keywords in ASM for program entry point. So it can't be changed.
  All that code in "entry.S" we used to have is gone. "entry.S" now just executes EnableHacks(), which executes cache-hacks, relocates AUTOEXEC in RAM and jumps to original firmware.
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 18 / April / 2013, 03:18:13
I tried to compile it using the "Makefile" and "link.script" files from 400plus (just copied the latest files from our repository), and it compiles with no alarming warnings; but when I tried it on the camera, the blue LED switches on and then the camera locks...

EDIT: Pardon my ignorance, but there was some code in entry.S that I do not see anywhere, now; where have you moved that? or was it unnecessary? Thanks!

Probably you forgot to call COPY() in the C code, after removing the entry.S ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 18 / April / 2013, 03:34:22
It was a problem when I was renaming entry.S to entry.c. I think "entry.S" and "_start:" are keywords in ASM for program entry point. So it can't be changed.
  All that code in "entry.S" we used to have is gone. "entry.S" now just executes EnableHacks(), which executes cache-hacks, relocates AUTOEXEC in RAM and jumps to original firmware.

entry.S is not a special file and _start is not special word. The _start is by default, since you have not specified another name.
I tried to compile our code w/o entry.S and it compiles.

You should try to change your link.script and LDFLAGS line (or the linking line) in makefile too...

change your linking line in makefile which is now:
Code: [Select]
$(CC) $(CFLAGS) -Wl,-T,link.script -o$@ $^
to look like this:
Code: [Select]
$(CC) $(CFLAGS) -Wl,-T,link.script -e EnableHacks -o$@ $^

you can remove this line from makefile too:
Code: [Select]
entry.o:entry.S

and change your link.script...
remove the entry.o from the file, and put init.o in the first place (where entry.o was)


you should be able to compile it without the entry.S at all...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 18 / April / 2013, 09:12:46
I tried to compile it using the "Makefile" and "link.script" files from 400plus (just copied the latest files from our repository), and it compiles with no alarming warnings; but when I tried it on the camera, the blue LED switches on and then the camera locks...

EDIT: Pardon my ignorance, but there was some code in entry.S that I do not see anywhere, now; where have you moved that? or was it unnecessary? Thanks!

Probably you forgot to call COPY() in the C code, after removing the entry.S ?
I renamed COPY() to RelocateAutoexec().
Eduperez, can you compile my code with original "Makefile" and "link.script" files? Does it works?

It was a problem when I was renaming entry.S to entry.c. I think "entry.S" and "_start:" are keywords in ASM for program entry point. So it can't be changed.
  All that code in "entry.S" we used to have is gone. "entry.S" now just executes EnableHacks(), which executes cache-hacks, relocates AUTOEXEC in RAM and jumps to original firmware.

entry.S is not a special file and _start is not special word. The _start is by default, since you have not specified another name.
I tried to compile our code w/o entry.S and it compiles.

You should try to change your link.script and LDFLAGS line (or the linking line) in makefile too...

change your linking line in makefile which is now:
Code: [Select]
$(CC) $(CFLAGS) -Wl,-T,link.script -o$@ $^
to look like this:
Code: [Select]
$(CC) $(CFLAGS) -Wl,-T,link.script -e EnableHacks -o$@ $^

you can remove this line from makefile too:
Code: [Select]
entry.o:entry.S

and change your link.script...
remove the entry.o from the file, and put init.o in the first place (where entry.o was)


you should be able to compile it without the entry.S at all...

It compiles without entry.S and with "$(CC) $(CFLAGS) -Wl,-T,link.script -e EnableHacks -o$@ $^" but camera will not execute it.
I think I get errors like "ld: error: stubs.o uses hardware FP, whereas AUTOEXEC.arm.elf uses software FP" only when I put any C code in front of ASM code (stubs.S). So I will leave entry.S for entry point.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 18 / April / 2013, 11:43:31
I renamed COPY() to RelocateAutoexec().
Eduperez, can you compile my code with original "Makefile" and "link.script" files? Does it works?

No, it doesn't; I just get the same errors as you.

About the entry point: AFAIK, after the camera loads our AUTOEXEC.BIN file into memory, it jumps into a fixed address inside that file; so whatever the entry point is called, it must be in a fixed address inside the AUTOEXEC.BIN file. Before the cache-hack stuff, we achieved this by putting the entry function at the beginning of the entry.S file, and putting entry.o at the beginning of the link.script. Do you know whether the "-e" parameter works like this?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 19 / April / 2013, 03:03:02
No, it doesn't; I just get the same errors as you.

About the entry point: AFAIK, after the camera loads our AUTOEXEC.BIN file into memory, it jumps into a fixed address inside that file; so whatever the entry point is called, it must be in a fixed address inside the AUTOEXEC.BIN file. Before the cache-hack stuff, we achieved this by putting the entry function at the beginning of the entry.S file, and putting entry.o at the beginning of the link.script. Do you know whether the "-e" parameter works like this?

good point, im not sure -e parameter will relocate some routine to our address ... it probably wont... but i will try to objdumping something to see what goes where ...
we now need a way to instruct the linker that our new C entry routine needs to be placed at our starting address and it will work without the entry.S
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 19 / April / 2013, 04:31:03
good point, im not sure -e parameter will relocate some routine to our address ... it probably wont... but i will try to objdumping something to see what goes where ...
we now need a way to instruct the linker that our new C entry routine needs to be placed at our starting address and it will work without the entry.S

My only interest to get rid of entry.S was to eliminate all traces of any code that could be suspicious of being remotely derived from code written by others... if you know what I mean. Sergei did most of that job, when he applied the cache hack; but there were some lines in the entry.S file, that I did not know where had originated, and thus my question.

Obviously, an ASM file with a single jump is perfectly fine with respect to my concerns; not as clean as having some "main" function in a C file, but completely safe. Once we have reached this point, I would not spend much time on the issue.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 19 / April / 2013, 04:45:14
My only interest to get rid of entry.S was to eliminate all traces of any code that could be suspicious of being remotely derived from code written by others... if you know what I mean. Sergei did most of that job, when he applied the cache hack; but there were some lines in the entry.S file, that I did not know where had originated, and thus my question.

Obviously, an ASM file with a single jump is perfectly fine with respect to my concerns; not as clean as having some "main" function in a C file, but completely safe. Once we have reached this point, I would not spend much time on the issue.

Actually, the entry.S that we have so far had nothing to do with other's code ;)
The problem is that we have C code that is not hard to recognize who wrote it... :)
But that can be changed too ... with not so much effort, we can get rid of these parts and hookup our code with cache-hacks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 19 / April / 2013, 15:29:45
I think if we convert stubs.S to c code we probably can get rid of entry.S and have our "start" function in C.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 22 / April / 2013, 10:01:00
No more ASM files.
http://hostr.co/eNy8kMgFIvBD (http://hostr.co/eNy8kMgFIvBD)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / April / 2013, 15:57:24
No more ASM files.
http://hostr.co/eNy8kMgFIvBD (http://hostr.co/eNy8kMgFIvBD)

Great!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 22 / April / 2013, 21:02:35
http://hostr.co/dZC4xJUAupCC (http://hostr.co/dZC4xJUAupCC)
I had to change EnableHacks() little bit. Camera was freezing at startup when trash button was pressed.
There still is another bug needs to be fixed. When shutter release button half pressed and kept down at startup, camera will freeze on GUI change. I think this bug was present for long time.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 23 / April / 2013, 03:43:17
http://hostr.co/dZC4xJUAupCC (http://hostr.co/dZC4xJUAupCC)
I had to change EnableHacks() little bit. Camera was freezing at startup when trash button was pressed.
There still is another bug needs to be fixed. When shutter release button half pressed and kept down at startup, camera will freeze on GUI change. I think this bug was present for long time.


I think you should be able to change this:
Code: [Select]
asm __volatile__ ( "ldr  pc, = 0xFF810000\n");
from EnableHacks();
with this:
Code: [Select]
void (*FirmwareEntry)(void*)=(void*)0xFF810000;
FirmwareEntry();
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 23 / April / 2013, 20:39:32
Yes, it works. Thanks.
When I tried it before it didn't work for some reason.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 29 / April / 2013, 17:32:23
Yes, it works. Thanks.
When I tried it before it didn't work for some reason.

Sergei,
Try replacing the line with "entry.o" in your link.script
with this line:
Code: [Select]
EnableHacks = .;

and remove entry.c (and entry.o from your Makefile)

you should be able to boot it.

Instead of having entry.c with only 1 function in it, we can instruct the linker that the very first thing that should be linked is the EnableHacks() routine.

EDIT:
It should look like this:
Code: [Select]
SECTIONS {
first 0x7F0000 :
{
EnableHacks = .;
init.o;
main.o;
menu.o;
display.o;
setproperty.o;
rename.o;
font-small.o;
}
}

You can also try to make it like this:
Code: [Select]
SECTIONS {
first 0x7F0000 :
{
EnableHacks = .;
                *.o;
}
}
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 30 / April / 2013, 07:07:29
It didn't work. Camera hangs right away. Not even get a blue light.   
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 30 / April / 2013, 11:24:04
It didn't work. Camera hangs right away. Not even get a blue light.

Hmm strange, I will experiment with it in next few days.
Title: Re: Eos 400d ( Rebel XTI )
Post by: yonomolo on 02 / May / 2013, 10:52:16
I've installed 400plus for the first time yesterday. I was especially interested in the AEB script, so that's the only thing I pretty much tried. It worked great yesterday, but without doing anything else, today it started behaving in a weird way. It doesn't matter how many frames I set to take (4, 6, 9, etc...), it just keep taking pictures forever (well, I don't now when it would stop, but I just turned off the camera at 27). I've tried different combinations in the settings, and even reformating the card, but it's still happening. Any ideas?

Thanks a lot in advance, and thanks a lot for creating this. It definitely gives my camera a new life.

EDIT: I have steps that can be reproduced now, so I'll submit an issue in the 400plus project page. Following some steps (cleaning settings, formating card, etc...) seems to get it fixed, but it only works the first time, then it starts having the same problem again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / May / 2013, 11:45:12
This is indeed a bug: camera shout not let you set an even number of shots; and when you set an even number of shots, the script fails and shots endlessly. Will be fixed as soon as possible, thanks for reporting.
Title: Re: Eos 400d ( Rebel XTI )
Post by: yonomolo on 02 / May / 2013, 11:53:42
Yeah, that's a question I was about to ask. Why do the settings show 4 and 6 instead of 5 and 7. And after you mentioned, I've just did another test and it wasn't that the first time worked, but not anytime after that. It was just that it turned out, as a coincidence, that every first time I tried I was trying with an odd number (3 or 9).
It actually works fine all the time with an odd number, so basically the problem is what you said, it's allowing me to set even numbers and it freaks out.

Thanks a lot for addressing this!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / May / 2013, 16:42:32
Yeah, that's a question I was about to ask. Why do the settings show 4 and 6 instead of 5 and 7. And after you mentioned, I've just did another test and it wasn't that the first time worked, but not anytime after that. It was just that it turned out, as a coincidence, that every first time I tried I was trying with an odd number (3 or 9).
It actually works fine all the time with an odd number, so basically the problem is what you said, it's allowing me to set even numbers and it freaks out.

Thanks a lot for addressing this!

Fixed in the 20130414-01 release; thanks for reporting!
Title: Re: Eos 400d ( Rebel XTI )
Post by: yonomolo on 02 / May / 2013, 17:16:53
Fixed in the 20130414-01 release; thanks for reporting!

Awesome! Thanks a lot!

By the way, is it possible for end users to create scripts, like in CHDK? I don't know if the same applies or it works differently. If it is, is Lua supported?

Thanks again!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / May / 2013, 17:19:05
Fixed in the 20130414-01 release; thanks for reporting!

Awesome! Thanks a lot!

By the way, is it possible for end users to create scripts, like in CHDK? I don't know if the same applies or it works differently. If it is, is Lua supported?

Thanks again!

No, I'm afraid there is no support for LUA or any other scripting language.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / May / 2013, 21:03:10
@Sergei:

few things:

1. i have "sort of" solution for the entry point.
the linker script needs to be changed.
the entry.o is removed and init.o is placed instead.
then in yout init.c put few asm instructions in the beginning of the file.
see here:
https://code.google.com/p/400plus/source/browse/trunk/init.c
https://code.google.com/p/400plus/source/browse/trunk/link.script
basically, i've moved the entry.S stuff in the C file.
Not the best solution, but still better than separate entry.S or entry.c file.

2. i've ported the cache hacks to 400Plus (used your port actually).
i've added few routines to our cache_hacks.h and few #defines
here it is: https://code.google.com/p/400plus/source/browse/trunk/cache_hacks.h

3. i had problems with cache_lock() the camera was freezing on it (very strange)
i narrowed down the problem ti the D cache lines clearing in dcache_lock().
i've commented out the cache clearing and placed one new routine in it's place (took it from ML)
see here: https://code.google.com/p/400plus/source/browse/trunk/cache_hacks.h#474
then i realized that i do not need dcache_lock() actually and replaced the cache_lock() in init.c with icache_lock() only.
still i dont know why it was freezing on d cache clearing.

4. i found most places in the OFW where the cache is cleared
see here: https://code.google.com/p/400plus/source/browse/trunk/init.c#103
i've NOP'ed 4 instructions only, and put back the function which you were skipping, it's working for me.
you can take this instructions instead of the function which you removed, since they may be called in other places.

5. i did not saw where you patch the CreateMainHeap, so i've patched it
see here: https://code.google.com/p/400plus/source/browse/trunk/init.c#80
you can take this line which will preserve last 128kb of the main heap for our hack.
i know you are using 64kb, but it wont hurt to preserve 128kb.
you do not need to change any memory addresses, you can use this line directly, or you can generate the instruction binary code for 64kb.

there were other stuff, but cant remember now...
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 03 / May / 2013, 04:43:31
  Thanks for the information, 0xAF.
I remember when I was changing entry.c or entry.s my camera was freezing on FirmwareEntry(); without any logical reason, so I had to use asm __volatile__ ( "ldr  pc, = 0xFF810000\n"); Try to put entry.s back and see if it will fix dcache_lock().

  I understand why you changed 0x800000 to 0x7E0000. My question is how does it work without it?

  Here is some info about "vmBaseGlobalMapInit" which I disabled to save cache-hacks:
 http://www.vxdev.com/docs/vx55man/vxworks/ref/vmBaseLib.html (http://www.vxdev.com/docs/vx55man/vxworks/ref/vmBaseLib.html)

  0xAF, can 400plus catch "trash_button_released" or "jump_button_released" events? If not, check SetSendButtonProc(&My_SendButtonToMC, 0); in my code. Could be useful for something.

 I started to work on IR remote code. Right now I can make camera respond to any remote on any key but can't make it respond only on specific keys. Looks like firmware only checking for pulse width and time between pulses.
 Code is in remote.h:
http://hostr.co/0MiULSEGLdt3 (http://hostr.co/0MiULSEGLdt3)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / May / 2013, 07:30:06
  I understand why you changed 0x800000 to 0x7E0000. My question is how does it work without it?

It will work, but if the camera eats all the memory, the hack is gone...
I'm not sure if our camera can eat all it's memory, but on some (most) cameras with ML it happens.

  Here is some info about "vmBaseGlobalMapInit" which I disabled to save cache-hacks:
 http://www.vxdev.com/docs/vx55man/vxworks/ref/vmBaseLib.html (http://www.vxdev.com/docs/vx55man/vxworks/ref/vmBaseLib.html)
I did not know the purpose of this function, Thanks for the link.
Actually you can see my comments in our init.c where I've put the function back and NOP'ed another address.
This address was a call to cacheLib from this function and now when I've read the link, it makes sense.

  0xAF, can 400plus catch "trash_button_released" or "jump_button_released" events? If not, check cSetSendButtonProc(&My_SendButtonToMC, 0); in my code. Could be useful for something.
Yeah, I saw the code yesterday, looks interesting.
We have JUMP and TRASH via MainCtrl, I disassembled the MainCtrl routine to get them.
Now with the cache-hacks, I was thinking to remove all this code.
Your code looks better, though.
SetSendButtonProc() this is the function, that could saved me a lot of reverse engineering time when I worked on MainCtrl. :)
Thanks.

I started to work on IR remote code. Right now I can make camera respond to any remote on any key but can't make it respond only on specific keys. Looks like firmware only checking for pulse width and time between pulses.
 Code is in remote.h:
http://hostr.co/0MiULSEGLdt3 (http://hostr.co/0MiULSEGLdt3)
Yeah, this is cool.
I know about this settings in the firmware and I had the same idea back in the time, though I never started to play with them. I will check you work and may play with it a bit.


EDIT:
I see you have IR_Log() function, can you log all signals with it ?
I mean when you press some button on a remote, can you distinguish between different remotes/buttons ?
If so, this is great. If not, the enabling of all IR signals is still a good feature.

EDIT2:
BTW, do you know what this MachineCell is and what is it's purpose ?
It looks like it is for some Factory Tests ?

EDIT3:
I took the vram_copy() routine from your code, to invert the OLC colors.
It seems to work, but not when you start the camera for the first time, it draws white first, then after i force any gui update it draws black.
I guess this is because we cannot detect (GUIMode == OLC_MODE) in the first moments. I will try to find a solution.
EDIT3.1:
I've found it...
It was because at the start the camera is changing the mode for a while, to draw the animation for sensor cleaning... so the check should be:
if (FLAG_GUI_MODE == GUIMODE_OLC || FLAG_GUI_MODE == GUIMODE_ACTIVESWEEP_OLC) {...}
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 03 / May / 2013, 15:24:18
I see you have IR_Log() function, can you log all signals with it ?
I mean when you press some button on a remote, can you distinguish between different remotes/buttons ?
If so, this is great. If not, the enabling of all IR signals is still a good feature.
It will only show error message and width of first and second pulses and, i guess, time between pulses. Camera does very simple check on IR signals. It doesn't decode RC-5 signal so all keys from same remote looks same to camera.

BTW, do you know what this MachineCell is and what is it's purpose ?
It looks like it is for some Factory Tests ?
No I don't. Maybe it is for factory mode GUI?

I took the vram_copy() routine from your code, to invert the OLC colors.
It seems to work, but not when you start the camera for the first time, it draws white first, then after i force any gui update it draws black.
I guess this is because we cannot detect (GUIMode == OLC_MODE) in the first moments. I will try to find a solution.
EDIT3.1:
I've found it...
It was because at the start the camera is changing the mode for a while, to draw the animation for sensor cleaning... so the check should be:
if (FLAG_GUI_MODE == GUIMODE_OLC || FLAG_GUI_MODE == GUIMODE_ACTIVESWEEP_OLC) {...}
Thank you very much for the solution! I thought it will be harder to fix it.
I see it still has small part on the screen left which didn't invert. It goes through memcpy in 0xFF92C5FC location. I was trying to fix it with "cache_fake(0xFF92C5FC, BL_INSTR(0xFF92C5FC, &vram_copy), TYPE_ICACHE);"
It invert all screen now but camera freezes right before firmware updates available picture count.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 03 / May / 2013, 15:34:10
Thank you very much for the solution! I thought it will be harder to fix it.
I see it still has small part on the screen left which didn't invert. It goes through memcpy in 0xFF92C5FC location. I was trying to fix it with "cache_fake(0xFF92C5FC, BL_INSTR(0xFF92C5FC, &vram_copy), TYPE_ICACHE);"
It invert all screen now but camera freezes right before firmware updates available picture count.
it works normally here... i totaly left D caches and not touched them btw.
you can see how i get all the hacks with I caches only in the code.

When I hardcode the check it works correctly.
i.e.
if (GUIMODE == OLC || GUIMODE == ACTIVESWEEP_OLC) { ... }

but if i add the check from our settings
i.e.
if (settings.invert_olc && (GUIMODE == OLC || GUIMODE == ACTIVESWEEP_OLC)) {...}
then it has artifacts ...
this is because we read the settings at some later time after the init of the camera ...
if active sweep is off, it's ok, but the stupid animation is making part of the screen white ...
after the screen refreshes, everything is ok.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 03 / May / 2013, 15:45:52
if active sweep is off, it's ok, but the stupid animation is making part of the screen white ...
after the screen refreshes, everything is ok.
Yes, that is why I was trying to fix it with:
cache_fake(0xFF92C5D8, BL_INSTR(0xFF92C5D8, &vram_copy), TYPE_ICACHE);
cache_fake(0xFF92C5FC, BL_INSTR(0xFF92C5FC, &vram_copy), TYPE_ICACHE);
But camera start freezing after I add second line.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 03 / May / 2013, 21:50:35
0xAF, are there downsides if I use D-caches?
Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 04 / May / 2013, 06:45:25
if active sweep is off, it's ok, but the stupid animation is making part of the screen white ...
after the screen refreshes, everything is ok.
Yes, that is why I was trying to fix it with:
cache_fake(0xFF92C5D8, BL_INSTR(0xFF92C5D8, &vram_copy), TYPE_ICACHE);
cache_fake(0xFF92C5FC, BL_INSTR(0xFF92C5FC, &vram_copy), TYPE_ICACHE);
But camera start freezing after I add second line.
Here is the right code. Works without any problems.
Code: [Select]
void* vram_copy(char *dest, char *src, int size)
 { if(GUIMode==OLC_MODE || GUIMode==ACTIVESWEEP_OLC)
    { while (size--) {
        *dest++ = 0xBB - (*src++); //0xBB can be any char. Some good colors can be obtained with 0xBB, 0xDD, 0xFF
    }
    }else memcpy(dest, src, size);
}

    /* LCD Night Mode */
cache_fake(0xFF92C5D8, BL_INSTR(0xFF92C5D8, &vram_copy), TYPE_ICACHE);
cache_fake(0xFF92C5FC, BL_INSTR(0xFF92C5FC, &vram_copy), TYPE_ICACHE);
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / May / 2013, 08:12:40
0xAF, are there downsides if I use D-caches?
Thanks.

I dont know, but when I spoke with g3gg0 back then (when i was working on 5D), he suggested to stick with the I caches only, at least until i get it to work.
And what I'm thinking, it's better to leave D caches to the camera, so it can benefit from D caches atleast.
Since when we lock the caches, they are not useful for optimization from the camera anymore.
So I prefer to leave the D caches to the camera, since we can get everything from I caches only.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / May / 2013, 08:25:17
Code: [Select]
    /* LCD Night Mode */
cache_fake(0xFF92C5D8, BL_INSTR(0xFF92C5D8, &vram_copy), TYPE_ICACHE);
cache_fake(0xFF92C5FC, BL_INSTR(0xFF92C5FC, &vram_copy), TYPE_ICACHE);

Thanks for this.
I was wondering how to stop the stupid animation, but you seems to have found the memcpy for the animation ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 04 / May / 2013, 14:17:01
These are "sort of" useful colors.
subtract the pixel from one of these numbers to get the real color.

Code: [Select]
0x1B, // 27  Blk on Gry
0xE5, // 229 Blk on Yel
0x70, // Grn on Gry
0xC1, // 193 Blu on Gry
0x24, // 36  Blu on Blk
0xF1, // 241 Blu on Yel
0x11, // Cya on Gry
0x44, // 68  Yel on Blk
0x42, // 66  Org on Blk
0x7C, // 124 Yel on Grn
0x84, // 132 Yel on Blu
0x86, // 134 Yel on Blu
0x88, // 136 Yel on Blu
0x87, // 135 Yel on Cya
0x49, // 73  Yel on Red
0x89, // 137 Yel on Pur
0x35, // 53  Red on Gry
0x34, // 52  Red on Gry
0x72, // 114 Red on Gry
0x39, // 57  Red on Pnk
0x3A, // 58  Red on Yel
0x92, // 146 Red on Blk
0x22, // 34  Pur on Blk
0x76, // 118 Wht on Grn
0x5F, // 95  Gry on Gry
0x99, // 153 Gry on Red
0x9C, // 156 Gry on Red
0xFF, // 255 Gry on Blu
0x8C, // 140 Wht on Blu
0x78, // 120 Wht on Cya
0xBE, // 190 Gry on Yel
0xDE, // 222 Gry on Yel
0xFE, // 254 Gry on Yel
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 06 / May / 2013, 09:05:35
but if i add the check from our settings
i.e.
if (settings.invert_olc && (GUIMODE == OLC || GUIMODE == ACTIVESWEEP_OLC)) {...}
then it has artifacts ...
this is because we read the settings at some later time after the init of the camera ...
Camera's dpr_data.video_system probably can be used for enabling/disabling "Change LCD Colors" at startup.
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 03 / June / 2013, 10:11:10
Would a laser pointer make a change in value int the IR remote sensor in front or to the other  sensor?
It could make an instant high speed trigger for those split second bullet shots.

Or at lest a reverse IR remote setting where a IR remote control button is held on and when something breaks its signal it triggers.
It should work for big things like a motorcycle driving by and perhaps even a ball sized object.
One could just activate it and move to the other side of path object and hold button down and when the object obstructs the remote's signal it could provide a high speed trigger.

much love
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 03 / June / 2013, 13:27:37
Would a laser pointer make a change in value int the IR remote sensor in front or to the other  sensor?
It could make an instant high speed trigger for those split second bullet shots.

Or at lest a reverse IR remote setting where a IR remote control button is held on and when something breaks its signal it triggers.
It should work for big things like a motorcycle driving by and perhaps even a ball sized object.
One could just activate it and move to the other side of path object and hold button down and when the object obstructs the remote's signal it could provide a high speed trigger.

much love

Now, that idea is genius if it's possible!
Title: Re: Eos 400d ( Rebel XTI )
Post by: JoeNeptune on 08 / June / 2013, 11:20:58
Thank you very much for your support.

Maybe the light meter could work as a laser sensor?
Or perhaps it could detect a  lasers interference with something like the auto-focus.
Perhaps this means of high speed triggering, with no external switching, may have advantages over others where it may be just a few cycles of the processor to activate.
But in any case I think it would be a lot of fun and worth while to try it.



Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 09 / June / 2013, 06:03:23
Thank you very much for your support.

Maybe the light meter could work as a laser sensor?
Or perhaps it could detect a  lasers interference with something like the auto-focus.
Perhaps this means of high speed triggering, with no external switching, may have advantages over others where it may be just a few cycles of the processor to activate.
But in any case I think it would be a lot of fun and worth while to try it.
I don't think it's possible to do something like that.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 12 / June / 2013, 03:08:43
@Sergei / @0xAF:

I am experiencing random camera lock-ups, that I cannot fix myself, and would like to hear your opinion on this. As far as I know, the symptoms when this happens are:

* Just after a shot has been taken, all buttons stop responding, and the display does not show our overlay.
* Camera can take another photograph, however (but it does not get to the CF card)
* Finally, the display goes off, and the camera is completely locked (it cannot even be turned off).

In 400plus, we always overlay something on the display, so my first suspect was the overlay code; I commented out that part, and it seems to work (but you can never be sure with random bugs). This would confirm that the source of the problem is in the overlay code.

Now, how can it be possible that we always overlay something, but I see nothing in the display? So, my next suspect is the pointer to the display that we receive: if we received a wrong pointer, we would be writing somewhere else in the memory, and that could explain the lock-up.

I tried to log the value that we receive in that parameter, and it seems to be constant (I could not reproduce the issue and see what value we received when it happens, however); there is also that weird constant value that we add to the pointer.

And this is all I know about this issue... I have been banging my head against the code for weeks, but I cannot find anything else.  Do you have any ideas, please?

Many thanks!
Edu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 12 / June / 2013, 03:22:24
@Sergei / @0xAF:

I am experiencing random camera lock-ups, that I cannot fix myself, and would like to hear your opinion on this. As far as I know, the symptoms when this happens are:

* Just after a shot has been taken, all buttons stop responding, and the display does not show our overlay.
* Camera can take another photograph, however (but it does not get to the CF card)
* Finally, the display goes off, and the camera is completely locked (it cannot even be turned off).

In 400plus, we always overlay something on the display, so my first suspect was the overlay code; I commented out that part, and it seems to work (but you can never be sure with random bugs). This would confirm that the source of the problem is in the overlay code.

Now, how can it be possible that we always overlay something, but I see nothing in the display? So, my next suspect is the pointer to the display that we receive: if we received a wrong pointer, we would be writing somewhere else in the memory, and that could explain the lock-up.

I tried to log the value that we receive in that parameter, and it seems to be constant (I could not reproduce the issue and see what value we received when it happens, however); there is also that weird constant value that we add to the pointer.

And this is all I know about this issue... I have been banging my head against the code for weeks, but I cannot find anything else.  Do you have any ideas, please?

Many thanks!
Edu.

Hm, I should try to simulate the problem too... Perhaps in the end of the week I'll get some free time to play with it.
About the pointer, it will be always the same, do not worry about it. The offset which we add to the pointer, is because this pointer  points to a structure, and we use some member of this structure (hence we offset from the beginning of the structure).

It's strange that commenting the overlay code fixes the problem. I would not suspect it, but I should check it out to be sure. The actual changing of the VRAM stuff is not the problem, but something that uses the same hardware, or other hardware somehow related (IRQs/MPU/some bus) could interfere...

I will have a look later this week.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 12 / June / 2013, 07:22:07
Have you tried to use static value for display_overlay() in hack_TransferScreen()?
Something like this:  display_overlay((uint8_t*)(0x12345 + 0x78)); Where "0x12345" is a integer value from r3 which is now hard coded to prevent to use different pointer in display_overlay() if hack_TransferScreen() receives different one.
   Or maybe you can move display_overlay() to *hack_invert_olc_screen().
Code: [Select]
void *hack_invert_olc_screen1(char *dst, char *src, int size) {
        display_overlay(src);
        if ( settings.invert_olc && (FLAG_GUI_MODE == GUIMODE_OLC)) {
                while (size--) {
                        *dst++ = olc_colors_map[settings.invert_olc] - (*src++);
                }
                return dst;
        }

        return memcpy(dst, src, size);
}

void *hack_invert_olc_screen2(char *dst, char *src, int size) {
        if ( settings.invert_olc && (FLAG_GUI_MODE == GUIMODE_ACTIVESWEEP_OLC)) {
                while (size--) {
                        *dst++ = olc_colors_map[settings.invert_olc] - (*src++);
                }
                return dst;
        }

        return memcpy(dst, src, size);
}

And change those two lines in init.c:
        cache_fake(0xFF92C5D8, BL_INSTR(0xFF92C5D8, &hack_invert_olc_screen1), TYPE_ICACHE);
        cache_fake(0xFF92C5FC, BL_INSTR(0xFF92C5FC, &hack_invert_olc_screen2), TYPE_ICACHE);
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 18 / June / 2013, 10:12:27
May thanks to both 0xAF and Sergei for your help; I will try your advice and report back.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 18 / June / 2013, 13:14:28
May thanks to both 0xAF and Sergei for your help; I will try your advice and report back.

Sorry Edu, I was out of reach in the weekend, I cannot promise my free time soon... I will do my best, though!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / June / 2013, 01:45:07
Sorry Edu, I was out of reach in the weekend, I cannot promise my free time soon... I will do my best, though!

No reason to be sorry... I understand, and I cannot complaint!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / June / 2013, 02:05:16
Well, this is weird...

I am intercepting the display refresh using the traditional method (cache hacks are scheduled for next version):
Code: [Select]
TransferScreen = my_TransferScreen;

And my_TransferScreen is just this piece of code:
Code: [Select]
int my_TransferScreen(int r0, int r1, int r2, int r3, int a, int b, int c, int d) {
    display_overlay((uint8_t*)(r3 + 0x78));

return TransferNormalScreen(r0, r1, r2, r3, a, b, c, d);
}

Now, the fun part is at display_overlay:
Code: [Select]
void display_overlay(uint8_t *vram_address) {
char buffer[LP_MAX_WORD];

if (FLAG_GUI_MODE == GUIMODE_OLC && AE_IS_CREATIVE(DPData.ae)) {
int current_cmode = get_current_cmode();

if (status.msm_active)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  35,  96, "[***]");
else if (status.cmode_active && current_cmode != CMODE_NONE)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  16,  96, "%s", cmodes_config.names[current_cmode]);

if (status.fexp && DPData.tv_val != TV_VAL_BULB)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 138,  32, "#");

if (settings.autoiso_enable && (DPData.ae != AE_MODE_M || DPData.tv_val != TV_VAL_BULB))
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 237,  14, "%s", AUTOISO_AUTO);

if (DPData.wb == WB_MODE_COLORTEMP)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  50, 138, "%d", DPData.color_temp);

if (DPData.ae_bkt) {
ec_print(buffer, DPData.ae_bkt);
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 224,  96, "%s", buffer);
}

#ifdef RELEASE
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_BLUE), 148, 0, LP_WORD(L_P_400PLUS));
#else
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_RED ),  20, 0, LP_WORD(L_A_WARNING));
#endif

if (*display_message) {
if(timestamp() < message_timeout)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_WHITE, COLOR_BLACK),  16, 228, display_message);
else
*display_message = '\0';
}
}
}

With that code, bad things happen: I cannot take more than a couple dozen photographs before the camera locks. If I just comment out the first line (where TransferScreen is intercepted), then everything seems to work nicely; so far so good, problem seems to be here.

I suspected we could be writing to the display in a bad moment, so I added some code, at the end of display_overlay, but inside the "if (FLAG_GUI_MODE == GUIMODE_OLC && AE_IS_CREATIVE(DPData.ae))" condition, to check whether the display was off, and make the camera emit a beep in that case (notice that the display is checked after writing to it, we are always writing to the display).

Well, guess what? Yes, I hear the accusing beep now and then, but one hundred photographs later the camera hasn't failed once.  So, adding some innocent code inside display_overlay seems to fix the issue, but I haven't the slightest idea of why...
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 20 / June / 2013, 03:01:04
Well, guess what? Yes, I hear the accusing beep now and then, but one hundred photographs later the camera hasn't failed once.  So, adding some innocent code inside display_overlay seems to fix the issue, but I haven't the slightest idea of why...

Sounds like a race condition ?!?... Perhaps a semaphore can solve it.
Either our own semaphore, or we find a semaphore for the display and rely on it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 20 / June / 2013, 03:29:45
Sounds like a race condition ?!?... Perhaps a semaphore can solve it.
Either our own semaphore, or we find a semaphore for the display and rely on it.

That makes sense: all my test code seems to add is some delay to the execution of display_overlay; perhaps that delay is enough to fix a race condition [it also serves to wake up our message queue, by the way; but then removing display_overlay should not fix the issue].

In the past, we used the semaphore at VramInstance_address, but that was when we refreshed the display asynchronously; as soon as Sergei found out about the TransferScreen method, we stopped using that semaphore: if I am not mistaken, TransferScreen is already protected by that semaphore (and thus display_overlay is also protected).
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 20 / June / 2013, 04:09:16
Just some thoughts:

1.
Is it possible that in some race condition case get_current_cmode() returns something not reliable (i.e. > CMODES_MAX) ?
then this line in display_overlay() will make troubles:
Code: [Select]
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  16,  96, "%s", cmodes_config.names[current_cmode]);
note the cmodes_config.names[]

2.
I would try to wrap the display_overlay() with semaphore just in case...
i'm not sure if this will help, but the "timestamp()" call actually calls clock_gettime() with "0" as first param, which should mean CLOCK_REALTIME.
If this VxWorks function is truly posix, it probably reads the RTC of the camera, which should be separate module with SPI/I2C (or similar) interface, hence communication over the BUS is needed. It is possible (depending of the implementation of clock_gettime ) that if this routine is called too fast the BUS is busy and if it does not check the BUS, bad things may happen. Though I believe VxWorks should have considered this.
Anyway, try wrapping the display_overlay() with our semaphore and see if it helps ?
Title: Re: Eos 400d ( Rebel XTI )
Post by: Kekk_400D on 24 / June / 2013, 16:54:18
Hi,
first of all thanks for all your work for this magic sw.
I got a lot of problems with the latest version, the camera locked a lot of time and was forced to do a battery pull each time there was a lock. Moreover the camera locked when I mounted the flash Nissin, it has been impossible to shot with the flash.
I reinstall an old version of last year, suitable for my needs.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 26 / June / 2013, 02:18:09
Well, I just returned from a 4 day trip with a full 2GB card, and guess what? The camera did not lock, not even once! And all I changed was these two lines at the end of display_overlay:

Code: [Select]
void display_overlay(uint8_t *vram_address) {
    char buffer[LP_MAX_WORD];

    if (FLAG_GUI_MODE == GUIMODE_OLC && AE_IS_CREATIVE(DPData.ae)) {
        int current_cmode = get_current_cmode();

        if (status.msm_active)
            bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  35,  96, "[***]");
        else if (status.cmode_active && current_cmode != CMODE_NONE)
            bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  16,  96, "%s", cmodes_config.names[current_cmode]);

        if (status.fexp && DPData.tv_val != TV_VAL_BULB)
            bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 138,  32, "#");

        if (settings.autoiso_enable && (DPData.ae != AE_MODE_M || DPData.tv_val != TV_VAL_BULB))
            bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 237,  14, "%s", AUTOISO_AUTO);

        if (DPData.wb == WB_MODE_COLORTEMP)
            bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  50, 138, "%d", DPData.color_temp);

        if (DPData.ae_bkt) {
            ec_print(buffer, DPData.ae_bkt);
            bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 224,  96, "%s", buffer);
        }

#ifdef RELEASE
        bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_BLUE), 148, 0, LP_WORD(L_P_400PLUS));
#else
        bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_RED ),  20, 0, LP_WORD(L_A_WARNING));
#endif

        if (*display_message) {
            if(timestamp() < message_timeout)
                bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_WHITE, COLOR_BLACK),  16, 228, display_message);
            else
                *display_message = '\0';
        }

        if (!FLAG_DISPLAY_ON)
                enqueue_action(beep);
    }
}

Hi,
first of all thanks for all your work for this magic sw.
I got a lot of problems with the latest version, the camera locked a lot of time and was forced to do a battery pull each time there was a lock. Moreover the camera locked when I mounted the flash Nissin, it has been impossible to shot with the flash.
I reinstall an old version of last year, suitable for my needs.

We are working on this problem, sorry for the inconvenience.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 26 / June / 2013, 03:40:18
Well, I just returned from a 4 day trip with a full 2GB card, and guess what? The camera did not lock, not even once! And all I changed was these two lines at the end of display_overlay:

Code: [Select]
...
        if (!FLAG_DISPLAY_ON)
                enqueue_action(beep);
...

enqueue_action() is calling TryPostMessageQueue() only.
IMO TryPostMessageQueue() should not be a blocking function, which means this 2 lines adds only few ns (or ms) delay to the display_overlay() routine.
Can you try it with SleepTask(10) for example.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 26 / June / 2013, 12:46:35
Eduperez, try to declare display_message as static variable in display.c.
Code: [Select]
static char display_message[LP_MAX_WORD];
Title: Re: Eos 400d ( Rebel XTI )
Post by: karl.nap on 30 / June / 2013, 17:41:24
Hi,
first of all thanks for all your work for this magic sw.
I got a lot of problems with the latest version, the camera locked a lot of time and was forced to do a battery pull each time there was a lock.
...
I reinstall an old version of last year, suitable for my needs.

Same here... (400D incl. BG-E3) 

Many thanks for your great work!  :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 30 / June / 2013, 19:00:25
I have finally changed display_overlay to this:
Code: [Select]
void display_overlay(uint8_t *vram_address) {
char buffer[LP_MAX_WORD];

if (FLAG_GUI_MODE == GUIMODE_OLC && AE_IS_CREATIVE(DPData.ae)) {
if (FLAG_DISPLAY_ON) {
int current_cmode = get_current_cmode();

if (status.msm_active)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  35,  96, "[***]");
else if (status.cmode_active && current_cmode != CMODE_NONE)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  16,  96, "%s", cmodes_config.names[current_cmode]);

if (status.fexp && DPData.tv_val != TV_VAL_BULB)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 138,  32, "#");

if (settings.autoiso_enable && (DPData.ae != AE_MODE_M || DPData.tv_val != TV_VAL_BULB))
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 237,  14, "%s", AUTOISO_AUTO);

if (DPData.wb == WB_MODE_COLORTEMP)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY),  50, 138, "%d", DPData.color_temp);

if (DPData.ae_bkt) {
ec_print(buffer, DPData.ae_bkt);
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_GRAY), 224,  96, "%s", buffer);
}

#ifdef RELEASE
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_BLUE), 148, 0, LP_WORD(L_P_400PLUS));
#else
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_BLACK, COLOR_RED ),  20, 0, LP_WORD(L_A_WARNING));
#endif

if (*display_message) {
if(timestamp() < message_timeout)
bmp_printf(vram_address, FONT(FONT_SMALL, COLOR_WHITE, COLOR_BLACK),  16, 228, display_message);
else
*display_message = '\0';
}
} else {
SleepTask(OVERLAY_DELAY);
}
}
}

And this seems to be working properly; so I have just released it as 20130414-03.

Many thanks for your help!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 10 / July / 2013, 16:47:03
It has been reported to me that version 20130414-03 still produces camera lock-ups; and unfortunately, I do not have much time right now to spend on this. I have just released 20130414-04, that disables all the overlay information, until I can find some time and come back to this issue.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 05 / September / 2013, 10:56:08
Hi,

most likely you've already heard about this: http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html (http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html)

He managed to hack a wifi sd-card that is based on a linux system. So I thought that maybe by using a Sd2CF Adapter card this would offer a whole bunch of possibilities by accessing the linux system on the sd wifi from 400plus. I've ordered a Transcend wifi to see if the already existing 400plus is working with it

Regards
F.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / September / 2013, 18:07:31
Hi,

most likely you've already heard about this: http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html (http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html)

He managed to hack a wifi sd-card that is based on a linux system. So I thought that maybe by using a Sd2CF Adapter card this would offer a whole bunch of possibilities by accessing the linux system on the sd wifi from 400plus. I've ordered a Transcend wifi to see if the already existing 400plus is working with it

Regards
F.

Many thanks for the link. I had not read about that hack before, and it looks very interesting: with the proper software, it could allow us to upload files (our AUTOEXEC.BIN mostly) directly to the card, without having to remove it from the camera, before each test. I'm waiting for your results!
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 06 / September / 2013, 06:22:17
Hi,

most likely you've already heard about this: http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html (http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html)

He managed to hack a wifi sd-card that is based on a linux system. So I thought that maybe by using a Sd2CF Adapter card this would offer a whole bunch of possibilities by accessing the linux system on the sd wifi from 400plus. I've ordered a Transcend wifi to see if the already existing 400plus is working with it

Regards
F.

Yeah, pretty cool, please report your results.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ttoogood on 07 / September / 2013, 14:29:58
me noobie.

I just picked up an XTi used off some bloke. A major upgrade over my first-gen rebel. Naturally, the first thing I do is hack it. Now I'm running 400plus and interested in learning how to write scripts for it. Are LUA scripts compatible with 400plus? Are there other languages I can code them in? My familiarity with LUA is basic, to say the least, but I have a solid understanding of C-derivative and markup languages.

Point me in the right direction. I want to sink my teeth into this one while the novelty is fresh.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / September / 2013, 14:51:38
me noobie.

I just picked up an XTi used off some bloke. A major upgrade over my first-gen rebel. Naturally, the first thing I do is hack it. Now I'm running 400plus and interested in learning how to write scripts for it. Are LUA scripts compatible with 400plus? Are there other languages I can code them in? My familiarity with LUA is basic, to say the least, but I have a solid understanding of C-derivative and markup languages.

Point me in the right direction. I want to sink my teeth into this one while the novelty is fresh.

There is no scripting language in 400Plus.
The only way to write your own automation is to get the source code and write it in C, then compile and run.
You will need to understand the 400Plus API and Canon API for this. Not so hard to learn.
There is no other option ATM.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ttoogood on 10 / September / 2013, 20:30:53
Okay... I picked up a book on ANSI C. I downloaded a source package, and I'm thumbing through screens of code. I installed Pelles C IDE, but it sounds like I might need to run a virtual machine to compile this thing. Is that right?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 11 / September / 2013, 03:54:21
Okay... I picked up a book on ANSI C. I downloaded a source package, and I'm thumbing through screens of code. I installed Pelles C IDE, but it sounds like I might need to run a virtual machine to compile this thing. Is that right?

I think there is a compiler for win32, but we are using linux.
To start with development you can refer to these articles:
https://code.google.com/p/400plus/wiki/devinfo (https://code.google.com/p/400plus/wiki/devinfo)
http://www.magiclantern.fm/forum/index.php?topic=991.0 (http://www.magiclantern.fm/forum/index.php?topic=991.0)
If you read the ML info, keep in mind that you need our source code. No need to checkout ML source code.
Title: Re: Eos 400d ( Rebel XTI )
Post by: ttoogood on 11 / September / 2013, 10:36:27
So far so good! I found that the 'menu' files were the best place to start / the simplest place to find a link to what I see coded and what I see on my camera screen. Found all the undocumented navigational features. That was fun. Discovered the markdown file this morning, which helped to clarify some things. Now I'm scanning header files for useful constants and functions, daydreaming, watching clouds go by, brainstorming.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / September / 2013, 11:00:51
So far so good! I found that the 'menu' files were the best place to start / the simplest place to find a link to what I see coded and what I see on my camera screen. Found all the undocumented navigational features. That was fun. Discovered the markdown file this morning, which helped to clarify some things. Now I'm scanning header files for useful constants and functions, daydreaming, watching clouds go by, brainstorming.

Welcome aboard!
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 11 / September / 2013, 14:15:09
Hi,

most likely you've already heard about this: http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html (http://haxit.blogspot.ch/2013/08/hacking-transcend-wifi-sd-cards.html)

He managed to hack a wifi sd-card that is based on a linux system. So I thought that maybe by using a Sd2CF Adapter card this would offer a whole bunch of possibilities by accessing the linux system on the sd wifi from 400plus. I've ordered a Transcend wifi to see if the already existing 400plus is working with it

Regards
F.

Yeah, pretty cool, please report your results.

Hi all,

the card arrived. I can confirm that 400plus runs from this card  :D I am using a 'delock sd to cf adapter' (just google it, it is a yellow adapter) and after making the card bootable using EOScard (running under Win8) and transfering/copying the 400plus files from an existing card things worked again. Now I can access my photos from my iPhone/iPad etc. For a list of features have a look at the transcend card docu.

I can also see the Autoexec.bin etc. in the files section using a browser but by default there is no way to upload files from the PC (at least I didn't find it yet).

Maybe I'll try to get an ftp server up&running after hacking the card.  My skills maybe too limited for this though.

Regards
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 11 / September / 2013, 14:23:35

Hi all,

the card arrived. I can confirm that 400plus runs from this card  :D I am using a 'delock sd to cf adapter' (just google it, it is a yellow adapter) and after making the card bootable using EOScard (running under Win8) and transfering/copying the 400plus files from an existing card things worked again. Now I can access my photos from my iPhone/iPad etc. For a list of features have a look at the transcend card docu.

I can also see the Autoexec.bin etc. in the files section using a browser but by default there is no way to upload files from the PC (at least I didn't find it yet).

Maybe I'll try to get an ftp server up&running after hacking the card.  My skills maybe too limited for this though.

Regards

This is cool.
It's pretty important for us, to be able to upload files to the card. Please report if you succeed.
BTW what's the total price for the card and the adapter (reference price)
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 12 / September / 2013, 15:32:28
It's pretty important for us, to be able to upload files to the card. Please report if you succeed.
BTW what's the total price for the card and the adapter (reference price)

Hi.

:D :D :D :D !!!!!! Success !!!!!! :D :D :D :D

In fact it is soooo easy (though it took me a while to realize)

After following http://haxit.blogspot.de/2013/08/hacking-transcend-wifi-sd-cards.html (http://haxit.blogspot.de/2013/08/hacking-transcend-wifi-sd-cards.html) with installing chrome in my linux-vm trying and all the other stuff described on this site for several hours I realized that you only have to do this:

autorun.sh
Code: [Select]
cp /mnt/sd/busybox-armv5l /sbin/busybox
chmod a+x /sbin/busybox
/sbin/busybox telnetd -l /bin/bash &
/sbin/busybox tcpsvd 0.0.0.0 21 ftpd -w / &
(Change / to /mnt/sd in the last line in case you only want access the 'normal' CF-card area instead of the linux system running on the SD card)

Now you can either telnet (telnet 192.168.11.254 that's the SD cards default IP) into the SD-card or transfer files via ftp (tested up-/downloading using Firefox & FireFTP addon)

The cool thing is if you can create files via 400plus (e.g. just an empty file in any subdirectory) you could have a simple bash script watching for the existence of this file and execute another script (e.g. for transferring your pictures to a NAS, etc.) You may think of very fancy stuff as with this SD card you have another computer running in your camera. As somebody commented on the original hack site
Quote
Amazing!!
16/32GB flash, 32MB RAM, 400+ BogoMIPS processor, wifi connectivity...inside a SD card!!

Regards

BTW SD card was ~50€ incl. shipping via eBay, I already owned the Sd to CF Adapter but you should get one for ~20€
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 12 / September / 2013, 15:47:26
It's pretty important for us, to be able to upload files to the card. Please report if you succeed.
BTW what's the total price for the card and the adapter (reference price)

Hi.

:D :D :D :D !!!!!! Success !!!!!! :D :D :D :D

In fact it is soooo easy (though it took me a while to realize)

After following http://haxit.blogspot.de/2013/08/hacking-transcend-wifi-sd-cards.html (http://haxit.blogspot.de/2013/08/hacking-transcend-wifi-sd-cards.html) with installing chrome in my linux-vm trying and all the other stuff described on this site for several hours I realized that you only have to do this:
  • Create a script (named autorun.sh) in the root of the SD card (did this using Win8 & Notepad++, Windows users be aware: some editors may have problems creating LINUX conform linefeeds)
  • copy the busybox-armv5l binary (download link is given on the site) also to the root of the SD

autorun.sh
Code: [Select]
cp /mnt/sd/busybox-armv5l /sbin/busybox
chmod a+x /sbin/busybox
/sbin/busybox telnetd -l /bin/bash &
/sbin/busybox tcpsvd 0.0.0.0 21 ftpd -w / &
(Change / to /mnt/sd in the last line in case you only want access the 'normal' CF-card area instead of the linux system running on the SD card)

Now you can either telnet (telnet 192.168.11.254 that's the SD cards default IP) into the SD-card or transfer files via ftp (tested up-/downloading using Firefox & FireFTP addon)

The cool thing is if you can create files via 400plus (e.g. just an empty file in any subdirectory) you could have a simple bash script watching for the existence of this file and execute another script (e.g. for transferring your pictures to a NAS, etc.) You may think of very fancy stuff as with this SD card you have another computer running in your camera. As somebody commented on the original hack site
Quote
Amazing!!
16/32GB flash, 32MB RAM, 400+ BogoMIPS processor, wifi connectivity...inside a SD card!!

Regards

BTW SD card was ~50€ incl. shipping via eBay, I already owned the Sd to CF Adapter but you should get one for ~20€


Thanks for the update. This info is refreshing.
Many possibilities with these SD cards. :)
Thanks again.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 12 / September / 2013, 16:04:54
Thanks for the update. This info is refreshing.
Many possibilities with these SD cards. :)
Thanks again.

You are welcome. Happy that I could give a small piece back to those who are creating this great stuff

Regards
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 12 / September / 2013, 16:28:39
You are welcome. Happy that I could give a small piece back to those who are creating this great stuff

Regards


We are all making great stuff, given that we live a life.
Some more, some less, but all of us are doing great things in our lives :)
Keep dreaming and you will be one of the important people in this world !

Thanks.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 13 / September / 2013, 15:28:59
Hi.

It'll be really cool if any of the devs would include new submenu in a new release - maybe called Transcend WiFi  :) - with two entries named 1 & 2 or On & Off that each would simply write an empty file (named correspondingly) at a predefined location (maybe in a directory called trans_wifi)

[!Transcend_WiFi >]
[1] writes the empty file 1 in directory trans_wifi on the CF card
[2] writes the empty file 2 in directory trans_wifi on the CF card

Of course the more the better.

That would allow me to try certain things with the wifi card (see few post above in this thread)

I'll write a corresponding feature request too.

Thanks in advance for considering to do or even doing it.

Regards
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 13 / September / 2013, 15:50:59
Hi.

It'll be really cool if any of the devs would include new submenu in a new release - maybe called Transcend WiFi  :) - with two entries named 1 & 2 or On & Off that each would simply write an empty file (named correspondingly) at a predefined location (maybe in a directory called trans_wifi)

[!Transcend_WiFi >]
[1] writes the empty file 1 in directory trans_wifi on the CF card
[2] writes the empty file 2 in directory trans_wifi on the CF card

Of course the more the better.

That would allow me to try certain things with the wifi card (see few post above in this thread)

I'll write a corresponding feature request too.

Thanks in advance for considering to do or even doing it.

Regards

Sounds relatively easy to be done... though i do not have the camera with me at the moment.... I can do this when I find some time ...

Just to coordinate with Edu...
Edu, do you think this should come with our firmware or it should be in separate testing version ?
My vote goes for main firmware.
 
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / September / 2013, 17:59:56
Hi! I am really busy lately, I have literally one year of photographs pending to edit. But this is way too interesting to let it pass; I'll try to find the time to do it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 14 / September / 2013, 05:17:32
Hi! I am really busy lately, I have literally one year of photographs pending to edit. But this is way too interesting to let it pass; I'll try to find the time to do it.
Don't worry I can do it too. Just wanted to coordinate with you.
My only problem is that the camera is not with me. I gave it to my sister for a trip.

@Knatterman, I would need you to test what I do. We can collaborate on Jabber/GMail if you have one.
Drop me a PM if you're interested.
Title: Re: Transcend WiFi SD access
Post by: PhilHornby on 25 / September / 2013, 12:52:36

The cool thing is if you can create files via 400plus (e.g. just an empty file in any subdirectory) you could have a simple bash script watching for the existence of this file and execute another script (e.g. for transferring your pictures to a NAS, etc.) 

There's an issue to overcome there...

What you've effectively got, is an SD card that's connected to two computer systems at the same time - using a file system that doesn't have any support for such a configuration.

So if you create a file using 400plus, you can't necessarily see it from the Transcend CPU (because the FAT info is stale). Even if you overwrite an existing file with new data, you may or may not be able to see that data from the 'other side'; it depends on where precisely it got written on the card.

Maybe there's a mechanism in Linux to force the OS's view of the file system to be refreshed? ... the only thing I could think of, was to umount /dev/mmcblk0p1 and then re-mount it (on /mnt/sd). Unfortunately, every time I try it, the IP connection drops. Sometimes the link comes back up, without having to power-cycle, but I've not seen the mount command work yet (it gives "Invalid argument").

I bought my Transcend card to use with a Photo Frame, rather than the camera. When the 'card' boots, a script renames all the image directories, so that it doesn't always play the photos in the same order (a feature the Photo frame doesn't have as standard). Of course, this script was also running when I inserted the SD card into my PC to copy on new JPEGS - the result was instant corruption, due to the aforementioned stale FAT info. I ended up having to check for the presence of a 'flag file' on the card, in the Linux bash script.

As an aside, this card doesn't work in my Photo Frame's SD slot - but it does work in the USB slot, using the supplied SD card reader. Possibly the fact that it draws 150~250mA is the reason?

Title: Re: Transcend WiFi SD access
Post by: eduperez on 26 / September / 2013, 06:46:11

The cool thing is if you can create files via 400plus (e.g. just an empty file in any subdirectory) you could have a simple bash script watching for the existence of this file and execute another script (e.g. for transferring your pictures to a NAS, etc.) 

There's an issue to overcome there...

What you've effectively got, is an SD card that's connected to two computer systems at the same time - using a file system that doesn't have any support for such a configuration.

So if you create a file using 400plus, you can't necessarily see it from the Transcend CPU (because the FAT info is stale). Even if you overwrite an existing file with new data, you may or may not be able to see that data from the 'other side'; it depends on where precisely it got written on the card.

Maybe there's a mechanism in Linux to force the OS's view of the file system to be refreshed? ... the only thing I could think of, was to umount /dev/mmcblk0p1 and then re-mount it (on /mnt/sd). Unfortunately, every time I try it, the IP connection drops. Sometimes the link comes back up, without having to power-cycle, but I've not seen the mount command work yet (it gives "Invalid argument").

I bought my Transcend card to use with a Photo Frame, rather than the camera. When the 'card' boots, a script renames all the image directories, so that it doesn't always play the photos in the same order (a feature the Photo frame doesn't have as standard). Of course, this script was also running when I inserted the SD card into my PC to copy on new JPEGS - the result was instant corruption, due to the aforementioned stale FAT info. I ended up having to check for the presence of a 'flag file' on the card, in the Linux bash script.

As an aside, this card doesn't work in my Photo Frame's SD slot - but it does work in the USB slot, using the supplied SD card reader. Possibly the fact that it draws 150~250mA is the reason?

I do not own one of those cards, but here are some of my "armchair ideas":

* Create a large file previously and fill it with random data, then use that file to communicate both processes: as far as I know, FAT does not move files around, even if the contents are changed (unless you change the length of the file, obviously), and no corruption should be expected using this method.

* If I recall correctly, the underlying format of a FAT filesystem is quite simple; once you have a file allocated, you could try to find it in the device, and access its content directly from "the Linux part" using read/write calls to the device. From "the camera part", I have no idea how to do low-level operations, however.
Title: Re: Transcend WiFi SD access
Post by: PhilHornby on 01 / October / 2013, 16:46:56
Maybe there's a mechanism in Linux to force the OS's view of the file system to be refreshed? ... the only thing I could think of, was to umount /dev/mmcblk0p1 and then re-mount it (on /mnt/sd). Unfortunately, every time I try it, the IP connection drops. Sometimes the link comes back up, without having to power-cycle, but I've not seen the mount command work yet (it gives "Invalid argument").

It turns out that there's a script on the card that runs once a minute - that does indeed dismount and re-mount the card. It uses non-default options on the mount command, so it succeeds more often than my manual attempt (though not 100%  :() In any case, this is reliant on the other party doing something similar in order to ensure that it's reading up-to-date information.

The following links have some interesting insights into this card and its software:-

https://forum.openwrt.org/viewtopic.php?id=45820 (https://forum.openwrt.org/viewtopic.php?id=45820)
http://dmitry.gr/index.php?r=05.Projects&proj=15&proj=15.%20Transcend%20WiFiSD (http://dmitry.gr/index.php?r=05.Projects&proj=15&proj=15.%20Transcend%20WiFiSD)

http://www.fernjager.net/post-8/sdcard (http://www.fernjager.net/post-8/sdcard)
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 02 / November / 2013, 06:53:26
Can anyone help me with a problem I am having?

I am finding that when I use the EAEB script, the camera runs indefinately rather than using the number of frames set. I have it setup as follows...

2s delay - yes
frames - 3
step - +2
direction - +/-
Bulb min 1/4000
Bulb max 15"

I would expect this to take 3 shots - 1 at the base exposure and then 1 each side of it at +2 and -2. However the camera just continues to fire well beyond the 3 frames.

I am sure this is not a bug but operator error but can anyone help me with what I am doing wrong? I am using the last release build 20131404-04.

Thanks!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / November / 2013, 19:39:54
Can anyone help me with a problem I am having?

I am finding that when I use the EAEB script, the camera runs indefinately rather than using the number of frames set. I have it setup as follows...

2s delay - yes
frames - 3
step - +2
direction - +/-
Bulb min 1/4000
Bulb max 15"

I would expect this to take 3 shots - 1 at the base exposure and then 1 each side of it at +2 and -2. However the camera just continues to fire well beyond the 3 frames.

I am sure this is not a bug but operator error but can anyone help me with what I am doing wrong? I am using the last release build 20131404-04.

Thanks!

I just tried the EAEB script, using the same parameters, and it took 3 shots, as expected.
Could you post what parameters (AE mode, shutter speed, aperture, ...) where you using, please?
Title: Re: Eos 400d ( Rebel XTI )
Post by: hadede on 07 / November / 2013, 02:03:28
Hello,
I have recently purchased a Sigma Contemporary 17-70 F2,8-4 DC and I have some problems with it. I try to rule out all possible causes, and one of them might be the custom firmware... Is it possible that the 400plus firmware has anything to do with it?

Here is my problem description:
Usually the camera CF led blinks on insert battery / closing CF door / attaching lens. This also happens if the cam is turned off. In this case it's the only action of the cam which remains turned off. (With 400plus firmware on the CF card the blue led blinks as well)
If I attach my new lens the led(s) blink, then I hear a dim noise (which seems to be the image stabilizer of the lens) and then it seems the cam "restarts", because the leds blink again and the noise is there again and this happens in an infinite loop until the battery is dead...
If I turn the camera on, the lens works as expected, but on turning it off, the same looping starts again. But in this case, the ON-led of the camera stays and the camera does not react on any input, so only removing the battery helps.

This happens regardless of any custom firmware on the CF card (without it it's of course only the CF led blinking). AFAIK the hack installed in the camera is only a hook to dynamically load custom firmware. So I assume, that it has nothing to do with it, but I just want to make sure. I also tried reflashing the 1.1.1 Firmware, but it seems the hook is not removed by this, so I do not know if it would work with stock firmware.

The lens works normal on a newer EOS model which I had the chance to try it on. The local Sigma service suggested trying it on other 400Ds (but I don't know anyone with this model) and trying other stabilized lenses on my camera, as he said the camera might have issues with stabilized lenses. Other than that I can only send it to the service (or return it, as it's new... but I really would like to keep this lens as it fits my needs...).

Sorry for the elaborate post and thanks in advance for any answers.
Best Regards
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / November / 2013, 03:02:07
Hello,
I have recently purchased a Sigma Contemporary 17-70 F2,8-4 DC and I have some problems with it. I try to rule out all possible causes, and one of them might be the custom firmware... Is it possible that the 400plus firmware has anything to do with it?

As far as I know, there are other Sigma lens that have problems with Canon DSLRs and in particularly with 400D.
From what you've described, my opinion is that the lens are somehow incompatible with your 400D.
If you have problems without the CF card too, then this has nothing to do with the hack itself.
The so called reversing if the boot hook will do nothing more for you and I believe it will not resolve the issue.

For the time I've been around the hack, I've seen some 400D's that are somehow different than others... my guess is that the hardware somehow differs and the software handles it a bit different. Thought you cannot see any difference as a user, there were some single reports of strange things on some particular camera.
If I'm right in my believes, then it is the same for the Lens... some 400D's can have troubles with a particular lens and others can work with the same lens.
Title: Re: Eos 400d ( Rebel XTI )
Post by: hadede on 07 / November / 2013, 03:44:52
Thank you for your reply!
It was my assumption as well, that this is not related to the 400plus SW. With a blank CF card only the boot hook is left, which should not really affect anything. (BTW. Is removing the boot hook even possible? I tried flashing firmware 1.1.1 (which isn't available on my local canon website any more, had to find it on canon.jp...) but the boot hook stayed, and the 400plus page also notes that reversing is not possible.)

So my options are quite limited:

I think the only option is to return it...
Best Regards
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / November / 2013, 03:50:11
(BTW. Is removing the boot hook even possible? I tried flashing firmware 1.1.1 (which isn't available on my local canon website any more, had to find it on canon.jp...) but the boot hook stayed, and the 400plus page also notes that reversing is not possible.)

It is possible, you should be able to find some older versions of autoexec.bin here in this thread which can undo the hook (IIRC). On the other hand, we can put such option in 400Plus, but I believe it was discussed before and it seems such option can bring more troubles than benefits.
Title: Re: Eos 400d ( Rebel XTI )
Post by: hadede on 07 / November / 2013, 04:50:34
the only thing I found is:
http://chdk.setepontos.com/index.php?topic=3290.msg67715#msg67715 (http://chdk.setepontos.com/index.php?topic=3290.msg67715#msg67715)
but the link is already dead and I doubt my problem is related to 400plus

I've also now created a log file via the 400plus dev menu, but as I don't know what all that stuff means, I cannot tell if there's anything relevant in there... There are some sequences which are repeating, maybe you can spot sth suspicious?
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 07 / November / 2013, 06:22:09
I do not see anything important in the log file.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Sergei on 10 / November / 2013, 20:47:13
the only thing I found is:
http://chdk.setepontos.com/index.php?topic=3290.msg67715#msg67715 (http://chdk.setepontos.com/index.php?topic=3290.msg67715#msg67715)
but the link is already dead and I doubt my problem is related to 400plus
If you still want to remove the boot flag you can use this autoexec file:
https://hostr.co/vG9VL8Gd5IxO
This file also has a option to enable shutter release on "any" IR remote if anybody wants to try it out.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / January / 2014, 04:23:52
Ops! I released version 20130414-05 a few days ago, but forgot to make the announcement here; only enhancement is the new Icelandic translation.
Title: Re: Eos 400d ( Rebel XTI )
Post by: marko259 on 13 / April / 2014, 10:29:18
Hi guys,

Great Project, thank you for doing it.

I would like to use it on my 400d also, but i cannot seem to make it work. A while ago(2-3 years back) there was another 400d hack Project, i dont remember its name or home page, but it was activated very much the same way. I have a autoexec.bin on my card and i have some (fewer) options in my print menu. now i tried to reflash this testfir.fir and according to what i see, it looks like it is applied normally, but when i change my autoexec files to latest from this Project, nothing happens and it starts as if there is no hack, and when i change them back, the old Project gets loaded.

Can you help me? I tried flashing to 1.0.5 and then 1.1.1 back again and reapplying everything to no avail.

Thank you,
Marko
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 13 / April / 2014, 17:54:42
Hi guys,

Great Project, thank you for doing it.

I would like to use it on my 400d also, but i cannot seem to make it work. A while ago(2-3 years back) there was another 400d hack Project, i dont remember its name or home page, but it was activated very much the same way. I have a autoexec.bin on my card and i have some (fewer) options in my print menu. now i tried to reflash this testfir.fir and according to what i see, it looks like it is applied normally, but when i change my autoexec files to latest from this Project, nothing happens and it starts as if there is no hack, and when i change them back, the old Project gets loaded.

Can you help me? I tried flashing to 1.0.5 and then 1.1.1 back again and reapplying everything to no avail.

Thank you,
Marko

AFAIK, all versions and variants of this hack have always used the same method to "install" themselves into the camera. You should "update" the TESTFIR.FIR file just once, then your camera will be ready to use any hack. The fact that you can still use the old hack proves that your camera is ready, thus no further action is needed in this field.

Now, when a prepared camera starts, it checks the card: if the card is also prepared, the camera will look for the AUTOEXEC.BIN fine. If the camera finds the file, it will execute it; otherwise, the camera will fail to boot. Thus, if you can boot your camera with the card that contains the new version of the hack, it means that the camera does not recognize the card. I would try to format and prepare that card again.

Or perhaps you are trying to use the new version of the hack just like you used the old version; this hack has changed a lot in the last years, and you will need to have a look to the user guide.
Title: Re: Eos 400d ( Rebel XTI )
Post by: marko259 on 15 / April / 2014, 13:47:45
Thank you for the hint. I have 2 old cards, one 2GB one 4GB, replacing files on 2GB worked, but not on the 4GB. Old Project worked fine on the 4GB, then i saw that the 2GB was FAT and not FAT32, so i reformatted 4GB to FAT also and used EOScard, then set flags and then it worked fine. I have the latest nightly build btw.

Although the hack manual says FAT32 should work as well...

Thank You again.

Marko
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / April / 2014, 16:48:37
Well, it works on both version of the FAT filesystem; but, depending on the method you are using to prepare each card, there are some differences on how to do it.
Title: Re: Eos 400d ( Rebel XTI )
Post by: marko259 on 16 / April / 2014, 16:03:03
I used the same EOSCard app for both FAT and FAT32, was i doing it wrong? There wasn't anything really to do wrong.

Anyway, i was hoping you could explain the ISO in viewfinder feature. I was able to get it working but it works very weirdly. I have the D-pad enabled from the hack. When i view through the viewfinder and half-press the shutter button and then the up button, nothing happens. When i release the shutter button and press the up key the ISO selection is displayed on the big screen. I am able to get it to work when i press the zoom in button or AF point selection button WHEN i look through the viewfinder, after that i half press shutter again and then i am able to change ISO as instructed. BUT after that i am not able to change ISO or white balance or metering mode the old way, i have to press AF point selection again and then press the shutter half way and then i am able to change ISO, AF and metering the old way again. I have to repeat all to change it again in the viewfinder. If it is supposed to work this way then it is very hard to use. Shouldn't it switch the mode automagically when the proximity sensor fires?

You should also know that i have custom function 4 set to 1, AE Lock/AF, if this changes things.

Marko
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 16 / April / 2014, 17:33:45
I used the same EOSCard app for both FAT and FAT32, was i doing it wrong? There wasn't anything really to do wrong.

Sorry. I have never used EOSCard.

Anyway, i was hoping you could explain the ISO in viewfinder feature. I was able to get it working but it works very weirdly. I have the D-pad enabled from the hack. When i view through the viewfinder and half-press the shutter button and then the up button, nothing happens. When i release the shutter button and press the up key the ISO selection is displayed on the big screen. I am able to get it to work when i press the zoom in button or AF point selection button WHEN i look through the viewfinder, after that i half press shutter again and then i am able to change ISO as instructed. BUT after that i am not able to change ISO or white balance or metering mode the old way, i have to press AF point selection again and then press the shutter half way and then i am able to change ISO, AF and metering the old way again. I have to repeat all to change it again in the viewfinder. If it is supposed to work this way then it is very hard to use. Shouldn't it switch the mode automagically when the proximity sensor fires?

You should also know that i have custom function 4 set to 1, AE Lock/AF, if this changes things.

Marko

The ISO in the viewfinder works only while you are looking through the viewfinder and the camera is displaying the shutter speed and aperture on the viewfinder. You just have to look through the viewfinder, take a measurement, and use the LEFT/UP/RIGHT buttons.
Title: Re: Eos 400d ( Rebel XTI )
Post by: marko259 on 28 / April / 2014, 09:24:42
That's the point, i am looking through the viewfinder, and while i am looking through the viewfinder and pressing the ISO(UP) button the big screen turns on instead of dislaying the actual ISO value inside the viewfinder. To be able to change/view ISO through viewfinder you have to do what i described before.

Perhaps i could make a video of this to explain better, as a programmer myself, i imagine how you would like to flag it as "works-for-me" right now :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / April / 2014, 11:15:06
That's the point, i am looking through the viewfinder, and while i am looking through the viewfinder and pressing the ISO(UP) button the big screen turns on instead of dislaying the actual ISO value inside the viewfinder. To be able to change/view ISO through viewfinder you have to do what i described before.

Perhaps i could make a video of this to explain better, as a programmer myself, i imagine how you would like to flag it as "works-for-me" right now :)

Ok, I think I got it.

First, make sure that you have the "Use D-Pad" option enabled. Then, while looking through the viewfinder, half-press and release the shutter button; now you can use LEFT/UP/RIGHT buttons for the "ISO in viewfinder" feature, as long as the viewfinder remains lit.

If you keep the shutter half-pressed and then use the keypad, then "ISO in viewfinder" does not work (this is a known limitation); but I have also noticed that a wrong shutter speed may be set (this is a new bug I just discovered).

Hope this helps!
Title: New BETA version available
Post by: eduperez on 22 / May / 2014, 08:50:28
Hi there!

There has been little activity around here lately, but the project is still alive; as long as I have this camera (let's hope it does not break), I have the intention of keep working in 400plus.

Thinking about next version, I have decided to release BETA versions as soon as we reach relevant milestones. I think this workflow will make it easier to follow the project, test new features, detect new bugs, ... I released version 20140521-BETA a couple of days ago; you can find it in the upcoming folder (https://googledrive.com/host/0B66DLxueQUdxVmJGMVVYQnZUd2M/).

There are no user-related improvements in this version, but it incorporates a new "cache hack" (thanks mostly to Sergei and OxAF), and I wanted to make sure that everything works properly before adding new features. I have also recovered the overlay code from previous versions; this feature was the cause of many camera lock-ups, so more camera lock-ups are expected.

Google has changed the terms and conditions of the service that they provided to host our project: we can no longer put our downloads there, and thus I had to move everything to my Google Drive account. All links at the project's site have been updated, but if you find any difficulties downloading files, please let me know as soon as possible.

Please, remember that this is a BETA version, and this is an experimental project; if you really want to "use" your camera, it's better that you stick to the latest official release (20130414-05). This version is intended only for those who want to "play" with their cameras.

Edu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 22 / May / 2014, 12:53:45
Good job Edu. I'm still following the forum and the commits in the repo.
As you know I do not own the 400D anymore, though most users don't know.
Anyway I'm still available for questions/opinions/advices if you need them !

I will be around :)
Title: Re: Eos 400d ( Rebel XTI )
Post by: repeater on 25 / May / 2014, 05:41:29
Great news Edu. The 400D is still my main camera and will be while it continues to go strong. Not sure what other enhancements can be made to the already great 400Plus firmware but I look forward to trying them!

repeater
Title: Re: Eos 400d ( Rebel XTI )
Post by: teemo on 25 / May / 2014, 11:22:59
Still using 400p and very happy with it. Especially the prerecorded settings on the dial is a real timesaver.
I have just bought the S110 and installed chdk, and while the features are good and many and I like the small camera, I really miss the ease of use from the 400.

Thanks again for this fine piece of firmware.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Clapor on 23 / September / 2014, 15:47:45
very interesting project, thanks for development!

I just revitalized my 400d ... but note that using EOScard (unless under Win 7) you must remove all stuff it creates, before dropping the 400plus autoexec and language file, so may be somebody must change the "Preparing each card" section?

anyway, AUTO ISO works, apparently ...
i.e. you set it, point at something bright and it says e.g. 100 ISO, then point to something dark and it says e.g. 1600, you shoot and after that it says always 1600 even if your are pointing at the sun core!
OR
you set it, point at something bright and it says 100 ISO, then point to something dark and it says 1600, you click the ISO button, and after that AUTO ISO is killed

moreover, "Show ISO in Viewfinder" doesn't work at all and "DP for changing ISO" does nothing ...

suggestions to have AUTO ISO working and never going away?

BTW, puzzle captchas are funny
J
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 24 / September / 2014, 12:45:34
I just revitalized my 400d ... but note that using EOScard (unless under Win 7) you must remove all stuff it creates, before dropping the 400plus autoexec and language file, so may be somebody must change the "Preparing each card" section?

Unfortunately, EOSCard is maintained by someone not related to 400plus, and there is nothing we can do to improve that tool; I will change the documentation, thanks for the suggestion.

anyway, AUTO ISO works, apparently ...
i.e. you set it, point at something bright and it says e.g. 100 ISO, then point to something dark and it says e.g. 1600, you shoot and after that it says always 1600 even if your are pointing at the sun core!

Yes, AutoISO is a bit slow to react to sudden changes in the scene; and I am afraid that there is not much we can do about that.

you set it, point at something bright and it says 100 ISO, then point to something dark and it says 1600, you click the ISO button, and after that AUTO ISO is killed

AutoISO means that 400plus decides the ISO; if you try to set a different ISO, then you no longer want 400plus to set the ISO, so AutoISO is disabled automatically. If you accidentally enter the ISO dialog, just press DP to reactivate AutoISO.

moreover, "Show ISO in Viewfinder" doesn't work at all and "DP for changing ISO" does nothing ...

"Show ISO in viewfinder" works for me, and it also works for many others, but it is a bit difficult to get used to it. Unless there is something broken in your camera (does the display switches off when you put the camera to your face?), I would suggest rereading the user guide and practising a bit more.

Sorry, but I do not know what "DP for changing ISO" is... I could not find it in the current user guide.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Popcorn13 on 10 / January / 2015, 06:11:04
Hey

my name is Andy and i'm a new 400 plus user :)

I've got 3 questions:

1: Has someone translated the latest version into German? A lot of menus are still in English!
2: user's guide: German translation has a lot of errors ans is based on an old version of the user's guide. How can i help to translate it?
3. were can i find the ISO in viewfinder menu in the German menu?

Hopefully I've chosen the right topic ;)
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / January / 2015, 17:37:29
1: Has someone translated the latest version into German? A lot of menus are still in English!

As soon as I receive an update for a translation, I publish it as a new official release; so, the latest official release always contains the most recent translation for all languages. Unfortunately, translators are scarce, and some translations are outdated.

2: user's guide: German translation has a lot of errors ans is based on an old version of the user's guide. How can i help to translate it?

Get a Google account and send me the address (private messages are OK); I will give you write aces to the wiki. If you need help about how to format or update the page, just ask.

3. were can i find the ISO in viewfinder menu in the German menu?

ISO in viewfinder menu? There is a "ISO in viewfinder" feature, that can be enabled withe the "Use D-Pad" option, but there is no specific menu for it; here is the (English) documentation about this: https://code.google.com/p/400plus/wiki/UserGuide#ISO_In_Viewfinder
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 02 / April / 2015, 14:45:22
I'm looking for a 400D user to run a small test:
http://www.magiclantern.fm/forum/index.php?topic=14732.msg144057#msg144057 (http://www.magiclantern.fm/forum/index.php?topic=14732.msg144057#msg144057)

It's a portable autoexec.bin that prints "hello world" on all recent cameras, and there are some chances to work on 400D as well (but I don't have this camera to test it).
Title: Re: Eos 400d ( Rebel XTI )
Post by: Knatterman on 07 / April / 2015, 14:09:12
Hi, 

just tried the autoexec from the link. Just a black screen ... nothing happening at all :( :(

Let me know if I can do sth. else.

Regards
Frank
Title: Re: Eos 400d ( Rebel XTI )
Post by: a1ex on 07 / April / 2015, 15:38:43
Here's another test, just to make sure I'm calling the right display init routine. You should get the backlight enabled (probably something displayed as well, but that doesn't matter). The binary is only for 400D, and might cause damage if you try it on other cameras.

autoexec.bin (https://dl.dropboxusercontent.com/u/4124919/debug/portable-hello-world/400D/autoexec.bin)

Source code:
Code: [Select]
    mov r0, #0
    bl 0xffff8cf0
    loop: b loop
Title: We are moving!!!
Post by: eduperez on 16 / April / 2015, 02:20:34
Google is closing Google Code (where 400plus has been hosted up to now), so we are in the process of moving to GitHUB; everything seems has already been moved there, so we sill probably close the site at Google Code in a couple of days.

The new URL for the project is https://github.com/400plus/400plus.
Title: New BETA available
Post by: eduperez on 21 / April / 2015, 18:26:27
After almost one year, we finally have a new BETA version available.

This release does not add any new functionality to the previous BETA, but I hope to have fixed all the issues with freezing cameras. If you want to give it a try, just download it from https://github.com/400plus/400plus/releases/tag/20150422-BETA, copy the AUTOEXEC.BIN file to the card, and enjoy!
Title: SONY has copied 400pus!
Post by: eduperez on 30 / April / 2015, 11:06:50
http://www.dpreview.com/articles/6583883987/sony-introduces-touchless-shutter-app (http://www.dpreview.com/articles/6583883987/sony-introduces-touchless-shutter-app)
Title: Re: SONY has copied 400pus!
Post by: 0xAF on 30 / April / 2015, 13:44:58
http://www.dpreview.com/articles/6583883987/sony-introduces-touchless-shutter-app (http://www.dpreview.com/articles/6583883987/sony-introduces-touchless-shutter-app)

That's nice.
Congrats to Sony.
Just remind, how many years ago 400Plus implemented that?
Title: Re: Eos 400d ( Rebel XTI )
Post by: piyush7243 on 21 / June / 2015, 04:56:37
any idea where i can download the testfir.fir as the link on first page does not work.
Title: Re: Eos 400d ( Rebel XTI )
Post by: teemo on 21 / June / 2015, 11:01:45
any idea where i can download the testfir.fir as the link on first page does not work.

I guess it didn't make it to the new home at github. However, I do believe this (http://chdk.setepontos.com/index.php/topic,1618.0.html) is the correct file.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 29 / June / 2015, 13:37:08
GitHub does not allow downloads that are not linked to a release; the TESTFIR.FIR file is attached to the latest stable release: https://github.com/400plus/400plus/releases/tag/20130414-05.
Title: Re: Eos 400d ( Rebel XTI )
Post by: optikus64 on 04 / July / 2015, 10:18:38
Hi,

yes, with the last release all files come as .zip properly.

For installation:

To set the bootflag it is sufficient to use a normally formatted CF-card, copied .fir-file in the root-directory and starting the update-mechanism of the camera.

For using the autoexec-file and the other files for working with the camera the bootsector has to be written with EOSCard or another program as described in the installation-guide.

Copy at first the files from the .zip of the release to the card, root,
then run EOSCard with the marked signs as indicated.
The actual version of EOSCard works with win8.1 as I tested yesterday on a x64-system.

And than enjoy the anhanced 400D ...  :xmas - modify my 350D also...

Joerg
Title: Re: Eos 400d ( Rebel XTI )
Post by: J_canon on 10 / August / 2015, 17:26:48
For me, however the installation of the program was very successfully but since I use a CANON ACK-700, it is impossible  :(

I think that I have to buy back the real battery, it's a pity.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / August / 2015, 02:00:15
For me, however the installation of the program was very successfully but since I use a CANON ACK-700, it is impossible  :(

I think that I have to buy back the real battery, it's a pity.

Why? I do not understand how using a battery pack or an adapter may influence 400plus... There is one member of this project who used a self-made adapter, and he did not report any problem.
Title: Re: Eos 400d ( Rebel XTI )
Post by: J_canon on 11 / August / 2015, 09:49:57
Hi,
Finally, it works. Sorry.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 11 / August / 2015, 11:18:23
Glad to know, welcome to the party!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 02 / September / 2015, 17:20:34
After testing the latest BETA during a couple of trips, and making about 1,000 shots myself, I have decided to make it an "official release". There are no user-visible improvements, but the internal architecture has changed. From now on, the latest official release is 20150902-01 at https://github.com/400plus/400plus/releases/tag/20150902-01.
Title: Re: Eos 400d ( Rebel XTI )
Post by: codices on 15 / November / 2015, 01:37:56
Hello,
I have recently purchased a Sigma Contemporary 17-70 F2,8-4 DC and I have some problems with it. I try to rule out all possible causes, and one of them might be the custom firmware... Is it possible that the 400plus firmware has anything to do with it?

Here is my problem description:
Usually the camera CF led blinks on insert battery / closing CF door / attaching lens. This also happens if the cam is turned off. In this case it's the only action of the cam which remains turned off. (With 400plus firmware on the CF card the blue led blinks as well)
If I attach my new lens the led(s) blink, then I hear a dim noise (which seems to be the image stabilizer of the lens) and then it seems the cam "restarts", because the leds blink again and the noise is there again and this happens in an infinite loop until the battery is dead...
If I turn the camera on, the lens works as expected, but on turning it off, the same looping starts again. But in this case, the ON-led of the camera stays and the camera does not react on any input, so only removing the battery helps.

This happens regardless of any custom firmware on the CF card (without it it's of course only the CF led blinking). AFAIK the hack installed in the camera is only a hook to dynamically load custom firmware. So I assume, that it has nothing to do with it, but I just want to make sure. I also tried reflashing the 1.1.1 Firmware, but it seems the hook is not removed by this, so I do not know if it would work with stock firmware.

The lens works normal on a newer EOS model which I had the chance to try it on. The local Sigma service suggested trying it on other 400Ds (but I don't know anyone with this model) and trying other stabilized lenses on my camera, as he said the camera might have issues with stabilized lenses. Other than that I can only send it to the service (or return it, as it's new... but I really would like to keep this lens as it fits my needs...).

Sorry for the elaborate post and thanks in advance for any answers.
Best Regards

I am having a similar issue to what he is experiencing, but only with the latest release. The previous release does not have this issue.

I'm using the Canon 10-18 EF-S lens. When it gets stuck in the CF light flashing loop, I can move the zoom ring and it will break the loop and then turn off.

This issue is only happening with the latest release, but it does not happen with the latest release and a 1GB card (it's only happening with my 16GB card.) This could be fat/fat32 related but I didn't try formatting my 1GB card as fat32 to see if the issue persists.

One thing I did notice that is different with this lens compared to my other lenses is that when turning the camera off, the CF light will always at least flash once (not even using 400plus.) None of my other lenses do this.

With the older version it will usually flash twice, although sometimes it will flash up to 4 times. But so far it always turns off. The latest release will occasionally get stuck in a loop where it never stops flashing (unless I move the zoom ring.)

So in summary, the 1GB card with the latest firmware works mostly like the 16GB card with the old firmware. The 16GB card with the new firmware will sometimes get stuck in this weird CF light flashing loop when turning off, or opening the CF door, etc.

I have tried formatting the card, resetting the camera settings, etc, it does not fix it. There is something different with this latest version.

Thank you for all the great work!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / November / 2015, 05:41:28
I am having a similar issue to what he is experiencing, but only with the latest release. The previous release does not have this issue.

I'm using the Canon 10-18 EF-S lens. When it gets stuck in the CF light flashing loop, I can move the zoom ring and it will break the loop and then turn off.

This issue is only happening with the latest release, but it does not happen with the latest release and a 1GB card (it's only happening with my 16GB card.) This could be fat/fat32 related but I didn't try formatting my 1GB card as fat32 to see if the issue persists.

One thing I did notice that is different with this lens compared to my other lenses is that when turning the camera off, the CF light will always at least flash once (not even using 400plus.) None of my other lenses do this.

With the older version it will usually flash twice, although sometimes it will flash up to 4 times. But so far it always turns off. The latest release will occasionally get stuck in a loop where it never stops flashing (unless I move the zoom ring.)

So in summary, the 1GB card with the latest firmware works mostly like the 16GB card with the old firmware. The 16GB card with the new firmware will sometimes get stuck in this weird CF light flashing loop when turning off, or opening the CF door, etc.

I have tried formatting the card, resetting the camera settings, etc, it does not fix it. There is something different with this latest version.

Thank you for all the great work!

Sorry, but it is not clear to me if this still happens when you use a freshly formated card (without 400plus installed).

When the hack is "installed" into the camera, all it does is activate a flag so the camera checks for the AUTOEXEC.BIN file in the card during booting; and if such file cannot be found, then the camera boots normally. Thus, with a fresh card, the only collateral damage we expect is a slight increase in booting time.

Now, when 400plus is running, and the camera starts to shut down, we have to write some data to the card (this explains the extra flashes on the red LED). I am thinking that on a slow card, this process could take too much, and interfere with the shut down process. When you move the zoom ring, the lens sends some data to the camera (basically, to let the camera know the maximum aperture available), and 400plus intercepts those messages; it is plausible that moving the zoom ring has an effect on a stuck 400plus.

I will have deeper a look at this later, and report back.
Title: Re: Eos 400d ( Rebel XTI )
Post by: codices on 15 / November / 2015, 10:21:18
The flashing loop happens on the fast 16GB card and not the slow 1GB card. It does not happen on a freshly formatted card with 400plus not installed. It's strange that this only happens with the 10-18 lens and that even with 400plus not installed this is the only lens that causes the CF light to flash when turning the camera off.

edit: I formatted the 1GB card as fat32 and it still works fine so its not fat/fat32 issue. Also of note is that the 16GB card is a CF-SD adapter with a 16GB sd card, I'm going to try a different SD card to see if it has the same issue. It's weird that it is working fine with the old version though.

edit2: I tried a 1GB and 2GB sd card and they both seem to work fine, however 8gb,16gb and multiple 32gb sd cards have the issue. Also, when using a slower sd card, it does not stop the loop when moving the zoom ring, only when using a fast sd card does this cause the loop to stop.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 15 / November / 2015, 16:07:35
The flashing loop happens on the fast 16GB card and not the slow 1GB card. It does not happen on a freshly formatted card with 400plus not installed. It's strange that this only happens with the 10-18 lens and that even with 400plus not installed this is the only lens that causes the CF light to flash when turning the camera off.

edit: I formatted the 1GB card as fat32 and it still works fine so its not fat/fat32 issue. Also of note is that the 16GB card is a CF-SD adapter with a 16GB sd card, I'm going to try a different SD card to see if it has the same issue. It's weird that it is working fine with the old version though.

edit2: I tried a 1GB and 2GB sd card and they both seem to work fine, however 8gb,16gb and multiple 32gb sd cards have the issue. Also, when using a slower sd card, it does not stop the loop when moving the zoom ring, only when using a fast sd card does this cause the loop to stop.

Looks like that lens forces the camera to shut down using a different procedure, but I have no idea how, or why that is affecting 400plus... I'll try to figure out how to debug this.
Title: Re: Eos 400d ( Rebel XTI )
Post by: DmitryDV on 22 / November / 2015, 14:05:20
Hi.

I've got 2 issues.

1. If I do delete pictures from CF card using cardreader directly, camera thinkns that pictures are still there till I format CF. Meaning, let's say free space approx. 200 pcs left on crd, I delete 100, it's still reports 200 left. When there's plenty space left, camera says: replace CF card till format and restore CHDK.

2. Connecting camera via USB and trying to transfer pics to PC (Windows 7) freezes camera to death - remove battery needed. Sometimes blank screen on camera, sometimes artifacts. Can't transfer anything. Formatting same card inside camera eliminates problem. Transfer works just fine, but no CHDK.

Not critical but annoying. Rather than that - great work, I really like it! Thanks a lot!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 22 / November / 2015, 16:31:16
1. If I do delete pictures from CF card using cardreader directly, camera thinkns that pictures are still there till I format CF. Meaning, let's say free space approx. 200 pcs left on crd, I delete 100, it's still reports 200 left. When there's plenty space left, camera says: replace CF card till format and restore CHDK.

Looks like your computer is not really deleting the files, but just moving them to a recycle bin in the card. Have a look at this link, for example: http://superuser.com/questions/76707/how-do-i-get-windows-7-to-not-use-the-recycling-bin-on-a-removable-drive (http://superuser.com/questions/76707/how-do-i-get-windows-7-to-not-use-the-recycling-bin-on-a-removable-drive).

2. Connecting camera via USB and trying to transfer pics to PC (Windows 7) freezes camera to death - remove battery needed. Sometimes blank screen on camera, sometimes artifacts. Can't transfer anything. Formatting same card inside camera eliminates problem. Transfer works just fine, but no CHDK.

Sorry, I could not reproduce this; I tried Linux not Windows, but that should not make a difference. However, if it works with a fresh card, then it does look to be related to 400plus.
Title: Re: Eos 400d ( Rebel XTI )
Post by: DmitryDV on 22 / November / 2015, 22:12:42
Looks like your computer is not really deleting the files, but just moving them to a recycle bin in the card.
Nope. That's not my case. Card is empty and I am using Shift+del, so files being erased instead moving into recycle bin. Tested on different cards 2, 4, 8.

I feel like camera has some kind of counter that counts pictures and if I do delete some of them outside camera, it just don't knows that pics no more there.

Sorry, I could not reproduce this; I tried Linux not Windows, but that should not make a difference. However, if it works with a fresh card, then it does look to be related to 400plus.

You are right - on Linux it works just fine. No hangs and freezes. Please note, when I do connect camera to Windows PC, it shows BUISY on camera screen, Linux connection does't shows any message.

Seems like Windows and Linux using different ways to communicate with camera.

Anyhow, as I said, it is annoying but not critical.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 23 / November / 2015, 02:59:18
1. If I do delete pictures from CF card using cardreader directly, camera thinkns that pictures are still there till I format CF. Meaning, let's say free space approx. 200 pcs left on crd, I delete 100, it's still reports 200 left. When there's plenty space left, camera says: replace CF card till format and restore CHDK.

It could be a FileSystem problem. Try formating the card on the camera, then reinstall 400Plus. Do not format it with the card reader. See if this helps.
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhilGP on 28 / January / 2016, 08:48:24
I just typed a lengthy post and it failed to post - so I'll try a shorter version...

I'm new to 400+, I use the latest release on a 1GB/FAT card.
No problems using it, I have only tried with one lens at the moment - EF-S 18-135 STM

Problems;
1. Battery life is definitely worse when running 400+. But I cant see why
2. I don't think my card is deleting files but could be a recycle-bin issue - I will check
3. I had a low battery message, powered off and put the camera away. 10mins later I checked it and the CF light and blue light were continuously flashing. I had to remove the battery to stop this.
4. When previewing images and moving left/right through them it sometimes gets stuck on one image and the CF light flashes for about 10 seconds and then doesn't move onto the next image (may be related to item 2)
5. Sometimes when I turn on the camera, the CF light flashes a lot and I have to turn it off and on again before I can do anything with it. This doesn't happen every time though.
6. Interverlometer doesn't do anything - it opens the shutter and locks up.


Phil
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhilGP on 28 / January / 2016, 13:12:16
I was wrong about item 2 - the card was clearing space. Shocked that a 1GB card only has space for 70 images - I don't normally use small cards!  So this doesn't account for item 4.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 28 / January / 2016, 13:30:04
Can you please confirm that "latest version" is "20150902-01"? Has your camera version "1.1.1" of the official firmware installed?

I have done (literally) one thousand shots with that latest version, and many, many, many more with previous versions, and I have never experienced any of the issues you comment. Please, take no offense, I am not implying you are doing anything wrong; but also understand that this report is quite surprising to me. 400plus is far from being flawless, but I think I have a good idea of those flaws, and these problems your report are not what I would expect.

Let's tackle those problems:

1 - Any additional feature has to have an impact of the battery life, because the processor in the camera needs to spend some additional resources to perform those tasks. But that impact is so small I doubt it is even measurable, let alone noticeable; I use cheap Chinese batteries, and haven't noticed any problem regarding battery life.

2 - There are no features in 400plus regarding file deletion; not when deleting from the camera, and not when deleting from the computer; I do not see how could 400plus be interfering here. After filling and emptying (not formatting) my cards several times, I can be pretty sure that files deleted from the computer are really deleted in the card. If there is a recycle bin issue, then it must be related to the operating system in your computer.

3 - I have never let the camera drain the batteries completely, so this one seems more plausible, I will investigate further.

4 - This has never happened to me, and there are no features in 400plus related to that screen.

5 - Are you using "custom modes"?

6 - Did you fire it using the SET button (not the shutter)? Was the intervalometer perhaps configured to shot using BULB mode?
Title: Re: Eos 400d ( Rebel XTI )
Post by: PhilGP on 29 / January / 2016, 17:42:26
I understand the questions - I am not offended.

I upgraded from 1.1.0 to 1.1.1
Then installed the required firmware to run the autoexec
And I am using the 20150902-01 build.


I have done a bit more testing now and I beleive most of the issues are linked to poor batteries.


1. Battery life.
I have 8 batteries (from 350D and 400D) and it turns out that 2 of them are now faulty. Both of these are > 9 yrs old (non-canon)
It was unfortunate that I discovered this at the same time as I was testing 400+.
With good batteries I dont see a fast drain of power.
So - no battery issues. My mistake.
I have confirmed the 2 batteries are faulty - I fully charged them both and used in the 400D & 350D and they drain quickly (no 400+ involved in this test). So they have been discarded.


2. Files.
I used an old 1GB card to test 400+. As I rarely use this size I hadn't noticed how few shots it would hold.
The camera estimates 54 shots on a clean card (@ ISO 100, and 44 @ ISO 1600). In my intitial test I shot about 45 images and suddenly noticed that the camera was showing 7 shots left.
Since I had been copying files (and not formatting) I wrongly assumed that I was not recovering space, or 400+ was filling the card.
But, once again, my mistake sorry ..... these 1GB cards dont hold much.

My workflow now is to download with BreezeSys and then use the delete function in that software... it works as needed and I dont need to format the card. A 'delete all' option in 400+ would be nice but not essential.


3. Low battery / odd behaviour.
This is one I can't explain. It has only happened once so far. May be realted to the bad battery.
I also have the 'sensor clean on power off' enabled so it may have got stuck somehow.
But if I get a low battery again I will watch how it behaves.


4. Slow to navigate between images.
I cannot reproduce this issue. So aain, it may be the bad battery.


5. CF light staying on durin power up.
Once again - battery. I cannot reproduce this now.


6. Interverlometer
I used the shutter button :(
I tried again with SET and it all works perfectly.
Sorry!


Sorry to have sent you on a wild goose chase.


I have now tried a few more features and very impressed.

I like the hand-wave trigger to avoid camera shake, but I cant seem to get the mirror lock up to work with it.
i.e.  I set the camera up for HDR with AEB of 9 shots, mirror lockup enabled, and triggered by hand.
But the mirror doesn't lock up in this mode.
Is this possible - i.e. take multiple shots with zero camera shake??


Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 30 / January / 2016, 11:04:02
I'm glad (almost)everything is working as expected now!

Besides, the mirror lock-up feature only works inside a script when the camera's self-timer (not the 2s delay from 400plus) is also active; this is a known limitation of 400plus (I think it is documented somewhere).
Title: New BETA Release Available
Post by: eduperez on 31 / January / 2016, 04:56:16
I have released a new BETA version at https://github.com/400plus/400plus/releases/tag/20160131-BETA (https://github.com/400plus/400plus/releases/tag/20160131-BETA).

Most important change is that now 400plus will write configuration files to a folder called "400PLUS". You can create such folder yourself, and move all your files execept AUTOEXEC.BIN there; or you can let 400plus do it for you.

It also fixes a small bug in the Polish translation.

Hope you enjoy it,
Edu.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 18 / February / 2016, 17:11:08
There is yet another BETA release at https://github.com/400plus/400plus/releases/tag/20160218-BETA:

Title: Re: Eos 400d ( Rebel XTI )
Post by: ttoogood on 24 / February / 2016, 11:44:35
Nevermind. Upgraded to beta, found the features I needed.

Mama don't take my intervalometer from me.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 25 / February / 2016, 17:18:29
There where a couple of minor bugs in the latest BETA, here is another one: https://github.com/400plus/400plus/releases/tag/20160225-BETA
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / March / 2016, 18:33:02
I improved the display on the AEB shortcut; there is a new BETA release at:
https://github.com/400plus/400plus/releases/tag/20160307-BETA

I have also been preparing the user guide for the next release, there is a preview at:
https://github.com/eduperez/400plus/wiki/User-Guide%3A-Introduction

This BETA will probably become the new STABLE release.
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 07 / March / 2016, 17:49:06
I had the intention of not making any further changes, but I could not help myself and worked on the flash and AEB shortcuts:
https://github.com/400plus/400plus/releases/tag/20160308-BETA

I have also updated the preview documentation:
https://github.com/eduperez/400plus/wiki/User-Guide%3A-Introduction
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 05 / April / 2016, 03:03:22
After some intensive testing, I have decided to release the latest beta as a new stable release. Files can be downloaded at https://github.com/400plus/400plus/releases/tag/20160404-01 (https://github.com/400plus/400plus/releases/tag/20160404-01), and the changes from the previous version are the same that I have been commenting during the beta cycle:

* Fixed Polish translation.
* 400plus now stores all files (except AUTOEXEC.BIN) in a folder called 400PLUS; you may create such folder and move the files yourself, or 400plus will do it automatically for you.
* "Quick exposure" now works continuously while you are holding the DOWN button down.
* "Fixed exposure" now works while you are holding the SET button down; there is no need to press once to enable the feature and once again to disable it.
* In the "Long exposure calculator", you can now change the Ev, and the calculator will compensate by changing the exposure time; you no longer need to play with the exposure time to achieve the desired Ev.
* When pressing the DP button to enter 400plus' menu, the original menu does not flash in the display.
* When the "Better DISP button" is active, press the DISP button once then cycle through the brightness levels using the UP, DOWN, LEFT, and RIGHT buttons, then press SET to leave the feature; pressing DISP twice will switch the display off.
* Actions attached to TRASH and JUMP buttons are now called shortcuts, and work a bit different. In general, you must hold down the JUMP or TRASH button, then use UP, DOWN, LEFT, and RIGHT to use the feature. There is also some info on the display about the active shortcut.

Hope you enjoy it!
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 06 / October / 2016, 02:23:21
New stable release announcement:

    Fix for fixed exposure.
    Fix for long exposure calculator.
    Fix for shortcuts for some custom functions.


https://github.com/400plus/400plus/releases/tag/20160404-04
Title: Re: Eos 400d ( Rebel XTI )
Post by: eduperez on 08 / October / 2016, 19:04:08
Yet another stable release announcement:

    Fix for downloads using USB cable

https://github.com/400plus/400plus/releases/tag/20160404-05 (https://github.com/400plus/400plus/releases/tag/20160404-04)
Title: Re: Eos 400d ( Rebel XTI )
Post by: didou038 on 22 / October / 2016, 10:47:09
Hello, I'm discovering this powerful firmware like Magic Lantern.

I've followed all the step, the firmware is ok. I can access to the new menu, but every items are "Auto ISO". The first time I could access to all. I stop my 400d for a time and when I try again, all the item are Auto Iso and I can't acces to the other parameter menu, script everything else...

As someone can help me ? Sorry my bad english, I try my best ;)

regards and thanks a lot for the usefull Firmware !
Title: Re: Eos 400d ( Rebel XTI )
Post by: teemo on 23 / October / 2016, 11:03:50
Hello, I'm discovering this powerful firmware like Magic Lantern.

I've followed all the step, the firmware is ok. I can access to the new menu, but every items are "Auto ISO". The first time I could access to all. I stop my 400d for a time and when I try again, all the item are Auto Iso and I can't acces to the other parameter menu, script everything else...

As someone can help me ? Sorry my bad english, I try my best ;)

regards and thanks a lot for the usefull Firmware !

You may have a bad cf-card. I would try with another card.  Alternatively,  rename the bin file and the language file and copy new files to the card. Also rename the configuration files. If you just delete the files, you risk to use same bad space for the files again.
In case your card is good, you will have to wait for more competent answers :)

I'm enjoying the latest release here in Bangkok and have no issues. Would love to have a fast switch for "raw/no raw" on a button, but wouldn't call it an issue.
Title: Issue 323 came back? Intervalometer only works when LCD display
Post by: rontoprsx on 05 / August / 2017, 13:25:15
I yesterday installed the latest to my 400D and find that whenever the display is off, the intervalometer stops.  Looks like this previous issue:

Intervalometer only works when LCD display is on  auto-migrated Milestone-M2 Priority-Medium Type-Defect 
 #323 by GoogleCodeExporter was closed on Mar 14 2015

Did this come back, or is there a new setting somewhere to make this work?

Thanks.

Ron
Title: Re: Issue 323 came back? Intervalometer only works when LCD display
Post by: eduperez on 13 / August / 2017, 18:13:08
I yesterday installed the latest to my 400D and find that whenever the display is off, the intervalometer stops.  Looks like this previous issue:

Intervalometer only works when LCD display is on  auto-migrated Milestone-M2 Priority-Medium Type-Defect 
 #323 by GoogleCodeExporter was closed on Mar 14 2015

Did this come back, or is there a new setting somewhere to make this work?

Thanks.

Ron


If I recall correctly, there was the issue that switching the display off put the camera into a sleep mode, and thus no script could be run; that issue could not be solved. Is that same issue what you are experiencing now?
Title: Re: Issue 323 came back? Intervalometer only works when LCD display
Post by: rontoprsx on 15 / August / 2017, 13:33:24

If I recall correctly, there was the issue that switching the display off put the camera into a sleep mode, and thus no script could be run; that issue could not be solved. Is that same issue what you are experiencing now?

I guess it must be.  It looked like #323 was marked as fixed, so I thought there was a fix for this.  I suppose the only solution to save power is to set the display to dim.  The option to turn the display off for scripts is dangerous if it stops the script.

Anyway, thanks for 400PLUS - it has many great features.
Title: Re: Eos 400d ( Rebel XTI )
Post by: Pablofixer111 on 01 / January / 2019, 14:12:11
I have looked all over for the CHDK hack/download link is and keep getting an empty page for 400d plus. Please help if you can.
Title: Re: Eos 400d ( Rebel XTI )
Post by: 0xAF on 02 / January / 2019, 02:23:27
I have looked all over for the CHDK hack/download link is and keep getting an empty page for 400d plus. Please help if you can.
https://github.com/400plus/400plus