2025-08-22 5:27 PM - last edited on 2025-08-27 3:59 AM by Amel NASRI
Hello all, I have been working on a keyboard PCB with an STM32F103, and I have started trying to program it with the STM32duino bootloader however, I have been unable to connect to the chip. This is my first time using the STM32CubeProgrammer with an ST-Link V2. I have verified the voltage across several points in the PCB. I have previously used similar designs with STM32F07 chips and had no issues.
Most of the time, I get an error of "No STM32 Target found" and sometimes I get the error "ST-LINK error (DEV_TARGET_CMD_ERR)".
I have tried my best to look at past posts on the forum, but none of the solutions have fixed my issue.
I am happy to provide extra measurements and provide more information. Tips on how to troubleshoot this are greatly appreciated. Thank you in advance!
Schematic and PCB screenshot.
Solved! Go to Solution.
2025-08-25 2:21 PM
The ST-Link is connected to the board's ground.
2025-09-06 1:02 PM
Update!!! I have successfully connected to the chip! I used a different PCB from the same batch and connected the ST-Link, and it worked. I am unsure why the first chip didn't work, but I am happy to have it working.