cancel
Showing results for 
Search instead for 
Did you mean: 

Bugs in CubeIDE code generation for STM32WB55CG (and others)

ANist
Associate III

Hello,

I have found some bugs in linker scripts generation when creating a project from CubeMX.

Those bugs appears only when code is generated for STM32CubeIDE, related to linker scripts:

/* Highest address of the user mode stack */
_estack = 0x20040000;	/* end of "RAM" Ram type memory */
/* Memories definition */
MEMORY
{
    RAM	(xrw)	: ORIGIN = 0x20000000,	LENGTH = 256K
    FLASH	(rx)	: ORIGIN = 0x8000000,	LENGTH = 1024K
}
  • _estack should be set to 0x2003000, otherwise the system goes into hard fault.
  • RAM_SHARED section does not appear, without it the coprocessor is unreachable I guess.
  • MAPPING_TABLE, MB_MEM1 and MB_MEM2 are not mapped to RAM_SHARED

On the other hand, if I generate a makefile or TRUEStudio project for stm32wb55cg (1 MB of flash), the linker reports only 512 KB

Hope to see this fixed, thanks for your help!

10 REPLIES 10
Remi QUINTIN
ST Employee

Note that a new CubeWB FW V1.3.0 Package and a new Cube Programmer v2.2 have also been released yesterday.