how to find the corrupted data at Non volatile memory(NVM) in simulink?

9 vues (au cours des 30 derniers jours)
Arun Badigannavar
Arun Badigannavar le 3 Oct 2016
I haev block for NVM, uint16 is the size, presently I am limiting it using Saturation block, How to get,if the data is corrupted in that block?

Réponses (1)

Walter Roberson
Walter Roberson le 3 Oct 2016
For something like that you would normally use at least an error detection code (such as a CRC), and possibly an error correction code; http://www.springer.com/gp/book/9781402083907
  2 commentaires
Arun Badigannavar
Arun Badigannavar le 3 Oct 2016
Can I use Low Limit and high limiter(for uint16) and if data goes less/beyond that, Can I say that, Data is corrupted?
Walter Roberson
Walter Roberson le 3 Oct 2016
No. For NVRAM, corrupted data is data for which the write to NVRAM stored a different value that was requested to write, together with data which reads back from the NVRAM differently than what was previous written to that location. If you write a saturated value and the NVRAM reads back the saturated value when you eventually ask what is there, then the NVRAM is not corrupted.
An example of "corrupted data" is data written to a magnetic stripe card, when you bring the card too close to a strong magnetic field: it no longer has the original data stored in it.
Most NVRAM technologies have a (fairly high) rated number of read cycles, and a (much) lower rated number of write cycles, before the NVRAM or the stored data starts to wear out. See page 3-14 at http://www.semicon.panasonic.co.jp/en/aboutus/pdf/t04007be-3.pdf for some of the causes.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by