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


Groups > sci.electronics.design > #495872

Re: Robust configuration memory

From Dimitrij Klingbeil <nospam@no-address.com>
Newsgroups sci.electronics.design
Subject Re: Robust configuration memory
Date 2018-02-19 00:23 +0100
Organization A noiseless patient Spider
Message-ID <p6d1to$vpc$1@dont-email.me> (permalink)
References <p6bk20$888$1@node2.news.atman.pl> <21f2f098-f9dc-4a2f-8c1e-e8788bedcbda@googlegroups.com> <p6br9t$f3p$1@node2.news.atman.pl>

Show all headers | View raw


On 18.02.2018 13:24, Piotr Wyderski wrote:
> whit3rd wrote:
>
>> Flash is cheap; either redundancy (three copies and a vote) or
>> checksums (two copies with two checksums) will warn of an error,
>> and you can mark a block 'bad' and use another.
>
> You're right, a single voting engine attached to three copies of the
> DOUT SPI line will do the job without the need to analyze the
> protocol. Problem solved, dead simple, thanks!
>
>> Reading isn't stressful on flash, it's only the erase/rewrite
>> cycles that you gotta worry about, eventually.  So, minimize
>> those.
>
> There will not be many write cycles, but the storage is leaky, so it
> will turn into all ones eventually. With the voting mechanism I can
> detect it early and re-program the chips with the correct(ed)
> content.

Make sure however that you have a way to disable the voting and access
the memory chips individually for writing. For one thing, writing to all
of them at the same time might be risky (in case a glitch happens), but
also SPI EEPROMs tend to have a status register bit that is polled
during writes to check for completion. With a voter still active, the
write would be indicated as finished as soon as 2 out of 3 chips finish
writing, with the third one at risk of getting into an undefined state.

Dimitrij

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