You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, I installed everything and seems I can compile and all the code is being understood by arduino, however, when I am flashing the device I am getting these messages about halted cpu:
Users/xxx/Library/Arduino15/packages/sandeepmistry/tools/openocd/0.10.0-dev.nrf5/bin/openocd -d2 -f interface/stlink-v2.cfg -c transport select hla_swd; set WORKAREASIZE 0x4000; -f target/nrf51.cfg -c program {{/var/folders/s5/wx1jrbjd5hbbdwbspxk992n00000gp/T/arduino_build_172043/iBeacon.ino.hex}} verify reset; shutdown;
Open On-Chip Debugger 0.10.0-dev-gdc53227 (2016-04-09-13:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
0x4000
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v17 API v2 SWIM v4 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.243200
Info : nrf51.cpu: hardware has 4 breakpoints, 2 watchpoints
nrf51.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
auto erase enabled
Info : nRF51822-QFAA(build code: G0) 256kB Flash
Warn : using fast async flash loader. This is currently supported
Warn : only with ST-Link and CMSIS-DAP. If you have issues, add
Warn : "set WORKAREASIZE 0" before sourcing nrf51.cfg to disable it
nrf51.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000001e msp: 0x000007c0
wrote 14336 bytes from file /var/folders/s5/wx1jrbjd5hbbdwbspxk992n00000gp/T/arduino_build_172043/iBeacon.ino.hex in 0.706444s (19.818 KiB/s)
** Programming Finished **
** Verify Started **
nrf51.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x000007c0
verified 14260 bytes in 0.104203s (133.641 KiB/s)
** Verified OK **
** Resetting Target **
shutdown command invoked
I am repurposing some old modules I had around, is it possible maybe those are write-protected?
The text was updated successfully, but these errors were encountered:
Hello guys, I installed everything and seems I can compile and all the code is being understood by arduino, however, when I am flashing the device I am getting these messages about halted cpu:
I am repurposing some old modules I had around, is it possible maybe those are write-protected?
The text was updated successfully, but these errors were encountered: