using version 1.3.0 build 3440.
Good enough !
I am satisfied that battery terminals are not the issue as i have a direct connection made to the camera PCB bypassing battery terminals.
That pretty much does it for battery terminals then.
The A1300 was the only other camera i could force to crash when setting a zoom leve greater than 0 but only if using cheap non branded batteries. (i dont think the A1300 is relevant any more as it it always works with good batts or external psu, it does not fail if psu is good.
Okay - back to the A800 only.
i have the script set to save to sd card, but as the camera completely powers off dead it does not log anything.
That does not seem right. The logging function opens & closes the log file (
A/ultimate.log ) each time it writes. What you see on the LCD console log should also be in the file.
Orig problem was that camera crashed apparently at dusk (checked from last picture taken before crash)
FWIW : I don't believe the transition from Day to Night updates the zoom position. However, if the
Display blanking mode is set to
PlayKey then the zoom position is updated each time the camera comes out of playback mode in order to shoot.
I found however that i could make camera crash always, by setting a zoom of 3 or more in the script. Script would run, it would adjust the zoom, then a second later as it was adjusting the focus it turned off dead in an instant. Setting Zoom to 0 the camera does not crash (apart from today when it simply got stuck and the script halted....I think this is a red herring). Setting zoom to 1 or 2 and the camera then runs ok all day, but crashes at dusk.
For reference, the
ultimate.lua script does not use any focus related commands (i.e. no set_aflock(1), set_mf(), set_focus() etc) . The focus that stagdriver refers to here happens with the first half-press in the check_exposure() function.
If there are problems with get_shooting() not returning true / false correctly on the shoot_half press / release then it's possible the script could "hang" at that point.And the actual zoom code has a generous helping of sleep() applied around the actual set_zoom() command.
function update_zoom()
if ( zoom_setpoint > 0 ) then
zsteps=get_zoom_steps()
if(zoom_setpoint>zsteps) then zoom_setpoint=zsteps end
printf("set zoom to step %d of %d",zoom_setpoint,zsteps)
sleep(2000)
set_zoom(zoom_setpoint)
sleep(2000)
end
end
This is why i deviated and investigated power connections.
Understood - it was certainly worth a look.
Update : if this is just a zoom problem with the A800 it would not be the first time we have seen zoom issues. From one of my old threads / posts here's a test script you can try :
http://chdk.setepontos.com/index.php?topic=7071.msg76172#msg76172