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
Avatar of d-glitch
d-glitch
Flag of United States of America image

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.
Avatar of naseeam
naseeam
Flag of United States of America image

ASKER

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
Avatar of naseeam
naseeam
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Hardware
Hardware

Hardware includes cell phones and other digital living devices, tablets, computers, servers, peripherals and components, printers and scanners, gaming consoles, networking hardware such as routers, hubs, switches and modems, storage devices and security equipment such as firewalls and other appliances.

69K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo