This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Question about system bus
- To: "eCos" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Question about system bus
- From: "HuangQiang" <jameshq at liverpool dot ac dot uk>
- Date: Mon, 18 Jun 2001 17:31:02 +0100
Hi all:
I am doing system interface with the ARM E7T under eCos. I want to map
the external IO port to memory location 0x0210 0000. I have done it and when
I write a data to ext IO, I can generate the proper selection signal, but
when I read a data from the ext IO nothing happens. Could anybody tell me a
little about reading from the memory under eCos? Is the following code right
or not? Thanks a lot!
e.g.
reading from the ext IO
int k;
*EXTIOBANK0 = 1;
k = *EXTIOBANK0;
// now k is not the same as what I have written to ('1'). why ?
Thank you
huang