Issue with Unknown Device detection on nRF5340 – Flashing works, but Debugging/Recovery fails

I am currently developing a project using an nRF5340DK and a custom board.

For some unknown reason, the device is being identified as an "Unknown device."


The ironic part is that flashing the firmware still works successfully, even though the device ID isn't recognized correctly.




However, when I attempt to start debugging, I encounter the following error:




I suspect that the Application Core is protected (APPROTECT), which prevents the debugger from correctly identifying the nRF5340 IC on my custom board.


I tried to perform a recovery to resolve this, but the recovery process also fails with the following error:




How can I get the debugger to correctly recognize the device as NRF5340_xxAA_REV1 again instead of "Unknown device"?

Parents Reply
  • Does your design include the optional DCDC inductors? If you build the FW for the nRF5340 DK, the DCDC regulators will be enabled by default, and if the inductors are not included, the regulator will fail to provide a stable supply voltage internally in the chip which commonly leads to issues such as being unable to re-program the chip.

    Best regards,

    Vidar

Children
Related