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

조회 수: 2 (최근 30일)
Arun Badigannavar
Arun Badigannavar 2016년 10월 3일
댓글: Walter Roberson 2016년 10월 3일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 10월 3일
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
Arun Badigannavar
Arun Badigannavar 2016년 10월 3일
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 2016년 10월 3일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Discontinuities에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by