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

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
  • 549 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
  • 776 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 ...

Resolved! The selection couldn't not be launched.

I used this: File --> New --> STM32 Project --> example selector in STM32CubeIDE, the project could be saw in IDE:  but the build icon was unable, when I clicked "run", it was prompted:

0693W000008wLYlQAM.jpg 0693W000008wLYRQA2.jpg
MQi.1 by Senior II
  • 7407 Views
  • 3 replies
  • 1 kudos

STM32CubeIDE 1.6.1 released

STM32CubeIDE 1.6.1 releasedSTM32CubeIDE 1.6.1 was released this week on st.com as well as a in-tool update patch.Caution: The in-tool update does not allow updating debug probe drivers and ST-LINK server tool. Full installer is required for this.What...

Debugging issue: "arm-none-eabi-gdb.exe has stopped working"

When I try to debug my code before running, I get the following error "arm-none-eabi-gdb.exe has stopped working". I am using STM32CubeIDE 1.4.0 with a Nucleo L476RG board. I have tried restarting the IDE and computer. Any advice is appreciated, than...

0693W000005AfZbQAK.png
DMcCu.2 by Associate
  • 3058 Views
  • 8 replies
  • 0 kudos

Confusing behavior of asm with memory

I try to better understand assembly so I use STcubeIDE debugger to see how my C code is translate in asm langage. But I dont understand a thing. In the asm code I see that it regulary "jump" on memory addresses where there is nothing (only FFFFFFFF) ...

MLalu.1 by Associate
  • 869 Views
  • 4 replies
  • 0 kudos