This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to compile the nrf52

Hello, I got the solution for my previous errors, but now I'm facing new error, that now when I compile my code it gives error like invalid command name "nRF52"

ac2@ac2:~/openocd_new$ openocd -s /home/ac2/openocd_new/tools/scripts/ -f board_nrf52.cfg -c init -c "reset init" -c halt -c "nrf52 mass_erase" -c "program /home/ac2/test_nrf52/nRF5_SDK_12.1.0_0d23e2a/examples/peripheral/blinky/pca10031/blank/armgcc/_build/nrf51422_xxac.out verify" -c reset -c exit Open On-Chip Debugger 0.10.0-dev-00419-gbcaf775-dirty (2016-11-29-13:32) Licensed under GNU GPL v2 For bug reports, read openocd.org/.../bugs.html 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 v21 API v2 SWIM v4 VID 0x0483 PID 0x3748 Info : using stlink api v2 Info : Target voltage: 3.243588 Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints nrf52.cpu: target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x000008e4 msp: 0x20000400 invalid command name "nrf52"

Can anyone help me out so that i get to know where I'm getting wrong.?

Related