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

We are pleased to announce that STM32CubeCLT 1.20.0 release is available. What is new in 1.20.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.0.0Update of Clang toolchain version 19.1.6Update of GCC 13.3.rel1Update ...

Aimen1 by ST Employee
  • 473 Views
  • 0 replies
  • 0 kudos

STM32CubeIDE 2.0.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

Aimen1 by ST Employee
  • 6407 Views
  • 0 replies
  • 4 kudos

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! How do I change the MCU in CubeIDE project

I created the project initially using CubeMX using a 128k STM32G431. I've ended up actually using a 64k ram part instead. The CubeIDE project calls out the wrong part now.Because of extensive changes in the source code I do NOT want to re-run CubeMX ...

BTrem.1 by Senior II
  • 10152 Views
  • 2 replies
  • 2 kudos

Resolved! How to view the contents of the CDR register in STM32CubeIDE?

While debugging the program for STM32F767, I wanted to preview the contents of the CDR related to ADCs. But on the SFRs tab in STM32CubeIDE, I can't find this register. It is also not defined in the SVD file associated with the indicated microcontrol...

MirKoz by Associate III
  • 1870 Views
  • 3 replies
  • 0 kudos

I have init a new project and try to run it. I follow the you tube video. The debugger is stopping and I recieve an error Waiting for debugger connection... Debugger connected Debugger connection lost. Shutting down... Need help getting started

STMicroelectronics ST-LINK GDB server. Version 5.8.0Copyright (c) 2020, STMicroelectronics. All rights reserved.Starting server with the following options:    Persistent Mode      : Disabled    Logging Level       : 1    Listen Port Number     : 6123...

JNiva.1 by Associate II
  • 630 Views
  • 1 replies
  • 0 kudos

Misaligned memory write causes hard fault.

Hi,I checked with the test code below, and it sets the hard fault for the G0 controller. It looks like an alignment issue. But the same code runs fine with L4 and F4 microcontrollers and does not set any fault for misaligned assignments. Project sett...

SDalv.1 by Associate II
  • 970 Views
  • 1 replies
  • 0 kudos

When using FreeRTOS, CubeIDE generates a file, system_stm32f7xx.c under Drivers/CMSIS/Device/ST/STM32Fxx/Source/Templates. This happens regardless of the version of the interface (V1 or V2), in 1.6.0, for at least the F767 processor. Is this a bug?

The file contains duplicate definitions, seems to have no purpose, and prevents compilation unless deleted. This is a C++ project.Given the source code (which I wouldn't have), I'd look at the specific reason that the template file is included. It ...