AnsweredAssumed Answered

[KEAZN64] [Flash controller] Flash launching command stalls CPU for 20ms

Question asked by Mohammed Aboelnasr on Feb 15, 2018
Latest reply on Mar 5, 2018 by Gerardo Rodríguez

Hello,

 

I am trying to access the flash of target "Kinetis KEAZN64" in terms of erasing sectors, flashing words, .. etc.

 

I found out that launching command (FTMRH_FSTAT = 0x80;) after configuring command by "Erase command", CPU stalls for 20ms.

 

I.e. In code, at line [ FTMRH_FSTAT = 0x80; ], this operation takes 20ms to move to the next line of code.

I do not know why CPU is halted in that way while the flash controller should run in parallel to the CPU.

 

Any solutions please ?

 

Thank you in advance.

Outcomes