background image

Internal Loopback through the NIC: Matching Physical
Address

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 1 (NIC)

02H

00H

51H

02H

06H

TSR:

Before transmission of the loopback packet, Carrier
Sense and Collision inputs are monitored (as re-
quired by CSMA/CD protocol). Once the NIC gains
access to the network for transmission, the Carrier
Sense and Collision Detect inputs are ignored.
Thus, the Carrier Sense Lost and CD Heartbeat bits
are always set in the Transmit Status Register.

RSR:

CRC errors should be seen in both the Receive
Status Register and the Interrupt Status Register for
an address matching packet.

ISR:

Only the Packet Transmitted and Receive Error bits
in the Interrupt Status Register are set; the Packet
Received bit is set only if status is written to memo-
ry. In loopback this action does not occur, hence
the Packet Received bit remains 0 for all loopback
modes.

Internal Loopback through the NIC : Non-Matching
Physical Address

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 1 (NIC)

02H

00H

51H

01H

02H

TSR:

Before transmission of the loopback packet, Carrier
Sense and Collision inputs are monitored (as re-
quired by CSMA/CD protocol). Once the NIC gains
access to the network for transmission, the Carrier
Sense and Collision Detect inputs are ignored.
Thus, the Carrier Sense Lost and CD Heartbeat bits
are always set in the Transmit Status Register.

RSR:

CRC errors should not be detected for a non-
matching physical address.

ISR:

Only the Packet Transmitted bit in the Interrupt
Status Register is set. The packet received bit is set
only if status is written to memory. In loopback this
action does not occur, hence the Packet Received
bit remains 0 for all loopback modes.

7.0 COMMON LOOPBACK CONDITIONS AND
CORRESPONDING RESULTS

This section identifies some common variations in the loop-
back results from Section 6.0 which occur when the loop-
back tests or hardware are not configured properly.

7.1 Group I Loopback

If the coax cable is not terminated, the results will differ from
those listed in Section 6.1 as follows:

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 3 (CTI)

06H

1FH

0CH

02H

08H

If the coax cable is disconnected, the results will differ from
those listed in Section 6.1 as follows:

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 1 (NIC)

02H

1FH

40H

02H

00H

Mode 2 (SNI)

04H

1FH

40H

02H

00H

Mode 3 (CTI)

06H

1FH

00H

82H

00H

If the twisted pair cable is not connected and good link is
enabled, the results will differ from those listed in Section
6.1 as follows:

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 2 (SNI)

04H

1FH

51H

02H

02H

Mode 3 (TPI)

06H

1FH

51H

02H

02H

If the twisted pair cable is not connected, and good link is
disabled, the results do not differ from those listed in Sec-
tion 6.1.

If the packet has a non-matching physical address and pro-
miscuous physical mode is not chosen in the Receive Con-
figuration Register, the results will differ from those listed in
6.1 as follows:

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 1 (NIC)

02H

00H

51H

01H

02H

Mode 2 (SNI)

04H

00H

41H

01H

02H

Mode 3 (TPI or CTI)

06H

00H

01H

01H

02H

7.2 Group II Loopback

If the coax cable is not terminated, the results will differ from
those listed in Section 6.2 as follows:

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 3 (CTI)

07H

1FH

0CH

01H

08H

If the coax cable is disconnected, the results will differ from
those listed in Section 6.2 as follows:

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 1 (NIC)

03H

1FH

40H

01H

00H

Mode 2 (SNI)

05H

1FH

40H

01H

00H

Mode 3 (CTI)

07H

1FH

00H

81H

00H

If the twisted pair cable is not connected and good link is
enabled, the results will differ from those listed in Section
6.2 as follows:

Loopback Path

TCR

RCR

TSR

RSR

ISR

Mode 2 (SNI)

05H

1FH

51H

01H

02H

Mode 3 (TPI)

07H

1FH

51H

01H

02H

If the twisted pair cable is not connected, and good link is
disabled, the results do not differ from those listed in Sec-
tion 6.2.

7.3 Group III Loopback

If the coax cable is not terminated, the results do not differ
from those listed in Section 6.3.

If the coax cable is disconnected, the results will differ from
those listed in Section 6.3 as follows:

Packet Contents

TCR

RCR

TSR

RSR

ISR

Matching Physical

02H

00H

40H

01H

00H

Address

Non-Matching

02H

00H

40H

01H

00H

Physical Address

If the twisted pair cable is not connected, regardless of
good link pin’s state, the results do not differ from those
listed in Section 6.3.

7

Summary of Contents for DP8390

Page 1: ...that generates the tests Appendix A This document also discusses varia tions in loopback results caused by several common config uration errors Throughout this document the term NIC refers to the con...

Page 2: ...TL F 12034 2 FIGURE 2 Loopback Mode 2 Through the Encoder Decoder TL F 12034 3 FIGURE 3 Loopback Mode 3 Through the TPI or CTI 2...

Page 3: ...isters TBCR0 and TBCR1 are decremented 2 The NIC generates 56 bits of preamble followed by an 8 bit Start of Frame Delimiter 3 Data is transferred from the FIFO to the serializer 4 If the Inhibit CRC...

Page 4: ...Register to 21h followed by a wait state of at least 1 5 ms for the NIC to reset c Program the desired loopback mode into the Transmit Configuration Register 6 Loopback only operates with byte wide t...

Page 5: ...er to 21h If the NIC is currently receiving a packet it will wait for the reception of the current packet to complete before it will reset Thus a wait state of at least 1 5 ms is necessary to insure t...

Page 6: ...tus Register is set The packet received bit is set only if status is written to memory In loopback this action does not occur hence the Packet Received bit remains 0 for all loopback modes Internal Lo...

Page 7: ...SR ISR Mode 3 CTI 06H 1FH 0CH 02H 08H If the coax cable is disconnected the results will differ from those listed in Section 6 1 as follows Loopback Path TCR RCR TSR RSR ISR Mode 1 NIC 02H 1FH 40H 02H...

Page 8: ...cription in Section 6 1 When executed the FIFO and register contents are printed to an output file output txt unless specified differently Refer to AN 874 Writing Drivers for the DP8390 NIC Family of...

Page 9: ...TL F 12034 8 9...

Page 10: ...TL F 12034 9 10...

Page 11: ...TL F 12034 10 11...

Page 12: ...ional Semiconductor National Semiconductor National Semiconductores National Semiconductor Corporation GmbH Japan Ltd Hong Kong Ltd Do Brazil Ltda Australia Pty Ltd 2900 Semiconductor Drive Livry Garg...

Reviews: