S12 EEPROM Power-OFF Protection 

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

S12 EEPROM Power-OFF Protection 

1,187件の閲覧回数
jinpengxiao
Contributor II

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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

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