From: <Pet...@t-...> - 2019-04-08 10:36:41
|
Hello Paul, from my documentation running that device under Linux it is announced to run OpenOCD with additional configs: 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’ 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: 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? Perhaps there is a difference in the syntax for running Eclipse and OpenOCD at Windows? Best regards, Peter -----Original-Nachricht----- Betreff: Re: [OpenOCD-user] Error: unable to open ftdi device Datum: 2019-04-08T12:12:46+0200 Von: "Paul Fertser" <fer...@gm...> An: "Pet...@t-..." <Pet...@t-...> Hi, On Mon, Apr 08, 2019 at 12:06:13PM +0200, Pet...@t-... wrote: > Error: JTAG-DP STICKY ERROR > Error: Failed to write memory at 0x00008004 > Error: JTAG-DP STICKY ERROR > Error: Failed to write memory at 0x00008010 That likely means your linker script (.ld-file) is wrong, it should be mapping the flash region to 0x08000000 but it likely doesn't. > Could you please tell me, that OpenOCD and the connection to the > board via USB is running fine? Most probably so, yes. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |