netdemo and cs8900a problems
Chris Johns
chrisj at rtems.org
Fri May 26 22:22:01 UTC 2006
Denny.Bai wrote:
> show stats
> cs8900_stats
> Network Driver Stats for CS8900 :
> rx ready len - 10 rx loaded len - 0
> rx packets - 0 tx packets - 1
> rx bytes - 0 tx bytes - 42
> rx interrupts - 0 tx interrupts - 0
> rx dropped - 0 rx no mbuf - 0
> rx no custers - 0 rx oversize errors - 0
> rx crc errors - 0 rx runt errors - 0
> rx missed errors - 4 tx ok - 0
> tx collisions - 0 tx bid errors - 0
> tx wait for rdy4tx - 0 tx rdy4tx - 0
> tx underrun errors - 0 tx dropped - 0
> tx resends - 0 int swint req - 1
^^^^^
> int swint res - 0 int lockup - 166
^^^^^
> interrupts - 0
^^^^
The cs8900 interrupt is not being serviced by the processor. When you
see the last one "interrupts" going up you will have working interrupts.
Typically the problem is in the enabling (unmasking) at the processors
interrupt controller.
The rx task will test interrupts by setting the software interrupt bit
and wait for the response. No response is happening.
> 0.001 rx begin : 0x00000000
> 0.001 rx end : 0x00000000
> 0.001 rx begin : 0x00000000
> 0.001 rx end : 0x00000000
> 0.001 rx begin : 0x00000000
> 0.001 rx end : 0x00000000
> 0.001 rx begin : 0x00000000
> 0.001 rx end : 0x00000000
>
> .........................................................
> 0.001 rx end : 0x00000000
> 0.001 rx begin : 0x00000000
> 0.001 rx end : 0x00000000
> 0.001 rx begin : 0x00000000
> 0.001 rx end : 0x00000000
> 0.001 rx begin : 0x00000000
This is just the rx task waking up to perform the interrupt test.
Regards
Chris
More information about the users
mailing list