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
  • 1071 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
  • 470 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 do I get these errors when doing a release build but no errors when doing a debug build? A clean before building has no effect..

Build environment:STM32CubeIDEVersion: 1.6.1Build: 9958_20210326_1446 (UTC)Linux Mint 19.2arm-none-eabi-g++ (15:6.3.1+svn253039-1build1) 6.3.1 20170620---------------------------------------------------------------------------------------------------...

JPonk.1 by Associate II
  • 4422 Views
  • 4 replies
  • 0 kudos

Problems with Eclipse and GDB using STLink-V2

I have a stock version of Eclipse and I am trying to configure it to load and single step a very simple blinker that runs on an Nucleo-L073RZ board. The debug agent is stllink (aka texane, I am *not* using OpenOCD). The setup works as expected when d...

Polyman by Associate
  • 1909 Views
  • 1 replies
  • 0 kudos

Resolved! STM32 F7 (HAL) CAN BUS communication not working

Hello,I have read hall_CAN.c instructions and did everything that is stated there. In CubeIDE I have set Prescaler to 24 and both Quantas to 4 times. My Baud Rate is 250000 bit/s. I am using two same boards (Nucleo 746ZG) with CAN bus transciver MPC2...

KPovs.1 by Associate II
  • 6955 Views
  • 7 replies
  • 0 kudos

I2C1 in DMA mode not reading data continuously (STM32L431)

I am trying to read data from a sensor in the background(using DMA) using I2C. Below the I2C DMA settings on CubeMX. The problem is that it shows a frozen measurement on the debug window although in the blocking mode the measurement floats all the ti...

0693W00000WKU96QAH.png
Kolab by Senior
  • 1878 Views
  • 3 replies
  • 0 kudos

I am using CubiIDE with an STM32 and trying to put constant data in an own section at the end of the flash memory. But it does not work. The value is stored somewhere after the vectortable and at 0x8003000 as well.

So in my linker filer I put MEMORY { RAM (xrw) : ORIGIN = 0x20000000 , LENGTH = 4K ROM (rx) : ORIGIN = 0x8000000 , LENGTH = 12K DAT (r) : ORIGIN = 0x8000000+12K , LENGTH = 4K }   /* Sections */ SECTIONS { /* The sta...

Resolved! Does STM32CubeIDE offer a serial terminal? This functionality was available in the Atollic TrueSTUDIO product.

I'm really loving the high level of integration offered in the STM32CubeIDE application.Does STM32CubeIDE offer a serial terminal? This functionality was available in the Atollic TrueSTUDIO product.Maybe it's already in there (somewhere?) and I just ...

dale by Associate III
  • 26942 Views
  • 18 replies
  • 3 kudos

I can't find my currently codes in my project!!

Normally I work on vmc-single-slave vendron_intergration but the other day I opened a different project and that project was like a different branch of my project but I opened it from a different folder then today I opened my own project again and I ...

0693W00000WJq1WQAT.png
OSAĞL.1 by Associate II
  • 1575 Views
  • 4 replies
  • 0 kudos

SDRAM is configured with TIM6 as a tick source. While I am using GDB this interrupt continuously is interrupting the debug flow. How do we disable such interrupts in stm32cubeide ? This interrupt is continuously hogging gdb.

These stack gets called repetitively and does not let me debug.If I reduce the priority of the ticks then HAL_Delay does not work.I am in a fix here dont know what to do ?I have changed the tick priority also as shown in the figure.

0693W00000WKJ8WQAX.png 0693W00000WKJ87QAH.png 0693W00000WKJ8lQAH.png 0693W00000WKJ7xQAH.png
rohan_m by Senior
  • 2173 Views
  • 8 replies
  • 0 kudos