r/PCB • u/Tricky_Bookkeeper_41 • Oct 08 '26
Custom ESC (STM32F051 based) undetectable by ST Link V2
Mainly following the design from the AM32 reference design
It's my first time working with STM32 so unsure if I missed out anything obvious.
- Tests done: Tried using ST Link V2 to detect F411RE development board through the SWDIO & SWDCLK line and it works, so I will probably rule out ST Link issue.
- Probed the power lines for MCU and they are all 3V3, so MCU is powered.
- Tried powering MCU via both on-board 3V3 and connecting VREF to the 3V3 line
- Also tried using another variant of ST Link V2 (USB stick kind) that provided 3V3 to the MCU
3
Upvotes
2
u/Billy_MTB_901 Oct 08 '26
The NRST pin looks like its floating - shouldnt it be pulled high?
2
u/frank26080115 Oct 08 '26
did you do "connect under reset" with the NRST pin connected?
did you try lowering the SWCLK speed?
1
u/Agt_Cooper Oct 08 '26
Have you tried removing the esd diodes on SWDIO and SWCLK ?