Title: nRF54LM20 DK debug-out (P13) reset line holds an external nRF52840 target in reset after a pin reset or CTRL-AP hard reset

Setup

- Programmer: nRF54LM20 DK (PCA10184), debug out header P13 to an external board over a 10-pin ribbon under 10 cm, SWD0_SELECT grounded on the target side. The DK's own SoC runs a separate application (HCI UART), so the DK is used as a J-Link OB only through P13.
- Target: nRF52840 QIAA rev 2 (build code Dxx) on an Acconeer XM126 module, 1.8 V VDD, normal voltage mode (MAINREGSTATUS = 0), UICR.PSELRESET[0..1] = 18 (pin reset on P0.18 enabled by the firmware at first boot), APPROTECT 0xFFFFFFFF. nRF Connect SDK v3.3.0 application with MCUboot, no watchdog, no System OFF.
- Host: Ubuntu, nrfutil 8.1.1 with device command 2.19.4, J-Link software installed by the nRF Connect for VS Code toolchain.

Observed

1. After `nrfutil device program --serial-number <DK> --firmware merged.hex --options chip_erase_mode=ERASE_ALL`, a following `nrfutil device reset --reset-kind RESET_HARD` fails with
`Device error: A timeout occured while handling debug power: Timed out trying to power sys and debug region`.
From then on every operation on that probe (device-info, x-read) fails with the same timeout, for as long as the ribbon stays connected (over an hour).
2. The same state is reached by pressing the target board's own reset button (wired to P0.18) while the ribbon is connected. It does not happen on every press. With the ribbon disconnected the button works every time.
3. While the target is in that state, the reset line measured at the target's SWD header pin 10 (P0.18) reads 0.43 V to ground with the button released. That is below the input-low level for a 1.8 V part, so the SoC stays in reset. It is not a short: a driver pulling low against the pin's internal pull-up. The only other driver on that net is the DK's SWD0_RESET through the ribbon.
4. `nrfutil device reset --reset-kind RESET_PIN --serial-number <DK>` releases it: the same pin then reads 1.8 V, device-info answers NRF52840_xxAA_REV2, and the application runs (advertising within 30 s). Unplugging the ribbon also releases it.
5. The application firmware was read for anything that could produce this and has nothing: no watchdog, no System OFF, no debugger-state checks. The target cannot be running while P0.18 is at 0.43 V in any case.

Questions

1. Is it expected that the DK's debug-out reset driver follows an externally driven low on SWD0_RESET and keeps the line low after the external source releases it? Which part drives SWD0_RESET on the nRF54LM20 DK, and is it open-drain?
2. Why would RESET_HARD (CTRL-AP) after a program leave the reset line asserted, when RESET_PIN clears it?
3. Is there a DK (interface MCU / J-Link OB) firmware update or a solder-bridge configuration that changes this behaviour, short of leaving pin 10 out of the ribbon?

Measurements available on request: the full nrfutil JSON output of each failing and succeeding command, with timestamps, and the UICR/POWER/DHCSR register dumps taken through the probe before and after.
  • Is it expected that the DK's debug-out reset driver follows an externally driven low on SWD0_RESET and keeps the line low after the external source releases it? Which part drives SWD0_RESET on the nRF54LM20 DK, and is it open-drain?



    If you look at the schematics above, the SWD0_RESET line on P13 is driven by U8, a TXB0104 bidirectional push-pull level shifter (not open-drain), with VCCA tied to VDD:DBGR (the interface MCU's rail) and VCCB tied to VDD:SWD0 (sourced from the target's SWD0_VTG on pin 1 of P13). To answer your question, Yes. If a debug operation times out, the J-Link OB firmware gets stuck mid-sequence and never issues a release command. Because of this, it leaves the reset signal actively asserted. he TXB0104 is a push-pull driver. It actively drives both high and low states, which is why it forces the target's reset line down to ~0.43 V instead of letting it float back up.

    Why would RESET_HARD (CTRL-AP) after a program leave the reset line asserted, when RESET_PIN clears it?

    The J-Link OB firmware drives on the RESET net, so once RESET_PIN commands the line high, U8 actively drives SWD0_RESET_EXT high and the target's P0.18 returns to 1.8 V.

    Is there a DK (interface MCU / J-Link OB) firmware update or a solder-bridge configuration that changes this behaviour, short of leaving pin 10 out of the ribbon?


    There is currently no firmware update. The only workaround is assuggested in the datasheet: Leave pin 10 out of the ribbon (as you noted)  since U8 is push-pull on all four channels simultaneously, this is the only hardware-level isolation.

    Regards

    Pallavi

Related