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

Flash external nrf51422 with nrf51-dk

Hello,

I'm trying to flash external nrf51422 module. I want to flash both softdevice and application. I used below commands:

mergehex -m %SOFTDEVICE_NAME% %APP_NAME% -o %MERGE_NAME%
nrfjprog --recover -f NRF51
nrfjprog --program %MERGE_NAME% --verify --chiperase -f NRF51

and I got:

Parsing hex file.
Erasing code flash area.
Erasing UICR flash area.
Applying system reset.
Checking that the area to write is not protected.
ERROR: The operation attempted is unavailable due to readback protection in
ERROR: your device. Please use --recover to unlock the device.

recover command completed fine, but I'm not able to flash. Why recover command doesn't remove readback protection?

When I look into NRF Studio I see information 'ANT device with pre-programed SoftDevice'. My external chip is: nRF51422 QFAACO 1319AJ

Best regards, Marcin

Related