CHDK Wiki
(link canon basic version)
m (script verified on SD4000)
Line 18: Line 18:
 
* [[A540]]
 
* [[A540]]
 
* [[D10]]
 
* [[D10]]
  +
* [[SD4000|SD4000
  +
]]
 
[[Category:LUA]]
 
[[Category:LUA]]
 
[[Category:Scripts]]
 
[[Category:Scripts]]

Revision as of 02:40, 4 December 2010

CHDK/SCRIPTS/TEST/ROMLOG.LUA

This script saves the cameras built in crash log from internal flash ROM to ROMLOG.LOG in the root of the SD card.

There is also a canon basic version of this script Canon Basic/Scripts/Romlog

Option

  • >0 Remove A/ROMLOG.LOG and A/RomLogErr.txt if they exist before attempting to write new ones.
  • 0 Do not remove files.

Dependencies

  • CHDK must be built with compiled with Native call support
  • This script is supported only in CHDK Version 0.9.9 build 864 and later

Camera notes

  • On some VxWorks cameras, the registers, stack trace and some other information is in binary. See forum thread for discussion of the format.
  • On DryOS, all of the information is in text form. DryOS will attempt to create A/RomLogErr.txt if it cannot save the log.

Verified on