Skip to main content
h p
Associate III
June 24, 2025
Solved

Bootloader and Read-while-write (RWW)

  • June 24, 2025
  • 1 reply
  • 285 views

Hello,

we are using a STM32F429.

The bootloader is located in the first 64kB. The firmware in the remaining sectors.

It erases the remaining sectors of the flash and writes the new firmware.

Now, 3.6.5 Read-while-write (RWW) of the reference manual states that "This feature allows to perform a read operation from one bank while an erase or program operation is performed to the other bank."

Does this mean that reads from the same bank as a sector is erased is not allowed?

If so, how should the bootloader update the firmware in Bank 0, where the bootloader sits itself?

Many thanks in advance for your answer!

 

Best answer by TDK

If you read and write from within the same bank, the read operation will block until the erase/write operation is complete. There are no issues doing this.

If in separate banks, they can operate in parallel.

1 reply

TDK
TDKBest answer
Super User
June 24, 2025

If you read and write from within the same bank, the read operation will block until the erase/write operation is complete. There are no issues doing this.

If in separate banks, they can operate in parallel.

"If you feel a post has answered your question, please click ""Accept as Solution""."
h p
h pAuthor
Associate III
June 25, 2025

I understand. Thank you very much!