avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Atmel EIT


From: Hugo Villeneuve
Subject: Re: [avr-gcc-list] Atmel EIT
Date: Sat, 04 Jun 2005 17:09:18 -0400

On Sat, 04 Jun 2005 15:25:10 -0500
Jeff Kowing <address@hidden> wrote:

> 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."  

Yes, they commented the code that used interrupts, instead of removing it.

> 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?
Memory mode works also in 8-bit mode, I have been able to read the ID register 
both in I/O and memory modes.

        Hugo.
 
> 
> 
> 
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list




reply via email to

[Prev in Thread] Current Thread [Next in Thread]