From: jasmine@regolith.co.uk
To: Charles Manning <manningc2@actrix.gen.nz>
Cc: linux-mtd@lists.infradead.org
Subject: Re: nand flash driver
Date: Thu, 10 Jul 2003 14:05:40 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.53.0307101358200.32710@hex.linuxgrrls.org> (raw)
In-Reply-To: <20030708231846.7C10B4431@blood.actrix.co.nz>
On Wed, 9 Jul 2003, Charles Manning wrote:
> I think most people connect CLE and ALE to GPIO pins, but some application
> notes describe driving these via the address bus. you should then be able to
> drive the lines the way you want by accessing the corresponding addresses.
Most people running NAND flash on general-purpose designs use GPIO lines
to drive their ALE, CLE and to read the RNB line. Some of these designs
also use a GPIO to generate read and write strobes. This is a very simple
design to implement.
Some custom SoCs and logic-array-based implementations put all this logic
inside the chip, decoding ALE and CLE cycles to different addresses, so
that you write the address latch bytes to one address and the command
latch bytes to a different one. This is slightly neater, though can have
complications with interrupt latency (requirement to stretch read and
write cycles to some parts of the address map, etc.)
Some devices take all this stuff and put it inside a piece of logic that
manages a pipeline of bytes in and out of the NAND. Some SoCs do this,
and of course DiskOnChip does something like this, resolving NAND access
into cycles that look like conventional NOR or ROM cycles. This is, in
some ways, the easiest to implement, though it seems to have caused MTD
the most problems, though that is mostly because of M-Systems' intentional
obfuscation tactics.
-Jas.
next prev parent reply other threads:[~2003-07-10 13:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-07 2:33 nand flash driver gjx
2003-07-08 23:21 ` Charles Manning
2003-07-10 13:05 ` jasmine [this message]
2003-07-10 14:20 ` David Woodhouse
2003-07-10 15:12 ` jasmine
2003-07-10 15:32 ` David Woodhouse
2003-07-11 0:18 ` Thomas Gleixner
2003-07-11 7:33 ` Stephan Linke
2003-07-10 16:50 ` Russ Dill
2003-07-10 22:16 ` Charles Manning
2003-07-10 22:12 ` nand flash driver -> ALE etc Charles Manning
-- strict thread matches above, loose matches on Subject: below --
2009-08-05 19:40 Nand flash driver Spinelli, Claudio (Claudio)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.53.0307101358200.32710@hex.linuxgrrls.org \
--to=jasmine@regolith.co.uk \
--cc=linux-mtd@lists.infradead.org \
--cc=manningc2@actrix.gen.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox