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

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

NetX Internal Mutex Contention

Hi all,I'm using ThreadX with NetX Duo and running a Modbus TCP server on an STM32 platform. The system works fine under normal conditions, but I encounter a hang when the following sequence occurs:A Modbus TCP client is actively communicating with t...

Resolved! CubeIDE 1.18.1 generates wrong code for TIM15

We're using STM32CubeIDE 1.18.1 under Windows.  When generating LL_ code for a STM32C092, TIM15 init generates this code:static void MX_TIM15_Init(void) { LL_TIM_InitTypeDef TIM_InitStruct = {0}; /* Peripheral clock enable */ LL_APB2_GRP1_Ena...

Resolved! Error: failed to erase memory

Hi,While flashing code in STM32G474VBT6, I am getting below error. After reinstalling cube ide and cube programmer, same error continues. STMicroelectronics ST-LINK GDB server. Version 7.4.0Copyright (c) 2023, STMicroelectronics. All rights reserved....

Nsg1987_0-1691554608910.png
Nsg1987 by Senior
  • 22840 Views
  • 23 replies
  • 12 kudos

File folder not being included in build

I have been able to load the demo source code for the STM32F469I_Discovery from GitHub and get it to run as expected under TouchGFX. However, when I try to build it in STM32CubeIDE, the folder for the BSP is not included and the corresponding obj fil...

AndrewNeil_0-1750080456536.jpeg
DavePfz by Associate III
  • 130 Views
  • 3 replies
  • 0 kudos

STM32: No device found

Im attempting to program an stm32H523CET6 MCU, i bought an ST-Link for it, and begun trying a basic blink sketch, debug said no errors and proceeded to load it onto the MCU. However, it displays the following: Target no device found Error in initiali...

tekky0_ by Associate
  • 83 Views
  • 2 replies
  • 0 kudos

Resolved! Debug session erases more FLASH than expected

I've got an STM32G431 project that uses half of the FLASH (64K) for a boot loader and half for an application.I can successfully load both of these programs using STM32CubeProgrammer, but I am not able to debug the boot loader in STM32CubeIDE as the ...

CTapp.1 by Senior II
  • 94 Views
  • 3 replies
  • 1 kudos

Missing value in the STM32CubeIDE SFRs window

While testing the X-CUBE-EEPROM library in STM32CubeIDE (v1.18.1), I observed the FLASH->CR register in the SFRs window. I noticed that the display for BKER (bank erase select bit) is missing in the FLASH_CR register. Please try to correct this in th...

BPrem.1 by Associate II
  • 103 Views
  • 3 replies
  • 0 kudos

STM32 N657X0-Q Code generation is not working

I am using Stm32 N657X0-Q board with a stm32cubeide version 1.18, started with creating new project-> gave name-> selected appli in project structure-> selected gpio pin PA5 as output -> and generated code but in code generation under core-> there is...

Resolved! Different project context menus in 1.18.1

Hi, I have two PCs (Windows 11) with STM32CubeIDE 1.18.1.Although both copies of STM32CubeIDE should be the same, the Project context menu looks different (see attached screenshot). Actually one copy is missing menu items like "Convert to C".Reinstal...

psfahr by Associate
  • 127 Views
  • 2 replies
  • 3 kudos