This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Regarding Recover PCA10028

Hi. I'm using PCA10028, SDK10.0.0, S130. Recently I'm testing SYSTEMOFF mode. Unfortunatly My board is not operate now. KEIL can't connect PCA10028 baord any more. Here's KEIL's log.

  • JLink Info: Found SWD-DP with ID 0x0BB11477 **JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
  • JLink Info: Found SWD-DP with ID 0x0BB11477 ***JLink Error: DAP error while reading AIRCR / CPUID register ***JLink Error: Communication timed out: Requested 20 bytes, received 0 bytes ! Could not transfer JTAG data. Error: Flash Download failed - Target DLL has been cancelled

I thought the board had HW problem.

So I got new PCA10028 board which works well. But as long as i download my test code. It goes Halt.

Finally I think it's because i called SYSTEMOFF too soon.

I want to know "how can I recover PCA10028 board without KEIL compiler?" Is there any possibility to return default code like factory code?

  • Hi Roger

    Try to erase your program from the chip and the whole flash memory by opening nrfjprog.exe , which is a command line tool, and write the following:

    nrfjprog --eraseall --family NRF51
    

    If that does not work, try to recover your device with the following command:

    nrfjprog --recover --family NRF51
    

    You can get the latest nrfjprog.exe tool here for Windows. the nrfjprog.exe is part of the nrf command line tools install. This install is good for both 32-bit and 64-bit windows, even though the title currently says win-32

  • I still have problem as below.

    C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin>nrfjprog --eraseall --fami ly NRF51 ERROR: Cannot connect to any nRF device. Please make sure a device is ERROR: connected to the debugger and supplied.

    C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin>nrfjprog --recover --famil y NRF51 Recovering device. This operation might take 30s. ERROR: Cannot connect to any nRF device. Please make sure a device is ERROR: connected to the debugger and supplied.

Related