STM32CubeIDE errata 1.17.x

1. Limitations

ID Summary
Authentication issue If you have encountered an authentication problem while using STM32CubeIDE, don't worry. You simply need to set your connection parameters. For more details see link below: https://community.st.com/t5/stm32-mcus/how-to-set-the-network-connection-parameters-for-stm32cubeide/ta-p/585694
133183 Unable to debug using FreeRTOS aware with a J-LINK Ultra+ in STM32CubeIDE 1.10.1
138771 To start debugging in the NS zone when the product status is TZ-Closed for the STM32H5 using ST-Link GDBServer, add the following script to "Run Commands" in the debugging configuration.

set breakpoint always-inserted on

tbreak Reset_Handler monitor reset set breakpoint always-inserted off

si

For the "Reset & Restart" button to work: - Add the same script - Select "None" as the type.
143485 Post build commands are restored by using one of the following two options :

restore the post-build command by applying a "code generation" change the default behavior of the command "restore Defaults".

146043 On STM32H745 Cortex-M4 Dual Core projects the pre-defined

breakpoint is maintained but not caught upon run

152549 From GCC11, the build can be in error with some functions:

_close, fstat, _getpid, _isatty, _kill, _lseek, _open, _read, _write, _gettimeofday

It’s due to that a state is define using the system information. The application needs to define a way to track time.

156539 If the user needs to set a proxy to be authenticated, a check for connection should be done: Windows > Preferences > STM32Cube > Firmware Updater and then Check Connection.
166245 When using the STM32CubeMP13 bare-metal firmware and activating Azure® RTOS

ThreadX, the STM32CubeIDE linker file must contain the following section to avoid compilation issues:

.stack  :

{

_stack_bottom = ABSOLUTE(.);

/* Allocate room for stack. This must be big enough for the IRQ, FIQ, and SYS stack if nested interrupts are enabled.*/

. = ALIGN(8);

. += 32768;

_sp = . - 16;

_stack_top = ABSOLUTE(.);

} >RAM

_end = .;

171852 The implemented toolchain is allocating to an enum type only as many bytes as it needs for the declared range of possible values.
174727 STM32CubeIDE cannot make the project build automatically after having changed the IP configuration, it cannot automatically control this configuration, the user needs to increase Flash size manually when needed depending on his configuration.
186150 The copilot4eclispe pluginis not compatible with the version of Eclipse used in STM32CubeIDE.

For more information, please refer to: https://www.genuitec.com/products/copilot4eclipse/docs/prereqs/prerequisites

189888 For STM32WB05 et STM32WB09 devices the connection Under Reset type is not supported
192219 For cortex M55 (like STM32N6), GCC12 and earlier versions detect warning using OFast and O3 optimizations level.

Workaround:

  • Install and build with GCC13 available through update site mechanism.
  • Compile without MVE extension, which can be done by passing argument "-mcpu=cortex-m55+nomve", in Settings > GCC compiler > Miscellaneous

2. Fixed issues

ID Summary
175378 National characters not supported in the path while creating projects from scratch using STM32CubeIDE.
184869 ThreadX should not be available on H7 single core, and the build will perform error when threadX is activated.
185280 Not possible to install two flavors of OpenSTLinux plugin 32-bit MP1 & 64-bit MP2.
189229 Unable to debug with STM32L562-DK.

Workaround: Use OpenOCD as a debug probe.

191199 After updating the STM32CubeIDE from some versions to the patch 1.16.1 using the update site updater, sometimes the GUI of the integrated STM32CubeFinder and STM32CubeMX are the images of the old UI tools.
191542 STM32CubeIDE debugger no longer works in macOS 15.0 Sequoia (STLink and STLinkGDBServer support)
195263 Using STM32CubeCLT, Cannot execute STLinkUpgrade on windows under C: (Access is denied)

3. Known issues

The known issues are split into general, STM32CubeCLT, OS-specific, and target-specific issues.

3.1. General issues

ID Summary
59435 Having a space or non-ASCII character in the project/workspace path or installation path is not fully supported.
63624 Some STM32CubeMX pop-up dialogs are not opened in front of the STM32CubeIDE workbench on all OS's.
68184 Hierarchical projects cannot be imported with the option Copy into workspace.
68440 Hierarchical projects cannot be renamed.
89454 Restart configuration only works for flash memory projects and not for RAM projects. Program Counter register is not set correctly. Manual work-around: In Restart configuration, manually set PC to the ResetHandler() in RAM: set $pc = 0x20000xxx.
109764 FreeRTOS™ kernel-aware debugging: Full stack traces off all tasks do not work if configUSE_PORT_OPTIMISED_TASK_SELECTION 1
115928 Editing live expressions while target is running does not work with SEGGER J-Link.
124062- 152549 GCC-10 is more strict with respect to declaration of global variables in header files. Read the GCC-10 porting guide, so many warnings and errors result.
133183 STM32CubeIDE cannot debug using FreeRTOS aware with J-LINK.

Work-arounds, if: Reset strategy == Connect under reset, requires Initialization commands:

info threads

info threads

thread 2

Work-arounds, if: Reset strategy == None (attach mode), requires Initialization commands:

