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

Hot to do a discovery using Device authentiction

Did numerous builds using CubeIDE (10,000 lines of code). this error started coming up. "reason was unknown target"Got the following message:Make -j4 all  DriversSTM32L4xx_HAL_Driver/subdir.mk.91:  *** unable to generate command line.  stop.  "make  ...

JBonn by Associate III
  • 850 Views
  • 1 replies
  • 0 kudos

Is license required to create product using SDMMC?

Is a license required to create commercial products using SDMMC?  I noticed there is support for it in cube IDE.  The SD Association indicates a yearly subscription requirement for creating even a host app that uses the SD standards. https://www.sdca...

RHale.2 by Associate II
  • 540 Views
  • 0 replies
  • 0 kudos

STM32IDE Toolchain using 2 Compiler in one Project

I would like to use 2 Compiler in one project, the old compiler for the bootloader, where addresses should not change for application and the other for the application to use a newer version.First I tried to select either or from the C/C++ Build -> s...

koster by Associate III
  • 734 Views
  • 1 replies
  • 0 kudos

Hardfault Error While Debugging in Systemview

The SystemView is running properly when I don't integrate TouchGFX into STM32CubeIDE. However, when I integrate TouchGFX into my code, I'm able to debug with ST-Link. On the other hand, when I use J-Link, I'm getting a hardfault error while debugging...

Anil1472 by Associate II
  • 6241 Views
  • 9 replies
  • 1 kudos

Resolved! SPI Not communicating with aurdino

So , I wrote all driver my self so dont know how to ask this but i can provide you with few code.This is main.c file and other driver file is attached below........#include <string.h>#include "stm3f407xx.h"void delay(void){for(uint32_t i =0;i<500000/...

Resolved! Self initializing UART with Pin Stackign

Hello everyone,I have not conventional question. My purpose is to create code where 2 pins are used as two different interfaces (I2C1 and USART3). I know that pin Stacking option is just theoretical as no code is generated for this interface. I found...

MŻbik.1 by Associate II
  • 3489 Views
  • 5 replies
  • 3 kudos

Resolved! The end . bin file

Hi all,I plan to update my MCU. I would like to upload to MCU. bin file. If I understand correctly, this file can be uploaded entirely to the initial address of the MCU. It should not contain any extra data. I checked this file and just before the en...

Dabi by Associate
  • 923 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeIDE debug FreeRTOS queues

I am trying to view and debug the queues in my FreeRTOS project. To do this, I have to add the queues to registry with vQueueAddToRegistry. However, vQueueAddToRegistry takes an argument to a QueueHandle_t and in the project generated with STM32CubeM...

sute by Associate III
  • 1950 Views
  • 1 replies
  • 0 kudos

Not able to debug using ST Link

What might cause the attached in ST error message in Cube IDE (V 1.13.1.It used to be able to Deug my program, until i updated the STLink firmware ( Pop up prompted me to update), i tried uninstalling the IDE, installng it again, same error message.....

AHamad by Associate
  • 2368 Views
  • 4 replies
  • 1 kudos