500d development - page 32 - DSLR Hack development - CHDK Forum

500d development

  • 2487 Replies
  • 901321 Views
*

alins

Re: 500d development
« Reply #310 on: 24 / February / 2011, 15:45:11 »
Advertisements
very nice page, i really like it

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #311 on: 24 / February / 2011, 17:06:49 »
I found the aperture values in memory and updated the lens.h file with the correct values (to what I know, read below).

They seemed to match up almost perfectly with the 550d's lens.h values, except for (from what I could test with my lens):
f/4.5 - The 550d's value for this is 44, but the 500d's is 43 (confirmed with memspy on my camera).
f/13 - The 550d's value is 68, but the 500d's is 67 (confirmed again with memspy).

My lens (sigma 30mm f/1.4) only goes up to f/16, so I can't test any other values at the moment. I added a 0 value so that in the event the camera registers that a lens isn't attached (using some extension tubes, for example), the ML menu will read f/0 instead of f/1.0.
Also I matched up the lens.h aperture values to match the 550d's values (to cover all possible aperture situations), but commented out the aperture values I couldn't test (values my lenses can't do). The usable aperture range in lens.h is now:
Code: [Select]
f/0
f/1.4
f/1.6
f/1.8
f/2.0
f/2.2
f/2.5
f/2.8
f/3.2
f/3.5
f/4.0
f/4.5
f/5.0
f/5.6
f/6.3
f/7.1
f/8.0
f/9.0
f/10
f/11
f/13
f/14
f/16
f/18
f/20
f/22
f/25
f/29
f/32
f/36

The apertures which still need values (to complete the aperture values the 550d lens.h has) are:
Code: [Select]
f/1.2
f/1.3
f/6.7
f/9.5
f/19
f/27
f/38
f/40
f/45

There was sort of a pattern I noticed for the aperture value's, but I'm tempted to just fill them in because of the discrepancies with the two aperture values I found between the 550d and the 500d (that means there could be more, can't guarantee). I'll test with my kit lens tonight and hopefully have the values for f/32 (I think it goes up to f/36, we'll see).

couple things i'm not sure about:
- what happens if someone uses a lens that can't do f/1.4 and try to decrement the aperture setting to it (will ML even let this happen?)
- same case but when someone increments it.
- in movie mode, ML now reports the aperture as 0x00 in the bottom left corner, and 0.0 in the menu (i think it said like f/1.2 before? maybe this could lead to progress in video aperture control? I think the camera acts like the lens isn't attached, maybe some way to bypass this?)

tl;dr
fixed aperture values so now you can select almost the full range of apertures from the menu, and trying to increment the setting higher than you can set in the camera won't cause everything to lock up. Also it will register f/0.0 now if the lens isn't attached instead of saying f/1.2.

UPDATE

see this post for the updated autoexec.bin and lens.h files:
http://chdk.setepontos.com/index.php?topic=5971.msg62240#msg62240
« Last Edit: 24 / February / 2011, 18:05:58 by Coutts »
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

Re: 500d development
« Reply #312 on: 24 / February / 2011, 17:29:35 »
good work!! So this will allow ML to adjust the Aperature values, correct?

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #313 on: 24 / February / 2011, 17:38:21 »
Yes, well it worked kind of before but it should be flawless now (from f/1.4 to f/16), some values aren't worked in yet. I'm working on adding more values right now (just got home from work so I can try it with the kit lens). I'll keep you all updated.

oh and I forgot to mention before, the autoexec.bin file I included above is the latest build from alins, just with the aperture fix I did.
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr


Re: 500d development
« Reply #314 on: 24 / February / 2011, 17:44:56 »
i just tested out your build, i cant seem to change the aperture value in video mode, when i go into the menu to change it, selecting the aperture settings does nothing, however I can change the ISO settings, but it seems to have no effect at all.

Re: 500d development
« Reply #315 on: 24 / February / 2011, 17:46:22 »
and does anyone want to catch me up on how to work on the 500D code? my spring break is coming up and I would like to take a crack at it :)

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #316 on: 24 / February / 2011, 18:04:35 »
@aznguy
that's because video related settings aren't worked out yet. This is just for in normal shooting mode.

I just got the following apertures to work:
Code: [Select]
f/18
f/20
f/22
f/25
f/29
f/32
f/36

I updated my previous post with the lists of working / nonworking apertures. I removed the autoexec.bin and lens.h files from that post and are attaching the updated ones here. The lens.h file is only for someone like alins to look at (if he wants to).

-- edit, check farther down the page for the new updated files

I've tested all of the apertures I can with the lenses I own. I'm not sure how we'll get the values for those other odd apertures. We might be able to just use the pattern that seems to develop, but there's no guarantee if they work or not, I'd feel better seeing the numbers in memspy to guarantee they're correct.


Bugs
- if you decrement the aperture setting, it won't wrap back around to the highest aperture setting (unless the lens supports the max aperture currently define [f/1.4])
- the same happens when you increment it, not sure how this could be fixed without ML sensing what lens is attached and knowing the max/min apertures of the lens. It seems to be selecting the aperture in memory but nothing changes. EX: max lens aperture is f/3.5. If you try to set it lower in ML, you can click the decrement button 2 times, but the aperture will still be f/3.5 (ML will report f/3.5 too), but won't change unless you increment it 2 times back. So basically it's selecting ghost settings that aren't visible.
« Last Edit: 25 / February / 2011, 00:11:11 by Coutts »
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr

Re: 500d development
« Reply #317 on: 24 / February / 2011, 20:46:01 »
I have Created/Edited the 500D Installation, Link Here http://magiclantern.wikia.com/wiki/500D/T1i_Installation
(Updated Link)
and i attached a ZIP file of the Fir so that people dont have to use 7zip to extract the previous archived Fir

Many thanks ! That's what I had planned to do ! But you did it !

Thanks :) Makes life easier for n00bs.
Canon EOS 500D/T1i - What a  DSLR.


*

alins

Re: 500d development
« Reply #318 on: 24 / February / 2011, 21:01:48 »
The lens.h file is only for someone like alins to look at (if he wants to).

definitely want to look at this one. If you want to make code contributions i can give you access on 500d repository so you can submit your changes directly there.

*

alins

Re: 500d development
« Reply #319 on: 24 / February / 2011, 21:04:30 »
and does anyone want to catch me up on how to work on the 500D code? my spring break is coming up and I would like to take a crack at it :)

when i started i used this instructions: http://magiclantern.wikia.com/wiki/Build_instructions/550D
the hardest part is installing the arm toolchain. once you have that setup, get the 500d codebase from here: https://bitbucket.org/alins/magic-lantern-for-500d/


 

Related Topics