2022-01-17 12:48 PM
I do everything like videos but my stm32 don't blink with Cube IDE. By the way its working with Arduino IDE. What is the problem? Thanks for replies.
2022-01-17 12:57 PM
Have you tried to reset your microcontroller after uploading code? If you are using a nucleo board simply press reset button (also make sure it runs on newest firmware).
2022-01-17 01:00 PM
Yes i reset microcontroller, changed cables, reset my PC but it didnt change.
2022-01-17 11:53 PM
Hello there!
You could try to clean the project (right click -> clean project) in the Project Explorer view. Also, with STM32CubeProgrammer standalone you could connect to the board and clean it to be 100% certain that the flash is cleaned before the new debug session.
STM32CubeProgrammer standalone is available for free here.
2022-01-18 03:39 AM
Can this problem happen because of my st link ?
2022-01-18 04:06 AM
I did the things that you say but anything changed.
2022-01-19 04:44 AM
What board are you using? Maybe if I have one in the office I can create a project which works for me and send it to you.
2022-01-19 05:15 PM
STM32F103C8 ( Blue Pill) and St-link Mini Sir. I tried program with Cube IDE.
2022-01-20 12:14 AM
Pleas show your pin configuration window, how GPIOs are configured. Also check if LED_GPIO_Port and LED_Pin are connected to the LED on the board you use.
2022-01-20 02:59 AM
What video are you using as a guide?
There's an example project available for STM32F103RB-Nucleo in the STM32Cube_FW_F1_V1.8.4 with a LED toggle which should be able to show you how it's done since they seem to be pretty similar boards.