AnsweredAssumed Answered

MK60FN Program Flash MSGSTAT0 Error

Question asked by Robert Ryan on Jun 18, 2013
Latest reply on Jul 1, 2013 by Kan_Li

Hi All,

 

I am implementing a bootloader using the flash swap functionality.  I have ported the code from the AN4533 application note into my project.  I proceed through the code just fine until I try to actually write the upper block of the program flash.  I get a MSGSTAT0, non-correctable error from the FlashCommandSequence function.  I am a little baffled.  This code works fine for the setup and the swap functionality and the erase functions without issue.  I get this error on all writes.

 

Chip is MK60FN1M0VLQ12.  The application I am loading is roughly 177 kB.  I have confirmed the addresses are all accurate.

 

Any help would be appreciated.  I am not sure exactly where to look.

 

Thanks

ROb 

Outcomes