[ECOS] Question about system bus
HuangQiang
jameshq@liverpool.ac.uk
Mon Jun 18 09:31:00 GMT 2001
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
More information about the Ecos-discuss
mailing list