Target No Device Found: SWDIO (PA13) at 0V on STM32L073CZT Custom Board
Hello STM32 Community,
I am facing a persistent "Target no device found" error when trying to program an STM32L073CZT3 custom board using a Nucleo-L073RZ as an external ST-LINK (CN2 jumpers removed).
Hardware Setup:
-
MCU: STM32L073CZT3 (custom PCB)
-
Debugger: ST-LINK V2-1 (Nucleo-64)
-
Connection: 5-wire SWD (SWDIO, SWCLK, GND, NRST, VDD_Sensing)
-
Power: External SMPS providing 3.3V (Common Ground established between SMPS and ST-LINK).
The Issue: While the ST-LINK pins show correct voltages when floating, the SWDIO (PA13) pin drops to 0V the moment it is connected to the target board.
-
Pin 1 (VDD Sense): 3.3V
-
Pin 2 (SWCLK): 3.29V
-
Pin 4 (SWDIO): (Measured 2.9V on ST-LINK side connection)
-
Pin 5 (NRST): 3.3V
Troubleshooting performed:
-
Verified continuity; no physical shorts found between PA13 and GND.
-
Attempted "Connect Under Reset" and "Hardware Reset" at 480 kHz.
-
Schematic Check: I have a 10uF capacitor (C17) on the NRST line—could this be preventing the debugger from catching the reset state?
-
Verified that the ST-LINK and the software setup work perfectly on a standard Nucleo-L073RZ board.
I have attached my schematic and a photo of the physical wiring. Does the 0V on SWDIO suggest a software-locked pin or a hardware fault within the MCU?
STMicroelectronics ST-LINK GDB server. Version 7.5.0
Copyright (c) 2023, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.

Best regards, VenkatesH


