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

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...

Debugging hardfault

Hello, I need suggestion in debugging hardfault. I got stack as below, I am kind of unsure how to debug it. CFSR value is 0x00020000 means its INVSTATE.

0693W000007AuZ0QAK.png

avoid flash erasing when debugging

Hello,My simple application should read some configuration which I put by CubeProgrammer from 0x0800C800, I want to debug the application but seems the debugger erases the flash at all. Could you tell me please how to prevent full internal flash eras...

YGU.1 by Associate II
  • 736 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeIDE: Icon Decorators: exclude resource from build

Hi,I'm seeing some odd behavior with the icon decorators on excluded source files:Create a new STM32 project with everything as defaultBuild the project ... all goodAdd a source file, say demo1.c that contains a single functionAdd another source file...

KayJay by Associate II
  • 2953 Views
  • 6 replies
  • 0 kudos

STM32CubeIDE v1.5.1 upgrade issues?

Just upgraded my STM32CubeIde v1.3.1 (IIRC) to v1.5.1 from within the IDE using the "Help", "check for updates" option. Updated without issue, I can load and compile my projects but the debugger won't run with a 'null pointer exception' error. If I b...

TJM by Senior
  • 726 Views
  • 4 replies
  • 0 kudos

Resolved! HAL_UART_Transmit_IT blocks until end of transmission

I am using STM32CubeIDE + STM32F103C8T6 MCU with USART1. I am transmitting data by calling this function:HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef * huart, uint8_t * pData, uint16_t Size)The function is generated by CubeIDE. It turns ...

BBB.1 by Associate II
  • 4714 Views
  • 6 replies
  • 0 kudos

STM32CubeIDE Updating Error to 1.5.1 Version

Hello Everyone,I have tried to update my cubeIDE from 1.5.0 to 1.5.1 on update tool but every time when try I get error. Details of error is in the picture. Any idea what's going on? How can I fix that?Have a nice day. 

0693W000006I7k1QAC.png

Resolved! Error including the CMSIS include files in the STM32CubeIDE

Hi allI am having difficulties adding the CMSIS include libraries in the cube IDE, when I attempt to build the project I am getting error messages about files that are already included in the "path and symbols" -> "includes directory". For example th...

0693W000006I5HMQA0.jpg 0693W000006I5HqQAK.jpg
PPoob.1 by Associate III
  • 3298 Views
  • 5 replies
  • 3 kudos