2026-02-24 10:22 PM - last edited on 2026-03-02 4:10 AM by KDJEM.1
iam attatching a pdf of my ki cad , let me know the what prevents to flash my code . this is the below error message coming while iam trying to flash "
2026-02-25 1:53 AM
There is far too little information in the schematics alone to judge why a finished board does not run.
Did you check the supply voltage, at the MCU pins directly ?
Did you check the current consumption of the board ?
Did you validate the PCB's connections from the debug pins to the MCU pins ?
2026-02-25 6:30 AM
The schematic looks okay. Is the board powered? How? What programmer are you using? Is it genuine? Can STM32CubeProgrammer see the programmer? Can it see the voltage on the board?
2026-02-25 6:55 AM
Welcome to the forum.
As @Ozone said, you need to give more detail - see: How to write your question to maximize your chances to find a solution
@TDK wrote:What programmer are you using? Is it genuine?
@Premjith99 see: How to recognize a genuine ST-LINK/V2 versus a cloned one.
You don't have NRST on your SWD connector - always good to include that!
2026-02-25 7:02 AM
I would connect a debug adapter to a custom board only once all mentioned checks are ok.
Not to mention, I would have recommended to begin HW design with smaller and simpler MCU.
Many C0xx and F0xx devices come e.g. in TSSOP-20 packages.
2026-02-25 10:52 AM
Check part orientation
Check voltage on VCAP pin, expect 1.25V
Check voltage on NRST pin, expect high level, ie 3.3V
Check you have Vtarget (pin 1/2 on 20-pin) to the ST-LINK, needs 3.3V from your system. Check that STM32 Cube Programmer reports this voltage.
Check you have GND to ST-LINK