cancel
Showing results for 
Search instead for 
Did you mean: 

How do I use the STM32CubeIDE?

Sashvat
Associate II

I have just downloaded the STM32 IDE, and I find it very complicated to use it. I am using a bare MCU, no dev board, hence I am using the STLink-V2 to program the MCU. I want some help on how to write my program to blink an led and set up the STLink-V2 to run with the CubeIDE.

Thank you

3 REPLIES 3

Perhaps there are some video tutorials you could watch?

Writing a blinky program on a NUCLEO vs Custom + ST-LINK should be materially similar. You'd need to know the IC you're using, and the pin the LED is attached too.

Perhaps find an example or template project which are a close match, and start from there.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
RomainR.
ST Employee

Otherwise, you can follow our Wiki STM32 MCU here below, step #1, #2 and #3.

https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:STM32_step_by_step_overview

BR

rrom

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.

Thank you I am using a STM32F030R8, I have followed some, but when I connect my ST-Link V2 to my computer it says"Error in initialising ST-Link device" "Error with command: gdb --version" what am I supposed to do?