AnsweredAssumed Answered

Difference between FlexNVM as "EEPROM" vs FlexRAM as EEPROM vs D-Flash

Question asked by gearhead1107 on Apr 10, 2018
Latest reply on Apr 12, 2018 by gearhead1107

I need to run the DEPART command so I can use the CSEc module on my S32K144, however I'm not sure of the best way to partition my device. I see that it's ideal you only do it once.. so no pressure


Essentially, I'd like to create a flag in non-volatile memory (whether it be flash or emulated EEPROM) for a simple "flag" to denote an update process has begun. It's not clear to me whether the best place for this is 

  • FlexNVM
  • FlexNVM emulating EEPROM
  • FlexRAM emulating EEPROM

Is the benefit of emulated EEPROM that one can write 1, 2, or 4 bytes at a time? Does this go for both FlexNVM and FlexRAM when they're used as EEPROM?


Is there any actual difference in endurance for any of these modes? Since this flag will be used for every update, I'd like to ensure it's not going to wear out after a bunch of updates.


Are there security access restrictions for any of these areas when using the CSEc module? Ideally, I would like to be able to easily read/ write these areas without an extensive process.


Thank you!