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

STM32CubeCLT 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeCLT is available. What is new in 1.19.0: Support for ST Arm Clang toolchainMaintenance of the previous versionUpdated in accordance with STM32CubeIDE v1.19.0 Main fixed issues in 1.19.0: ...

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

How I can change glodal encoding?

Hello,I have changed Preferences->General->Workspace->Text file encoding to Default (windows-1251).After clicking 'Apply and Close' IDE striongly restores this property to UTF-8.I have to use windows-1251 encoding in my project.Nevertheless I see 'À�...

KMiha.1 by Associate
  • 2955 Views
  • 3 replies
  • 0 kudos

Resolved! Can't use different RAM Section

Hello,I'm working with STM32H7 and STM32 Cube IDE,I add this in linker script :/* Memories definition */ MEMORY { DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K RAM_D1 (xr...

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
  • 795 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
  • 3064 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
  • 763 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
  • 5112 Views
  • 6 replies
  • 0 kudos