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

Read multiple ADC channels using DMA not working.

Hi, I am trying to read multiple ADC channels using DMA method. I am not able to read values. I am not sure what wrong i am doing. /* ADC1 init function */ void MX_ADC1_Init(void) { ADC_ChannelConfTypeDef sConfig = {0};   /** Common config */ ...

RBV by Associate II
  • 2027 Views
  • 10 replies
  • 0 kudos

How I can change glodal encoding?

Hello,I have changed Preferences->General->Workspace->Text file encoding to Default (windows-1251).After clicking 'Apply and Close' IDE striongly restores this property to UTF-8.I have to use windows-1251 encoding in my project.Nevertheless I see 'À�...

KMiha.1 by Associate
  • 2825 Views
  • 3 replies
  • 0 kudos

Resolved! Can't use different RAM Section

Hello,I'm working with STM32H7 and STM32 Cube IDE,I add this in linker script :/* Memories definition */ MEMORY { DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K RAM_D1 (xr...

Debugging hardfault

Hello, I need suggestion in debugging hardfault. I got stack as below, I am kind of unsure how to debug it. CFSR value is 0x00020000 means its INVSTATE.

0693W000007AuZ0QAK.png

avoid flash erasing when debugging

Hello,My simple application should read some configuration which I put by CubeProgrammer from 0x0800C800, I want to debug the application but seems the debugger erases the flash at all. Could you tell me please how to prevent full internal flash eras...

YGU.1 by Associate II
  • 740 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeIDE: Icon Decorators: exclude resource from build

Hi,I'm seeing some odd behavior with the icon decorators on excluded source files:Create a new STM32 project with everything as defaultBuild the project ... all goodAdd a source file, say demo1.c that contains a single functionAdd another source file...

KayJay by Associate II
  • 2967 Views
  • 6 replies
  • 0 kudos