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


Groups > sci.electronics.design > #495838

Re: Robust configuration memory

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups sci.electronics.design
Subject Re: Robust configuration memory
Date 2018-02-18 20:19 +0200
Organization A noiseless patient Spider
Message-ID <p6cg3t$sqe$1@dont-email.me> (permalink)
References <p6bk20$888$1@node2.news.atman.pl> <2v6j8d95ant3i7c5nrkrecgfiuevs1qe1h@4ax.com>

Show all headers | View raw


On 18.2.18 17:36, krw@notreal.com wrote:
> On Sun, 18 Feb 2018 11:20:45 +0100, Piotr Wyderski
> <peter.pan@neverland.mil> wrote:
> 
>> Hello,
>>
>> I need a moderate amount of non-volatile memory (for FPGA
>> configuration purposes and the like), but can't tolerate
>> configuration errors due to charge leaks, cosmic radiation
>> or just the malfunction of the chip. I thought that something
>> like RAID5 imposed on memory chips/SD cards would be fine.
>> It would be extremely simple in an FPGA, but it creates
>> a chicken and egg problem: how can you read the controller's
>> configuration from flash if the flash itself might be corrupt.
>>
>> It could also be done easily in hardware, but would require
>> parallel-output chips, which are not particularly trendy nowadays
>> and the SPI decoding circuitry would be insanely complex with
>> simple gates.
> 
> It should be pretty simple with a CPLD.  You could also compare on a
> bit-by-bit basis, which shouldn't be too difficult, even limited to
> unit logic.
> 
> Put the redundancy in the FPGA.  If a bit of the configuration memory
> is in error, it's unlikely to be wrong in each of the redundant parts.
> 
> You could use the FPGA to verify the contents of the flash, after
> configuration but before (application) enable.
> 
> There are all sorts of possibilities but a lot depends on unspecified
> requirements.
> 
>> I presume I am not the first person to have such a need, so
>> what would you recommend me? It has to be autonomous only
>> for (early) reads, the write mode part can materialize later
>> within the FPGA. Any ideas?
> 
> Not enough information.
> 

Using a FPGA is going to a circular definition: The FPGA has
some kind of semi-permanent memory for the configutarion.

I see two possibilities:

  - Create the voter from discrete gates,
  - Use a processor to handle the redundancy, and get a
    problem of the processor code.

I once had a customer with an instrument with calibration data
inside an EEPROM. It had the habit of losing the calibration
occasionally, so in the next generation, a triple redundancy
calibration store was made in the software. During years of
use of hundreds of instruments, there was not a single case
of redundancy correction. It was proven that the problems with
the old generation were from flaky software.

-- 

-TV

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


Thread

Robust configuration memory Piotr Wyderski <peter.pan@neverland.mil> - 2018-02-18 11:20 +0100
  Re: Robust configuration memory whit3rd <whit3rd@gmail.com> - 2018-02-18 03:27 -0800
    Re: Robust configuration memory Piotr Wyderski <peter.pan@neverland.mil> - 2018-02-18 13:24 +0100
      Re: Robust configuration memory Chris Jones <lugnut808@spam.yahoo.com> - 2018-02-18 23:57 +1100
        Re: Robust configuration memory John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-18 18:36 -0800
          Re: Robust configuration memory krw@notreal.com - 2018-02-18 21:55 -0500
            Re: Robust configuration memory John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-18 22:09 -0800
          Re: Robust configuration memory bitrex <bitrex@de.lete.earthlink.net> - 2018-02-18 22:48 -0500
            Re: Robust configuration memory Piotr Wyderski <peter.pan@neverland.mil> - 2018-02-19 10:25 +0100
              Re: Robust configuration memory bitrex <bitrex@de.lete.earthlink.net> - 2018-02-19 09:19 -0500
                Re: Robust configuration memory bitrex <bitrex@de.lete.earthlink.net> - 2018-02-19 09:25 -0500
            Re: Robust configuration memory Rob <nomail@example.com> - 2018-02-19 14:20 +0000
              Re: Robust configuration memory bitrex <bitrex@de.lete.earthlink.net> - 2018-02-19 09:36 -0500
                Re: Robust configuration memory Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-02-19 09:12 -0800
                Re: Robust configuration memory bitrex <bitrex@de.lete.earthlink.net> - 2018-02-19 14:35 -0500
      Re: Robust configuration memory pcdhobbs@gmail.com - 2018-02-18 05:29 -0800
      Re: Robust configuration memory Jasen Betts <jasen@xnet.co.nz> - 2018-02-18 21:51 +0000
        Re: Robust configuration memory Piotr Wyderski <peter.pan@neverland.mil> - 2018-02-19 09:45 +0100
      Re: Robust configuration memory Dimitrij Klingbeil <nospam@no-address.com> - 2018-02-19 00:23 +0100
        Re: Robust configuration memory Piotr Wyderski <peter.pan@neverland.mil> - 2018-02-19 10:12 +0100
      Re: Robust configuration memory Robert Baer <robertbaer@localnet.com> - 2018-02-19 22:25 -0800
  Re: Robust configuration memory krw@notreal.com - 2018-02-18 10:36 -0500
    Re: Robust configuration memory Piotr Wyderski <peter.pan@neverland.mil> - 2018-02-18 16:46 +0100
      Re: Robust configuration memory krw@notreal.com - 2018-02-18 10:58 -0500
        Re: Robust configuration memory Piotr Wyderski <peter.pan@neverland.mil> - 2018-02-18 17:50 +0100
          Re: Robust configuration memory krw@notreal.com - 2018-02-18 18:15 -0500
    Re: Robust configuration memory Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-02-18 20:19 +0200
  Re: Robust configuration memory Robert Baer <robertbaer@localnet.com> - 2018-02-19 22:22 -0800
    Re: Robust configuration memory Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-02-20 10:23 +0200
    Re: Robust configuration memory krw@notreal.com - 2018-02-20 16:16 -0500
      Re: Robust configuration memory bill.sloman@ieee.org - 2018-02-20 18:46 -0800
      Re: Robust configuration memory Robert Baer <robertbaer@localnet.com> - 2018-02-20 20:41 -0800

csiph-web