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

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

Resolved! STMCubeIDE 1.6.1 and ARM CMSIS 5.7.0 (DSP)

Hello, at the moment I try to make the DSP-Lib work, I’d like to switch to 5.6.0, but the IDE doesn’t let me “erase�? the package because it claims it is used. Ok, so tries to continue with it:Step1: I activated it:   Step2: I set the Symbols:__FPU_P...

0693W00000BdfDwQAJ.png 0693W00000BdfEBQAZ.png 0693W00000BdfE6QAJ.png 0693W00000BdfE1QAJ.png

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
  • 1321 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
  • 1813 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
  • 1644 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
  • 12127 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
  • 766 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
  • 5253 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
  • 484 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
  • 2061 Views
  • 6 replies
  • 0 kudos