Skip to main content
A.D.
Associate III
Apr 23, 2024 9:11 AM UTC
Question

Use flash memory area between (origin + length) and Wireless Coprocessor Binary start address

The STM32WB5 has 1M of flash memory. The default linker script shares this 50:50 between main and second core (LENGTH = 512K), meaning flash ends at 0x0808 0000 (page 128) for the main core.

But the wireless binaries don't necessarily start right at the 50% mark, but often quite a bit higher up in memory. E.g. the stm32wb5x_BLE_Stack_full_fw.bin starts in current version at 0x080C E000 (page 206), meaning there are 78 unused pages in between.

 

Is it a reasonable approach to use this memory area for other purposes like EEPROM emulation and the like? Or is there some disadvantage with that?

This topic has been closed for replies.

1 reply

STTwo-32
ST Technical Moderator
Jun 2, 2024 5:01 PM UTC

Hello @A.D. 

For the eeprom emulation, the best memory section to use is the same on the STM32WB examples of the x-cube-eeprom.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.