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

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

I am starting with this tool and have problems to get it running. I have now two Nucleo-64 STM32L476RGT boards. But the basic is not working. When I run the application in its most basic form the "Debugger is shutting down"directly

I perform the following steps:1 Load the board using the board sellector2 On the pinout view activating a PA8 pin and reseting that PIn to its defaults3 Generate code by "save"4 Build the project "Build project"5 Run "Debug AsSTMicroelectronics ST-LI...

JNiva.1 by Associate II
  • 918 Views
  • 5 replies
  • 0 kudos

Resolved! How do I change the MCU in CubeIDE project

I created the project initially using CubeMX using a 128k STM32G431. I've ended up actually using a 64k ram part instead. The CubeIDE project calls out the wrong part now.Because of extensive changes in the source code I do NOT want to re-run CubeMX ...

BTrem.1 by Senior II
  • 8012 Views
  • 2 replies
  • 2 kudos

Resolved! How to view the contents of the CDR register in STM32CubeIDE?

While debugging the program for STM32F767, I wanted to preview the contents of the CDR related to ADCs. But on the SFRs tab in STM32CubeIDE, I can't find this register. It is also not defined in the SVD file associated with the indicated microcontrol...

MirKoz by Associate III
  • 1580 Views
  • 3 replies
  • 0 kudos

I have init a new project and try to run it. I follow the you tube video. The debugger is stopping and I recieve an error Waiting for debugger connection... Debugger connected Debugger connection lost. Shutting down... Need help getting started

STMicroelectronics ST-LINK GDB server. Version 5.8.0Copyright (c) 2020, STMicroelectronics. All rights reserved.Starting server with the following options:    Persistent Mode      : Disabled    Logging Level       : 1    Listen Port Number     : 6123...

JNiva.1 by Associate II
  • 508 Views
  • 1 replies
  • 0 kudos

Misaligned memory write causes hard fault.

Hi,I checked with the test code below, and it sets the hard fault for the G0 controller. It looks like an alignment issue. But the same code runs fine with L4 and F4 microcontrollers and does not set any fault for misaligned assignments. Project sett...

SDalv.1 by Associate II
  • 695 Views
  • 1 replies
  • 0 kudos

When using FreeRTOS, CubeIDE generates a file, system_stm32f7xx.c under Drivers/CMSIS/Device/ST/STM32Fxx/Source/Templates. This happens regardless of the version of the interface (V1 or V2), in 1.6.0, for at least the F767 processor. Is this a bug?

The file contains duplicate definitions, seems to have no purpose, and prevents compilation unless deleted. This is a C++ project.Given the source code (which I wouldn't have), I'd look at the specific reason that the template file is included. It ...