KE06 Flash programming from application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KE06 Flash programming from application

1,143 次查看
yuriydovgalyuk
Contributor III

Hi all

I have a problem with KE06 flash programming. Every time I use program function I get flags MGSTAT0 and MGSTAT1 set.

It is interesting because I can normally use an erase command - and I can see that the sector is erased as expected.

I am using KExx SDK drivers to access flash.

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

947 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Yuriy Dovgalyuk,

    Did you use FRDM-KEXX Driver Library Package? And didn't modify it?

   I have test KEXX_DRIVERS_V1.2.1_DEVD\kexx_drv_lib\build\iar\ke06\Flash_demo  directly on my FRDM-KE06 board, I didn't meet your MGSTAT0 and MGASTAT1 set problem:

pastedImage_1.png

  If you just use the KExx SDK drivers, before you do the flash operation, please disable the global interrupt, after the flash operation finished, you can enable it again.

Wish it helps you!

If you still have question, please let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复