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

Why does the STM32Cube IDE shows the error "Failed to start GDB server" when debugging/running a simple project for blinking a blue pill's LED

I was going to blink my blue pill (STM32F103C8T6) LED using this tutorial but when hitting the debugger (time 5:50 of the link above) I face the following error:The strange thing is that the IDE recognizes the st link v2 and I can upgrade its firmwar...

0693W000008xxhxQAA.png
Adev.1 by Associate III
  • 397 Views
  • 0 replies
  • 0 kudos

CORDIC EXAMPLE

Hi,I was just looking at an example in STM32 IDE of using CORDIC to calculate SIN and COS. The same is explained in the document below:https://www.st.com/resource/en/application_note/dm00614795-getting-started-with-the-cordic-accelerator-using-stm32c...

MYAQO.1 by Associate II
  • 1527 Views
  • 1 replies
  • 1 kudos

Difficulty porting Keil to CubeIDE, can't add a file

I have a STM32G431 project that was originally created with STM32CubeMX using HAL drivers. I need to port some of this code to another project that was originally built by CubeMX using LL Drivers by another engineer.The specific problem I have is my ...

0693W000008xjhjQAA.jpg
BTrem.1 by Senior II
  • 819 Views
  • 3 replies
  • 0 kudos

Resolved! MCU stuck when convert point to double

There is a array:uint8_t dat[8] = {0xcd, 0xcc, 0xcc, 0xcc, 0xcc, 0xdc, 0x5e, 0x40};It means a double variable data in memery. The value is 123.45. This code can be run in my computer: int main(int argc, char *argv[]){  uint8_t dat[] = {0xcd, 0xcc, 0x...

nicekwell by Associate II
  • 2640 Views
  • 11 replies
  • 0 kudos

Early resume button press causes stm32cubeide to fail

HiUsing a G474 nucleo board and building a project and launching it everything works fine if I patiently wait for the debug session to be halted in the beginning of main(). However, if I instead hit the resume button maybe a second too soon, I instea...

0693W000008xe0fQAA.png
marbel by Associate II
  • 1179 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE example GPIO_IOToggle_TrustZone ,Error: Data mismatch found at address 0x0C000000 (byte = 0xFF instead of 0x00)

Hi,I try to run GPIO\GPIO_IOToggle_TrustZone in the STM32CubeIDE, but fail.​code:STM32Nucleo\STM32Cube_FW_L5_V1.4.0\Projects\NUCLEO-L552ZE-Q\Examples\GPIO\GPIO_IOToggle_TrustZone​Follow the readme steps without modifying any code or configuration。Af...

Jwu.6 by Associate II
  • 953 Views
  • 1 replies
  • 0 kudos

Resolved! How to use headless build for continuous integration?

I'd like to check if any pull requests break the build by automatically running headlessbuild as part of CI.Unfortunately, there's a critical flaw with how STM32CubeIDE projects are setup, which makes this impossible.The headless build depends on con...

Miles1 by Associate III
  • 16021 Views
  • 7 replies
  • 1 kudos