intel. 82586 IEEE 802.3 ETHERNET LAN COPROCESSOR m Performs Complete CSMA/CD Medium a Access Control Functions Independently of CPU High-Level Command Interface mw Supports Established and Emerging LAN Standards a IEEE 802.3/Ethernet (10BASE5) IEEE 802.3/Cheapernet (10BASE2) IEEE 802.3/StarLAN (1BASE5) Proposed 10BASE-T Proposed 10BASE-F Proprietary CSMA/CD Networks up to 10 Mb/s m On-Chip Memory Management Automatic Buffer Chaining Buffer Reclaim After Receipt of Bad Frames Save Bad Frames, Optionally wm Interfaces to 8-Bit and 16-Bit Microprocessors m 48-Pin DIP and 68-Pin PLCC (see Intel Packaging Document, Order Number: 231369) Supports Minimum Component Systems Shared Bus Configuration Interface to 80186 and 80188 Microprocessors Without Glue Supports High-Performance Systems Bus Master, with On-Chip DMA 5-MB/s Bus Bandwidth Compatible with Dual-Port Memory Back-to-Back Frame Reception at 10 Mb/s Network Management CRC Error Tally Alignment Error Tally Location of Cable Faults Self-Test Diagnostics Internal Loopback External Loopback Internal Register Dump Backoff Timer Check SYSTEM INTERFACE oS > COMMAND UNIT MICROINSTRUCTION ROM pus system ciock| 'NTERFACE = ANO CONTROL SIGNALS e/) f RECEIVE . OMA UNIT CONTROL (4 CHANNELS) MOST SIGNIFICANT ADDRESS (Azy - Aig) cy MULTIPLEKED ADDRESS AND DATA OATA INTERFACE UNIT SERIAL INTERFACE. RECEIVE 8 cor a FIFO CZ RECEIVER cRS (16 BYTES) ro Axo TRANSMIT a > 1x0 I TRANSMITTER (18 BYTES) wa ae 231246-1 Figure 1. 82586 Functional Block Diagram *IBM is a trademark of International Business Machines Corporation. 1-1 November 1991 Order Number: 231246-007intel. 82586 azo 1 Vec arose (12 a2i awe U3 a22 (RD) a7de az. (WA) awe 5 ane aois (16 HOLD ani 7 HLDA aon 8 3 woh abt (1s $5 (DER) aot | READY (ALE) ante : wT Vsg. ( AADY/SROY aos G Voc ave cA aor (J RESET ave C man AX aos G CLK apa crs aos cbt ap2 J ors ani qj ars apo (1 TKO aye TRE Vss q Axo 231246-2 NOTE: The symbols in parentheses correspond to minimum mode. Plastic Leaded Chip Carrier ma = on aoa i 1 g22G28b Pee sk SkEBE onoo noo ooo oooon neq] NC aps NC aos clk ap7 MN/MX ADs RESET 09 CA Vss Voc Vss N82586 Vec Vs 681 PLCC Voc Vss (TOP viEW) Vee p10 ARDY/SRDY INT READY(ALE) ADI S0(DEN) aD12 J 51(DT/R) ani3 Cy Nc neq I NC cos se w a wa w a on ~ & a20gs cos co OE nn cohen an ow az NS a a a ~~ LOA CAS non @ ny iw a seernreRaage x e | a PIN NO. 1 MARK: 755 %<=4 > SIRE 3S << o x O A ol ~~ Nn < 02 iL aL LINK OFFSET 04 : Fro LIM : evte CNT : 06 XT | INT + + / * , * silat] "TEM | de | toomeen | Be [atoy INTERFRAME SPACING : Bor ACR : uN palo 0A I. 7a 1. 4 i 1 RETRY NUM SLT TM (H)} SLOT TIME (L) oc cot tn crs +t pap a [nsa ero a | ac [ens 0c sACc 1 , src 1 L STF 16 INS | CRS] QRZ | DIS MIN FRM LEN 10 231246-13 Figure 13. The CONFIGURE Command Block FIFO-LIM (Bits 8B-11)} Value of FIFO 1 e Address and Length Threshold. Fields are part of the Transmit/Receive data Byte 8-9: buffers, including SRDY/ARDY | (Bit 6) Source Address (which 0 e SRDY/ARDY pin is not inserted by the operates as ARDY 82566). (internal PREAN- (Bits e Preamble Length synchronization). LEN 12-13) including Beginning of 1 SRDY/ARDY pin Frame indicator: operates as SRDY 00 - 2 bytes (external 01 - 4 bytes synchronization). 10 - 8 bytes SAV-BF (Bit 7) 11 - 16 bytes 0 Received bad INT-LPBCK | (Bit 14) Internal Loopback fr ames are not saved EXT-LPBCK | (Bit 15) External Loopback. in memory. NOTE: Bits 14 and 15 1 Received bad configured to 1, cause frames are saved in Internal Loopback. memory. ADD-LEN _ | (Bits 8-10)| Number of address Byte 10-11: byes. NOTE: 7 is LIN-PRIO | (Bits O-2)| Linear Priority interpreted as 0. ACR (Bits 4-6)| Accelerated Contention AL-LOC (Bit 11) Resolution (Exponential 0 Address and Length Priority) Fields separated BOF-MET _ | (Bit 7) Exponential Backoff from data and Method associated with 0 - IEEE 802.3/Ethernet Transmit Command Block or Receive Frame Descriptor. For transmitted Frame, Source Address is inserted by the 82586. 1 - Alternate Methodintel. 82586 INTER (Bits 8-15) | Number indicating CDOTF (Bits Collision Detect FRAME the Interframe 12-14 Filter in Bit Times SPACING Spacing in TxC CDT-SRC | (Bit 15) * Collision Detect period units. Source Byte 12-13: 9 * Externat 1 Internal SLOT- (Bits 0-7) | Slot Time Number, TIME (L) Low Byte Byte 16: SLT-TM (H) | (Bits 8-10) | Slot Time Number, MIN-FRM- | (Bits 0-7) | Minimum Number of High Bits Bytes in a Frame RETRY- (Bits Maximum Number of NUM 12-15) Transmission Retries on Collisions CONFIGURATION DEFAULTS Byte 14-15: . : The default values of the configuration parameters PRM (Bit 0) Promiscuous Mode are compatible with the IEEE 802.3/Ethernet Stan- BC-DIS (Bit 1) Broadcast Disable dards. RESET configures the 82586 according to MANCH/ (Bit 2) e Manchester or NRZ the defaults shown in Table 2. NRZ Encoding/Decoding 0 eNRZ Table 2. 82586 Default Values 1 * Manchester Preamble Length (Bytes) = 8 TONO-CRS | (Bit 3) Transmit on No Address Length (Bytes) = 6 0 camer Sense . Broadcast Disable = 0) * Cease Iransmission CRC-16/CRC-32 = 0 nore Foes Inactive No CRC insertion = 0 Transmission Bitstuffing/ EOC = 0 1 Continue Padding * 0 Transmission Even if Min-Frame-Length (Bytes) = 64 no Carrier Sense Interframe Spacing (Bits) = 96 NCRC-INS | (Bit 4) * No CRC insertion Slot Time (Bits) = 512 CRC-16 (Bit 5) CRC Type: Number of Retries = 15 0 32 bit Autodin Ii CRC Linear Priority = 0 Polynomial Accelerated Contention Resolution = 0 1 16 bit CCITT CRC Exponential Backoff Method = 0 Polynomial Manchester/NRZ = 0 BT-STF (Bit 6) Bitstuffing: Internal CRS = 0 0 End of Carrier Mode CRS Filter = 0 (Ethernet) Internal CDT = 0 1 HDLC like Bitstuffing CDT Filter = 0 Mode Transmit On No CRS = 0 PAD (Bit 7) Padding FIFO THRESHOLD = 8 0 * No Padding SRDY/ARDY = i) 1 * Perform Padding by Save Bad Frame = 0 Transmitting Flags Address/Length Location = 0 S Remainder of INT Loopback = 0 or EXT Loopback = 0 CRSF (Bits 8-9) { carer Sense Filter Promiscuous Mode _ 0 CRS-SRC | (Bit 11) Carrier Sense Source 0 @ External 1 e Internal. intel. 82586 15 ODD BYTE EVENBYTE 0 0 c | B]oK] a ZEROS (STATUS) i nun 4 : 2 a L 1. LINK OFFSET 4 rg FF MC-CNT 6 1 MC LIST 2ND BYTE \ 1ST BYTE ' McD ' NTH BYTE ADDITIONAL MC-IDS 231246-14 Figure 14. The MC-SETUP Command Block MC-SETUP This command sets up the 82586 with a set of Multi- cast Addresses. Subsequently, incoming frames with Destination Addresses from this set are accept- ed. - The MC-SETUP command includes the following fields: STATUS word (written by 82586): Cc (Bit 15) # Command Completed B (Bit 14) Busy Executing Command OK (Bit 13) e Error Free Completion A (Bit 12) Command Aborted COMMAND word: EL (Bit 15) End of Command List Ss (Bit 14) Suspend After Completion I (Bit 13) interrupt After Completion CMD | (Bits0-2) | MC-SETUP = 3 LINK OFFSET: Address of next Command Block MC-CNT: A 14-bit field indicating the number of bytes in the MC-LIST field. MC-CNT is truncated to the nearest multiple of Address Length (in bytes). Issuing a MC-SETUP command with MC-CNT=0 disables reception of any incoming frame with a Mul- ticast Address. MC-LIST: A list of Multicast Addresses to be accept- ed by the 82586. Note that the most significant byte of an address is followed immediately by the least significant byte of the next address. Note also that the least significant bit of each Multicast Address in the set must be a one. The Transmit-Byte-Machine maintains a 64-bit HASH table used for checking Multicast Addresses during reception. An incoming frame is accepted if it has a Destination Address whose least significant bit is a one, and af- ter hashing points to a bit in the HASH table whose value is one. The hash function is selecting bits 2 to 7 of the CRC register. RESET causes the HASH ta- ble to become all zeros. After the Transmit-Byte-Machine reads a MC-SET- UP command from TX-FIFO, it clears the HASH ta- ble and reads the bytes in groups whose length is determined by the ADDRESS fength. Each group is hashed using CRC logic and the bit in the HASH table to which bits 2-7 of the CRC register point is set to one. A group that is not complete has no ef- fect on the HASH table. Transmit-Byte-Machine noti- fies CU after completion.intel. 82586 15 OOD BYTE EVENBYTE 0 T T T c | 8] oxt a o | sw | so | ss } s7 | ss] ss] o MAX COLL A. 4. 9 t t (STATUS) eafls |i EEE LEE SEZ CMD = 4 2 < A 1 (COMMAND) LINK OFFSET NEXT BD OFFSET : 2ND BYTE 1 1ST BYTE mc |e l DESTINATION ADDRESS A 4 NTH BYTE ' c LENGTH FIELD E 291246-15 Figure 15. The Transmit Command Block TRANSMIT s | (Bit) * Heart Beat, indicates that or during tnterframe we, aresmi command causes qransmission Spacing period after the (and if necessary retransmission) of a frame. previous transmission, a : on . pulse was detected on TRANSMIT CB includes the following fields: the Collision Detect pin. $5 (Bit 5) Transmission attempt STATUS word (written by 82586): stopped due to number of ; collisions exceeding the Cc (Bit 15) Command Completed maximum number of B (Bit 14) Busy Executing retries. Command MAX- | (Bits 3-0) | Number of Collisions OK (Bit 13) Error Free Completion COLL experienced by this A (Bit 12) Command Aborted frame. S5 = 1 and MAX- $10 (Bit 10) No Carrier Sense signal COLL = 0 indicates that during transmission there were 16 collisions. (between beginning of . Destination Address and COMMAND word: end of Frame Check EL (Bit 15) End of Command List Sequence). Ss (Bit 14) Suspend After S$9 (Bit 9) Transmission Completion unsuccessful (stopped) | (Bit 13) Interrupt After due to loss of Clear-to- Completion Send signal. CMD | (Bits0-2) | TRANSMIT = 4 $8 (Bit 8) Transmission successful (stopped due to DM ene ) LINK OFFSET: Address of next Command Block i.e. data not lied (e. cata cyte for TBD OFFSET: Address of list of buffers holding the transmission). information field. TBD-OFFSET = OFFFFH indi- $7 (Bit 7) Transmission had to cates that there is no Information field. Defer to traffic on the link. DESTINATION ADDRESS: Destination Address of the frame. LENGTH FIELD: Length field of the frame.intel. 82586 STATUS word: EOF @ Indicates that this is the Buffer Descriptor of the last buffer of this frames Information Field. Actual number of data bytes in buffer (can be ACT- | (Bits 0-13) COUNT even or odd). NEXT BD OFFSET: points to next Buffer Descriptor in list. If EOF is set, this field is meaningless. BUFFER ADDRESS: 24-bit absolute address of buffer. TIME DOMAIN REFLECTOMETER - TDR This command performs a Time Domain Reflectom- eter test on the serial link. By performing the com- mand, the user is able to identify shorts or opens and their location. Along with transmission of All Ones, the 82586 triggers an internal timer. The tim- er measures the time elapsed from transmission start until echo is obtained. Echo is indicated by Collision Detect going active or Carrier Sense signal drop. TDR command includes the following fields: STATUS word (written by 82586): c (Bit 15) * Command Completed B (Bit 14) * Busy Executing Command OK (Bit 13) Error Free Completion COMMAND word: EL (Bit 15) End of Command List $s (Bit 14) e Suspend After Completion lL (Bit 13) Interrupt After Completion CMD | (Bits0-2) | e TDR = 5 1 ODO BYTE EVEN BYTE 0 T T T T T T T T T T v EOF G ) ACT COUNT 0 L i i i. 1 i aL. 1 i i i i (STATUS) NEXT BO OFFSET 2 BUFFER ADDRESS a4 LALLA . 231246-16 Figure 16. The Transmit Buffer Description 18 ODD BYTE EVEN BYTE 0 c 8 OK A ZEROS 0 (STATUS) ' qv $s cCMD-=5 2 WLLL" come LINK OFFSET 4 wt [sar || SY re 231246-17 Figure 17. The TOR Command Blockintel. 82586 LINK OFFSET: Address of next Command Block RESULT word: LNK-OK _ |(Bit 15) @ No Link Problem Identified e Transceiver Cable Problem identified (valid only in the case of a Transceiver that does not return Carrier Sense during transmission). Open on the link identified (valid only in the case of a Transceiver that returns Carrier Sense during transmission). Short on the link identified (valid only in the case of a Transceiver that returns Carrier Sense during transmission). (Bits 0-10)| Specifying the distance to a problem on the link (if one exists) in transmit clock cycles. XCVR-PRB|(Bit 14) ET-OPN = |(Bit 13) ET-SRT (Bit 12) TIME DUMP This command causes the contents of over a hun- dred bytes of internal registers to be placed in mem- ory. It is supplied as a self diagnostic tool, as well as to supply registers of interest to the user. DUMP command includes the following fields: STATUS word (written by 82586): Cc (Bit 15) Command Completed B (Bit 14) Busy Executing Command OK (Bit 13) Error Free Completion COMMAND word: EL (Bit 15) End of Command List Ss (Bit 14) Suspend After Completion I (Bit 13) Interrupt After Completion CMD | (Bits 0-2) | e DUMP = 6 LINK OFFSET: Address of next Command Block BUFFER OFFSET: This word specifies the offset portion of the memory address which points to the top of the buffer allocated for the dumped registers contents. The length of the buffer is 170 bytes. DUMP AREA FORMAT Figure 18 shows the format of the DUMP area. The fields are as follows: Bytes 00H to OAH: These bytes correspond to the 82586 CONFIGURE command field. Bytes OCH to 11H: The Individual Address Register content. ARO is the Individual Address least signifi- cant byte. . Bytes 12H to 13H: Status word of last command block (only bits 0-13). 15 0 c B | OKI A ZEROS 0 (STATUS) EZ so <4 EL 8 1 EE woes , 7] 1 l (COMMAND) LINK OFFSET 4 BUFFER OFFSET 6 231246-18 Figure 18. The DUMP Command Block 1-21intel. 82586 Bytes 14H to 17H: Content of the Transmit CRC generator. TXCRCRO is the least significant byte. The contents are dependent on the activity before the DUMP command: After RESET - All Ones. After successful transmission - All Zeros. After MC-SETUP command - Generated CRC value of the last MC address, on MC-LIST. After unsuccessful transmission, depends on where it stopped. NOTE: For 16-bit CRC only TXCRCRO and TXCRCR1 are valid. $$ 14013:12:1710 9 6 7 6 $$ 4 3921 O ol o}olo] oo v tistrdofos INTERFRAME SPACING 1] IN oe 1 ferry T SLOT TIME (LOW) 08 in| S47} 00 MIN FRM LEN oA Ian oc 2 0E AR 4 10 olgjolo 6] COLL NUM 12 TXCACR 1 TXCACRO 4 TXCACA 3 TXCRCA2 16 AXCACR 1 RAXCACRO 18 AXCRCA 3 RXCRCR 2 1A TEMPR 1 TEMPRO 1c TEMPR 3 TEMPR 2 1E TEMPR 5S TEMPR 4 20 oy - se 22 HASHA 1 HASHR 3 MASHR 0 24 HASHR 2 26 HASHR 4G 28 HASHR 5 HASHR 7 tar 2c ryt ze HASHR 6 2a a 3x oyoyo 3E NXT AB SIZE 40 231246-19 1S 401312 11 10 8 8 7 6 5 4 3 2 1 6 NXT RB ADA (HIGH) NXT RB ADR (LOW) CUR RB SIZE LA ABO ADR NXT ABD ADR CUR ROO ADA CUR AB EBC NXT FO ADR CUR FO ADR TEMPORARY NXT TA CNT BUF ADR NXT TB ADA NXT TBO ADR LATBO ADR Dum cw CODE 9101 NXT CB ADR cB SCB AOR o ojo ojo o}o ololo BUF ADA PTR (HIGH) BUF ADA PRT (LOW) ACV OMA BC + BUF aDRA+H o,oj}o ACV OMA ADR H RCV DMA AORL Gea] oajo 9 a a 0 0 o o o o 0 58 Sa sc SE 60 $2 66 68 6A 6c 6E 70 72 4 16 7a TA 7 80 82 84 86 88 oA 3c 9 ao a2 aa as aes 231246-20 Figure 19. The DUMP Area 1-22intel. 82586 Bytes 18H to 1BH: Contents of Receive CRC Checker. RXCRCRO is the feast significant byte. The contents are dependent on the activity per- formed before the DUMP command: After RESET - All Ones. After good frame reception 1. For CRC-CCITT - OIDOFH 2. For CRC-Autodin-ll - C704DD7BH After Bad Frame reception - corresponds to the re- ceived information. After reception attempt, i.e. unsuccessful check for address match, corresponds to the CRC performed on the frame address. NOTE: Any frame on the serial link modifies this register contents. Bytes 1CH to 21H: Temporary Registers. Bytes 22H to 23H: Receive Status Register. Bits 6, 7, 8, 10, 11 and 13 assume the same meaning as corresponding bits in the Receive Frame Descriptor Status field. Bytes 24H to 2BH: HASH TABLE. Bytes 2CH to 2DH: Status bits of the last tine TDR command that was performed. NXT-RB-SIZE: Let N be the last buffer of the last received frame, then NXT-RB-SIZE is the number of bytes of available in the N + 1 buffer. EL - The EL bit of the Receive Buffer Descriptor. NXT-RB-ADR: Let N be the last Receive Buffer used, then NXT-RB-ADR is the BUFFER-ADDRESS field in the N + 1 Receive-Buffer Descriptor, i.e. the pointer to the N + 1 Receive Buffer. CUR-RB-SIZE: The number of bytes in the jast buft- er of the last received frame. EL - The EL bit of the last buffer in the last received frame. LA-RBD-ADR: Look Ahead Buffer Descriptor, i.e. the pointer to N + 2 Receiver Buffer Descriptor. NXT-RBD-ADR: Next Receive Buffer Descriptor Ad- dress. Similar to LA-RBD-ADR but points to N + 1 Receive Buffer Descriptor. CUR-RBD-ADR: Current Receive Buffer Descriptor Address. Similar to LA-RBD-ADR, but point to Nth Receive Buffer Descriptor. 1-23 CUR-RB-EBC: Current Receive Buffer Empty Byte Count Let N be the currently used Receive Buffer. Then CUR-RB-EBC indicates the Empty part of the buffer, i.e. the ACT-COUNT of buffer N is given by the difference between its SIZE and the CUR-RB- EBC. NXT-FD-ADR: Next Frame Descriptor Address. De- fine N as the last Receive Frame Descriptor with bits C = 1 andB = 0, then NXT-FD-ADR is the address of N + 2 Receive Frame Descriptor (with B = C = 0) and is equal to the LINK-ADDRESS field in N + 1 Receive Frame Descriptor. CUR-FD-ADR: Current Frame Descriptor Address. Similar to next NXT-FD-ADR but refers to N + 1 Receive Frame Descriptor (with B = 1, C = 0). Bytes 54H to 55H: Temporary register. NXT-TB-CNT: Next Transmit Buffer Count. Let N be the last transmitted buffer of the TRANSMIT com- mand executed recently, the NXT-TB-CNT is the ACT-COUNT field in the Nth Transmit Buffer De- scriptor. EOF - Corresponds to the EOF bit of the Nth Transmit Buffer Descriptor. EOF = 1 indicates that the last buffer accessed by the 82586 during Transmit was the last Transmit Buffer in the data buffer chain associated with the Transmit Com- mand. BUF-ADR: Buffer Address. The BUF-PTR field in the DUMP-STATUS Command Block. NXT-TB-AD-L: Next Transmit Buffer Address Low. Let N be the last Transmit Buffer in the transmit buff- er chain of the TRANSMIT Command performed recently, then NXT-TB-AD-L are the two least signifi- cant bytes of the Nth buffer address. LA-TB-ADR: Look Ahead Transmit Buffer Descrip- tor Address. Let N be the last Transmit Buffer in the transmit buffer chain of the TRANSMIT Command performed recently, then LA-TBD-ADR is the NEXT- BD-ADDRESS field of the Nth Buffer Descriptor. NXT-TBD-ADR: Next Transmit Buffer Descriptor Address. Similar in function to LA-TBD-ADR but re- lated to Transmit Buffer Descriptor N-1. Actually, it is the address of Transmit Buffer Descriptor N. Bytes 60H, 61H: This is a copy of the 2nd word in the DUMP-STATUS command presently executing. NXT-CB-ADR: Next Command Block Address. The LINK-ADDRESS field in the DUMP Command Block presently executing. Points to the next command. CUR-CB-ADR: Current Command Block Address. The address of the DUMP Command Block currently executing.intel. 82586 SCB-ADR: Offset of the System Control Block (SCB). Bytes 7EH, 7FH: RU-SUS-RQ (Bit 4) - Receive Unit Suspend Re- quest. Bytes 80H, 81H: CU-SUS-RQ (Bit 4) - Command Unit Suspend Re- quest. END-OF-CBL (Bit 5) - End of Command Block List. If 1"" indicates that DUMP-STATUS is the last com- mand in the command chain. ABRT-IN-PROG (Bit 6) - Command Unit Abort Re- quest. RU-SUS-FD (Bit 12) - Receive Unit Suspend Frame Descriptor Bit. Assume N is the Receive Frame De- scriptor used recently, then RU-SUS-FD is equiva- lent to the S bit of N + 1 Receive Frame Descriptor. Bytes 82H, 83H: RU-SUS (Bit 4) - Receive Unit in SUSPENDED state. RU-NRSRC (Bit 5) - Receive Unit in NO RESOURC- ES state. . RU-RDY (Bit 6) - Receive Unit in READY state. RU-IDL (Bit 7) - Receive Unit in IDLE state. RNR (Bit 12) - RNR Interrupt in Service bit. CNA (Bit 13) - CNA Interrupt in Service bit. FR (Bit 14) - FR Interrupt in Service bit. CX (Bit 15) - CX Interrupt in Service bit. Bytes 90H to 93H: BUF-ADR-PTR - Buffer pointer is the absolute ad- dress of the bytes following the DUMP Command block. Bytes 94H to 95H: RCV-DMA-BC - Receive DMA Byte Count. This field contains number of bytes to be transferred during the next Receive DMA operation. The value de- pends on AL-LOCation configuration bit. 1-24 1. lf AL-LOCation = 0 then RCV-DMA-BC = (2 times ADDR-LEN plus 2) if the next Receive Frame Descriptor has already been fetched. . If AL-LOCation 1 then it contains the size of the next Receive Buffer. BR+ BUFPTR+ 96H - Sum of Base Address plus BUF PTR field and 96H. RCV-DMA-ADR - Receive DMA absolute Address. This is the next RCV-DMA start address. The value depends on AL-LOCation configuration bit. 1. If AL-LOCation = 0, then RCV-DMA-ADR is the Destination Address field located in the next Re- ceive Frame Descriptor. . If AL-LOCation = 1, then RCV-DMA-ADR is the next Receive Data Buffer Address. The following nomenclature has been used in the DUMP table: 0 * The 82586 writes zero in this location. 1 The 82586 writes one in this location. x * The 82586 writes zero or one in this location. 41 The 82586 copies this location from the corresponding position in the memory structure. DIAGNOSE The DIAGNOSE Command triggers an internal self test procedure of backoff related registers and coun- ters. The DIAGNOSE command includes the following: STATUS word (written by 82586): Cc (Bit 15) Command Completed B (Bit 14) Busy Executing Command OK (Bit 13) Error Free Completion FAIL | (Bit 11) Indicates that the Self Test Procedured Failed COMMAND word: Et (Bit 15) End of Command List $s (Bit 14) Suspend After Completion | (Bit 13) Interrupt After Completion CMD | (Bits0-2) | * DIAGNOSE = 7 LINK OFFSET: Address of next Command Block.intel. 82586 18 0 c B | ox] a ] FAL ZEROS 0 : ' (STATUS) els |i LEED LEE. CMD =7 2 < 1 1 (COMMAND) LINK OFFSET 4 231246-21 Figure 20. The DIAGNOSE Command Block Lie | RFA POINTE! STATISTICS To COMMAND BLOCK LIST b<$ RECEIVE FRAME AREA RFD 1 ' 1 STATUS [OT] STATUS STATUS status po ' ' 4 4! J RECEIVE 1 1 FRAME ' ' DESCRIPTORS ' ' ' EMPTY EMPTY EMPTY ! : RBD2 \ RBO 3 RBD4 ABD S ' 1] act-nt [1 o | AcT-ent 0 | ACT-cnt 0 | ACT-cnt | = 4 wee ft Et DESCRIPTORS = j 1 i t ' t f] 1 ' iy ' RECEIVE ' VALID VALID | | BUFFERS \ DATA DATA| | BUFFER 1 BUFFER 2 BUFFER 3 BUFFER 4 BUFFER 5 RECEIVE FRAME LIST el<~_ FREEFRAMELIST }39 -> i 231246-22 Figure 21. The Receive Frame Area RECEIVE FRAME AREA (RFA) FRAME DESCRIPTOR (FD) FORMAT The Receive Frame Area, RFA, is prepared by the The FD includes the following fields: host CPU, data is placed into the RFA by the 82586 as frames are received. RFA consists of a list of Receive Frame Descriptors (FD), each of which is STATUS word (set by the 82586): associated with a frame. RFA-OFFSET field of SCB Cc (Bit 15) * Completed Storing points to the first FD of the chain; the last FD is Frame. identified by the End-of-Listing flag (EL). See Figure B (Bit 14) FD was Consumed by 21. RU. 1-25intel. 82586 1% ODO BYTE EVEN BYTE @ c 8 | ox] o | si} sw] so | se | s7 ] s ZEROS 0 (STATUS) a. _ LiNK OFFSET 4 ABD-OFFSET 6 2N0 BYTE 1ST BYTE wc Is DESTINATION ADDRESS 10 NTH BYTE 2 2N0 BYTE 1ST BYTE SOURCE ADDRESS 6 NTH BYTE 8 2N0 BYTE LENGTH FIELD 1ST BYTE 20 231246-23 Figure 22. The Frame Descriptor (FD) Format OK (Bit 13) Frame received LINK OFFSET: Address of next FD in list. successfully. If this bit is - fini ; st hen al oer wilde | ee eee coy a t; if itis reset, then y pda y . : s the: th: bit ili dicat RBD that represents the information Field. RBD- e other bits wil Indicate OFFSET = OFFFFH means there is no Information the nature of the error. Field S11 (Bit 11) Received Frame , Experienced CRC Error. DESTINATION ADDRESS (written by 82586): S10 | (Bit10) | Received Frame Contains Destination Address of received frame. Experienced an The length in bytes, it is determined by the Address Alignment Error. Length configuration parameter. sg (Bit 9) e RU ran out of resources during reception of this SOURCE ADDRESS (written by 82586): Contains frame. Source Address of received frame. Its length is the $8 (Bit 8) @ RCV-DMA Overrun. same as DESTINATION ADDRESS. S7 (Bit 7) Received frame had fewer bits than LENGTH FIELD (written by 82586): Contains the 2 configured Minimum byte Length or Type Field of received frame. Frame Length. s (Bit 6) No EOF flag detected (only when configured to RECEIVE BUFFER DESCRIPTOR Bitstuffing). FORMAT The Receive Buffer Descriptor (RBD) holds informa- COMMAND word: tion about a buffer; size and location, and the means for forming a chain of RBDs, (forward pointer and EL (Bit 15) Last FD in the List. end-of-frame indication). iS) (Bit 14) RU should be suspended after receiving this frame. The Buffer Descriptor contains the following fields. 1-2682586 EOF F T T T v ACT COUNT ah. L a= =a 4 4 0 1 1 (STATUS) NEXT BD OFFSET 2 BUFFER ADDRESS A23 a 4 ll SIZE 231246-24 Figure 23. The Receive Buffer Descriptor (RBD) Format STATUS word (written by the 82586). EOF (Bit 15) F (Bit 14) ACT (Bits 0-13) COUNT Last buffer in received frame. ACT COUNT field is valid. Number of bytes in the buffer that are actuaily occupied. NEXT RBD OFFSET: Address of next BD in list of BDs. 1-27 BUFFER ADDRESS: 24-bit absolute address of buffer. EL/SIZE: EL (BIT 15) Last BD in list. SIZE | (Bits 0-13) | Number of bytes the buffer is capable of holding.intel. 82586 ABSOLUTE MAXIMUM RATINGS* eee 0C to 70C 68C to 150C Ambient Temperature Under Bias Storage Temperature Voltage on Any Pin with Respect to Ground 1.0V to +7V Power Dissipation....................05 3.0 Watts D.C. CHARACTERISTICS NOTICE: This is a production data sheet. The specifi- cations are subject to change without notice. *WARNING: Siressing the device beyond the Absolute Maximum Ratings may cause permanent damage. These are stress ratings only. Operation beyond the Operating Conditions is not recommended and ex- tended exposure beyond the Operating Conditions may affect device reliability. Ta = OC to 70C, Te = 0C to 105C, Vog = 5V +10%, CLK has MOS levels (See Vii, Vain: VMoL: Vow). TxC and RxC have 82C501 compatible levels (Vit, VriH, VRIH)- All other signals have TTL levels (see Vic Vins VoL, OH): Symbol Parameter Min Max Units Test Conditions ViL Input Low Voltage (TTL) -0.5 +0.8 Vv Vin Input High Voltage (TTL) 2.0 Voc + 0.5 Vv VoL Output Low Voltage (TTL) 0.45 Vv lol = 2.5mA Von Output High Voltage (TTL) 2.4 Vv lon 400 pA VMIL Input Low Voltage (MOS) -0.5 0.6 Vv VMIH Input High Voltage (MOS) 3.9 Voc + 0.5 Vv VrIH Input High Voltage (TxC) 3.3 Veco + 0.5 V Vain Input High Voltage (RxC) 3.0 Voc + 0.5 Vv VMOL Output Low Voltage (MOS) 0.45 Vv lo, 2.5 mA VMOH Output High Voltage (MOS) Voc 0.5 Vv lon 400 pA tu input Leakage Current +10 pA 0 > T70 231246-39 Figure 37. RxD Timing Relative to RxC ae | ons _. T80 Ta 231246-40 Figure 38. CRS Timing Relative to RxC 1-37