On Wed, Jan 25, 2012 at 08:29:18PM +0000, John Devereux wrote: > John <[email protected]> writes: > > >> Does 0.5.0 work fine? > > > > An LPC2129 & LPC2919 both work for me, as their cfg files source > > lpc2xxx.cfg or lpc2900.cfg, which set _TARGETNAME > > Yes but do they actually export that name outside the file? The files > themselves work. But for me it seems because _TARGETNAME appears not > exported the *board* files do not work, and I am unable to configure > e.g. the reset event. > > So in my board file > > $_TARGETNAME configure -event reset-init {... > > results in the error message. > > Are you able to use _TARGETNAME in your own config file? (Or use a board > file which does this)?
For the 2919 I changed the one for the Hitex 2929/2939 (changed RAM size, removed mww etc): tcl/board/hitex_lpc2929.cfg and it has a line like that. If that's not what you meant, let me know. hmm, I'm not currently using openocd with gdb etc as a server. I just run it with a mix of -f and -c commands (the last one is shutdown). It was all I needed to check a few things for now. If you need me to try a few things and can tell me what, I'll have a go if I can. John ------------------------------------------------------------------------------ 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
