This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question about system bus


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]