chdk debugging wiki page - General Discussion and Assistance - CHDK Forum  

chdk debugging wiki page

  • 2 Replies
  • 1516 Views
*

Offline reyalp

  • ******
  • 12102
chdk debugging wiki page
« on: 04 / December / 2010, 23:10:46 »
Advertisements
I've started a wiki page for debugging information/resources
http://chdk.wikia.com/wiki/Debugging

Please feel free to add/improve or give feedback.
Don't forget what the H stands for.

Re: chdk debugging wiki page
« Reply #1 on: 05 / December / 2010, 05:56:27 »
I've started a wiki page for debugging information/resources
http://chdk.wikia.com/wiki/Debugging

Please feel free to add/improve or give feedback.

Interesting and useful information.

The warning regarding the AF led when debugging is not explained.

Do you suspect it is not intended to be continuously on or do you think users may have AF-assist enabled ?

The duration of NOP's depends upon whether caching is enabled.

Presumably we do not have any control over caching ?

*

Offline reyalp

  • ******
  • 12102
Re: chdk debugging wiki page
« Reply #2 on: 05 / December / 2010, 16:18:15 »
The warning regarding the AF led when debugging is not explained.

Do you suspect it is not intended to be continuously on or do you think users may have AF-assist enabled ?
Both, but mostly the second. I'd guess the AF isn't meant to run continuously, but I'd also guess it has a lot of margin. Blinking it for debugging should be fine (many people blinked out their firmware using AF), but not good to do if someone is actually trying to take pictures.
Quote
The duration of NOP's depends upon whether caching is enabled.

Presumably we do not have any control over caching ?
We certainly do. Most ports disable the caches in  loader/resetcode/main.c copy_and_restart() and re-enabled them in platform/<camera>/<sub>/boot.c boot()

The state when CHDK is booted may depend on exactly how it was booted.
Don't forget what the H stands for.

 

Related Topics