Skip to main content
Associate
September 15, 2025
Question

How to use Nucleo-F103 ST LINK to program external target?

  • September 15, 2025
  • 18 replies
  • 1419 views

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 

This topic has been closed for replies.

18 replies

AScha.3
Super User
September 15, 2025

Hi,

- show the circuit (your connections)

- show pic of your construction

to reduce the guessing about it.

If you feel a post has answered your question, please click on " Best Answer ".
Suresh_MAuthor
Associate
September 15, 2025

Hello AScha,

Here I've added Screenshot of PCB schematic and Nucleo-Board schematic also and along with that I added physical connection snap . 

 

Andrew Neil
Super User
September 15, 2025

@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:

https://community.st.com/t5/stm32cubeprogrammer-mcus/stlink-v2-swd-operation-without-connecting-vdd-target-pin/m-p/838601/highlight/true#M8994

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 ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.