applet.memory.onfi: implement up to 4 CE#, and add...
by whitequark 6 years 2 months
applet.memory.onfi: implement up to 4 CE#, and add some docs.
87bea67c
applet.memory.onfi: remove debugging code.
by whitequark 6 years 2 months
23f5abe9
applet.memory.onfi: allow reading data and spare i...
by whitequark 6 years 2 months
applet.memory.onfi: allow reading data and spare into one file.

This could be used e.g. with Flash Extractor.
7bfb6411
applet.memory.onfi: print ID signature.
by whitequark 6 years 2 months
applet.memory.onfi: print ID signature.

This could be used e.g. with Flash Extractor.
5e4362ff
applet.memory.onfi: parse and use ONFI parameter p...
by whitequark 6 years 2 months
applet.memory.onfi: parse and use ONFI parameter page.
bdb299f9
protocol.onfi: new protocol.
by whitequark 6 years 2 months
aaa0c07b
applet.memory.onfi: increase wait states to 3.
by whitequark 6 years 2 months
applet.memory.onfi: increase wait states to 3.

This is a band-aid at most; we really need to rewrite this part of
the applet properly. However, without this band-aid, currently
not even the ONFI parameter page can be read reliably.
431cada6
support.bits: fix misleading error message.
by whitequark 6 years 2 months
c733acea
applet.memory.onfi: mark as preview-quality again.
by whitequark 6 years 2 months
applet.memory.onfi: mark as preview-quality again.

The applet works decently enough, but the parallel bus should really
use IOB registers. It is not completely clear but this might be
the cause of read errors that manifest as single bit flips.

The reason I suspect these errors aren't inherent to the memory
itself is because they seem to correlate with the wire length in
my wiring harness. See #116 for details.

In principle, these single bit flips aren't too bad as the flash is
supposed to be read with ECC anyway, but we don't implement any ECC,
and moreover I don't feel comfortable signing off on an applet with
known data corruption issues. (It'd be much worse if the bit flip
happened in the command or address phase, too.)

Also, this applet misses ONFI signature readout (since I can't find
any ONFI-compliant flash) and/or some other way to detect page size
(yet to be discovered), which is a serious usability impediment.
Though it's less bad than the bit flips.
c5816569
applet.memory.onfi: elide hex dumps from logs.
by whitequark 6 years 2 months
applet.memory.onfi: elide hex dumps from logs.

Improves throughput by avoiding converting to hex the data that will
never get actually shown, and makes logs more readable.
42cb99d9
Report a bug