S12 EEPROM Power-OFF Protection 

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

S12 EEPROM Power-OFF Protection 

1,190 次查看
jinpengxiao
Contributor II

When the block write EEPROM, suddenly loses power, how to block the EEPROM data protection

标签 (1)
0 项奖励
回复
2 回复数

1,022 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

If you talk about standard EEPROM then there is no protection against power off while writing flash. The data are unknown and the process not clear. You should solve it by power bank (capacitor, battery) and writing process checking to ensure the E/W is finished.

(As an example I can mention how the MCU can be secured during programming of the application into flash. At the beginning usually mass erase is executed to refresh the flash - it also sets security byte to secure state. Then if power is lost before the security byte is reprogrammed the MCU is after next restart secured)

In the case of S12XE device and its EEEPROM the power off causes that only old data will remain in the flash. Ongoing process is cancelled.

Best regards,

Ladislav

0 项奖励
回复

1,022 次查看
jinpengxiao
Contributor II

thanks

          S12 EEPROM is D—Flash,Can I use this way that use security state? HCS128 (G128) Ongoing process will cancel? suddenly  power off

0 项奖励
回复