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

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

I get an error when debugging with Cube IDE

Thank you for helping.​environment:​STM32CubeIDE Ver1.6.0​When I start debugging with the STM32Cube IDE, I get the following error:​Please tell me what to do.​Thank you.​-----STMicroelectronics ST-LINK GDB server. Version 5.8.0Copyright (c) 2020, STM...

Ebun.1 by Senior
  • 2145 Views
  • 4 replies
  • 0 kudos

Resolved! How to generate main.cpp with STM32CubeIDE

Hi, I'm working on a project in c++ and every time the IDE generates main.c instead of updating my main.cpp file. The project is set to C++, but still it generates main.c. That's very annoying. Can i fix this?

RDe R.1 by Associate
  • 3083 Views
  • 1 replies
  • 0 kudos

Resolved! Why stm32cubeide does not throw error when stack overflowed?

Hi. I was trying to test my code to see if I have enough stack. I realized in my project's .ld file stack size is defined as: _Min_Heap_Size = 0x200;_Min_Stack_Size = 0x400;However, I tried to test this to see if stm32cubeide gives error when I tried...

LLOLO.1 by Associate II
  • 2249 Views
  • 2 replies
  • 0 kudos

SD CARD Configuration using STM32CubeIDE

I use STM32F407 Discovery board with STM32CubeIDE Version: 1.6.1 (Latest version) and I want to setup SD Card.I adjusted the RCC clock and selected SDIO 4 bit wide bus bit and FATFS (SD Card ) and when i generate the code I get this warning message...

0693W000008yfYuQAI.png
MHass.2 by Associate III
  • 1522 Views
  • 2 replies
  • 0 kudos

I am starting with this tool and have problems to get it running. I have now two Nucleo-64 STM32L476RGT boards. But the basic is not working. When I run the application in its most basic form the "Debugger is shutting down"directly

I perform the following steps:1 Load the board using the board sellector2 On the pinout view activating a PA8 pin and reseting that PIn to its defaults3 Generate code by "save"4 Build the project "Build project"5 Run "Debug AsSTMicroelectronics ST-LI...

JNiva.1 by Associate II
  • 950 Views
  • 5 replies
  • 0 kudos

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
  • 8231 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
  • 1609 Views
  • 3 replies
  • 0 kudos