I'm currently have an inconsistent problem with downloading photos from my camera using chdkptp and the mdl command.
My setup is basically this a Raspberry Pi + Canon
Ixus 110 IS (SD960IS) + stepper motor.
The motor turns the camera and a photo is taken at each position (usually at least 13), then all the photos should be downloaded then sent to another system to do the panorama stitching.
Sometimes all the photos download absolutely fine off the camera but other times there's some errors after around about 10 photos. I get this...
unexpected return code 0x2ff
ERROR: download failed
unexpected return code 0x2ff
ERROR: ptp error
ERROR: Could not close session!
Sometimes it seems to stall at about 10 photos but then manages to carry on and complete the download without error.
I've tried adding the -batchsize=n option in case that made a difference (using either 1 or 10 for n) but it doesn't seem to make any difference. What does "batchsize" refer to anyway? What is one batch?
I've never had any SD card issues with my Raspberry Pi even though it is only a Class 2 2GB card, but could the card speed be an issue here?
Currently using CHDK version 2904 and chdkptp r330.