I'm developing an application on a custom nRF52 board. I have no problem to program the board with Keil. However when I try to program the application with the nrfjprog, the application won't run. What is the correct procedure to program with nrfjprog?
Below is my command line log:
$ nrfjprog -f NRF52 --program nrf52832_xxaa_s132.hex --sectorerase
Parsing hex file.
Erasing page at address 0x1C000.
Erasing page at address 0x1D000.
Erasing page at address 0x1E000.
Erasing page at address 0x1F000.
Erasing page at address 0x20000.
Erasing page at address 0x21000.
Erasing page at address 0x22000.
Erasing page at address 0x23000.
Erasing page at address 0x24000.
Applying system reset.
Checking that the area to write is not protected.
Programing device.
$ nrfjprog -f NRF52 --reset
Applying system reset.
Run.