STM32CubeIDE (MCUs)

Ask questions on STM32CubeIDE. Discuss how to build, debug, configure, and optimize your project as well as how to use our software tools.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! [Resolved] STM32CubeIDE project creation issue

Updated post to reflect permanent fix Dear STM32CubeIDE user, Further to the recent STM32CubeIDE project creation issue, we would like to inform you that a solution is now available for you. This permanent fix applies to all STM32CubeIDE versions. I...

STM32CubeIDE 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeIDE is available. What is new in 1.19.0: Microcontroller, microprocessor, and board lists aligned with STM32CubeMX v6.15.0:Added the support for STM32MP21xx microprocessors to the STM32MP...

STM32CubeIDE 2.0 release - early heads-up!

Starting from the release in November 2025, STM32CubeIDE and STM32CubeMX will be available exclusively in their standalone versions. STM32CubeMX will no longer be integrated inside STM32CubeIDE. Instead, the two tools will be interoperable in the sam...

Resolved! Getting "Error: Target not available" in Value column in live expressions in StmcubeIDE in debug mode when i press Resume(F8)

I created a simple GPIO program with the code generated from StmCubeMX. When i build the program there are no errors and warnings, but when i connect my Nucleo-F411RE and try to debug it, i get this message in Expressions.The program is supposed to m...

0693W00000DnuFCQAZ.png 0693W00000DnuEsQAJ.png

Resolved! How to correctly uninstall and reinstall the stm32cubeide?

Hi,(1) Is it ok to install the IDE as my user and not via sudo? It seemed to be ok until I had some later issues which I wont go into here just yet as almost certainly "user error".(2) I installed the ide (as user), and because it was saying it could...

rileyrg by Associate II
  • 9670 Views
  • 2 replies
  • 1 kudos

I keep on running into -> void HardFault_Handler(void); When my HAL_TIM_PWM_Start_DMA(&htim1, TIM_CHANNEL_1, (uint32_t *) pwmData, index); Is called

Hi. I seem to get HardFault_Handler error when I start my HAL_TIM_PWM_start_DMA function.I am not sure if it just gets stuck in an infinite loop in the while() called right after it.This looks like allot of code but really its just 5 of my functions ...

CMcC.1 by Associate II
  • 915 Views
  • 3 replies
  • 0 kudos

Resolved! How to reasonably use git source control

I'm trying to create process for development with CubeMX/CubeIDE projects.I'm seeing pathing issues that show up when my project is moved. Which also means when it's cloned to another computer.Simple steps I've done to reproduce this:Created a new pr...

0693W00000Dmq5uQAB.png 0693W00000Dmq6JQAR.png

Resolved! Is there a panel to shown warnings in STM32CubeIDE?

HelloI'm using 'STM32CubeIDE 1.7.0'.I've copied a project using: The new project failed the first time I built it as the User Code in main.c had not been copied over. Once I added this missing code the project compiled and ran correctly on the Nucleo...

0693W00000DneRqQAJ.jpg 0693W00000DneRvQAJ.jpg
ron_w by Associate III
  • 2387 Views
  • 2 replies
  • 0 kudos

Must reconnect Nucleo to USB in order to run code

I have a simple cubemx generated project where i simply toggle led and printf to my external console. After programming the program isnt running. i must reconnect the st-link usb interface and then the program will run normally. Simply pressing re...

Rshaw.1 by Associate II
  • 1351 Views
  • 4 replies
  • 0 kudos

Resolved! Intermittent Break at address "0x1fff51f4" with no debug...

Hardware:MCU: STM32L4R9ZGJ6 (Custom board)OSPI mapped to address 0x90000000ST-Link V2PH3-BOOT0 pin pulled to ground with 10k Ohm resistor.Software:IDE: STM32CubeIDE 1.6.0 (Build: 9614_20210223_1703 (UTC)SDK: STM32Cube_FW_L4_V1.14.0TouchGFX assets are...

DerekR by Senior
  • 13181 Views
  • 42 replies
  • 0 kudos