For the sake of putting it on the record, I can post more details if you wish.
Quote from: Microfunguy on 15 / July / 2012, 09:06:21For the sake of putting it on the record, I can post more details if you wish.As I did a little playing around with this (testing whether hooking into exp_drive_task rather than capt_seq_task would work better) I would be quite interested in seeing what else had been tried. I know philmoz mentioned that he went down the code tree a bit too.
You could try disabling interrupts for the wait. Doing this for a long time is probably not a good idea
Quote from: reyalp on 15 / July / 2012, 14:46:25You could try disabling interrupts for the wait. Doing this for a long time is probably not a good idea Do you know if that is as simple as a single ARM instruction or is there some fancy interrupt controller that needs to be stroked ?
disableMRS R1, CPSRAND R0, R1, #0x80ORR R1, R1, #0x80MSR CPSR_cf, R1restoreMRS R1, CPSRBIC R1, R1, #0x80AND R0, R0, #0x80ORR R1, R1, R0MSR CPSR_cf, R1
The last time I dug around the shutter stuff I thought I ran into something I interpreted as a reference to high precision timers, but I can't seem to find it now.
Quote from: reyalp on 15 / July / 2012, 16:08:58The last time I dug around the shutter stuff I thought I ran into something I interpreted as a reference to high precision timers, but I can't seem to find it now.Has anyone figured out if DryOS tasks run at different priorities ? Bumping capt_seq_task might help narrow the range of sync variation if so.
Priority is a parameter to createtask, but having it run at higher priority all the time is likely to have side effects.You could try twiddling the TCB (used in the "task hook" routine, structure found in includes/dryos*.h)Or search for "change a priority of task" which will lead you to the dryos shell command that does this.
Who decided the priority for the CHDK tasks or are they just the same as Canon assign for same task ?
=require('uartr').start('A/TEST.LOG')=return call_event_proc('ShowAllTaskInfo')=require('uartr').stop()d TEST.LOG
Started by Microfunguy CHDK Releases
Started by Blooper « 1 2 » Creative Uses of CHDK
Started by David Ripple « 1 2 ... 6 7 » General Discussion and Assistance
Started by koshy « 1 2 ... 8 9 » General Discussion and Assistance
Started by cameraman Creative Uses of CHDK