Hello, I have a question regarding the Flash Bank organization of the STM32F4xx Devices (we use STM32F469IG with 1MB Flash).
This MCU has 1MB Flash which can be configured with the DB1M Bit in the OPTCR Regs of Flash Controller.
Default is DB1M=0, which layouts the flash in single bank mode in 12 Sectors.
DB1M=1 layouts the flash in dual bank mode with 2x 8 Sectors.
When DB1M=0 is selected, will the flash get accessed physically over 1 bank or still over bank 1 and bank 2.
To be more detailed, I'm interested in one point. When DB1M = 0 , does a write on the least 512kB flash sectors will stall the cpu (because then the cpu is not able to fetch instructions anymore)?
2 years ago I made some tests with 2 banked Flash but on 2Mbyte devices. Writing on Bank 1 while executing code from Bank 0 was no Problem and didn't stall the cpu. Writing on Bank 0 while executing from Bank 0 stalled the CPU.
We want to use the 2nd flash bank for persistent config data, etc. No exec code.
Thnaks.
Kind regards
Andreas
