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

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

CubeIDE 1,8.0デバッグができない

現象午前中まで動作していましたが、急に下記の現象が発生し、デバッグができない状況です。1)ブレークポイント設定し、ブレーク後にステップイン実行ができない。 IDEからの応答がなく、停止ボタンで停止。2)ブレークポイント設定し、ブレーク後にPCレジスタ値を変更できない。 Failed to assign value 80019e0, to register 03)ブレークポイント設定し、配列データを変更すると変更した配列以外のデータが0になるMCUは、STM32H743ZI。IDEのバージョンを上...

K_I by Associate II
  • 1701 Views
  • 1 replies
  • 0 kudos

Resolved! MX_GPIO_Init' used but never defined

Here is my code and I encountered the error. I use H7A3ZI-Q board/* USER CODE BEGIN Header *//** ****************************************************************************** * @file : main.c * @brief : Main program body *****...

zniu by Associate II
  • 5741 Views
  • 6 replies
  • 2 kudos

I am getting UNALIGNED HardFault (attempt to perform an unaligned access) on ldr.w and blx.w instructions (as seen in disassembly when debugging). I am using STM32CubeIDE with the standard toolchain for stm32 (arm gcc, Thumb2).

I am importing a library (which I am also building with the same toolchain), in which the errors are occuring. Can I tell the compiler to not create unaligned addresses? Or do I have to change the source code of the library?I have tried compiling wit...

ETörn.1 by Associate
  • 5477 Views
  • 7 replies
  • 0 kudos

Create a variable in SDRAM

Hi i have configured the FMC and can read and write in SDRAM extern, begin in 0xC0000000, i now want create a variable in this SDRAM, then i define:uint32_t myFrameBuffer[65280] __attribute__((section(".sdram_data"))) = {0};but when i see the debugge...

RMasi.19 by Associate II
  • 1349 Views
  • 3 replies
  • 0 kudos

Resolved! stm23wb5mmg ble notify problem

I used stm32wb55rgv6 and stm32wb5mmg in the stm32wb series for simple Bluetooth projects (using hw_timeserver to send notification data), and then used nRF Connect to receive notification data. My program and design are basically the same, but only s...

Lep_1-1695366465540.png Lep_2-1695366538738.png
Lep by Senior
  • 1713 Views
  • 3 replies
  • 0 kudos

Resolved! DOUBT:UART SERIAL RECEIVE

I'm trying to Receive a message "hello" from serial monitor and viewing it on Live expression,but message is not coming as word. It is coming as single letter- H E L L O.char msg[20]="hello\r";HAL_UART_Receive(&huart2,msg,sizeof(msg),1000);i am using...

ADC.png