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

We are pleased to announce that STM32CubeCLT 1.20.0 release is available. What is new in 1.20.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.0.0Update of Clang toolchain version 19.1.6Update of GCC 13.3.rel1Update ...

Aimen1 by ST Employee
  • 257 Views
  • 0 replies
  • 0 kudos

STM32CubeIDE 2.0.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

Aimen1 by ST Employee
  • 3917 Views
  • 0 replies
  • 4 kudos

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

HAL I2C transmit with DMA

I'm stuck trying to transfer a 1024 bit buffer to a SSD1306 via I2C/DMA using the HAL. I am using a stm32L432 nucleo board.Using HAL_I2C_Mem_Write works fine, but HAL_I2C_Mem_Write_DMA only transmits the first 255 bytes and leaves the bus hung on HAL...

Matt R by Associate
  • 742 Views
  • 0 replies
  • 0 kudos

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
  • 466 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
  • 1801 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
  • 943 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
  • 2959 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
  • 1335 Views
  • 3 replies
  • 0 kudos