When I start the CHDK script from VP-systems (http://vp-systems.eu/download/cr1sdm.bas) The camera freezes a while and crashes a few seconds later (black screen).
Okay, here's the main problem - this script is written for
SDM not CHDK. SDM forked away from CHDK several years ago and created its own version, adding special commands to uBasic (amongst other differences).
For example, line 10 in the script has the statement :
sync_off. This is a SDM command but not used in CHDK. CHDK will shutdown when it hits an unrecognized statement like that.
Having said that, I think that the
set_zoom 0 statement on line 9 should be a valid CHDK uBASIC command but it seems to crash on both my SD940 and G10 cameras. So the set_zoom code for CHDK maybe needs to be looked at.
If I comment out the zoom lines and the sync_off line, the script runs and waits for USB pulses. However, once it gets one, it still hangs up. I have not traced further through the code for more SDM only commands. But with a little work, it should be possible to trace through those and convert from SDM back to clean CHDK code.