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

Failure to start the device after programming the device with nrfjprog -- commands.

We are using the nrf51822 chip, however after typing the command: nrfjprog --memrd 0x10001080 -f NRF51, the chip is no longer able to start. 

We have tried resetting the chip using nrfjprog --recover, nrfjprog -e, and nrfjprog eraseuicr but still the problem with the chip persists....

I am still able to do normal read and writes in the memory, but without the chip starting -- I will not be able to detect BLE on the device. 

Thank you in advance.

  • I tried running these commads, but the problem is still there...

    Erase all, program SoftDevice and verify:

    nrfjprog.exe --family NRF51 --program s130_softdevice.hex --chiperase --verify
    

    Program application and verify (use --sectorerase in addition to erase old application before programming):

    nrfjprog.exe --family NRF51 --program nrf51422_xxac_s130.hex --verify
    

    Apply reset in order to start the application.

    nrfjprog.exe --family NRF51 --reset
  • When you program the chip with nrf51422_xxac_s130.hex, is that the same firmware that was on the chip when the firmware was running? Does the firmware use the UICR registers? Are you able to debug your project in an IDE?

     

    Best regards,

    Edvin