Hello,I have question about When DFlash/PFlash is doing the write or erase operation,all interrupts must be disabled for awhile?
For example,disable all interrupts before C40_Ip_MainInterfaceSectorErase() or C40_Ip_MainInterfaceWrite(),then enable all interrupts when operation is done.
Is there have any problem if the all interrupt is not disabled?
Solved! Go to Solution.
If code is being executed from different flash module than programmed (RWW) then interrupts can be handled during flash programming otherwise it is needed to disable interrupt before flash programming/erasing to prevent RWW error.
If code is being executed from different flash module than programmed (RWW) then interrupts can be handled during flash programming otherwise it is needed to disable interrupt before flash programming/erasing to prevent RWW error.