Skip to main content
SNAGU.1
Visitor II
August 25, 2020
Question

STM32F205RB FLASH operation effect on global interrupts

  • August 25, 2020
  • 2 replies
  • 902 views

Hi,

I am using internal flash of STM32F205RB . i need to know when the flash read/write operation is going on how the interrupts(global/timer etc..) will be effected.

I have seen the data sheet of STM32F205RB but i didn't find the useful information.

I am new to ST controllers, Any help would be appreciated.

Thanks in advance.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
August 25, 2020

Any read operation on flash will block (wait states inserted), this includes access to vector table and code execution.

To avoid this, all code set needs to be in RAM​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Ozone
Principal
August 25, 2020

Like with all similar platforms, code execution from the Flash bank you are programming is stalling.

If you need to be operational during Flash operations, you need to place code in RAM, or choose a (more expensive) dual/multi bank MCU.

AFAIK, the F205RB is single-bank. Check the respective datasheet / reference manual sections.