Avatar of naseeam
naseeamFlag for United States of America asked on

What are possible reasons for NVM data corruption during embedded controller shutdown?

Consider a typical autonomous embedded Steering Control Module.  This controller is mounted in a Commercial Truck.  It assists in keeping the vehicle in it's lane.  

During transition to sleep mode, real camera calibration data is written from RAM to NVM.  This data written to NVM is corrupted.  What are possible reasons that corrupt NVM data?

  1. Brown out condition
  2. Reset
  3. Power loss
  4. Any other reason that cause NVM corruption during controller transitioning to sleep mode.


How to find out if NVM data is corrupted?  After controller wakes up, does it calculate checksum of real calibration values in the NVM and if calculated checksum doesn't match checksum stored in NVM, it is concluded that NVM is corrupted?



Automotive* Physics* Electronics* electrical engineering* Electronics Engineering

Avatar of undefined
Last Comment
naseeam

8/22/2022 - Mon
d-glitch

Where does these questions come from?
  • Why do think there is such a thing as a typical autonomous embedded Steering Control Module?  
  • I think we are still several years away from a generic solution or an industry standard.
  • And why do you assume that a typical Steering Module will use RAM and NVM and be allowed to take naps?
  • You need at least a detailed block diagram of the proposed module, hardware and software, before you can ask practical questions about failure modes.
ASKER
naseeam

Please allow me to restate the question.  Consider a typical embedded Electronic Control Unit(ECU).  
During transition to sleep mode, data is written from RAM to NVM.  This data written to NVM is corrupted.  What are possible reasons that corrupt NVM data?
  1. Brown out condition
  2. Reset
  3. Power loss
  4. Any other reason that cause NVM corruption during controller transitioning to sleep mode.

How to find out if NVM data is corrupted?  After controller wakes up, does it calculate checksum of NVM data and if calculated checksum doesn't match checksum stored in the NVM, it is concluded that NVM is corrupted?
ASKER CERTIFIED SOLUTION
naseeam

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes