|
From: Spencer O. <sp...@sp...> - 2013-03-08 10:09:02
|
On 8 March 2013 09:48, Kavitha <dev...@gm...> wrote: > Brian Findlay, > > I took the the configuration file mini2440.cfg, > when i tried to start openocd with > > > root@ubuntu:/home/mini/Documents# openocd -f mini2440.cfg > Open On-Chip Debugger 0.6.1 (2013-03-07-21:11) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.sourceforge.net/doc/doxygen/bugs.html > Runtime Error: mini2440.cfg:103: invalid command name "jtag" > in procedure 'script' > at file "embedded:startup.tcl", line 58 > at file "mini2440.cfg", line 103 > root@ubuntu:/home/mini/Documents# > > What could be exact reason for this error message. > you will need to tell OpenOCD what adapter you are using, for example. openocd -f interface/adaptername.cfg -f board/mini2440.cfg you will be batter off to use the scripts directly rather than copying them. Spen |