All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Korpilla <okorpil@fh-landshut.de>
To: linux-mtd@lists.infradead.org
Subject: Interleaved flash chips - basic understanding question
Date: Mon, 26 Apr 2004 23:23:15 +0200	[thread overview]
Message-ID: <408D7DC3.3020002@fh-landshut.de> (raw)

Hello!

I have this 4MB of flash device - a Am29LV800BT on my board.

AMD lists the chips as this:

http://www.amd.com/us-en/FlashMemory/ProductInformation/0,,37_1447_1623_1468%5E1532,00.html

These devices are 16-Bit accessible, mine is 64-bit accessible.

My device is 4 MB = 32 M-Bit = 4 * 8 M-Bit => consists of 4 of these 
chips listed above, I guess.

And the bigger erase regions on the single devices are 64KB, and mine 
are 4*64 KB= 256 KB

If I understand this right, with a serial setup two flash chips simply 
have an address space double as long with the same access width.

My device is interleaved, so if I write a 64-bit date is it actually 
distributed like this - 16 Bit into 1st chip, 16 Bit into 2nd, ... ??? 
And if I erase the 1st region on my device, are then all the 4 first 
regions erased??

Am I understanding this right?

Am I required to access a 64-bit-width interleaved flash in 64-bit wide 
accesses or can I use "smaller" ones (8, 16, 32 bit)??


Now how to configure the device? How can I make it work, if the driver 
seems to be broken (cfi_cmdset_0002.c v 1.62, v 1.93 and v 1.98 don't 
seem to work)? (If I set width in octetts, as configurable in 2.4.25, to 
8 this doesn't even compile, but 4 does)

Thanks in advance,
Oliver Korpilla

                 reply	other threads:[~2004-04-26 21:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=408D7DC3.3020002@fh-landshut.de \
    --to=okorpil@fh-landshut.de \
    --cc=linux-mtd@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.