cancel
Showing results for 
Search instead for 
Did you mean: 

No STM32 Target Found

mubarak
Associate II

mubarak_0-1729675848217.png

 

mubarak_2-1729676325521.png

mubarak_3-1729676354416.png

 

im using STM32F103C8T6 , Im using it without any problem but yesterday i upload code , the code is not correct then i make some changes and upload again then it showing this error i use both ST-LINK UTILITY and STM32CubeProgrammer , i follow some solution in this website but is not working for me . look forwad for your reply thank you 

 

 

 

7 REPLIES 7

What board is that? - give a link

and what ST-Link are you using - genuine, or a clone ?

https://community.st.com/t5/stm32-mcus/how-to-recognize-a-genuine-st-link-v2-versus-a-cloned-one/tac-p/703663/highlight/true#M965

The errors messages show that your PC is communicating with the ST-Link, but the ST-Link cannot communicate with the target microcontroller.

 


@mubarak wrote:

I'm using it without any problem but yesterday i upload code , the code is not correct then i make some changes and upload again then it showing this error


So what, exactly, did you change?

Have you disabled the pins used by the SWD connection?

https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693

 

SofLit
ST Employee

Hello @mubarak,

'X' -pill flavor boards (black, blue ) are not efficient and suffer from fake MCU. So I'm afraid, something related to the MCU itself.

I recommend you to use one of ST boards having genuine MCUs: NUCLEO-F103RB

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
mubarak
Associate II

im using ST-LINK V2 , i didnt disable the pins

im trying to connect PB10 and PB11 after i enable the pins i upload the code using Hex file to the STM32F103C8T6 

showing Error 

mubarak_0-1729677938021.png

 


@mubarak wrote:

i'm using ST-LINK V2


Again: is that genuine, or a clone ?

is a clone 


@mubarak wrote:

is a clone 


As I stated before, I recommend to use genuine products from ST.

Many users on this community are suffering from fake chips on these boards.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@SofLit wrote:
Many users on this community are suffering from fake chips on these boards.

Indeed.

@mubarak  Both the boards, and the clone ST-Links - See:

https://community.st.com/t5/stm32-mcus-products/debug-blue-pill-with-stlink-v3minie/m-p/711320/highlight/true#M258518

which includes a link to a recent tale of woe