AnsweredAssumed Answered

S12X - EEE - Not applying RAM changes to NVM?

Question asked by Sascha Pfengler on Mar 23, 2017
Latest reply on Mar 27, 2017 by Sascha Pfengler

Hi there!

 

I was reading this sentence in AN3490...

 

"If more data is written to the same EEE RAM location before previous data has been programmed to the
EEE NVM by the memory controller (because it was busy or the EEE is disabled), only the RAM contents
will be updated; the increment of the counter will remain valid from first data write to the EEE RAM."

 

...and was wondering if this meant, that changes in EEE RAM may not always be applied to D-Flash / EEE NVM.

 

As I understand this:

start

EEE-RAM content: 0xFFFF

EEE-NV content: 0xFFFF

 

write to EEE-RAM:

EEE-RAM content: 0x0000

EEE-NV content: 0xFFFF

 

-> Start of EEE-NV Write

EEE-RAM content: 0x0000

EEE-NV content: 0x????

 

-> While EEE-NV Write in progress: Change to EEE-RAM content (No Write Counter increment?)

EEE-RAM content: 0x00AA

EEE-NV content: 0x????

 

-> EEE-NV Write Operation finished (Write Counter decrement)

EEE-RAM content: 0x00AA

EEE-NV content: 0x0000

 

-> No new EEE-NV Write triggered automatically?

Outcomes