CHDK firmware hack discussion (19)

Did you try this to set manual focus:

press "shoot_half"
sleep 1000 (give it time to lock in focus)
click "mf"
release "shoot_half"

I've never done this on my S3, but don't see why it wouldn't work. (unless you don't have a MF button, but if not, what key presses are needed to activate it?)

OTOH, an intervalometer script on an S3 can cycle in less than 2 sec in p-mode, so focus and exposure setting is not that slow (but, On the third hand, exposure brackets over a wide range may involve rather long shutter times at the over exposed end of the scale).

If you think about how a built-in function works, it focuses and determines the normal exposure once, then shoots the 3 images. (I never checked, but I'm assuming it does so by altering just the shutter speed, so that DOF is constant). So a better solution might be to mimic that strategy and vary the shutter speed instead of the EV setting. Use manual exposure mode (after determining best settings in Av or Tv mode) and manual focus.

Anyways, good luck.
 
Ok, first with the build you provided in the rar file I was unable to
enter Alt mode in my A570IS so I used the one provided by microfunguy
here: http://forums.dpreview.com/forums/read.asp?forum=1010&message=25278067
fine
got several files. Two of them were
0001_1.RAM and 0001_2.RAM. Then changed find_diffsb.bat to use that
files and got the following in regions.txt:
(0x00657A00 + 0x0 = 0x00657A00) bytes: 3CA50
(0x006D6300 + 0x0 = 0x006D6300) bytes: 2D224
(0x0070352C + 0x0 = 0x0070352C) bytes: F824
(0x00754C00 + 0x0 = 0x00754C00) bytes: 3CA50
1) please check this version ( alt mode & motion_detector)
http://mx3.ip-com.com.ua/chdk_exp/pre14.grand148.md-a570-100e-59.zip

2) can you email me 0001_1.RAM and 0003_1.RAM files (maybe one more dump required)?

you can achieve good compression results with winrar using option "solid archive"

I don't like this number: 3CA50
it can mean that LCD dimension for A570 is not 360x240
if it is true motion detector willnot ( cannot) properly work
 
This is awesome! I've so far experimented with some settings, but is there anyway to stop the display from blinking when taking a shot with the histogram turned on, and for some reason, the converted RAWs I've used don't open with ACR from bridge, only photoshop.
 
so this is working? i'm sorry but i am getting confused with all these different builds. what are the differences between builds made by rossig and microfunguy?

thank you.
 
what are the differences between builds made by rossig and microfunguy?
My build (known as 'StereoData Maker') contains features that aid stereo photography.

http://stereo.jpn.org/eng/sdm/index.htm

It also includes MX3's excellent motion-detection, scripts for LED control and Rossig's 'set_prop' and 'get_prop' script commands for setting or getting various camera properties.
USB cable-release is available for some cameras (not A570).

Rossig's build provides the basic Grand CHDK 148 for the A570 together with his set_prop and get_prop commands.

David
 
Thank you.
 
the exposure lock ( button) doesn't work in my G7 with CHDK SDM version.
I cannot see anything relevant but give this a try :-

http://rapidshare.com/files/63857200/G7_1.00G_FIX.zip.html

If that does not fix it, try ordinary CHDK version and confirm link
to source-code.

Can you explain further what this button is and does ?

David
Hi David.

It did the trick! now it works properly. Thanks a bunch.

This is the exposure lock button, it holds the shutter/aperture combination and lets you focus in a different point without recalculating exposure. You can also change the shutter/aperture combination maintaining the same exposure value. i.e., if you increase shutter speed you get a bigger aperture in return and vice versa

Will let you know if find any other issue... you know programing laws, for every bug you fix... ten more are created !!! ;-)
 
Hi,
David.

Thanks for Your work.

I read Your post and I want to make a note:

I am not the author of set and get prop routines......

I only made a 570is porting and adapted code to my camera.

Gio
 
1) please check this version ( alt mode & motion_detector)
http://mx3.ip-com.com.ua/chdk_exp/pre14.grand148.md-a570-100e-59.zip
YES! MD WORKS WHIT THIS BUILD!

BUT:
get_prop and set_prop dont work.

microfunguy release a version that have a working get_prop/set_prop but not MD here:
http://forums.dpreview.com/forums/read.asp?forum=1010&message=25279151

So we have 2 versions for A570IS, one misses get_prop/set_prop and the other MD

If you guys could compile a version that have them both... we finaly have a perfect A570IS build! Tanks.
2) can you email me 0001_1.RAM and 0003_1.RAM files (maybe one more
dump required)?
N/A, it worked!
I don't like this number: 3CA50
it can mean that LCD dimension for A570 is not 360x240
Page 112 english A570IS manual says:

"LCD Monitor:" ... "aprox. 115.000 pixels" this is more than 360x240 = 86400 pixels
if it is true motion detector willnot ( cannot) properly work
Well... IT WORKS!!!!
:-)
 
microfunguy, fingalo, rossig
code for a570 , for MD

void vid_get_viewport_live_fb(){
return (void
)0x10657A00;
}
 
I don't like this number: 3CA50
it can mean that LCD dimension for A570 is not 360x240
if it is true motion detector willnot ( cannot) properly work
It seems that the resolution for A570 is 360x230, the same as for A710.
 
I had forgotten the press or release or click keyword before "shoot_half"

What is somewhat dangerous is that no syntax error is found !

Alain
 
void vid_get_viewport_live_fb()
Does 'fb' stand for frame-buffer ?

What do each of these functions do ? :-

vid_get_viewport_live_fb()
vid_get_bitmap_fb()
vid_get_viewport_fb()
vid_get_viewport_fb_d()

Thanks.

David
 
This build from microfunguy is working perfectlly for A570IS (with firmware 1.00E) including get_prop/set_prop and MD!

A570IS users must say tanks for you all guys that were involved in this process.

TANKS!

Hugo
Lisbon
 
I would love to have these features in my A640 but I don't speak the same language as you folks. Wow, I must have been absent for this class and several others.
 
Did you try this to set manual focus:

press "shoot_half"
sleep 1000 (give it time to lock in focus)
Hi Divalent, Yes I tried manual focus without major success. In fact where the camera spends lots of time is during the "shoot" function. Therefore I tried a script with "shootfull" followed by a systematic delay of 1.4 sec ==> miracle, the script is now very very fast. I eventually addes the manual focus with the shoot half usage you mentionned. Meanwhile, I checked too the "focus set" property and got this script.

Thanks for the help
Alain

============================
@title HDR bracketing
@param a delta en 1/3
@default a 3
@param b (nb images-1) 2
@default b 2


rem test de cohérence des valeurs

if b
if a
if a> 6 then a=6
if b > 6 then b = 6

rem on récupère la valeur de Exp compensation
get_prop 25 i

rem on fait la mise au point
press "shoot_half"

rem passage en valeur "physique" du nb steps diaph
a=a*32
rem calcul du EV de départ
s=i-b*a
b=b*2

rem attente du focus (prop 67)
p = 0
do
p = p +1
get_prop 67 j
if p = 200 then
print "focus impossible"
goto "lend"
endif
until j = 1

rem passage en manual focus
sleep 500
click "down"
sleep 500
release "shoot_half"
sleep 300

rem boucle de prise de vue en "boucle ouverte"
for n=0 to b
set_prop 25 s
set_prop 26 s
click "shoot_full"
sleep 1400
s=s+a
next n

rem remise en focus auto
sleep 1000

click "down"
rem reset des valeurs intiales de EV
set_prop 25 i
set_prop 26 i
sleep 300

:lend
end

==============
 

Keyboard shortcuts

Back
Top