cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve these problems about STMf103c8t6 ST-LINK

MarcusRay
Associate

hello my friends!I'm trying to find a solution to this problem. I'm doing an experiment with a small light, and I encountered a problem that pops up a dialog box like this after compiling and downloading, and it has something to do with ST-link, so I hope some of my friends can solve the problem.

1 REPLY 1

How to get Windows screenshots:

https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/

 

AndrewNeil_0-1742826352243.png

You're trying to do a firmware update, but the ST-Link is not in the correct mode ("DFU mode") for doing a firmware update.

 

AndrewNeil_1-1742826425444.png AndrewNeil_2-1742826500368.png

CubeIDE cannot see any ST-Link connected to your computer.

If you've had a failed firmware update, that could explain it.

 

First question - do you have a genuine ST-Link?

https://community.st.com/t5/stm32-mcus/how-to-recognize-a-genuine-st-link-v2-versus-a-cloned-one/ta-p/49471

In particular: 

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

Also, is your STM32 genuine? (if it's on a blue, black, or other coloured "Pill", it probably isn't)

 

On resolving connection issues:

https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/tac-p/698105/highlight/true#M956

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