[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Atmel EIT
From: |
Jeff Kowing |
Subject: |
Re: [avr-gcc-list] Atmel EIT |
Date: |
Sat, 04 Jun 2005 15:25:10 -0500 |
On Sat, 2005-06-04 at 09:56 -0400, Hugo Villeneuve wrote:
> > > I recently purchased the EIT (Embedded Internet
> > > Toolkit) from Atmel. I
> > > have modified the source code so that it compiles under
> > > avr-gcc. But I
> > > have problems accessing the CS8900A Ethernet Controller and I cannot
> > > read the ID register of that chip. Does anybody have experience with
> > > this board and avr-gcc?
> >
> > I recently had some experience of CS8900A with Hitachi SH3 processor. I
> > was only involved with the hardware bit, but I think the problem you are
> > having might not have anything to do with avr-gcc. Make sure the reset
> > is done properly and remember the Reset line of the chip is active high.
> > Then the next thing you might try is the timing for Write and Read.
> > There is a Technical Reference Manual and FAQ at Cirrus Logic web site
> > that could be helpful.
I was always a bit confused about the EIT CS8900A driver code. First,
it uses the interrupt and according to the 8-bit mode application note
for the CS8900A ( http://www.cirrus.com/en/pubs/appNote/an181.pdf ),
interrupts are not supported and "polled mode must be used."
Also, the EIT driver enables memory mode which also confused me - mainly
because I was under the impression that only I/O mode (access via the 8
16 bit I/O ports on the CS8900A) was available for 8 bit mode. But
apparently I am wrong about that?
(Possibly maybe we should move this discussion to avr-chat?)
Regards,
Jeff