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

Unable to flash due to high reset pin

Hi

I'm currently working on the 10028 DK board, which was working flawlessly until I used the J-link RTT Viewer, and pushed the IF BOOT/RESET-button. Now, when I try to flash the MCU I get this in Keil:

*JLink Info: Device "NRF51422_XXAC" selected. JLink info:

DLL: V5.12f, compiled May 17 2016 16:03:35 Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Nov 14 2016 16:58:29 Hardware: V1.00 S/N : 681151478
**JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware. ***JLink Error: Communication timed out: Requested 20 bytes, received 0 bytes ! Could not read hardware status! Error: Flash Download failed

  • Target DLL has been cancelled

I've tried to update to the newest J-Link bootloader, with no luck I've tried to recover the device as explained here, but get this output:

nrfjprog --recover --family 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.

Using nRFgo Studio, does not work either, nRFgo is crashing if i try to connect to the debugger.

Also, I know that the MCU is still running because the LED 1-4 are flashing as expected.

Parents
  • Good spot, you are right that nRESET is the same PIN as SWDIO on nRF51xxx. I guess it can really be HW problem or any of FWs (nRF5x or auxiliary SEGGER FW on DK board) causing PIN pulled HIGH. You could try to use another SEGGER (or similar JTAG/SWD) debugger/flasher, connect it to "Debug in" port of PCA10028 and try it that way (keep PCA10028 not powered from USB and supply 3V3 externally)...

Reply
  • Good spot, you are right that nRESET is the same PIN as SWDIO on nRF51xxx. I guess it can really be HW problem or any of FWs (nRF5x or auxiliary SEGGER FW on DK board) causing PIN pulled HIGH. You could try to use another SEGGER (or similar JTAG/SWD) debugger/flasher, connect it to "Debug in" port of PCA10028 and try it that way (keep PCA10028 not powered from USB and supply 3V3 externally)...

Children
No Data
Related