Exceptionally, this wiki is under maintenance.

You can continue to browse it but contributors can not improve their favorite articles, during phase.

Thank you for your understanding.

STM32CubeIDE errata 1.14.x

Revision as of 07:31, 15 January 2024 by Registered User
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Delta between 1.14.0 and 1.14.1

ID Summary
167912 Build errors when executing post/pre build commands with shell scripts in windows

2 Fixed issues

ID Summary
116898 STM32CubeIDE project converter do not work properly when using it from the MX example importer.
145859 Failure to import some projects due to their nominations.
147750 STM32CubeIDE G0 project Build fails after migrating on the latest versions of STM32CubeIDE.
148103 National / local characters used in the folder / file names leads to wrong path and not found files.
158617 Build projects fail in headless mode from STM32CubeIDE v1.13.0 due to new initUserAuthMenu() method.
160082 In GCC11 additional warnings are created at compile time, those warning are sent on stderr and considers as errors
162320 Version 11.3.rel1 of the GNU toolchain published on STM32CubeIDE 1.13.1 causes compilation errors after calling printf in projects reported in the community "https://community.st.com/t5/stm32-mcus-embedded-software/error-after-calling-printf/td-p/574044".
164005 Project for NUCLEO-L552ZE Build fails.

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.
159215 In certain cases, we may encounter a post-construction generation problem which results as follows.

1. If you want to deactivated firmware signing after build
a. Untick Sign binary in STM32CubeMX.
b. Generate Code.
c. Edit STM32CubeIDE properties and manually remove the “Postbuild” command: This is the workaround for the limitation.

2. After previous changes, if you can enable again the signature.
a. Tick Sign binary in STM32CubeMX.
b. Generate code.

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

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
154575 Could not rebuild a Non secure project when switch between Project Structure.
159507 Issues detected when updating STM23CubeIDE version from 1.9.0 to 1.13.1.

4.2 STM32CubeCLT issues

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

4.3 OS-specific issues

4.3.1 Linux®

ID Summary
134507 Unable to install CubeIDE on Fedora 37.
139617 The CAD view in the ioc-editor may not render. A restart of STM32CubeIDE is required.

4.3.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.4 Target-specific issues

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

4.4.2 STM32U5

ID Summary
163837 Failed to build a static library project from STM32cubeIDE for the STEVAL-STWINBX1 board with an unknown type name "GFXTIM_TypeDef" because the hal_conf_template has all IPs 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.

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

5 Upgrades

ID Summary
162901 Update SEGGER J-Link to version 7.92n.