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 2.1.1 released

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1282 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 515 Views
  • 0 replies
  • 0 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
  • 11636 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
  • 2044 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
  • 1015 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
  • 1406 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 ...