cancel
Showing results for 
Search instead for 
Did you mean: 

Is the flash of the STM32WB55 development board configured incorrectly?

JayDev
Senior II

Hello! I've been working with the STM32WB55 Nucleo development board for a while and it looks like when it was setup, it was setup for 512 kB of flash, though all documents online seem to suggest it should have 1M of flash.

The chip on the development board is an STM32WB55RGVx (VFQFPN68). According to this link, it does have 1M of flash

https://www.st.com/en/microcontrollers-microprocessors/stm32wb-series.html#products

I initialized it in STM32CubeIDE in pack 1.3 originally, so maybe this is an outdated issue? Regardless, this is what it shows in my linker file:

/* Specify the memory areas */
MEMORY
{
FLASH (rx)                 : ORIGIN = 0x08000000, LENGTH = 512K
RAM1 (xrw)                 : ORIGIN = 0x20000004, LENGTH = 0x2FFFC
RAM_SHARED (xrw)           : ORIGIN = 0x20030000, LENGTH = 10K
}

Based on this, I assume I should be able to just change 512K to 1024K, clean, and rebuild but I thought I'd check in here and find out:

1) Is it as simple as changing the code from 512K to 1024K and I'm ready to go or is there a reason it's setup this way or a reason I shouldn't change this?

2) Is this a known issue I looked past or should I report it as a bug?

Thanks!

1 REPLY 1
TDK
Guru

The flash is split into user (CPU1) and secure (CPU2) sections. Presumably the latter half is reserved for CPU2 by default, but you can change the boundary with the SFSA option byte.

https://comm.eefocus.com/media/download/index/id-1017156

If you feel a post has answered your question, please click "Accept as Solution".