Thread necromancy
I'm not sure if cppasm ever posted his code, the attachments seem to have gotten lost
I've added a module to the chdkptp extras directory that parses some useful information out of vxworks romlogs. Currently it's only tested with a540, and works for asserts and exceptions.
For both, it displays task name, task id, some stack, and camera log (with print_all())
Asserts also show file and line number.
Exceptions show exception vector and registers.
There's a lot of stuff I haven't figured out yet. The stack shown for asserts may not be the complete stack dump, but it always gets back to an address in debugassert, so more isn't really useful
It can be invoked like
!require'extras/vxromlog'.load('ROMLOG.LOG'):print()
or
!require'extras/vxromlog'.load('ROMLOG.LOG'):print_all()
Note ROMLOG.LOG is a local path, it doesn't download it form the camera.
I'd be interested to have samples of other romlogs from vxworks cameras that use the binary format.