I'm trying to resolve some ambiguity related to write-while-read of flash within the STM32L4R5ZI. If someone can straighten me out I'd appreciate it.
The FlashErase example project in the STM32Cube_FW_L4 here:
D:\STMicro\STM32Cube_FW_L4_V1.13.0\Projects\NUCLEO-L4R5ZI\Examples\FLASH\FLASH_EraseProgram\Src seems to imply that it's possible to erase and write to the same bank of flash that you are executing from. The documentation implies that you can only perform write-while-read (or read-while-write) when in dual-bank flash mode. See section 3.3.8 of RM0432 reference manual:
"The Dual-bank mode is available only when the DBANK option bit is reset, allowing readwhile-
write operations. This feature allows to perform a read operation from one bank while
erase or program operation is performed to the other bank."