2025-09-14 11:40 PM - last edited on 2025-09-15 1:44 AM by Andrew Neil
Dear Experts,
Greets,
I trying to program STM32F103RCT6 micro controller using NUCLEO-F103RB evaluation board , but I am unable to debug and flash the code , i tried all the possible ways but , it didn't worked .Can somebody help me to solve this .
Best regards,
Suresh
2025-09-15 3:21 AM
2025-09-15 3:43 AM
ok,
- come on :
-> target has no power (or vdd connection to st-link missing) = this cannot work.
connect vdd...and/or power target.
2025-09-15 3:46 AM
I noticed that , but feeding 3.3V to the controller & it is running the existing code , i struct at this point only
2025-09-15 3:55 AM
ok,
but the st-link software checking the vdd on his connection,
and if to low, it stops working, because it assumes, target has no power.
So look for the vdd pin on st-link and give some 3v3 to it, so it shows not 0,0V - then it should work.
2025-09-15 4:07 AM
It is not working , is there any possibility to not being sensed 3.3V ?
2025-09-15 4:18 AM
Someone was asking that recently for an ST-Link v3 - but I can't seem to find that now.
It is a pretty standard thing that a debug probes needs to see the target voltage - that's why the pin is there on CN4!
Surely, you can find a point somewhere on your board to provide the 3.3V to the ST-Link?
2025-09-15 4:23 AM - edited 2025-09-15 4:28 AM
ST link is being powered with USB cable , iam using Nucleo board so it is with 3.3V from usb itself
2025-09-15 4:26 AM
see cn4 :
pin 1 has to get 3v3 .
2025-09-15 4:26 AM - edited 2025-09-15 4:28 AM
@Andrew Neil wrote:Someone was asking that recently for an ST-Link v3
No, it was ST-Link V2 - and it's here:
STLink V2 SWD operation without connecting VDD_TARGET PIN
In particular, see:
Although the fact that you have it working in Keil does cast doubt on that.
I can't remember if it was ST-Link or J-Link or something else, but ISTR something had a command-line option to ignore the target voltage measurement...
Is there such an option in your Keil setup?
Maybe ask on the Keil forum ...