From: Paul F. <fer...@gm...> - 2019-04-08 11:11:05
|
On Mon, Apr 08, 2019 at 12:36:20PM +0200, Pet...@t-... wrote: > openocd -f C:\Users\oehler\workspace\Labor3\interface\thm_arduino.cfg -f C:\Users\oehler\workspace\Labor3\mrt\board\thm_arduino.cfg -c ’jtag init’ -c ’init’ -c ’halt’ -c ’reset halt’ "jtag init" is just bogus, it's done automatically. "init" means switch from configuration phase to runtime phase. "halt" means halt the target "reset halt" means reset and try to halt the target before it executes first instruction. Please see the user manual for clarifications. > I have the impression, that this configs are important for beeing > enabled to write the flash memory. I´ve tried this additional > configs, but then I´ve got the error message: If you want to just flash use this: openocd -f yourconfig.cfg -c "program your.elf verify reset exit" > NU MCU Eclipse 32-bit Open On-Chip Debugger 0.10.0+dev-00352-gaa6c7e9b (2018-10-20-02:36) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.org/doc/doxygen/bugs.html > Unexpected command line argument: halt? Missing -c most probably. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |