How to fix the voltage mismatch between VTref and VDD on the target board?

Hi everyone. I’m currently working on a custom board based on the nRF5340, but I’m unable to connect to the board when trying to flash it via the SWD interface using J-Link. Here is the error message from my SDK:
Error: One or more device info tasks failed:
302005664: Device error: A timeout occurred while handling debug power: Timed out trying to power sys and debug region
(Generic)
When troubleshooting with J-Link Commander, I got the following output:
J-Link>st
VTref=1.673V
ITarget=0mA
TCK=1 TDI=0 TDO=0 TMS=0 TRES=1 TRST=?
Supported target interface speeds:
  • 96 MHz/n, (n>=24). => 4000kHz, 3840kHz, 3692kHz, ...
However, I measured 3.1V on the SWD VDD pin with a multimeter, and the main chip power supply seems normal.
Also, because I cannot connect, I cannot try the nrfjprog --recover command suggested by AI.
Does anyone have any good solutions?
Parents
  • Hello,

    Probably If VTref is not correctly connected to your board's VDD. As you can see 3.1V at VDD but on the Jlink commandar output Vterf is 1.6V. Can you check with different cable?

  • Hi Kazi, 

    I have a few custom PCBs based on the nRF5340 and several peripheral ICs. One of these ICs has an absolute maximum supply voltage of 1.98 V. The boards do not include any external over-voltage protection.

    For debugging, I have been using an nRF5340 DK as a J-Link probe, with SB19 shorted so that the probe senses the target VDD level.

    Several boards eventually developed a hard short between VDD and GND. After some investigation, I found that the failed component was the IC with the 1.98 V maximum supply rating. Once it was removed, SWD access to the nRF5340 was restored.

    Funny thing is that I have VTref = 3.3V log in the JLinkExe even if I measure 1.8V in the target. 

    I have two questions: (i) when using the DK as a debugger in this configuration, is there any possibility that the probe could briefly drive or expose the target to a higher voltage (e.g., 3.3 V) before it detects and adapts to the target VDD level? And (ii) can I have such an output with such a target voltage? 

    Best regards,

    João Colombari

Reply
  • Hi Kazi, 

    I have a few custom PCBs based on the nRF5340 and several peripheral ICs. One of these ICs has an absolute maximum supply voltage of 1.98 V. The boards do not include any external over-voltage protection.

    For debugging, I have been using an nRF5340 DK as a J-Link probe, with SB19 shorted so that the probe senses the target VDD level.

    Several boards eventually developed a hard short between VDD and GND. After some investigation, I found that the failed component was the IC with the 1.98 V maximum supply rating. Once it was removed, SWD access to the nRF5340 was restored.

    Funny thing is that I have VTref = 3.3V log in the JLinkExe even if I measure 1.8V in the target. 

    I have two questions: (i) when using the DK as a debugger in this configuration, is there any possibility that the probe could briefly drive or expose the target to a higher voltage (e.g., 3.3 V) before it detects and adapts to the target VDD level? And (ii) can I have such an output with such a target voltage? 

    Best regards,

    João Colombari

Children
No Data
Related