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 STM32Cube project creation issue

Description In STM32CubeIDE version 1.18.1 and older, after selecting any MCU or MPU when creating a new project, the STM32Cube option becomes greyed out. This means only empty projects can be created, and STM32CubeMX initialization is not available ...

SemerCHERNI_0-1752684873535.jpeg

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

stm32cubeIDE debugger running stm32f769 w/ freeRTOS tasks does not hit hard faults inside the faulty task , but later on scheduler restart , missing the error source info...

Hi all, I am working on stm32f769 project, running freeRTOS task, with stm32cubeIDE(1.7.0) debugger.The debugger does not hit hard faults inside the faulty task , but later, reporting scheduler restart in debug calling stack. That way I completely...

philsax by Associate II
  • 1308 Views
  • 3 replies
  • 0 kudos

Resolved! Strange behavior of STM32CubeIDE debugger

When I start the debugger of my program (c++), a function gets called even beforethe debugger halts at first default breakpoint (usually at HAL_Init).The name of this function is getElapsed (returns double, no parameters) and its apublic member funct...

KKase.1 by Associate II
  • 1772 Views
  • 8 replies
  • 0 kudos

Resolved! Can't run code without USB connection

Hello, sorry for asking this but I'm new to operating STM32 microcontrollers and the IDE it came with. I wrote a simple code to read the pin state and write to an LED once detected. All runs well on debugging. The problem for me is that when I unplug...

PSzcz.2 by Associate II
  • 1619 Views
  • 3 replies
  • 0 kudos

how to use FPU in STM32F407

I am using STM32F407 discovery board which is ARM cortex M-4 based , which comes with FPU.I need to perform some Floating point number and exponent calculations. for that i need to use to FPU to speed up the process.I have have written all the perip...

Chopra.1 by Associate II
  • 11975 Views
  • 5 replies
  • 0 kudos

How explain debug data in STM32CubeIDE?

Hi! I am start work with STM32CubeIDE last time and I did not understand:Whay not work elementary function "HAL_GPIO_ReadPin"? Alwais retun "0" but pin state pfisicaly change and change IDR of PORT?Whay in Stop debug mode I see different data in reg...

0693W00000DmcOJQAZ.jpg
Pavel_MN by Associate
  • 758 Views
  • 2 replies
  • 0 kudos

Firmware upgrade through Y modem

Hi , i am new to some of the peripherals of STM32 controllers...I am using STM32L151RCT6 MCU in STMCube IDE for my application..My requirement is like i need to receive the new firmware binary file via Y modem and need to write into the flash and nee...

MBhir.11 by Associate III
  • 5166 Views
  • 7 replies
  • 0 kudos

Problem occured on debugger : Error message from debugger back end: /usr/bin/arm-none-eabi-gdb: Error in sourced command file

Hello,i work on Archlinux, and i recently installed STM32CubeIDE. I previously had some issues with arm-none-eabi-gdb, which couldn't check the version because of the missing library libncurses5 (which was on version 6 on my computer). So i downloade...

ASEGU.1 by Associate II
  • 480 Views
  • 0 replies
  • 0 kudos

FLASH MEMORY FULL

I am using STM32L011K4 with 16KB flash memory. I did simple code to implement I2C ,timer with PWM. But I have issue of memory overflow. I have enabled following:void SystemClock_Config(void);static void MX_GPIO_Init(void);static void MX_I2C1_Init(voi...

NKaur.1 by Associate II
  • 2042 Views
  • 6 replies
  • 0 kudos

Resolved! Is it safe to remove STM32CubeIDE older versions?

Hello!My Ubuntu PC tells me that I'm running low on storage, and I would like to remove a few unused programs. I just installed STM32CubeIDE 1.7.0, but I noticed that in /opt/st, there are still older versions, 1.6.0 and 1.6.1. Is it safe to remove t...

PG.1 by Associate III
  • 965 Views
  • 2 replies
  • 0 kudos