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


Groups > sci.electronics.design > #510207

Re: Hamming ECC

From Martin Brown <'''newspam'''@nezumi.demon.co.uk>
Newsgroups sci.electronics.design
Subject Re: Hamming ECC
Date 2018-07-06 09:31 +0100
Organization Aioe.org NNTP Server
Message-ID <phn9dv$sd5$2@gioia.aioe.org> (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?

Provided that you are not in a hot environment full of alpha particles 
or cosmic rays I'd say the risk was vanishingly small. All bets are off 
if your bus timings are out of spec but apart from that they are rare.

> 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.

Parity error detection so that you know there is a problem with a 
particular byte might be good enough.

-- 
Regards,
Martin Brown

Back to sci.electronics.design | Previous | Next — Previous in thread | Next 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