Great, from the response times it looks like buffers are correct for fast MD. I'll check these changes in once I implement them for the other firmware versions.
This fast MD business, is that limited to select cameras or the whole lot? Can you grep - or whatever one does on Windows - all cameras that do not have CAM_AF_LED defined as camera_set_led identifier for AF in platform_camera.h? If so I could do the same thing (identify the AF Beam LED) for any cam I have that needs it.
chdkptp -e"exec require'camtests'.runbatch{bench=true,xfersizebugs=true,filexfer=true}"
The chdkptp test I mentioned earlier would be nice to have over a range of camerasCode: [Select]chdkptp -e"exec require'camtests'.runbatch{bench=true,xfersizebugs=true,filexfer=true}"
Get: i686-4.8.2-release-win32-dwarf-rt_v3-rev2.7zfrom: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.8.2/threads-win32/dwarf/And: msys+7za+wget+svn+git+mercurial+cvs-rev13.7zfrom: from https://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/Unzip both into same directory to get suitable dev environment with msys shell.For chdkptp chek out the latest version from the SVN.In it create subfolder: extlibs/built/And in that subfolders: "cd" "iup" "lua52" "libusb-win32-bin-1.2.6.0"POPULATE WITH CONTENTS OF:libusb-win32-bin-1.2.6.0.zipfrom: https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/lua-5.2.4.tar.gzfrom: https://www.lua.org/ftp/cd-5.9_Win32_mingw4_lib.zipfrom: https://sourceforge.net/projects/canvasdraw/files/5.9/Windows%20Libraries/Static/in its lua52 subdir put contents of: cd-5.9-Lua52_Win32_mingw4_lib.zipfrom: lua52 subdirectory of the above URIiup-3.16_Win32_mingw4_lib.zipfrom:https://sourceforge.net/projects/iup/files/3.16/Windows%20Libraries/Static/in its lua52 subdir put contents of: iup-3.16-Lua52_Win32_mingw4_lib.zipfrom: lua52 subdirectory of the above URIWith all in place call make from msys to build chdkptpAt some point later precompiled versions of "iup" and and "cd" stop working. Didn't find out where exactly but the current ones don't work as they seem to have been built in different environments.
EDIT: Re-ran tests and updated *.txt file. "mfilexfer:failed Permission denied" stuff was mine to fix...
Thanks. I've also seen intermittent file permission errors on windows that I haven't figured out yet
I noticed this port doesn't have remoteshoot support, so that's something that could be added/tested. I think @nafraf actually implemented it at some point but didn't get test reports.
I also turned on the building the "firm update" file. This was reported not to work in the original port: https://chdk.setepontos.com/index.php?topic=4647.msg46078#msg46078
Here's a build with nafraf's code integrated into the latest trunk. It should have remoteshoot support. There was a sort of ambiguous bug report from when he originally posted it: https://chdk.setepontos.com/index.php?topic=4647.msg123365#msg123365
I think the following steps are enough to test remote capture, the same steps should be executed using single capture and continuous shooting mode:Connect to camera using chdkptpGo to REC modeSet single capture | Set continuous shooting modeSet maximum resolutionSet maximum qualityRemote capture (jpg)Back to play modeCheck if camera connection is working
Probably obvious, but just in case: for continuous mode you should test a burst of several shots, likers -jpg -cont=5
Here's a build with nafraf's code integrated into the latest trunk. It should have remoteshoot support.
Started by kxp General Help and Assistance on using CHDK stable releases
Started by pigeonhill General Help and Assistance on using CHDK stable releases
Started by toby LUA Scripting
Started by JvdP « 1 2 » General Discussion and Assistance
Started by axman General Help and Assistance on using CHDK stable releases