cancel
Showing results for 
Search instead for 
Did you mean: 

What's up with the flash on STM32WB1MMC?

TBran.3
Associate III

Flash on the STM32WB1M is supposed to be 320K long, as advertised as well as in the ref manual RM0473 and in the Memory Manager in CubeMx. But the default linker script out of CubeMx only gives 110K flash section length. If I try to put an emulated EEPROM section at the last couple of pages (yes, incl. modifying the linker script), say 0x0804E000, I get a hard fault when trying to read that address. Same if I try to read that address from STM32CubeProgrammer. It turns out I can only read (from STM32CubeProg or emulated EEPROM usage) to approximately the 110K past 0x08000000. I could read a page or two starting at 0x08020000 and beyond that I got errrors. Am I missing something here? It's as if addresses beyond about 110-112K in flash are invalid...

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

It's a dual core chip. The CM0+ core holds the RF firmware and is not user accessible.

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

View solution in original post

3 REPLIES 3
Uwe Bonnes
Principal II

I  suspect the firmware is loaded there and protection for the firmware is set.

TDK
Guru

It's a dual core chip. The CM0+ core holds the RF firmware and is not user accessible.

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

D'oh. Should have realized that when I was programming the BLE stack at 0x08021000...Thanks.