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

STM32CubeCLT 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeCLT is available. What is new in 1.19.0: Support for ST Arm Clang toolchainMaintenance of the previous versionUpdated in accordance with STM32CubeIDE v1.19.0 Main fixed issues in 1.19.0: ...

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! 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
  • 1911 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
  • 1757 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
  • 13007 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
  • 836 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
  • 5600 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
  • 531 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
  • 2230 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
  • 1069 Views
  • 2 replies
  • 0 kudos

Resolved! Can't update Cube IDE

I cannot run updates from within Cube IDE.Help>Check For Updates throws the following error dialog:Unable to read repository athttps://sw-center.st.com/stm32cubeide/updatesite1/.Unable to read repository athttp://sw-center.st.com/stm32cubeide/eclipse...

Dfarr.1 by Senior
  • 3459 Views
  • 5 replies
  • 0 kudos