AnsweredAssumed Answered

How to relocate the expected ISR into RAM for the duration of the erase or program flash?

Question asked by Hoang Nguyen on Jul 18, 2019
Latest reply on Aug 1, 2019 by Cuong Nguyen

Hi all,

 

I'm programming flash for Kinetis KL16Z32 and there is a problem if an interrupt occurs during a flash erase/program operation, the Read While Write restriction will be violated if the interrupt service routine (ISR) code is located in the same flash block as the erase/program operation is occurring on. And I want to relocate the expected ISR into RAM for the duration of the erase or program time but failed. I am doing that on tool Keilc uVision5. Please help me make this on keilc 5. Thank you!

Outcomes