[psas-avionics] FYI: lpc2148-openocd script command syntax...

K kwilson at cs.pdx.edu
Mon Mar 17 22:30:29 PDT 2008


Hi all,

REF: http://openfacts.berlios.de/index-en.phtml?title=OpenOCD_commands

The above doc is not quite up to date. Some notes:

flash write ... command not found, Deprecated.

flash write_binary also gives command not found.

This works instead: use 'flash write_image' and specify the file type at
the end of the command (this case: 'bin')

flash write_image <path-to-file>/main.bin 0x0 bin

"flash erase ... " seems deprecated now in favor of
"flash erase_sector ..."

flash erase_sector 0 0 26

There may be more, these are the few I've found so far...

Cheers,
-K






More information about the psas-avionics mailing list