K64f Writing to flash within RTOS while leaving interrupts enabled

Discussion created by unknowncoder on Apr 3, 2018
Latest reply on Apr 3, 2018 by unknowncoder


I am using the program flash to save some data.

The flash block (i.e 4KB) that stores the data is not used for anything else that is the entire block is dedicated to storing data. 

Now if this the case do I need to disable interrupts to avoid memory access violations like Read while write (RWW).

As far as I understand if the block doesn't have anything else accessing it this should be fine.


The ways the flash write layer is mutex protected between threads.