2025-03-14 3:51 PM
Hello,
I previously used ST-LINK V2, which worked fine, but due to its lack of a Virtual COM Port (VCP), I recently purchased a NUCLEO-64 (STM32F030R8 EVAL BRD) to program my own PCB using its ST-LINK.
The Nucleo board itself works fine, but when I try to use its ST-LINK to program my own PCB (using STM32G030F6P6TR), I encounter issues despite following the manual:
I have been troubleshooting this for days but found very few resources on using a Nucleo board's ST-LINK for external programming.
As mentioned, the Nucleo board itself works fine, and my PCB works with ST-LINK V2, but not with this Nucleo ST-LINK.
Do you have any insights on why this might be happening?
2025-03-14 5:01 PM - edited 2025-03-14 5:02 PM
> Without external power: STM32CubeProgrammer does not connect.
This is expected as CN4 does not provide power.
> With external power: CubeProgrammer connects but disconnects after ~10 seconds, then crashes.
Any error messages? Does lowering the speed help? Updated ST-Link firmware?
Ground loops could always cause an issue. Can you power it from the nucleo board and see if that changes things?