Skip to main content
Associate
Question

Blue Pill: No STM32 Target Found

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 

 

 

 

This topic has been closed for replies.

7 replies

Andrew Neil
Super User

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

 

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.
mƎALLEm
ST Technical Moderator

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 "Best answer" on the reply which solved your issue or answered your question.
mubarakAuthor
Associate

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

 

Andrew Neil
Super User

@mubarak wrote:

i'm using ST-LINK V2


Again: is that genuine, or a clone ?

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

is a clone