I also appear to have something wrong in the boot.c code. Powershot N power management is likely different than other cameras - it won't start in (or go onto) shooting mode if USB power is connected. The camera starts normally (without CHDK enabled) while the USB charger is plugged in. When attempting to autoboot (SD card door open) with the charger connected, the boot strap LED flash sequence occurs but CHDK does not start. Trying a firmware update in this mode also fails to start.
Also, the USB charge light on the camera never comes on when the N is plugged into my Linux box. I have the USB configured to ignore the N so that chdkptp can grab it. Perhaps the camera notices that and won't go into high current charging mode.
So, the internal charger appears to be software controlled. 1.7 ... 4 mA is much better than 80mA, so USB remote is not out of question.
This might be something in the usual startup mode detection fw routine(s)?
It may depend on a software handshake.
Will it charge after using chdkptp or gphoto?
I measured 10 Ohms between D+ and D- in original charger of the "N", not in the cable ore the plug, this is normal USB data cable. This could be the reason to Trigger charging. I did not measure real charging current of original charger.
If camera is off and if I put +5V to USB connector with open D+ an D- always charging led is on and after about one second current goes from 80 mA ! to about 5 or 4 mA. If camera is on and remote is activated and I put +5V on USB connector then also 80mA is drained an camera is focusing.
PWM mode would be ok because i did not recognize that there are Special remote cable wich translate pulse with from 1.5 MS used by rc servo Output to 150 ms to deal with chdk´s get_usb_power function...
The PowerShot N does 240FPS at 320x240 or 120FPS at 640x480 by itself, but hangs when tried under CHDK. First the LCD freezes, then goes black. I even had a microSD card apparently get scribbled on during that.I'm assuming the problem is either memory use or, more likely, callbacks invoked during capture. I (and my students) can guess at the patches needed, but has anybody else encountered this problem? Anything known about how to fix it?
Hint.This will surely crash (movie_rec.c):"loc_FF23B18C:\n"" LDR R1, [R4, #0xCC] \n" -> function pointer loaded to R1" LDR R0, =video_compression_rate \n" // added" BL set_quality \n" // added" BL mute_on_zoom \n" // added" BLX R1 \n" -> will try to execute the function, but R1 is trashed at this pointRearranging the lines may help (add the 3 lines before LDR R1, ...), but I don't know whether this is the right spot to adjust compression.
Started by HarpoMa « 1 2 ... 67 68 » General Discussion and Assistance
Started by sylikc « 1 2 ... 70 71 » General Discussion and Assistance
Started by sgtrum « 1 2 ... 27 28 » General Discussion and Assistance
Started by gtoonstra « 1 2 ... 5 6 » General Discussion and Assistance
Started by Gerryve7bgp General Discussion and Assistance