I played something with the script today. It seems a timing problem. On the one hand I used a newer, faster SD card and put the camera on MF.On the first run (only RAW), the camera took only three pictures On the second and third runs the cam took 7 Pictures.If I set the camera to only JPG, then the cam always make the 4 pictures (the first picture twice).Have you tried only RAW?
But basically, I still have problems starting scripts (like the firmware dump). I have the problem synonymous with the new SD card. Sometimes I have to start the camera 10 times. Is there a specific timing at power on?
Quote from: srsa_4c on 13 / March / 2019, 13:57:28If there are threading problems like that maybe we can try to move some of the script's functionality to native code...What does that mean?
If there are threading problems like that maybe we can try to move some of the script's functionality to native code...
As a first try, global variables used in more than one task could be turned into pointers and they could point to a piece of memory that has no caching issues (uncached memory, for example).
Can there be a problem if in addition to "SCIPT" there is also "BOOTDISK" on the SD card?
In short: make sure you don't use a Canon Basic script and CHDK at the same time.
But Basically, the Canon Basic is a great extension for cams without CHDK support ...
Exception!! Vector 0x10Task name: cbasic100000890: SS:SoundComp00001290: UI:SetSyncroDisplayDeviceController00014390: UI:Button:0x00000858:PressWideButton00014470: LCDMsg_ChangeColor00014470: CreateProxyOfEventProcedure00014470: CreateController00014470: mycontroller00014470: Peek3200014470: Poke32...00014470: Peek32
ASSERT!! EvntProc.c Line 222Task name: cbasic100003440: UI:Button:0x0000085A:PressWideButton
Quote from: srsa_4c on 19 / September / 2018, 12:13:11Since the "propset" (see propset*.h here) of the M6 is not known, finding that out is going to be the next move. Knowing the correct propcase numbers is essential for applying overrides.
Since the "propset" (see propset*.h here) of the M6 is not known, finding that out is going to be the next move. Knowing the correct propcase numbers is essential for applying overrides.
I think I have identified the Tv propcases on M6:PROPCASE_TV = 276PROPCASE_TV2 = 275
Now I have a little script , that translates the ps="A/CHDK/LUALIB/GEN/propset"..pn..'.lua'- to *.m files.
Is there a way to check the Canon Basic Script for syntax without inserting the SD card into the camera?
chdkptp -c -e"exec require'extras/devutil'.init_cli()" -e"dptpsendobj extend.m extend.m"
Started by Dodgey99
Started by VALKYRIE
Started by reyalp
« 1 2 ... 6 7 »
General Discussion and Assistance
Started by praveen_sb
Started by j