-
Path: news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit
0.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september
.org!.POSTED!not-for-mail
From: Pszemol <P...@P...com>
Newsgroups: pl.misc.elektronika
Subject: Re: programowanie i kasowanie dwu kostek flash na jednej magistrali
Date: Fri, 10 Feb 2017 14:19:28 -0600
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <o7l754$cn5$1@dont-email.me>
References: <o7ddno$b28$1@dont-email.me> <o7f8jr$e99$1@dont-email.me>
<o7fpd8$1ujp$1@gioia.aioe.org> <o7frjq$qa8$1@dont-email.me>
<589c92d3$0$15206$65785112@news.neostrada.pl>
<o7kk56$uoi$1@dont-email.me> <589deeb4$0$647$65785112@news.neostrada.pl>
<589df059$0$649$65785112@news.neostrada.pl>
<589e09cb$0$642$65785112@news.neostrada.pl>
<589e0f0b$0$5149$65785112@news.neostrada.pl>
<589e122c$0$641$65785112@news.neostrada.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
Injection-Info: mx02.eternal-september.org;
posting-host="9159b1ba893f0e3d2b5b477c68c4967e";
logging-data="13029";
mail-complaints-to="a...@e...org";
posting-account="U2FsdGVkX1+cosLFVsXgCROjbsxs2pbY"
User-Agent: NewsTap/5.2.2 (iPhone/iPod Touch)
Cancel-Lock: sha1:Sgy59mt2mpoBsuIa0sCup2MGwAE= sha1:wViDzPhrOcFnPQuSBOAAY70nIoE=
Xref: news-archive.icm.edu.pl pl.misc.elektronika:712978
[ ukryj nagłówki ]Piotr Dmochowski <i...@p...onet.pl> wrote:
> W dniu 2017-02-10 o 20:05, J.F. pisze:
>>
>> To nie port - to sama pamiec sie tak zachowuje.
>>
>> Trzeba jakos upchnac funkcje Flash w pinologie zwyklej pamieci
>> e/ep/rom/ram.
>>
> No i teraz już wszystko jasne, dzięki za objaśnienie.
> Przy takim rozwiązaniu sprzętowym faktycznie odczytanie dwukrotnie
> pamięci jest OK. Czego to się człowiek może nauczyć :)
Podobnie się zachowują inne kostki pamięci flash - w odróżnieniu od pamięci
RAM (sram, dram) pamięci flash i eeprom można kasować tylko całymi
sektorami (np po 64kbajty) a zapis może się odbywać tylko po wcześniejszym
"odblokowaniu" funkcji zapisu z użyciem wewnętrznego kontrolera w kostce
pamięci.
Jak chcesz więcej poczytać o tej pamięci to tu jest to dokladniej rozpisane
co który bit rejestru statusowego ma znaczyć:
Toggle Bit (DQ6)
The toggle bit can be used to identify whether the program/erase controller
has suc- cessfully completed its operation or if it has responded to an
erase suspend. The toggle bit is output on DQ6 when the status register is
read.
During PROGRAM and ERASE operations, DQ6 changes from 0 to 1 to 0,
and so forth, with successive bus READ operations at any address. After
successful completion of the operation, the memory returns to read
mode.
During erase suspend mode, DQ6 will output when addressing a cell
within a block be- ing erased. DQ6 will stop toggling when the
program/erase controller has suspended the ERASE operation.
The Data Toggle
Flowchart gives an example of how to use DQ6 and the toggle and al-
ternative toggle waveforms describe toggle bit timing.
Alternative Toggle Bit (DQ2)
The alternative toggle bit can be used to monitor the program/erase
controller during ERASE operations. It is output on DQ2 when the status
register is read.
During CHIP ERASE and BLOCK ERASE operations, DQ2 changes
from 0 to 1 to 0, and so forth, with successive bus READ operations from
addresses within the blocks being erased. A protected block is treated the
same as a block not being erased. After the oper- ation completes, the
memory returns to read mode.
During erase suspend, DQ2 changes from 0 to 1
to 0, and so forth, with successive bus READ operations from addresses
within the blocks being erased. Bus READ operations to addresses within
blocks not being erased will output the memory cell data as if in read
mode.
After an ERASE operation that causes DQ5 to be set, DQ2 can be used
to identify which block or blocks have caused the error. DQ2 changes from 0
to 1 to 0, and so forth, with successive bus READ operations from addresses
within blocks that have not erased cor- rectly. DQ2 does not change if the
addressed block has erased correctly.
https://www.micron.com/~/media/documents/products/da
ta-sheet/nor-flash/parallel/m29w/m29w640g.pdf
Najnowsze wątki z tej grupy
- "ogrodowa linia napowietrzna"
- jaki zasilacz laboratoryjny
- jaki zasilacz laboratoryjny
- Puszka w ziemię
- T-1000 was here
- Ściąganie hasła frezem
- Koszyk okrągły, walec 3x AA, na duże paluszki R6
- Brak bolca ochronnego ładowarki oznacza pożar
- AMS spalony szybkim zasilaczem USB
- stalowe bezpieczniki
- Wyświtlacz ramki cyfrowej
- bateria na żądanie
- pradnica krokowa
- Nieustający podziw...
- Coś dusi.
Najnowsze wątki
- 2025-02-05 Re: UK: Michał K. dalej czeka na rozprawę ekstradycyjną w areszcie [bo nie (jeszcze?) zebrał kaucji]
- 2025-02-04 ranking wyciszenia, głośność, hałas przy 130 km/h, na postoju, przy przyspieszaniu
- 2025-02-05 Warszawa => IT Recruiter <=
- 2025-02-05 Ostrów Wielkopolski => Area Sales Manager OZE <=
- 2025-02-05 Rzeszów => Spedytor Międzynarodowy <=
- 2025-02-05 Warszawa => IT Business Analyst <=
- 2025-02-05 Warszawa => Specjalista DevOps <=
- 2025-02-05 Łódź => NodeJS Developer <=
- 2025-02-05 Warszawa => QA Engineer (Quality Assurance) <=
- 2025-02-05 Gdańsk => Specjalista ds. Sprzedaży <=
- 2025-02-05 Warszawa => QA Engineer <=
- 2025-02-05 Warszawa => Programista Full Stack .Net <=
- 2025-02-05 Re: UK: Michał K. dalej czeka na rozprawę ekstradycyjną w areszcie [bo nie (jeszcze?) zebrał kaucji]
- 2025-02-04 podpisywanie umów z datą wsteczną
- 2025-02-04 Radio internetowe do starego Androida