Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #510213

Re: Hamming ECC

From Clive Arthur <cliveta@nowaytoday.co.uk>
Newsgroups sci.electronics.design
Subject Re: Hamming ECC
Date 2018-07-06 12:59 +0100
Organization A noiseless patient Spider
Message-ID <phnljo$q7f$1@dont-email.me> (permalink)
References <8oq%C.202594$mD.79637@fx31.iad>

Show all headers | View raw


On 05/07/2018 16:00, bitrex wrote:
> Do you use Hamming/Reed Solomon/etc. codes to check for data errors when 
> writing/reading e.g. large battery-backed SRAMs or Flash memory that's 
> are used for non-volatile storage of user data for significant periods 
> of time (couple weeks)? Or do you find single-bit errors in RAM reads to 
> be not much of an issue in practice?
> 
> I'm considering writing the external memory in pages of say 8 bytes with 
> 8 nibbles of Hamming code and 1 byte of parity bits for single-bit 
> correction 2 bit detection. In this application a single-bit error would 
> not be life-threatening or anything but significantly annoying for the 
> user, the data isn't intrinsically fault tolerant to some degree like 
> say image or audio data.

I used a NAND flash memory which had 2 'spare' bytes for every 64 
'normal' bytes in an embedded system.  I think this may be quite a 
common arrangement.  The uC had a built in CRC generator so it was easy 
to write a 16 bit CRC for every 64 data bytes.  As well as detecting 
errors, this allows you to correct 1 bit error, not a brilliant 
performance, but easy to do.


Cheers
-- 
Clive

Back to sci.electronics.design | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Hamming ECC bitrex <user@example.net> - 2018-07-05 11:00 -0400
  Re: Hamming ECC Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-07-06 09:31 +0100
  Re: Hamming ECC David Brown <david.brown@hesbynett.no> - 2018-07-06 11:05 +0200
    Re: Hamming ECC bitrex <user@example.net> - 2018-07-06 22:15 -0400
      Re: Hamming ECC gnuarm.deletethisbit@gmail.com - 2018-07-06 20:03 -0700
        Re: Hamming ECC bitrex <user@example.net> - 2018-07-06 23:41 -0400
          Re: Hamming ECC bitrex <user@example.net> - 2018-07-06 23:48 -0400
        Re: Hamming ECC bitrex <user@example.net> - 2018-07-07 00:17 -0400
          Re: Hamming ECC +++ATH0 <news@ringpiece.local> - 2018-07-11 20:47 -0700
            Re: Hamming ECC bitrex <user@example.net> - 2018-07-12 00:12 -0400
              Re: Hamming ECC Rob <nomail@example.com> - 2018-07-12 08:15 +0000
  Re: Hamming ECC Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-06 12:59 +0100

csiph-web