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

Project using NUCLEO-F411RE and X-NUCLEO-GFX01M2 on MacOS

I have recently bought:- a NUCLEO-F411RE board- a X-NUCLEO-GFX01M2 TFT board I work on Mac.Unfortunatly, TouchGFXDesigner doesn't exist for Mac. So I have installed STM32CubeIDE, STM32CubeProgrammer, and STM32CubeMX on my Mac.I have installed TouchGF...

nbenm by Associate II
  • 637 Views
  • 0 replies
  • 0 kudos

Resolved! f_unlink Bug In FATFS (R0.12c)

Hi everyone,The version of FATFS (R0.12c) included in the latest H7 firmware package has a known bug in the f_unlink function which causes lost clusters on fragmented files of exFAT volumes. This results in the memory filling up, even if all files ar...

PWM Electronic speed control issue, B-G431B-ESC1

Hello everyone,I recently worked with a B-G431B-ESC1 discovery kit with STM32G431CB MCU, and I find a mistake in the code generated by Motor Control Workbench 6.1.2, that made the Electronic speed control feature (the one used in the example of the s...

Labrey by Associate II
  • 2499 Views
  • 2 replies
  • 1 kudos

FreeRTOS + SystemClock Behavior

Hello,I am using STM32L4A6VGTxP with CubeIDE and want to create a system with FreeRTOS.However, I am having the following problem when running the system under FreeRTOS while changing the SystemClock.Is there a solution?Configuration・Custom boards us...

ma-hara by Associate II
  • 2414 Views
  • 4 replies
  • 0 kudos

Resolved! Erase a group of sectors before programming

Hello,is it possible to add a command in the startup tab of the debug configuration, to erase a group of selected sectors, before programming?For example I want to erase sectors [16..63], but not sectors [0..15].I have only found the "monitor flash m...

CTabo.1 by Senior
  • 3083 Views
  • 8 replies
  • 2 kudos

Store variable in EEPROM STM32L011

I am experiencing an issue when I try to store arrays of data in EEPROM. My intention is to define these arrays in code and have the compiler store them in EEPROM memory space.I am using an STM32L011E4 device which has 512 bytes of EEPROM at memory l...

SHDK2000 by Associate II
  • 1955 Views
  • 4 replies
  • 0 kudos

STM32H7 DMA_MDATAALIGN_BYTE Error - CubeMX problem

Reference:STM32H7MCU package 1.11.1CubeIDE 1.13.1This is not a new problem but perhaps a new perspective.  I answered regarding this in a previous post but wanted to bring up anew because of the change in tack.The problem is this: After setting up an...

STM32CubeIDE hangs when printf to SWV ITM Data Console

Evaluation board: STM32L476G-EVALA simple program created using FreeRTOS and Configuration: SYS > Debug: Trace Async Sw.FreeRTOS running a single task. The task prints out a line every 1 ms.The single task has the following loop: for (int32_t i = 0;;...

Garland_0-1689861432320.png Garland_2-1689861548861.png Garland_3-1689861671103.png
Garland by Associate
  • 2335 Views
  • 4 replies
  • 0 kudos

Resolved! STM32f4291-DISC1 ADC

I'm using ADC1 in stm32f429-DISC1 board but the PA2 pin that I'm using for one of my channels is not giving the correct values compared with other pins of different channels.PA0 gives 900 as peak value whereas PA2 giving 150 for the same signal.

harry123 by Senior II
  • 861 Views
  • 1 replies
  • 1 kudos