Unable to detect nRF9160 chip after flashing over JTAG via nRF9160-DK dev board

We have developed a prototype board based on the Thingy91 which contains both the nRF9160 and nRF52840 and many of the same connections. 

However, after a few successful attempts to flash both chips via the VS Code Nordic extension, the nRF9160 has become unresponsive.

Using this same setup of nRF9160-DK to our PCBA via the JTAG connector, we have successfully connected to the nRF52840 on the faulty board; both chips on the Thingy91 and both chips on another of our prototype boards. I have listed the devices found on the faulty board and working prototype below:

Correct Faulty

When attempting to connect to the "J-Link" device presented by the faulty board in the programmer we receive the following error message:
"Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device."

Additionally, when attempting to "Erase and Flash" the faulty board we receive the following error message:
Flashing build to undefined
west flash -d c:\nordic\apps\hello_world\build --skip-rebuild -r nrfjprog --dev-id 960033515 --erase

-- west flash: using runner nrfjprog
-- runners.nrfjprog: mass erase requested
-- runners.nrfjprog: Flashing file: C:\nordic\apps\hello_world\build\zephyr\merged.hex
ERROR: Unable to connect to a debugger.
ERROR: The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the device connected.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 18: nrfjprog --program 'C:\nordic\apps\hello_world\build\zephyr\merged.hex' --chiperase --verify -f NRF91 --snr 960033515
The terminal process terminated with exit code: 18.

Any help would be appreciated.

Parents
  • Hello Ewan, 

    Ewan ALP said:
    Please could you advise why this current is much higher than expected and how to mitigate it?

    That is a little bit hard to say from distance, as there can be various reason. My first suspicion would be enabled peripherals. 

    You could start with adding spm.conf & mcuboot.conf to your Hello World sample, as demonstrated by the Serial LTE modem application. Adding the power saving options from each file should give you a reduced current consumption.

    Btw: I’m not sure if you still are able to comment my answer within this case, as status has been ‘Verified Answer’. In that case, please create a new ticket mentioning my name and referring to this case :-)

    Thanks & regards, 

    Markus

Reply
  • Hello Ewan, 

    Ewan ALP said:
    Please could you advise why this current is much higher than expected and how to mitigate it?

    That is a little bit hard to say from distance, as there can be various reason. My first suspicion would be enabled peripherals. 

    You could start with adding spm.conf & mcuboot.conf to your Hello World sample, as demonstrated by the Serial LTE modem application. Adding the power saving options from each file should give you a reduced current consumption.

    Btw: I’m not sure if you still are able to comment my answer within this case, as status has been ‘Verified Answer’. In that case, please create a new ticket mentioning my name and referring to this case :-)

    Thanks & regards, 

    Markus

Children
No Data
Related