KE06 Flash programming from application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KE06 Flash programming from application

607 Views
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.

Labels (1)
Tags (1)
0 Kudos
1 Reply

411 Views
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 Kudos