[ECOS] Problem while sending packages with the Davicom DM9000 Driver from Redboot

Stefan Rosinger a_jedi_night4u@gmx.at
Mon Dec 6 09:12:00 GMT 2004


Hi!

I use your Davicom DM9000 driver for eCos. For receiving it works really  
fine!
But when I want to transmit a package i get always a
	'NIC collision bug detected'

This is obviously a problem of the following routine in the poll()  
function:

      if (getreg(priv, DM_TRPAL) & 3) {
		// NIC bug detected. Need to reset.
		priv->reset_pending = 1;
		diag_printf("NIC collision bug detected!\n");
	    }

Can you explain me what I do wrong with sending my packages?.


Here a printout of a ping from redboot.
I can sniff the right data on the host, the received there without errors!

Ethernet send:
000047C4: FF FF FF FF FF FF 00 60  6E 00 01 07 08 06         
|.......`n.....  |
0000A2AC: 00 01 08 00 06 04 00 01  00 60 6E 00 01 07 C0 A8   
|.........`n.....|
0000A2BC: 01 14 01 FF 00 8A 00 8A  C0 A8 01 02               
|............    |
TRPAL: 2a
NIC collision bug detected!
Enter initialize NIC
Enter reset DM9000
Enter init PHY

Ethernet send:
000047C4: FF FF FF FF FF FF 00 60  6E 00 01 07 08 06         
|.......`n.....  |
0000A2AC: 00 01 08 00 06 04 00 01  00 60 6E 00 01 07 C0 A8   
|.........`n.....|
0000A2BC: 01 14 01 FF 00 8A 00 8A  C0 A8 01 02               
|............    |
TRPAL: 2a
NIC collision bug detected!
Enter initialize NIC
Enter reset DM9000
Enter init PHY


Thanks for your help

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list