info threads

info threads

thread 2

stepi

139637 Creating new STM32Cube project inside STM32CubeIDE is not possible if ioc-editor is point at STM32CubeMX stand-alone
156812 Missing string table in Build Analyzer while showing the bytes of the size of the ".rodata" section .
159507 Issues detected when updating STM32CubeIDE version from 1.9.0 to 1.13.1.
169316 When building an existing project, using GCC11 or GCC12, a warning should be noticed: “elf has a LOAD segment with RWX permissions”.

This warning highlights a vulnerability, to correct it and secure the data section, we suggest to update the linker files:

From this kind of section:

.preinit_array:

{

…} >FLASH

To:

.preinit_array (READONLY):

{

…} >FLASH

But it’s incompatible with GCC10 and earlier versions.

170279 Failure to compile embOS due to missing stack variable as a new section defining _stack_start__ and __stack_end__ in linker file need to be added in linker file once it is required by ThreadX.
183033 The restore default build configuration feature lost the build commands.

3.2. OS-specific issues

3.2.1. Linux®

ID Summary
139617 The CAD view in the ioc-editor may not render. A restart of STM32CubeIDE is required.
165338-

189478

Using Ubunto 22, the target selection doesn’t appear normally without sudo permission.

Workaround: start with sudo permission or start the wayland binary instead of STM32CubeIDE binary.

175176 Using the generic Linux installer, the libncurses must be installed independently.
185617 Due to an Eclipse issue, STM32CubeIDE on new Linux distribution such as Ubuntu 24.04 and Debian faced some performance issue linked to the limit value of allowed open files. Issue can be overcome by changing the limit of allowed open files using the following instructions:
  1. ulimit -n -H 4096
  2. /opt/stm32cubeide_1.1x.x/stm32cubeide &

3.3. Target-specific issues

3.3.1. STM32G4

ID Summary
194756 Problem with project creation using STM32G411 with the 1.6.0 firmware.

Workaround: use the version 1.6.1 of the firmware.

3.3.2. STM32H7

ID Summary
73552 Serial Wire Viewer configuration is not reset for STM32H7 devices on the next launch if it was terminated with record active when using ST-LINK GDB server.
79658 ST-LINK GDB server reports being suspended on address: 0x05F0001 when debugging STM32H7 dual-core devices and the core under debug goes to sleep.
81763 OpenOCD does not support debugging STM32H7 dual-core devices when the core under debug goes to sleep.
175966 H7RS project on Ubuntu with ExtMemLoader context configured: Postbuild commands cannot be passed successfully when STM32CubeIDE is installed with sudo.

Workarounds:

  • Installing STM32CubeIDE on Ubuntu but without sudo. (add execute permission to the installer then install it without sudo permissions).
  • If STM32CubeIDE was installed with sudo permission, postbuild command needs to be performed manually by passing the sudo permission first in command line.

3.3.3. STM32MP1

ID Summary
73895 Debugging in production mode requires a network connection. If STM32CubeIDE is configured to use a network proxy, then the IP address of the STM32MP1 board needs to be added to the "Proxy bypass" list.
73896 The synchronization check between the IP-address entered in launch configuration and the IP-address of the target does not abort the launch in case of mismatch.

3.3.4. STM32N6

ID Summary
192219 GCC12 and earlier versions detect warning using OFast and O3 optimizations level.

Workaround:

  • Install and build with GCC13 available through update site mechanism.
  • Compile without MVE extension, which can be done by passing argument "-mcpu=cortex-m55+nomve", in Settings > GCC compiler > Miscellaneous

3.3.5. STM32WB0

ID Summary
180379 A false error could be detected on some BLE applications when is included some binary libraries.

The error should be: “missing .note.GNU-stack section implies executable stack” or “NOTE: This behaviour is deprecated and will be removed in a future version of the linker”

Workaround:

Use the linker option: -z noexecstack

More information: https://lists.gnu.org/archive/html/info-gnu/2022-08/msg00002.html

3.3.6. STM32WBA

ID Summary
158985 “Connect Under Reset” is not working with STM32WBA.
196779 Issue with the import project using "B-WB1M-WPAN1-BLE_HR_p2pServer" example from Example Selector.

Workaround: import from file system using the menu "File -> Open Porject from file system"

4. Upgrades

ID Summary
BusyBox 1.31.0.st_20240131-1810
Eclipse and CDT Eclipse 2023-12

CDT 11.4.0

GCC12 binaries v12.3.rel1.20240926-1715
JRE Adoptium® Temurin™ 21.0.3_9 and JavaFX 21.0.3
Make 4.4.1_st_20231030-1220
OpenOCD v0.12.0+dev-00600-g090b431b1
RTOS Proxy 0.16.0
SEGGER J-Link V8.10d
ST-LINKGDBServer 7.9.0
STLink Server 2.1.1-2
STM32CubeMX 6.13.0
STM32CubeProgrammer 2.18.0

​ STM32CubeIDE errata

If you have any question or request concerning this wiki or if you see some pages with some mistake, you can report them using ST Support Center or ST Community MCU Forum. All rights reserved (c) 2024 STMicroelectronics Privacy policy Manage cookies Terms of use