This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
External I/O access on Adder
- From: Sugeng Widodo <sugeng dot widodo at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sat, 5 Mar 2005 09:38:22 +0700
- Subject: [ECOS] External I/O access on Adder
- Reply-to: Sugeng Widodo <sugeng dot widodo at gmail dot com>
Hi All,
I have to access external chips with 13 bits address and 16 bits data.
I programmed OR4 and BR4 to use CS4 with address beetwen 0xFB000000 -
0xFB007FFF and set the area to NOCACHE area. To do that I edited file
Adder.S and hal_aux.c.
Lower half of the area is work fine , except I could not catch the CS4
with my logic analyzer ?? But the next half always make my apps crash
when I access it. Sometimes I could access it for 4 times and
sometimes it's crash when I accessed it on the first time.
Anybody have any clue on that ?
Thanks for all of your help.
Regards
--
Sugeng Widodo
blog : http://elangmaya.blogspot.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss