Hi,
I'm working with the LPC2460 processor. This is a rom-less cpu, very
similar the LPC2478 already on the tree.
The closest example of what I'm trying to do is the
"embedded-artists_lpc2478-32.cfg" script. But this script is not
working anymore. Here is the output:
$ openocd -f interface/jtagkey2.cfg -f board/embedded-artists_lpc2478-32.cfg
Open On-Chip Debugger 0.5.0-dev-00845-g37cf609-dirty (2011-04-12-11:05)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter_nsrst_delay: 500
jtag_ntrst_delay: 1
RCLK - adaptive
Runtime Error:
/home/alex/sw/openocd/share/openocd/scripts/board/embedded-artists_lpc2478-32.cfg:17:
can't read "_TARGETNAME": no such variable
in procedure 'script'
at file "embedded:startup.tcl", line 58
at file
"/home/alex/sw/openocd/share/openocd/scripts/board/embedded-artists_lpc2478-32.cfg",
line 17
The only way I found to overcome this is to copy everything from
lpc2xxx.cfg and lpc2478.cfg to a new file, and rewrite the
"init_targets" procedure with the flash and reset-init information.
Do anybody have a better way to do this?
Thanks.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development