No SWD target connection with STM32F103 on custom PCB
Dear all,
I'm unable to connect via SWD to my STM32F103C8T6. What ever I try I get no target found with STM32CubeProgrammer or ST-LINK Utility (I have tried all combinations at slow and high speeds).
- device is virgin
- BOOT0 is low
- NRST unconnected (shows 3V3) and connected/removed while testing
- Connections go through from ST-Link to STM32 pins
- 30 Ohm and 0 Ohm tested for SWCLK and SWDIO (GND and 3V3 connection to ST-Link with no resistor)
- Correct mapping of ST-LINK pins to STM32 checked multiple times
- There are no obvious shorts between any of the paths
- 3V3 is stable and GND closed
- The ST-Link was tested with a "blue pill" board with the same STM32 on it and it worked flawlessly
I have also tried:
- Cutting the path to the esternal 16MHz crystal curcuit
- Connecting/Disconnecting VCC
- Soldered a new STM32 onto the board
I am currently running out of ideas, I think there is either a fault in the PCB design that damages the MCU or prevents booting or maybe some config that I have missed? I'm grateful for any ideas..
Some info on the board: It's a 2-Layer 1 mm board with a solid GND plane on the backside, I have attached sreenshots of the schematic and the routing. Please not that the LED on the BOOT0 path has been replaced with a 0 Ohm resistor to actually pull the pin low. Please let me know any further info required.




