This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: External I/O access on Adder
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Sugeng Widodo <sugeng dot widodo at gmail dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 05 Mar 2005 04:56:16 -0700
- Subject: Re: [ECOS] External I/O access on Adder
- Organization: MLB Associates
- References: <dd3c70ee050304183844b77a75@mail.gmail.com>
On Sat, 2005-03-05 at 09:38 +0700, Sugeng Widodo wrote:
> 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.
What were your exact changes?
>
> 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 ?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss