JLink can not connect to nrf54L15

Dear Nordic,

I have experienced a strange issue when brining up my custom board based on nrf54L15. The schematics is show in attached picture. there is nothing special but just very much a copy of reference design, except no LFXO, and few different IO re-arrangements,   

One thing may worth notice is that as I do not have 8pF XO (as used in nordic's dev kit) by hand so I use a 12pF one as HFXO instead at the beginning. I can then flash demo app (zephyr, basic/blinky) into the boards successfully.  But one of the boards suddenly can not be connected to through SWD on JLink. 

VTref=3.275V
Device "NRF54L15_M33" selected.


Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 4us
InitTarget() start
InitTarget() end - Took 100ms
Failed to attach to CPU. Trying connect under reset.
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 14us
InitTarget() start
InitTarget() end - Took 3.34ms
Error occurred: Could not connect to the target device.
For troubleshooting steps visit: https://wiki.segger.com/J-Link_Troubleshooting

I tried with different reset types, and manually toggle the reset pin, it still does not work, So in the end I have to remove the chip, and solder another new piece of chip onto the board to make it work, so that I can continue to test with other apps on both boards.

but after some continuous testing and debugging, the another board freeze again on SWD through JLink too, with the same error messages. By this time I have found few 8pF XO so I replaced the onboard XO with it, however the problem persists. In the end I have to replace the onboard nrf54L15 with a new one again to revive the board.

After that for a few days, the 2 custom boards works fine and no more such problems observed.

I am bit confused and got few questions,

1) The problem seem to have some relation with the HFXO used. after replaced with 8pF XO, the SWD refuse to connect problem seems disappeared. But why a different load cap XO can lead to a permanent JLink connection fail?

2) When got stuck into this JLink connection failure, is there anyway to get out except replacing nrf54L15 with a new one?

thank you.

/Roland

Parents
  • Hello Roland,

    The supported load capacitance for the 32MHz crystal of nRF54L15 is 6.9 pf. It's important to use the crystal in specified range. However this may not be the cause for locking out the SWD.

    How have you power the custom board? The board and debugger should have the same voltage level. 

    You can try to to do nrfutil device --recover to recover the device instead of changing SoC every time to check if that helps.

    Thanks.

    BR

    Kazi

Reply
  • Hello Roland,

    The supported load capacitance for the 32MHz crystal of nRF54L15 is 6.9 pf. It's important to use the crystal in specified range. However this may not be the cause for locking out the SWD.

    How have you power the custom board? The board and debugger should have the same voltage level. 

    You can try to to do nrfutil device --recover to recover the device instead of changing SoC every time to check if that helps.

    Thanks.

    BR

    Kazi

Children
  • thank for the quick response  .

    The crystal used in nordic's dev kit has a load cap of 8pF(MP06003 from Golledge). It is now what I followed in my custom board.

    I actually also tested with a 6pF XO, it does not seem to be any different with the 8pF XO on this issue.

    The custom boards did not use nordic's PMIC. The NRF_3V3 power supply in the schematic directly comes from the onboard 5V-3.3V LDO, which is supplied by the debugger during testing.

    I did not believe the XO will be the cause of SWD rejection as well. However the correlation between the XO replacement and the testing results does suggest it,

    1) The new, empty flash SoCs can always connect smoothly.

    2) Once it is flashed with content, there is a chance (at least both on my 2 custom boards) to lock out the SWD/JLink when using a wrong XO.

    3) With a recommended XO the boards seem to be free from this problem.

    My wild guess is a wrong XO can somehow cause the firmware inside this SoC get stuck in somewhere resulting a software-reset (or even a hardware reset) not functioning. I can not find a proof, but that is what I could think about so far. 

    I will try nrfutil device --recover when it happens again.

Related