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
  • 1087 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
  • 472 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...

Why does the STM32Cube IDE shows the error "Failed to start GDB server" when debugging/running a simple project for blinking a blue pill's LED

I was going to blink my blue pill (STM32F103C8T6) LED using this tutorial but when hitting the debugger (time 5:50 of the link above) I face the following error:The strange thing is that the IDE recognizes the st link v2 and I can upgrade its firmwar...

0693W000008xxhxQAA.png
Adev.1 by Associate III
  • 780 Views
  • 0 replies
  • 0 kudos

CORDIC EXAMPLE

Hi,I was just looking at an example in STM32 IDE of using CORDIC to calculate SIN and COS. The same is explained in the document below:https://www.st.com/resource/en/application_note/dm00614795-getting-started-with-the-cordic-accelerator-using-stm32c...

MYAQO.1 by Associate II
  • 2415 Views
  • 1 replies
  • 1 kudos

Difficulty porting Keil to CubeIDE, can't add a file

I have a STM32G431 project that was originally created with STM32CubeMX using HAL drivers. I need to port some of this code to another project that was originally built by CubeMX using LL Drivers by another engineer.The specific problem I have is my ...

0693W000008xjhjQAA.jpg
BTrem.1 by Senior II
  • 1730 Views
  • 3 replies
  • 0 kudos

Resolved! MCU stuck when convert point to double

There is a array:uint8_t dat[8] = {0xcd, 0xcc, 0xcc, 0xcc, 0xcc, 0xdc, 0x5e, 0x40};It means a double variable data in memery. The value is 123.45. This code can be run in my computer: int main(int argc, char *argv[]){  uint8_t dat[] = {0xcd, 0xcc, 0x...

nicekwell by Associate II
  • 5292 Views
  • 11 replies
  • 0 kudos

Early resume button press causes stm32cubeide to fail

HiUsing a G474 nucleo board and building a project and launching it everything works fine if I patiently wait for the debug session to be halted in the beginning of main(). However, if I instead hit the resume button maybe a second too soon, I instea...

0693W000008xe0fQAA.png
marbel by Associate II
  • 2190 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE example GPIO_IOToggle_TrustZone ,Error: Data mismatch found at address 0x0C000000 (byte = 0xFF instead of 0x00)

Hi,I try to run GPIO\GPIO_IOToggle_TrustZone in the STM32CubeIDE, but fail.​code:STM32Nucleo\STM32Cube_FW_L5_V1.4.0\Projects\NUCLEO-L552ZE-Q\Examples\GPIO\GPIO_IOToggle_TrustZone​Follow the readme steps without modifying any code or configuration。Af...

Jwu.6 by Associate II
  • 1648 Views
  • 1 replies
  • 0 kudos