KE06 Flash programming from application

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

KE06 Flash programming from application

1,141件の閲覧回数
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 返信

945件の閲覧回数
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 件の賞賛
返信