From: Jay Foster <jay@systech.com>
To: "'ecos-discuss@ecos.sourceware.org'"
<ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] Flash Driver Read/Write Alignment Question
Date: Fri, 09 Jun 2006 17:10:00 -0000 [thread overview]
Message-ID: <74C9525D67A5FF4791614FDB06593BB1028626@mail.systech.com> (raw)
I am puzzling over how the eCos flash drivers are supposed to work when
using 16-bit wide flash devices. I'm using an ARM architecture (ARM7TDMI,
ARM940T), and the AMD AM29LV160 flash device connected in the 16-bit wide
mode (CYGNUM_FLASH_WIDTH=16).
Looking at the flash driver code, this defines the flash_data_t as a 16-bit
type. This results in all accesses to the flash device to be performed as
16-bit reads/writes.
The flash driver defines some special addresses (FLASH_Setup_Addr1,
FLASH_Setup_Addr2, etc.). At least one of these will be defined as an odd
address. This will result in an unaligned transfer, causing a DATA ABORT
exception. What am I missing here?
Jay
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2006-06-09 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-09 17:10 Jay Foster [this message]
2006-06-09 18:02 ` Gary Thomas
2006-06-09 18:47 Jay Foster
2006-06-09 19:05 ` Gary Thomas
2006-06-09 20:46 Jay Foster
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=74C9525D67A5FF4791614FDB06593BB1028626@mail.systech.com \
--to=jay@systech.com \
--cc=ecos-discuss@ecos.sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).