MK60FN Program Flash MSGSTAT0 Error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MK60FN Program Flash MSGSTAT0 Error

713件の閲覧回数
robertryan
Contributor I

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 

ラベル(1)
0 件の賞賛
1 返信

404件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

I have run AN4533demo on TWR-K60F120M which has a PK60FN1M0VLQ12(0N96B) on it, the swap command runs well, so I am wondering how you got MGSTAT0 error? is the firmware size aligned to 8 byte? have you also run the demo directly on your device? was the result same? Please kindly help to clarify.

Thanks for your patience!!

B.R

Kan

0 件の賞賛