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 . 

 

Suresh_MAuthor
Associate
September 15, 2025

yeah , programming tool is STM32CubeIDE and the debug connections i tried CN4 even not worked . Error is target not found . I added error message Screen shot here. One more thing I tried with different IDE(KIEL) it worked and allowing me to do debug. I tried flashing .hex file which developed in STM32CubeIDE it worked and why it is not working with evaluation board ST LINK V2 connections . For flashing .hex file I used ST LINK UTILITY software .In STM32CubeIDE i tried changing reset behaviour to connect under reset , software reset , None, hardware reset also nothing worked , my board connections all correct . I ensured connections and schematic tracks all good