SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By neodimio91
#197757
Hi! I've got this error! Hope someone can help! I'm not able to understand what I'm doing wrong!


openocd -f interface/stlink-v2-1.cfg -f target/nrf52.cfg -c "program blinky_pca10056.hex verify reset exit"


Open On-Chip Debugger 0.10.0 (2017-08-21) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 10000 kHz
Info : Unable to match requested speed 10000 kHz, using 4000 kHz
Info : Unable to match requested speed 10000 kHz, using 4000 kHz
Info : clock speed 4000 kHz
Info : STLINK v2 JTAG v28 API v2 SWIM v17 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.264950
Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000214 msp: 0x20002008
** Programming Started **
** Programming Failed **
shutdown command invoked
embedded:startup.tcl:502: Error:
in procedure 'flash' called at file "embedded:startup.tcl", line 502