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

nRF51802 not readable

Hi,

I am fairly new to this, so please excuse my beginner mistakes. 

I have a few coin battery sized nRF51 beacons (like this https://forum.mysensors.org/topic/6951/nrf5-multi-sensor-board-12-14 ) and tried to learn to program them.

I downloaded the mbed examples from https://github.com/ARMmbed/mbed-os-example-ble/ and compile BLE_BatteryLevel with:

mbed compile -v -t GCC_ARM -m NRF51_DK

I then l flashed the resulting .hex file to the beacon using the external debugger functionality of my nrf51_dk:

./nrfjprog --program .../mbed-os-example-ble/BLE_BatteryLevel/BUILD/NRF51_DK/GCC_ARM/BLE_BatteryLevel.hex

now when I try to read the registers of that beacon, I get the following error:

$ ./nrfjprog --readregs --log
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.

how can I reset the beacons to factory settings or something to get them readable as before? I used to be able to read their contents using the nrfconnect program, but it gets stuck on "Using nrfjprog to communicate with target" now.  

below the output of the log.

Thanks!!!

log.log

Related