KE02 EEPROM program error FLASH_ERR_MGSTAT0

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

KE02 EEPROM program error FLASH_ERR_MGSTAT0

513 Views
zoujiahao
Contributor II

Hello!

When I use the library function EEPROM_Program1Byte to write a byte to MKE02Z64VLD4's EEPROM, it can be successful at first two times after erase sectors, the third time has error FLASH_ERR_MGSTAT0. How to solve this problem?

0 Kudos
1 Reply

353 Views
zoujiahao
Contributor II

I found that it must erase the sector before using EEPROM_Program1Byte every time.

0 Kudos