I wanna use the EEPROM memory protection function

cancel
Showing results for 
Search instead for 
Did you mean: 

I wanna use the EEPROM memory protection function

129 Views
dong-won
Contributor I

Hello!

I use 'S9S12GN48F0CLF' and want to use the EEPROM memory protection function.

Relative contents are in page.886~ of "MC9S12G Family Reference Manual and Data Sheet Rev.1.27"

I set  bit7 of 'EEPROT' before writing to the EEPROM, and clear it after writing.

There was no problem when testing in the debug environment, but when it is not, the data could not be stored in the EEPROM.

Am I using this function properly?

Sorry for my bad english..

I look forward to your prompt reply.

0 Kudos
1 Reply

88 Views
dong-won
Contributor I

oh, sorry...the answer is in the datasheet....

0 Kudos