I got a nRF9160 a few days ago and would initially go into DFU mode with the blue LED on but I think I corrupted MCUBOOT and I can’t get it to respond to anything anymore. I understand that I need the programmer cable to access it without MCUBOOT but that isn’t working. How do I know if my board went bad or if there is something else I’m doing wrong. When I plug in the USB the right LED lights up for <1 second and then all LEDs go dark.
I have a Thingy:91 that programs fine with the exact same setup.
C:\Users\john>nrfjprog -v
nrfjprog version: 10.19.0 external
JLinkARM.dll version: 7.88j
C:\Users\john>nrfjprog --ids --expand
---------- Emulators ----------
serial number: 960087317
connection type: USB
C:\Users\john>nrfjprog -f NRF91 --pinreset
Applying pin reset.
C:\Users\john>nrfjprog -r
Applying system reset.
Run.
C:\Users\john> nrfjprog --recover --log
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.
Unplugging the debug cable from the Thingy:91 and plugging in the nRF9160 Thing Plus I get these failures
nrfjprog --deviceversion
960087317 - NRF9160_xxAA_REV2
[error] [SeggerBackend] - Cannot call is_connected_to_device when connect_to_emu_without_snr or connect_to_emu_with_snr has not been called.
C:\Users\john>nrfjprog -f NRF91 --pinreset
Applying pin reset.
C:\Users\john>nrfjprog -r --log
[error] [SeggerBackend] - JLinkARM.dll reported “-1”, “An unknown error.”.
{29 times}
ERROR: Unable to connect to a debugger.
[error] [SeggerBackend] - JLinkARM.dll reported “-1”, “An unknown error.”.
{31 times}
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
C:\Users\john>nrfjprog –recover
{same 60 errors as above}
C:\Users\john>nrfjprog --deviceversion
[error] [SeggerBackend] - JLinkARM.dll reported “-1”, “An unknown error.”.
…
960087317 - UNKNOWN
[error] [SeggerBackend] - JLinkARM.dll reported “-1”, “An unknown error.”.
Trying a Linux system different program versions gets similar results
Thingy:91 plugged in
jstuewe@Inspiron-3910:~$ nrfjprog -v
nrfjprog version: 10.21.0 external
JLinkARM.dll version: 7.88g
jstuewe@Inspiron-3910:~$ nrfjprog --ids --expand
---------- Emulators ----------
serial number: 960087317
connection type: USB
jstuewe@Inspiron-3910:~$ nrfjprog -f NRF91 --pinreset
Applying pin reset.
jstuewe@Inspiron-3910:~$ nrfjprog --deviceversion
960087317 - NRF9160_xxAA_REV2
jstuewe@Inspiron-3910:~$ nrfjprog -r --log
Applying system reset.
Run.
jstuewe@Inspiron-3910:~$ nrfjprog --recover --log
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.
Switching out the Thingy:91 with the nRF9160 and I get the failures below
jstuewe@Inspiron-3910:~$ nrfjprog --deviceversion
[error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 250 milliseconds with result -102
960087317 - UNKNOWN
[error] [ Worker] - An unknown error.
jstuewe@Inspiron-3910:~$ nrfjprog -r --log
[error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 243 milliseconds with result -102
ERROR: Unable to connect to a debugger.
[error] [ Worker] - An unknown error.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
jstuewe@Inspiron-3910:~$ cp log.log log20230703.log
log file attached.
Any ideas what may be happening other than bad hardware
log20230703.zip (16.2 KB)