Skip to main content
TBran.3
Associate II
October 22, 2023
Solved

What's up with the flash on STM32WB1MMC?

  • October 22, 2023
  • 3 replies
  • 1952 views

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...

This topic has been closed for replies.
Best answer by TDK

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

3 replies

Uwe Bonnes
Chief
October 22, 2023

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

TDK
TDKBest answer
Super User
October 22, 2023

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
TBran.3Author
Associate II
October 24, 2023

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