2024-10-23 02:42 AM - last edited on 2024-10-23 02:46 AM by Andrew Neil
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
2024-10-23 02:50 AM - edited 2024-10-23 02:54 AM
What board is that? - give a link
and what ST-Link are you using - genuine, or a clone ?
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
2024-10-23 03:04 AM
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
2024-10-23 03:06 AM
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
2024-10-23 04:51 AM
@mubarak wrote:i'm using ST-LINK V2
Again: is that genuine, or a clone ?
2024-10-23 05:20 AM
is a clone
2024-10-23 06:20 AM
@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.
2024-10-23 06:48 AM