nRF5340-DK programming issue

Hi,

We are using nRFProgrammer v2.0.1.

After 'Erase All' for nRF5340-DK and power off-on it.

nRFProgrammer seems hang over there. below is the screen capture.

I seek development zone and found below suggestion. Using below statement to recover the board.

nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK

nrfjprog -f NRF53 --recover

Yes, it works.

Do you have any comment on it? Is this a bug on nRFProgrammer? 

BR,

Charles

Parents
  • Hi Charles,

    Issuing the command "nrfjprog -f NRF53 --eraseall --coprocessor CP_NETWORK" produces the same output that can be seen in the log section of the Programmer application, as in your picture. After restarting, type "nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK" and "nrfjprog -f NRF53 --recover --coprocessor CP_APPLICATION" to enable the cores again.

    Regarding nrfjprog --rbp command, there are two options, out of which only one "ALL" can be used in your case. Try typing "nrfjprog --rbp ALL". If the cores are locked, this command will be unsuccessful. Otherwise, it will work fine. Restart the device. After that run "nrfjprog -f NRF53 --recover --coprocessor CP_APPLICATION" to enable cores again.

    In short, use --eraseall on specific core and use --recover to disable readback protection.

    Best regards,

    Dejan

Reply
  • Hi Charles,

    Issuing the command "nrfjprog -f NRF53 --eraseall --coprocessor CP_NETWORK" produces the same output that can be seen in the log section of the Programmer application, as in your picture. After restarting, type "nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK" and "nrfjprog -f NRF53 --recover --coprocessor CP_APPLICATION" to enable the cores again.

    Regarding nrfjprog --rbp command, there are two options, out of which only one "ALL" can be used in your case. Try typing "nrfjprog --rbp ALL". If the cores are locked, this command will be unsuccessful. Otherwise, it will work fine. Restart the device. After that run "nrfjprog -f NRF53 --recover --coprocessor CP_APPLICATION" to enable cores again.

    In short, use --eraseall on specific core and use --recover to disable readback protection.

    Best regards,

    Dejan

Children
Related