STM32CubeIDE errata 1.15.x

1 Delta between 1.15.0 and 1.15.1

ID Summary
177978 Fixed an issue with ST-LINK firmware upgrade concerning the boards with DFU v2 or older in the version 3.14.5 of ST-LINK GDB server.
178127 Fixed an issue with the build settings: The build settings do not save the latest linker modified by the user and select the default linker instead.

2 Fixed issues

ID Summary
134507 Unable to install STM32CubeIDE on Fedora 37.
154575 Could not rebuild a Non secure project when switch between project structure.
156010 The first connection to target sometimes fails, next connections are OK. This impact Cortex-M debug in production mode and Linux deployment and user space debug .
158342 Once the LTO optimization feature is enabled for WBA project BLE_SerialCom_Peripheral, the linker file fails and STM32CubeIDE fails to produce the binary file as output.
159215 Post build commands generation issue in secure manager projects is detected once the Sign Binary is unselected and selected again.
160474 Wrong value displayed in SFR view of ADC_CALFACT while using STM32U5A5 board.
163129 On macOS 14.0 Sonoma we noticed this behavior  :
  • The "splash" screen during startup gets displayed upside down.

The splash screen issue on eclipse is already reported in this thread: https://github.com/eclipse-platform/eclipse.platform.swt/issues/772 and also here https://github.com/eclipse-platform/eclipse.platform.swt/issues/751.

  • In the menu bar there is an added option as "NewApplication".
164737 Memory content is not updated correctly if a global variable is added mid debug session.
165302 Build error for board H563ZI due to missing stm32h5xx_hal_usart.h.
165526 Post Build commands failure for H5 board in secure project with trust zone enabled.
165850 Failed to build a static library project from STM32cubeIDE for the STEVAL-MKBOXPRO board with an unknown type name "GFXTIM_TypeDef" because the hal_conf_template has all IPs enabled.
166705 When installing two different versions of STM32CubeCLT under Fedora 36, the second installation is failed with the error “Fedora_error_Installation”.
166792 USB device error "libusb couldn't open usb device /dev/bus/usb/.../..." when trying to Upgrade STLink firmware via command line on Fedora 36, to hijack this behavior you need to do the following:
 > sudo chmod o+w /dev/bus/usb/.../...  
167678 Display issue detected when reducing the size of the interface.
169188 Disassembly view doesn't show assembly instructions after adding the view and restarting the debug session.
170446 Crush in STM32CubeIDE while searching for NVIC in SFR view.
171950 Wrong definition of the PNB bits. The missing bits are :

BKER MER2 SEC_PROT2

174840 When installing two different versions of STM32CubeCLT on Ubuntu, the second installation failed with and error “Error_Second_Installation_Ubuntu”.

3 Limitations

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

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 = .;   
168716 In Order to debug an application project for STM32H7RS board, the debug config, startup tab and both elf files app.elf need to be added first and Boot.elf second.
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.

4 Known issues

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

4.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
159507 Issues detected when updating STM23CubeIDE version from 1.9.0 to 1.13.1.
165998- 170209 To successfully run the Debug Authentication using STM32CubeIDE. STMCubeProgrammer needs to be installed as well.
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.
177978 Issue with STlink Firmware Update concerning boards with DFU v2 or older in version 3.14.5 of stlinkgdb server.
178127 Build setttings does not save the latest linker modified by the user and select the default linker instead.

4.2 OS-specific issues

4.2.1 Linux®

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

4.2.2 Mac®

ID Summary
163129 On macOS 14.0 Sonoma we noticed this behavior

-The "splash" screen during startup gets displayed upside down.
-In the menu bar there is an added option as "NewApplication".

The the splash screen issue on eclipse is already reported in this thread: https://github.com/eclipse-platform/eclipse.platform.swt/issues/772 and also here https://github.com/eclipse-platform/eclipse.platform.swt/issues/751

4.3 Target-specific issues

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

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

4.3.3 STM32WBA

ID Summary
158985 “Connect Under Reset” is not working with STM32WBA.

5 Upgrades

ID Summary
162901 Update SEGGER J-Link to version 7.94h.
166922 Update GCC12 binaries to v12.3.rel1.20240306-1730.
166925 Update OpenOCD to version 0.12.0-00029-gf77e7cb03 (2023-12-15-13:25).
166927 Update STM32CubeProgrammer to version 2.16.0.
166920 Update the Make Version to 4.4.1_st_20231030-1220.
166921 Update the BusyBox Version to 1.31.0.st_20240131-1810.
166932 Update the Eclipse and CDT Version to Eclipse 2023-12 and CDT 11.4.0.
177971 Update ST-LINKGDBServer to version 7.7.0
177978 Update the STM32CubeMX to version 6.11.1