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

"No idcode detected" error on PCA10056 V1.0.0

Hi,

During evaluation of both nRF52840 Dev Kit and Dongle somehow the Dev Kit bootloader was erased. We were able to flash MCU firmware, but now J-Link is not able to connect to the target device - reporting "No idcode detected". We tried both from Segger Studio on Mac, JLink Commander on Win10 and nrfjprog on both Windows and Mac.

"nrfjprog --recover" doesn't help.

It looks like nRF52840 bootloader was erased as well and now the target is not able to communicate with MCU/J-Link. Is there any way to fix it? For example, is it possible to install the target bootloader thru nRF52840 own USB?

Thanks,

Vitaly

Parents Reply
  • What suggestion? nrfjprog --recover -f nrf52? I tried it multiple times both on Mac and Win.

    C:\Users\vsirota>nrfjprog --recover -f nrf52
    Recovering device. This operation might take 30s.
    ERROR: Recover failed. Please make sure that the correct device family is given
    ERROR: and try again.

    The post you mention covers using an external programmer.

    So what is the factory reset procedure for nRF52840? What do we need to implement in hardware to make sure we can always recover a bricked device? This failed DK board just a sample case for nRF recovery for me - and I don't see any solution so far. 

Children
  • Specifically "make a script that loops over the shell-call "nrfjprog -e" or "nrfjprog --recover" to try to recover it, or try on different computers (windows based) to see if that helps." Trying an external debugger could also be useful. I'm not aware of any other factory reset procedure, 'nrfjprog --recover' and/or '--eraseall' should solve this kind of issue. "Bricked" devices are normally not an issue with nRF5 series ICs.

Related