[psas-avionics] FYI: lpc2148-openocd script command syntax...
mark gross
markgross at thegnar.org
Tue Mar 18 19:21:26 PDT 2008
On Mon, Mar 17, 2008 at 10:30:10PM -0700, K wrote:
>
> Hi all,
>
> REF: http://openfacts.berlios.de/index-en.phtml?title=OpenOCD_commands
ah, you did an svn update did ya?
>
> 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...
>
Thanks for the info! I'll have to update my script file so it work
with the newer openocd.
--mgross
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.psas.pdx.edu/pipermail/psas-avionics/attachments/20080319/27678ada/attachment.pgp>
More information about the psas-avionics
mailing list