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

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1554 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 588 Views
  • 0 replies
  • 0 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...

Resolved! ST-Link is not in the DFU mode, No ST-LINK detected!

Je suis incapable de déboguer le code sur ma carte STM32WLE5JC. STM32CubeIDE affiche un message d'erreur indiquant que le ST-Link n'est pas connecté. Cependant, le ST-Link est correctement détecté et connecté dans le STM32CubeProgrammer.

Capture d'écran 2024-03-22 123543.png Capture d'écran 2024-03-22 123943.png Capture d'écran 2024-03-22 124013.png

Resolved! CMake error when building STM32 project outside STM32CubeIde

Hello everybody,I'm trying to build an STM32 simple example based on CMake from the Windows shell but I got an error (I think because CMake doesn't find the GCC STM32CubeIde toolchain configuration).If I run CMake from STM32CubeIde all works fine (I ...

MaxC by Associate III
  • 6417 Views
  • 4 replies
  • 6 kudos

Unable to read the data from the DHT11 temperature sensor

I have written the following bare-metal code to get readings from the DHT11 sensor on my stm32 G071RB board:I have attached my main.c file below. When I try to debug my code, the execution halts at - while ((DHT11_PORT->IDR & GPIO_PIN_12) != 0); in t...

HZ by Associate II
  • 3655 Views
  • 3 replies
  • 0 kudos

Resolved! Hardfault in NonSecure_Init

  #define VTOR_TABLE_NS_START_ADDR 0x08100000UL static void NonSecure_Init(void); static void MX_GPIO_Init(void); static void MX_GTZC_S_Init(void); static void MX_ICACHE_Init(void); int main(void) { HAL_Init(); /* GTZC initialisation */ MX_...

Riya_0-1712138637083.png Riya_1-1712138679394.png Riya_2-1712138700909.png
Riya by Associate II
  • 5506 Views
  • 4 replies
  • 0 kudos

Resolved! Problem after updating CubeIDE to 1.15.0

Hello.After updating STM32CubeIDE to 1.15.0 I faced this problem :(I can't run or debug any projects. Of course, software for STLink was updated.Hope, someone has a solution. My console includes this information:Encountered Error when opening ..........

cube-15_1.png
DmitriG by Associate II
  • 4232 Views
  • 4 replies
  • 3 kudos

Resolved! [SOLVED] Unable to retrieve the count from TIM1 in Encoder Mode

Hi, I'm using an STM32F439ZI (on a nucleo board) and connected a Zaber stage with its encoder to it. When disconnected, I can measure the A & B signals schanging from GND to 5V. I currently cannot paste an image from the scope but I've lookerd at the...

debug_0-1712181677426.png
debug by Associate III
  • 1770 Views
  • 1 replies
  • 0 kudos

CAN1 communication doesnt work

Hi I'm very new in working with CAN-bus. My project involves two stm32 boards (both are nucleo-l433rc-p) and I want to get CAN-bus communication between them. The code is supposed to make a build in LED blink each time the blue button on the main nuc...

Mr4_1-1708681676633.png Mr4_2-1708681748704.png Mr4_3-1708681789418.png Mr4_4-1708681846276.png
Mr4 by Associate III
  • 1724 Views
  • 2 replies
  • 0 kudos