From: "Jon Burgess" <Jon_Burgess@eur.3com.com>
To: "Stephen Mose Aaskov" <sma@2m.dk>
Cc: linux-mips@linux-mips.org
Subject: Re: MTD drivers and byte/word mode
Date: Tue, 3 Sep 2002 09:28:29 +0100 [thread overview]
Message-ID: <80256C29.002F1B7C.00@notesmta.eur.3com.com> (raw)
> It looks as if the adresses calculated by
> cfi_build_cmd_addr() is the double of what my FLASH
> chips are using.
> eg. the CFI query is written to 0xaa where my chip
> in word mode expects the query command to be written
> to 0x55
We have just such a setup working in our product with a 16 bit AMD flash using
the CFI diver.
The 0xAA address as far as the programmer is concerned looks wrong, but the
flash chip is expecting addresses of 16bit data which are shifted 1 address line
from the address of 8 bit data. On our board the generic 8/16 bit bus address
lines are connected to the 16 bit flash as:
Bus A0 -> Unused
Bus A1 -> Flash A0,
Bus A2 -> Flash A1
etc,
When the CPU accesses addres 0xAA the flash will see 0x55.
Jon
next reply other threads:[~2002-09-03 8:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-03 8:28 Jon Burgess [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-02 17:17 MTD drivers and byte/word mode Stephen Mose Aaskov
2002-09-02 17:17 ` Stephen Mose Aaskov
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=80256C29.002F1B7C.00@notesmta.eur.3com.com \
--to=jon_burgess@eur.3com.com \
--cc=linux-mips@linux-mips.org \
--cc=sma@2m.dk \
/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