cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB Option Bytes read/write

msemegen
Senior

Hi!

In AN5289, on page 37, the sequence for writing to Flash memory is described, taking into account potential CPU2 access (semaphores Sem2, Sem6, and Sem7). What does the diagram for writing/reading option bytes look like? Is it the same?

1 ACCEPTED SOLUTION

Accepted Solutions
msemegen
Senior

Here is the implementation that was reviewed with ST support. It also takes into account the fact that the BLE stack may access the Flash memory, and therefore the option bytes as well.


xsoc_stm32wb/rm0434/peripherals/internal_flash/option_bytes.cpp at main · xEmbeddedTools/xsoc_stm32wb

View solution in original post

1 REPLY 1
msemegen
Senior

Here is the implementation that was reviewed with ST support. It also takes into account the fact that the BLE stack may access the Flash memory, and therefore the option bytes as well.


xsoc_stm32wb/rm0434/peripherals/internal_flash/option_bytes.cpp at main · xEmbeddedTools/xsoc_stm32wb