2025-08-28 7:58 AM
MCU: STM32WL55JC1
FW Version: STM32Cube_FW_WL_V1.3.1
Reference: LoRaWAN_End_Node_DualCore
Compiler/Debugger: STM32CubeIDE
Issue:
I am trying to expand the flash memory region for the CM4 application by reducing the flash memory region of the CM0+ application. When trying to modify `STM32CubeIDE/CM0PLUS/STM32WL55JCIX_FLASH.ld`:
From:
FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 120K
To:
FLASH (rx) : ORIGIN = 0x0802A000, LENGTH = 80K
The CM0+ core will never synchronize and the applications on both cores are unable to proceed. The CM4 core boots fine, but hangs waiting for the CM0+ core. If I only reduce the LENGTH of the CM0+ core it proceeds without issue.
I have also tried to modify `Common/System/system_stm32wlxx.c` by defining USER_VECT_TAB_ADDRESS and adjusting the VECT_TAB_OFFSET with no success.
What is the correct way to modify the flash allocations?