[En-Nut-Discussion] Defective Ethernut 1.3 Board
Michael Hellwig
farwest at gmx.de
Mon Mar 17 22:03:49 CET 2008
Hi ethernut users,
with a wrong wired addon-board, which I did not check thoroughly enough,
I damaged one of our ethernut 1.3 Boards (12V on Port B at least).
Basemon showed a stuck PIN 7 on Port B and the NIC didn't response to pings.
After replaceing the ATMega128 and setting some fusebits
the board works fine again - except the NIC still doesn't work.
I downloaded the testrtl10.zip from ethernut.de.
Since I wasn't able to compile the code myself with NutOS 4.2.1/avr-gcc
3.4.3 under Linux, I had to patch in an valid IP-Adress and could then
finally flash the hex-file.
Now I get the following result by executing testrtl:
101 RTL8019AS Test 1.0
104 Discovered
100 Write OK
100 Config OK
102 EEPROM emulation OK
101 Re-discovered
101 Stopped
101 Reset OK
100 Memory OK
121 Loopback 1 OK
122 Loopback 2 OK
423 Loopback 3 failed, TSR=53H
100 Dump 00H CR 22H
100 Dump 01H CLDA0 00H PAR0 00H PSTART 46H 9346CR 30H
100 Dump 02H CLDA1 46H PAR1 06H PSTOP 60H BPAGE 00H
100 Dump 03H BNRY 5FH PAR2 98H CONFIG0 0CH
100 Dump 04H TSR 53H PAR3 01H TPSR 40H CONFIG1 80H
100 Dump 05H NCR 00H PAR4 08H CONFIG2 20H
100 Dump 06H PAR5 91H CONFIG3 30H
100 Dump 07H ISR 42H CURR 46H TEST FFH
100 Dump 08H CRDA0 D9H MAR0 FFH CSNSAV 00H
100 Dump 09H CRDA1 45H MAR1 FFH
100 Dump 0AH ID0 50H MAR2 FFH
100 Dump 0BH ID1 70H MAR3 FFH INTR FEH
100 Dump 0CH RSR 21H MAR4 FFH RCR C0H
100 Dump 0DH CNTR0 00H MAR5 FFH TCR E6H CONFIG4 FFH
100 Dump 0EH CNTR1 00H MAR6 FFH DCR C0H
100 Dump 0FH CNTR2 00H MAR7 FFH IMR 80H
499 NIC ERROR
So two questions:
Can anyone tell from the dump what's wrong here, and if the RTL8019AS is
defecive, has anybody a few of it for sale?
I dumped all the ISA-NICs with that chip long ago.
bye
Michael
P.S. When will somebody publish "The (AVR) NutOS cookbook"?
More information about the En-Nut-Discussion
mailing list