Folks,

I'm sorry if I'm missing something very obvious here, so please feel free to push me back onto the right lines if I am. I've distilled the problem down as far as I'm able.

1) I can start openocd with a command like;

openocd -f /usr/local/lib/openocd/board/olimex_lpc_h2148.cfg -f /usr/local/lib/openocd/interface/olimex-arm-usb-ocd.cfg

I can then telnet to localhost 4444 and enter the command 'reset' and it works perfectly, resetting my target.

2) If I run the same command, but include the 'reset' as a command line option, in this way;

openocd -f /usr/local/lib/openocd/board/olimex_lpc_h2148.cfg -f /usr/local/lib/openocd/interface/olimex-arm-usb-ocd.cfg -c 'reset'

...then I get;

$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Runtime error, file "command.c", line 456:
   Unknown command: reset

I've gone to current SVN to see if I had a problem from there, but to no avail. I'm sure I'm doing something wrong, but no idea what. Im actually trying to use 'reset' and other commands in a command file, but this description distils down the core of my problem and doesn't need any config to show it up.

Please help a stoopid person today....thanks in advance.

DAVE


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to