Hi,

I may be missing something here...

In recent openocd the LPC target files do not seem to export the
_TARGETNAME variable, contrary to the manual.

As a consequence the board scripts do not work (neither the built-in
ones nor my custom ones).

For example:


openocd -f interface/olimex-arm-usb-ocd.cfg -f 
board/embedded-artists_lpc2478-32.cfg 

Open On-Chip Debugger 0.6.0-dev-00372-g9663ee3 (2012-01-25-11:12)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter_nsrst_delay: 500
jtag_ntrst_delay: 1
RCLK - adaptive
Runtime Error: 
/usr/local/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 
"/usr/local/share/openocd/scripts/board/embedded-artists_lpc2478-32.cfg", line 
17



-- 

John Devereux

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to