Sun Microsystems STP2002QFP manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Sun Microsystems STP2002QFP. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoSun Microsystems STP2002QFP vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Sun Microsystems STP2002QFP você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Sun Microsystems STP2002QFP, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Sun Microsystems STP2002QFP deve conte:
- dados técnicos do dispositivo Sun Microsystems STP2002QFP
- nome do fabricante e ano de fabricação do dispositivo Sun Microsystems STP2002QFP
- instruções de utilização, regulação e manutenção do dispositivo Sun Microsystems STP2002QFP
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Sun Microsystems STP2002QFP não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Sun Microsystems STP2002QFP e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Sun Microsystems na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Sun Microsystems STP2002QFP, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Sun Microsystems STP2002QFP, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Sun Microsystems STP2002QFP. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    Revision 1.0–April 1996 STP2002QFP STP2002QFP F ast Ether net, Parallel P ort, SCSI (FEPS) USER’S GUIDE O VERVIEW 1 1.1 Introduction The STP2002QFP FEPS (Fast Ethernet ® , Parallel, SCSI) is an ASIC that pro- vides integrated high-performance SCSI, 10/100 Base-T Ethernet, and a Cen- tronics compatible parallel port. 1.2 F eatures FEPS features[...]

  • Página 2

    2 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP terface (CEI) for slave and DMA transfers with the SBus (via SBA). The SBA provides buffering and bus conversion between the SBus and the channel en- gine interface. Interrupts from the channel engine go directly to the SBus. The SBA contains no software-access[...]

  • Página 3

    3 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 109 rev10h, ISO/IEC 8802-3, IEEE 802.3u 100 Base-T, IEEE 1149.1 ( JTAG), Centronics-protocol-compatible parallel port, and the Sun4u system architecture.[...]

  • Página 4

    4 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Figure 1. STP2002QFP Block Diagram SBus SBA Channel Engine Interface SCSI_IRQ ENET_IRQ PP_IRQ SCSI DVMA ENET DMA PP DMA FAS366 BigMac PP Core SCSI_Channel ENET_Channel PP_Channel SCSI Bus MII Interface Parallel Port Boot PROM[...]

  • Página 5

    5 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 1.6 Pin Descriptions The signal pins are grouped by function in the following tables. T able 1: SBus Signals Signal Name Type Pin Count Description SB_D[31:0] I/O 32 SBus data SB_A[27:0] I/O 28 SBus address SB_SEL I 1 SBus slav e select SB_BR O 1 SBus D VMA reques[...]

  • Página 6

    6 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP SCSI_XT AL2 O 1 SCSI crystal output SCSI_XT AL1 I 1 SCSI crystal input POD I 1 SCSI power detect T otal SCSI 30 T able 3: Ethernet Signals Signal Name Type Pin Count Description ENET_TX_CLK I 1 Ethernet transmit clock input ENET_TXD[3:0] O 4 Ethernet transmit d[...]

  • Página 7

    7 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, T able 4: Parallel P ort Signals Signal Name Type Pin Count Description PP_D A T A[7:0] I/O 8 Parallel port data b us PP_STB I/O 1 Parallel port data strobe PP_BSY I/O 1 Parallel port busy PP_A CK I/O 1 Parallel port acknowledge PP_PE I 1 Parallel port paper error[...]

  • Página 8

    8 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP T able 6: P ower/Ground/Other Signals Signal Name Type Pin Count Description VDD_CORE 4 VSS_CORE 4 V DD 21 V SS 52 Reserved 1 MODE 1 Mode select (stand alone/chipset) T otal 83[...]

  • Página 9

    9 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, SB US A D APTER 2 2.1 Introduction The SBus Adapter (SBA) is the layer between the Channel Engine Interface (CEI) and the SBus. It provides one master port on the SBus side to funnel three DMA channel engines (CE) onto the SBus, and one slave port for SBus accesse[...]

  • Página 10

    10 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP slave accesses from SBus. The physical address is decoded to select a target CE to respond to the access. A physical address that cannot be resolved to the selection of any channel engine will cause SBus Adapter to return Error Ack. The access size is decoded [...]

  • Página 11

    11 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, machine. After this the arbiter is available to arbitrate and grant the next re- quest on the CEI provided that there is a DMA write or read buffer still avail- able. The master port state machine wakes up and request the SBus whenever there is a request in the q[...]

  • Página 12

    12 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP SCSI C HANNEL 3 3.1 Introduction The SCSI channel consists of SCSI DVMA (also referred to as SCSI channel engine) and FAS366, a “Fast and Wide” SCSI controller core. The SCSI DVMA provides two 64-byte buffers used to transfer data to/from the FAS366. The F[...]

  • Página 13

    13 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, - 5-MHz synchronous (normal SCSI) - 6-MHz asynchronous • REQ/A CK programmable assertion/deassertion control • Power -on connect/disconnect to SCSI bus (hot plugging) • T arget block transfer sequence • Initiator block transfer sequence • Bus idle timer[...]

  • Página 14

    14 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP P ARALLEL P OR T C HANNEL 4 4.1 Introduction The parallel port interface implementation of FEPS is almost identical to the one on the STP2000 Master I/O controller chip to leverage the existing device driver. The only difference is that the DIR bit has to be s[...]

  • Página 15

    15 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, None of these conditions will cause draining if P_ERR_PEND = 1, indi- cating that a memory error has occurred. If condition 4 or 5 occurs when the P_ERR_PEND bit is 1, the P_FIFO will be invalidated and all dirty data will be discarded. 4.3 Bidirectional P aralle[...]

  • Página 16

    16 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP fined as three SBus clocks. That is, the minimum data strobe width is three SBus clocks. The following table shows the nominal range of programmabil- ity for different SBus clock speeds.[...]

  • Página 17

    17 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, The desired handshake protocol can be selected using the ACK_OP (acknowledge operation) and BUSY_OP (busy operation) bits of the opera- tions configuration register ( OCR ). The function of these bits is defined as follows: These two bits allow selection of one o[...]

  • Página 18

    18 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP when the peripheral device cannot receive another byte of data. P_BSY (PP_BSY) is sampled before data strobe becomes active and after data strobe becomes inactive, to ensure that a data transfer is not attempted while the de- vice is busy. It is this mode, whi[...]

  • Página 19

    19 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Figure 3. 4.3.1.1.3 Handshake with Busy (ACK_OP=0, BUSY_OP=1) Data transfers are controlled by the use of P_D_STRB (PP_STB) and P_BSY (PP_BSY). P_ACK (PP_ACK) is a don’t care in this mode. P_BSY (PP_BSY) is required as an acknowledge after P_D_STRB (PP_STB) and[...]

  • Página 20

    20 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 4.3.1.2 Bidirectional Operation Bidirectional data transfer over the parallel port can be accomplished by the use of either of two master/slave protocols. The “master write” protocol or the “master read/write” protocol. The IBM implementation of a bidi[...]

  • Página 21

    21 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, When DIR is set to 1, the pins configured as bidirectional change direction and their corresponding direction control pins are set accordingly. Note that the input status pins (ERR, SLCT, PE), which are readable in the input regis- ter, are not configurable. They[...]

  • Página 22

    22 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP These two bits allow selection of one of four possible handshake protocols. The following table summarizes the protocol definitions for transfers to the parallel port from the peripheral device. For all protocol selections, P_BSY (PP_BSY) will become active if[...]

  • Página 23

    23 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, as required to gate further transfers but not as a handshake signal. The oper- ation of the interface as defined assumes the bidirectional sense of each signal has been configured as follows: DIR =1, DS_DSEL =1, ACK_DSEL =1, BUSY_DSEL =1. The configuration of P_B[...]

  • Página 24

    24 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Figure 7. 4.3.1.3.4 Handshake with ACK and BUSY: (BUSY_OP=1, ACK_OP=1) Both P_ACK (PP_ACK) and P_BSY (PP_BSY) are generated in response to a data strobe. P_BSY (PP_BSY) will be generated off of the leading edge of P_D_STRB (PP_STB) and will remain active for 3[...]

  • Página 25

    25 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 4.3.1.4 Master Read/Write Protocol (Xerox Mode) This section describes the parallel port operation while master read cycles are performed. Operation while master write cycles are performed is the same as is described in the “Unidirectional Operation (Transfers [...]

  • Página 26

    26 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP eration for transfers to and from the peripheral device. 4.3.2.1 PIO on Transfers to the Peripheral Device For transfers to the peripheral device, all signals are under the control of soft- ware. There is no hardware assist other than interrupt generation. 4.3[...]

  • Página 27

    27 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 4.4 Differences fr om STP2000 (MA CIO) Parallel Port • PP_INIT and PP_AFXN hav e extra functions: high and low address latch clocks • EPR OM address is giv en by parallel port data bus • DIR bit in the TCR re gister must be set during memory clear operation[...]

  • Página 28

    28 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP E THERNET C HANNEL 5 5.1 Introduction The Ethernet channel is a dual-channel intelligent DMA controller on the sys- tem side, and an IEEE 802.3 Media Access Control (MAC) on the network side. It is designed as a high-performance full-duplex device, allowing fo[...]

  • Página 29

    29 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, For TCP packets, hardware support is provided for TCP checksum compu- tation. On transmit, it is assumed that the entire packet is loaded into the local FIFO before its transmission begins. The checksum is computed on-the-fly while the packet is being transferred[...]

  • Página 30

    30 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP • T ransceiver interface (XIF) - Implements the MII interface protocol (excluding the management interface) - Performs the nibble-to-byte and byte-to-nibble con version between the protocol engine and the MII[...]

  • Página 31

    31 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 5.2.2.2 Management Interface Function (MIF) The management interface block implements the management portion of the MII interface to an external transceiver, as defined in the IEEE 802.3 MII specification. It allows the host to program and collect status informat[...]

  • Página 32

    32 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP ation can only be used when the MIF is in the frame mode. 5.2.2.3 Ethernet Transmit Block (ETX) The Ethernet transmit block provides the DMA engine for transferring frames from the host memory to the BigMAC. It contains a local buffer of 2K bytes for rate adap[...]

  • Página 33

    33 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Receive Clock Domain This clock is used to drive the receive protocol engine in the BigMAC core. It is sourced by the MII and has the operating frequency of 2.5/25 MHz 100 ppm. The 2.5/25 MHz version of this clock (RX_NCLK) is used for strobing in the packet data[...]

  • Página 34

    34 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP The size of the descriptor ring is programmable, and it can be varied in the range of 16–256 in increments of 16 descriptors: 16, 32, 48, ..., 240, 256. 5.2.6 Receive F ree Buffer Descriptor Ring For receive operation, the device driver requests a pool of fr[...]

  • Página 35

    35 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 5.2.8 T ransmit FIFO Data Structures When a transmit packet is transferred from the host into the local memory, the first byte of the packet in the FIFO is always loaded to be word (or double- word) aligned. If the packet is composed of several data buffers, the [...]

  • Página 36

    36 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 5.3 Error Conditions and Reco very There are two types of error conditions that can be encountered during the normal operation of the Ethernet channel: fatal errors and non-fatal errors. Fa- tal errors are errors that should never occur. They usually indicate [...]

  • Página 37

    37 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, programmed I/O write cycle. FIFO_Tag_Error The data structures in the local FIFOs make use of tag bits for delimiting packet boundaries. The last data word and the control/status word of a frame are expected to have their tag bits set to 1. If the unload control [...]

  • Página 38

    38 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP and gets ready to receive the next frame. This way the FIFO locations that were occupied by the long fragment are reused by the next frame. If an abort condition is detected after at least 128 bytes of data were trans- ferred from the RX_MAC to the RxFIFO (ver[...]

  • Página 39

    39 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 5.4 Programmer’ s Reference 5.4.1 Overview During normal operation, the software-to-hardware interaction is primarily performed via the host memory data structures, with a minimal command/sta- tus handshake (less than one interrupt per packet). Software interve[...]

  • Página 40

    40 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 5.4.3 T ransmit Data Structures Programming Restrictions: • If a packet occupies more than one descriptor , the software must turn ov er the ownership of the descriptors to the hardware last-to-first, in order to av oid race conditions. • If a packet resi[...]

  • Página 41

    41 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, nearest burst boundary and e xecute a full D VMA burst read. Figure 10. T ransmit Host Data Structures Control Word Data Buffer Pointer Control Word Data Buffer Pointer Control Word Data Buffer Pointer Control Word Data Buffer Pointer Control Word Data Buffer Poi[...]

  • Página 42

    42 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 5.4.4 Receive Data Structures Programming Restrictions: • Free receiv e data buf fers must be 64-byte aligned. T able 12: Receive Data Structures Descriptor Layout: Status W ord Field Bits Description TCP checksum 15:0 This field contains the 16-bit TCP che[...]

  • Página 43

    43 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 5.4.5 Local Memory Data Structures The local memory data structures are organized as wrap-around FIFOs that can store an unlimited number of packets. The transmit and receive data structures are very similar, except for the format of the control/status word that [...]

  • Página 44

    44 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Figure 11. Recei ve Host Data Structure The software has the capability to read and write the FIFOs (including tags) at any time, using programmed I/O instructions. This feature should be used for diagnostic purposes only. During normal operation, the FIFOs ar[...]

  • Página 45

    45 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Figure 12 below shows the organization of the TxFIFO. The first byte of the frame is always loaded to be word or double-word aligned. 5.4.7 RxFIFO Data Structures Figure 13 below shows the organization of the RxFIFO. The first byte of the frame is always loaded a[...]

  • Página 46

    46 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Figure 12. TxFIFO Or ganization 5.4.8 Other User Accessible Resources Besides the host and local memory data structures, the hardware provides a programmed I/O path to a variety of hardware resources for initialization, er- ror recovery, diagnostics, and netwo[...]

  • Página 47

    47 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, less specified otherwise. Figure 13. RxFIFO Or ganization junk junk junk junk Frame #1 Data Frame #1 Data Frame #1 Control 32-Bit Mode Wrap- Around FIFO 64-Bit Mode 0 31 32 Tag_1 63 Tag_0 Addr_0 junk 0 . . . . 0 0 1 0 . . . . 0 0 1 Read_Ptr Frame #2 Data Frame #2[...]

  • Página 48

    48 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP T EST ABILITY 6 6.1 Introduction This section describes the features of the JTAG Test Access Port (TAP) and other testability structures for the FEPS. The JTAG macro which implements the IEEE Standard 1149.1-1990 provides access to the test structures on the c[...]

  • Página 49

    49 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, The above signals describe the I/O signals of the JTAG macro. The JTAG macro is composed of the following blocks: TAP controller, instruction reg- ister, instruction decode logic, bypass register, internal register clocking logic, JTAG ID register, JTAG boundary [...]

  • Página 50

    50 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Figure 15. 6.2.2 Instruction Register The instruction register is used to select the test to be performed and/or the test data register to be accessed. The FEPS instruction register is four bits wide and is a shift register with parallel load and parallel outp[...]

  • Página 51

    51 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Figure 16. The following instructions are supported in the FEPS. • IMC1 = core driven by boundary scan (BS) cell, 0 = core dri ven by pin • OMC1 = pin driv en by BS cell, 0 = pin driv en by core • BCAP1 = capture clock generated for BS cell, 0 = no clock ?[...]

  • Página 52

    52 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 6.2.3 Instruction Decode Logic Figure 17. The instruction decode logic decodes the value at the parallel outputs of the instruction register and selects the appropriate scan data register and control signals. BYPASS_SELECT ID_SELECT ISCAN_MODE ATPG_SELECT INTE[...]

  • Página 53

    53 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Figure 18. 6.2.4 Bypass Register The bypass register provides a minimum length path between the test data in- put and the test data output. It consists of a single shift-register stage that loads a constant 0 in the Capture-DR TAP controller state when the manda-[...]

  • Página 54

    54 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 6.2.5 Internal Register Clocking Logic This module generates the scan clock for the internal scan flops and the scan enable to for the scan flops. Figure 20. 6.2.6 JT A G ID Register This is a 32-bit shift register which has four fields. The least significant [...]

  • Página 55

    55 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Figure 22. 6.2.8 TDO MUX logic This block implements the muxing of the signal which is to appear at the TDO output pin. It has one flop to ensure that changes on the TDO pin happen on the falling edge of JTAG_TCK when the data is not being shifted in the data reg[...]

  • Página 56

    56 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Figure 23. 6.3 Special JT A G Instructions In addition to the mandatory instructions, the FEPS JTAG implements some special instructions. 6.3.1 Deb ug Modes 6.3.1.1 Dumping Internal State Using the DEBUG instruction, the internal chain can be selected. This in[...]

  • Página 57

    57 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 6.4 Clock Stop Pin This pin can deterministically stop the clocks in FEPS. After the instruction register is updated with the SEL_CCR instruction, an initializing pattern is loaded into the CCR scan data register. In the run-test/idle state, any external event wh[...]

  • Página 58

    58 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP P R OGRAMMING M ODEL 7 7.1 Introduction Refer to the FEPS application note (STB0106) for programming notes and a complete address map for the registers for all interfaces. 7.2 Parallel P ort Channel Registers 7.2.1 Control/Status Register T able 18: Control/St[...]

  • Página 59

    59 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, The RESET state of this register is as follows: P_ERR_PEND = 0 P_INT_EN = 0 P_INVALIDATE = 0 P_SLAVE_ERR = 0 P_RESET = 0 P_EN_DMA = 0 P_EN_CNT = 0 P_TC = 0 P_BURST_SIZE = 0 P_TCI_DIS = 0 P_EN_NEXT = 0 P_DMA_ON = 0 P_A_LOADED = 0 P_NA_LOADED = 0 P_WRITE = 1 P_INT_[...]

  • Página 60

    60 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP P_DRAINING bits are not valid while P_ERR_PEND is set and should be ig- nored. P_INVALIDATE: Setting this bit invalidates the P_FIFO. If P_ERR_PEND = 0 when P_INVALIDATE is set, all dirty data in the P_FIFO will first be drained to memory. If P_ERR_PEND = 1 wh[...]

  • Página 61

    61 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, P_BURST_SIZE: This field defines the sizes of SBus read and write bursts used by the FEPS for parallel port transfers. All reads from memory will be one size, either 4, 8, or 1 word (in “no burst mode). SBus writes to memory can be byte, half- word, or one of t[...]

  • Página 62

    62 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.2.2 DMA Address and Next Address Register This 32-bit read/write register contains the virtual address for parallel port DMA transfers. It is implemented as a 32-bit loadable counter which points to the next byte that will be accessed via the parallel port. [...]

  • Página 63

    63 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.2.3 Byte Count Register This register is implemented as a 24-bit down counter. When reading this reg- ister as a word, bits 31:24 will read as 0s. The register should be loaded with a 24-bit byte count which, if enabled via the P_EN_CNT bit in the P_CSR, will b[...]

  • Página 64

    64 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.2.4 T est Control/Status Register T able 25: T est Control/Status Register Address Register Physical Address Access Size T est control/Status register (P_TST_CSR) 0xC80_000C 4 bytes[...]

  • Página 65

    65 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Note: The P_TST_CSR is intended for diagnostic and test use only and should never be written while a DMA transfer is active 7.2.5 Hardware Configuration Register T able 26: T est Control/Status Register Definition Field Bits Description Type LD_T A G 31 When se[...]

  • Página 66

    66 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP DSS : Data setup to data strobe. This 7-bit quantity is used to define several differ- ent timing specifications for the interface. The contents of this field of the reg- ister are used to load a hardware timer whose timebase is the SBus clock. The programmabi[...]

  • Página 67

    67 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, IDLE : When this bit is set, it indicates that the parallel port data transfer state ma- chines are in their idle states. The state machines should be idle when chang- ing direction and/or configuring operational modes and when enabling a memory clear operation. [...]

  • Página 68

    68 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP isters. This bit must be reset by software. ACK_OP : Used to specify the handshake protocol to be used on the interface. The mean- ing of this bit differs depending on the direction of transfer. The sections on unidirectional and bidirectional transfers should[...]

  • Página 69

    69 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, PP_ACKDIR0 1 BUSY_DSEL : This bit is a bidirectional select for the PP_BSY signal. When reset, PP_BSY is fixed as an input. When set, PP_BSY is a bidirectional signal. The PP_BSYDIR pin will reflect the direction of PP_BSY. The switching of di- rection is control[...]

  • Página 70

    70 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.2.7 P arallel Data Register The data register is an 8-bit read/write port used to transfer data to and from the external device. In programmed I/O mode data written to this register is presented to the I/O pins if the DIR bit of the transfer control register[...]

  • Página 71

    71 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, T able 33: Transf er Control Register Address Register Physical Address Access Size T ransfer Control register (P_TCR) 0xC80_0015 1 byte[...]

  • Página 72

    72 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP DS : Reading this bit reflects the state of the bidirectional PP_STB pin. Writing this bit with DS_DSEL=0 or with DS_SEL=1 and DIR=0 will cause the value written to be driven onto PP_STB. The reset state of the output latch is 0, but the value read back from t[...]

  • Página 73

    73 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, DMA direction. The state of the DIR bit is reflected in the P_WRITE bit of the P_CSR. Reset state of this bit is 1. 7.2.9 Output Register The output register is an 8-bit read/write register whose contents are driven on to the corresponding external pins. In diagn[...]

  • Página 74

    74 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.2.11 Interrupt Control Register This 16-bit read/write register is used to specify operation of the parallel port interrupts. Interrupt enables, polarity, and IRQ pending bits are contained in this register. The detailed function of these bits are described [...]

  • Página 75

    75 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, *_IRQ_EN: When set, enables interrupts on the corresponding bits of the input and transfer control registers. Note that the interrupt enable bit of the PD_SCR must also be enabled to allow a hardware interrupt to be generated. *_IRP: Defines the polarity of the e[...]

  • Página 76

    76 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP ing a 0 to these locations leaves the bit(s) unchanged. ACK_IRQ : When set, an interrupt is pending due to the receipt of PP_ACK. The interrupt is set on the 0 to 1 transition of PP_ACK. This interrupt is intended to facili- tate PIO transfers while configured[...]

  • Página 77

    77 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, D_INT_PEND: D_WRITE 8 DMA direction for SCSI transfers; 1 = to mem- ory , 0 = from memory R/W D_EN_DMA 9 When set, enables DMA from the F AS366 unless blocked by other conditions R/W D_REQ_PEND 10 Do not assert D_RESET , while this is a 1 R D_DMA_REV 14:11 0001 f[...]

  • Página 78

    78 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP This bit is set to indicate that FAS366 has asserted its interrupt signal. Once FAS366 asserts its interrupt signal, all the bytes in prefetch buffers are drained to the host memory, before setting this bit or generating an interrupt on SBus. Draining of buffe[...]

  • Página 79

    79 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, place. Note: To determine the exact address at which an error occurred, two cases have to be dealt with. These are the following: Case 1: The error occurs on the SCSI Bus For this case, the starting address of the block/command is known, as this is programmed bef[...]

  • Página 80

    80 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP • Byte counter is decremented, every time a byte is transferred between SCSI and F AS366. • No interrupt is generated when the D_BCNT reaches 0 (expires). • D_BCNT will clear to 0, if D_RESET is asserted. • D_BCNT should not be programmed with a number[...]

  • Página 81

    81 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, buffers, it will be looped back to host memory. FAS366 is completely by- passed during this operation. As the prefetch buffers can store 128 bytes, 128 bytes will be moved from the host memory to SCSI CE. After the DMA read is complete the 128 bytes will be loope[...]

  • Página 82

    82 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP This completes the loop-back of 128 bytes. This sequence can be repeated any number of times.[...]

  • Página 83

    83 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.4 F AS366 (SCSI Controller Cor e) Registers The FAS366 registers are used by the CPU to control the operation of the SCSI bus. Through these registers, the CPU configures, commands, and mon- itors data, command, and information transfers between the FAS366 and [...]

  • Página 84

    84 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.4.2 F AS366 T ransfer Count Lo w Register (Write Only) This 16-bit transfer count register is comprised of two eight-bit, write-only registers. The transfer count register is normally loaded prior to writing a DMA command to the command register. This value [...]

  • Página 85

    85 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.4.4 F AS366 T ransfer Count High (Write Only) Register 7.4.5 F AS366 FIFO Register The SCSI data FIFO consists of 16 registers, each two bytes wide. Data can be read/written from/to FIFO, with a slave or DMA access. The data is loaded into the FIFO top register[...]

  • Página 86

    86 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.4.7 F AS366 Status #1 Register This eight-bit, read-only register indicates the status of the FAS366 core and the SCSI bus phase, and qualifies the reason for an interrupt. T able 61: F AS366 Command Register Definition Field Bits Description Type Command 7[...]

  • Página 87

    87 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, s 7.4.8 F AS366 Select/Reselect Bus ID Register The select/reselect bus ID register is an eight-bit, write-only register that stores encoded values for the SCSI bus ID and the selection/reselection ID. 7.4.9 F AS366 Interrupt Register This eight-bit, read-only re[...]

  • Página 88

    88 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.4.10 F AS366 Select/Reselect T ime-Out Register The select/reselect time-out register is an eight-bit, write-only register that specifies the amount of time to wait for a response during selection or rese- lection. The select/reselect time-out register is ty[...]

  • Página 89

    89 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.4.12 F AS366 Synchronous T ransfer P eriod Register The synchronous transfer period register is an eight-bit, write-only register. This register specifies the minimum time, in input clock cycles, between lead- ing edges of successive REQ or ACK pulses on the SC[...]

  • Página 90

    90 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.4.15 F AS366 Configuration #1 Register The configuration #1 register is an eight-bit, read/write register that specifies different operating options for the FAS366. 7.4.16 F AS366 Clock Con version F actor Register The clock conversion factor register enabl[...]

  • Página 91

    91 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.4.17 F AS366 Status #2 Register The status #2 register is a read-only register that indicates detailed status in- formation about the FIFO, the DMA interface, the sequence counter, the transfer counter, the recommand counter, and the command register. 7.4.18 F [...]

  • Página 92

    92 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.4.19 F AS366 Configuration #2 Register Configuration #2 is an eight-bit read/write register that specifies different op- erating options for the FAS366. 7.4.20 F AS366 Configuration #3 Register This eight-bit, read/write register is used to enable normal o[...]

  • Página 93

    93 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, After power-up or a chip reset, and until the recommand counter register is loaded, the FAS366 part-unique ID code is readable from the recommand counter low register. This part-unique ID indicates FAS366 family code and the revision level at power-up. 7.5 Ethern[...]

  • Página 94

    94 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP When both bits read back as 0s, the software is allowed to continue to program the hardware. 7.5.2 Global Configuration Register This five-bit register is used to determine the system-related parameters that control the operation of the DMA channels. 7.5.3 Gl[...]

  • Página 95

    95 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.4 Global Status Register This 32-bit register is used to communicate the software events that were de- tected by the hardware. If a status bit is set to 1, it indicates that the corre- sponding event has occurred. All the bits are automatically cleared to 0 w[...]

  • Página 96

    96 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Excessiv e_Collision_Counter_Expired 12 The Excessi ve_Collision_Counter rolled over from FF to 00 R Late_Collision_Counter_Expired 13 The Late_Collision_Counter rolled ov er from FF to 00 R First_Collision_Counter_Expired 14 The First_Collision_Counter rolled[...]

  • Página 97

    97 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.5 ETX T ransmit P ending Command This one-bit command must be issued by the software for every packet that the driver posts to the hardware. The bit is set to 1 using a programmed I/O write to the defined address. This bit becomes self-cleared after the comma[...]

  • Página 98

    98 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP The default value of this register is set to 0x3FE 7.5.7 ETX T ransmit Descriptor P ointer (RW) This 29-bit register points to the next descriptor in the ring. The 21 most sig- nificant bits are used as the base address for the descriptor ring, while the 8 lea[...]

  • Página 99

    99 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Default: 0xF; 256 descriptor entries. 7.5.9 ETX T ransmit Data Buffer Base Address 7.5.10 ETX T ransmit Data Buffer Displacement (R O) This 10-bit counter keeps track of the next DVMA read burst address. It is used as a displacement for the data buffer base addre[...]

  • Página 100

    100 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.11 ETX T ransmit Data P ointer This 32-bit register points to the next DVMA read burst address. Its contents is the sum of the transmit data buffer base address and the transmit data buffer displacement. 7.5.12 ETX TxFIFO P ack et Counter This eight-bit u[...]

  • Página 101

    101 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.13 ETX TxFIFO Write P ointer This nine-bit loadable counter points to the next location in the FIFO that will be loaded with SBus data, the checksum, or the frame control word. The counter increments by 1 or 2 (depending on SBus configuration) after a word ([...]

  • Página 102

    102 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.15 ETX TxFIFO Read P ointer This nine-bit loadable counter points to the next location in the FIFO that will be read from to retrieve packet data that is transferred to the TX_MAC. The counter increments by 1 or 2 (depending on SBus configuration) after a[...]

  • Página 103

    103 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, rewind the read pointer for frame retransmission due to a collision on the net- work. 7.5.17 ETX State Machine Register This 23-bit register provides the current state for all the state machines in ETX. 7.5.18 ETX TxFIFO For diagnostic purposes a PIO path has be[...]

  • Página 104

    104 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP • Writing to the lower aperture will load 32 bits of data and clear the tag bit to 0 at the addressed location • Writing to the higher aperture will load 32 bits of data and set the tag bit to 1 at the addressed location • Reading from the lower apertur[...]

  • Página 105

    105 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.20 ERX Receive Descriptor P ointer T able 124: ERX Configuration Register Definition Field Bits Description Type Rx_DMA_Enable 0 When set to 1’, the DMA operation of the channel is enabled. The load control state machine will start responding to RX_MA C [...]

  • Página 106

    106 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Note: The receive descriptor pointer must be initialized to a 2K byte- aligned value after power-on or software reset. 7.5.21 ERX Receive Data Buf fer P ointer This 28-bit loadable counter keeps track of the next DVMA write burst ad- dress. The counter increm[...]

  • Página 107

    107 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, T able 129: ERX RxFIFO Write P ointer Register Address Register Physical Address Access Size ERX RxFIFO Write Pointer register 0x8C0_400C 4 bytes[...]

  • Página 108

    108 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.23 ERX RxFIFO Shado w Write P ointer This nine-bit register points to the first word of the packet that is either cur- rently being loaded or is about to be loaded into the FIFO. The register is loaded with the contents of the write pointer after the pack[...]

  • Página 109

    109 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.25 ERX RxFIFO P ack et Counter This eight-bit up/down counter keeps track of the number of frames that cur- rently reside in the RxFIFO. The counter increments when a frame is loaded into the FIFO, and decrements when a frame has been transferred to the host[...]

  • Página 110

    110 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.27 ERX RxFIFO For diagnostic purposes, a PIO path has been provided into the RxFIFO. When using PIOs, the configuration of the RxFIFO will be 512 × 33bits. In order to be able to access all the bits in the memory core, the address space of the RxFIFO has[...]

  • Página 111

    111 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.28 XIF Configuration Register This 10-bit register determines the parameters that control the operation of the transceiver interface. T able 140: XIF Configuration Register Address Register Physical Address Access Size XIF configuration register 0x8C0_600[...]

  • Página 112

    112 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Default: 0x140. Note: To ensure proper operation of the hardware, when a loop-back configuration is entered or exited, a global initialization sequence should be performed. 7.5.29 TX_MA C Software Reset Command This one-bit command performs a software reset t[...]

  • Página 113

    113 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, T able 144: TX_MA C Configuration Register Definition Field Bits Description Type TX_MA C_Enabl e 0 When set to 1, the TX_MAC will start requesting packet data from the ETX, and the transmit Ethernet protocol execution will be gin. When cleared to 0, it will f[...]

  • Página 114

    114 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Note: To ensure proper operation of the TX_MAC, the TX_MAC_En bit must always be cleared to 0 and a delay imposed before a PIO write to any of the other bits in the TX_MAC Configuration register or any of the MAC parameters registers is performed. The MAC par[...]

  • Página 115

    115 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.32 TX_MA C InterP ack etGap2 Register This eight-bit register defines the second 1/3 portion of the InterPacketGap parameter. Default value: 0x04. 7.5.33 TX_MA C AttemptLimit Register Default value: 0x10. 7.5.34 TX_MA C SlotT ime Register T able 147: TX_MA C[...]

  • Página 116

    116 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Default value: 0x40. 7.5.35 TX_MA C P A Size Register Default value: 0x07. 7.5.36 TX_MA C P A Pattern Register Default value: 0xAA. T able 152: TX_MA C SlotT ime Register Definition Field Bits Description Type SlotT ime 7:0 Specifies the slot time parameter[...]

  • Página 117

    117 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.37 TX_MA C SFD P attern Register Default value: 0xAB 7.5.38 TX_MA C J amSize Register Default value: 0x04. 7.5.39 TX_MA C TxMaxF rameSize Register T able 157: TX_MA C SFD P attern Register Address Register Physical Address Access Size SFD pattern register 0x[...]

  • Página 118

    118 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Default value: 0x05EE. 7.5.40 TX_MA C TxMinF rameSize Register Default value: 0x40 7.5.41 TX_MA C P eakAttempts Register T able 162: TX_MA C TxMaxF rameSize Register Definition Field Bits Description Type TxMaxFrameSize 15:0 Specifies the maximum number of [...]

  • Página 119

    119 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.42 TX_MA C Defer T imer 7.5.43 TX_MA C Normal Collision Counter 7.5.44 TX_MA C F irst Successful Collision Counter T able 167: TX_MA C Defer T imer Address Register Physical Address Access Size Defer timer 0x8C0_623C 4 bytes T able 168: TX_MA C Defer T imer [...]

  • Página 120

    120 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.45 TX_MA C Excessive Collision Counter 7.5.46 TX_MA C Late Collision Counter This eight-bit loadable counter increments for every transmit frame that has experienced a late collision. It indicates the number of frames that the TX_MAC has given up transmit[...]

  • Página 121

    121 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.47 TX_MA C Random Number Seed Register This 10-bit register is used as a seed for the random number generator in the backoff algorithm. The register has significance only after power-on reset, and it should be programmed with a random value which has a high [...]

  • Página 122

    122 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.49 RX_MA C Software Reset Command This 16-bit command performs a software reset to the logic in the RX_MAC. The defined address must be written with the value of 0x0000. 7.5.50 RX_MA C Configuration Register This 13-bit register controls the operation of[...]

  • Página 123

    123 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, Note: To ensure proper operation of the RX_MAC, the RX_MAC_En bit must always be cleared to 0 and a delay of 3.2 msec imposed before a PIO write to any of the other bits in the RX_MAC configuration regis- ter or any of the MAC parameters’ registers is performe[...]

  • Página 124

    124 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP may be polled, and when this bit reads back as a 0, all the registers mentioned above may be written. 7.5.51 RX_MA C RxMaxF rameSize Register Default value: 0x05EE. 7.5.52 RX_MA C RxMinF rameSize Register Default value: 0x40. T able 184: RX_MA C RxMaxF rameSi[...]

  • Página 125

    125 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.53 RX_MA C MA C Address 2 Register T able 188: RX_MA C MA C Address 2 Register Address Register Physical Address Access Size RX_MA C MAC Address2 re gister 0x8C0_6318 4 bytes[...]

  • Página 126

    126 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.54 RX_MA C MA C Address 1 Register 7.5.55 RX_MA C MA C Address 0 Register T able 189: RX_MA C MA C Address 2 Register Definition Field Bits Description Type 15:0 16 most significant bits of the MAC address. These bits will be compared against bits [47:3[...]

  • Página 127

    127 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.56 RX_MA C Receive F rame Counter 7.5.57 RX_MA C Length Error Counter 7.5.58 RX_MA C Alignment Error Counter This eight-bit loadable counter increments when an alignment error was de- tected in a receive frame. An alignment error is reported when a receive f[...]

  • Página 128

    128 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.59 RX_MA C FCS Error Counter 7.5.60 RX_MA C State Machine Register This seven-bit register provides the current state for all the state machines in the RX_MAC. T able 199: RX_MA C Alignment Error Counter Definition Field Bits Description Type 7:0 Loadabl[...]

  • Página 129

    129 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.61 RX_MA C Rx Code V iolation Counter 7.5.62 RX_MA C Hash T able 3 Register 7.5.63 RX_MA C Hash T able 2 Register T able 204: RX_MA C Rx Code V iolation Error Counter Address Register Physical Address Access Size RX_MA C Rx code violation error counter 0x8C0[...]

  • Página 130

    130 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.64 RX_MA C Hash T able 1 Register 7.5.65 RX_MA C Hash T able 0 Register 7.5.66 RX_MA C Address F ilter 2 Register T able 209: RX_MA C Hash T able 2 Register Definition Field Bits Description Type 15:0 Contains bits [47:32] of the hash table. R/W T able 2[...]

  • Página 131

    131 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.67 RX_MA C Address F ilter 1 Register 7.5.68 RX_MA C Address F ilter 0 Register 7.5.69 RX_MA C Address F ilter Mask Register T able 215: RX_MA C Address F ilter 2 Register Definition Field Bits Description Type 15:0 Contains bits [47:32] of the address fil[...]

  • Página 132

    132 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.70 MIF Bit-Bang Clock This one-bit register is used to generate the MDC clock waveform on the MII management interface when the MIF is programmed in the Bit-Bang Mode. Writing a 1 after a 0 into this register will create a rising edge on the MDC, while wr[...]

  • Página 133

    133 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.73 MIF F rame/Output Register This 32-bit register serves as an “instruction register” when the MIF is pro- grammed in the frame mode. In order to execute a read/write operation from/to a transceiver register, the software has to load this register with [...]

  • Página 134

    134 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 7.5.74 MIF Configuration Register This 15-bit register controls the operation of the MIF. REGAD 22:18 REGister ADdress. When issuing an instruction, this field should be loaded with the address of the register that is to be read/ written. When polling for c[...]

  • Página 135

    135 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.75 MIF Mask Register This 16-bit register is used to determine which bits in the poll status portion of the MIF status register will cause an interrupt. If a mask bit is cleared to 0, the corresponding bit of the poll status will generate the MIF interrupt w[...]

  • Página 136

    136 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Default value: 0xFFFF. 7.5.76 MIF Status Register This 32-bit register is used in conjunction with the poll mode in the MIF. It contains two portions: poll data and poll status. The poll data field will always contain the latest and greatest image update of t[...]

  • Página 137

    137 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 7.5.77 MIF State Machine Register This nine-bit register provides the current state for all the state machines in the MIF. T able 233: MIF State Machine Register Address Register Physical Address Access Size MIF state machine register 0x8C0_701C 4 bytes T able 2[...]

  • Página 138

    138 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP P IN A SSIGNMENTS 8 8.1 Pin Assignments The Table 235 describes the pin assignments for the 240-pin PQFP FEPS package. T able 235: STP2002QFP Pin Assignments Pin No. Signal Name Dual Function (FAS366 Test Mode Only) 1 PP_STB 2 PP_AFXN 3 PP_ERR OR I_SCSI_DA CK[...]

  • Página 139

    139 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 28 ENET_RX_D V I_SCSI_A0 29 ENET_RXD[0] I_SCSI_A2 30 VSS_CORE 31 ENET_RXD[1] I_SCSI_A3 32 VDD_CORE 33 ENET_RXD[2] I_SCSI_RDN 34 ENET_RXD[3] I_SCSI_WRN 35 VSS_IO 36 ENET_BUFFER_EN_0 37 ENET_MDC 38 ENET_MDIO0 39 VDD_IO 40 ENET_MDIO1 41 VSS_IO 42 SCSI_D[11] 43 SCSI[...]

  • Página 140

    140 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 62 SCSI_D[6] 63 SCSI_D[5] 64 SCSI_D[4] 65 VSS_IO 66 SCSI_D[3] 67 SCSI_D[2] 68 SCSI_D[1] 69 VSS_IO 70 SCSI_D[0] 71 SCSI_SDP[1] 72 SCSI_D[15] 73 VSS_IO 74 SCSI_D[14] 75 SCSI_D[13] 76 SCSI_D[12] 77 VSS_IO 78 SCSI_XT AL1 79 SCSI_XT AL2 80 VDD_IO 81 Reserev ed 82 [...]

  • Página 141

    141 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 96 SB_SEL 97 SB_AS 98 SB_D[0] 99 VDD_IO 100 SB_D[1] 101 VSS_IO 102 SB_D[2] 103 SB_D[3] 104 VSS_IO 105 SB_D[4] 106 SB_D[5] 107 VDD_IO 108 SB_D[6] 109 VSS_IO 110 SB_D[7] 111 SB_D[8] IO_SCSI_DB[8] 112 VSS_IO 113 SB_D[9] IO_SCSI_DB[9] 114 SB_D[10] IO_SCSI_DB[10] 115[...]

  • Página 142

    142 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 130 SB_D[19] 131 SB_D[20] 132 VSS_IO 133 SB_D[21] 134 VDD_IO 135 SB_D[22] 136 VSS_IO 137 SB_D[23] 138 SB_D[24] 139 VSS_IO 140 SB_A CK[0] 141 SB_A CK[1] 142 VDD_IO 143 SB_A CK[2] 144 VSS_IO 145 SB_D[25] IO_SCSI_DBP1 146 VDD_CORE 147 SB_D[26] 148 VSS_IO 149 SB_[...]

  • Página 143

    143 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 164 VSS_IO 165 SB_P A[0] IO_SCSI_DB[04] 166 SB_P A[1] IO_SCSI_DB[03] 167 SB_P A[2] IO_SCSI_DB[02] 168 VSS_IO 169 SB_P A[3] IO_SCSI_DB[01] 170 SB_P A[4] IO_SCSI_DB[00] 171 VSS_IO 172 SB_P A[5] IO_SCSI_DBP0 173 VDD_IO 174 SB_LERR 175 SB_P A[6] 176 VSS_IO 177 SB_P [...]

  • Página 144

    144 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP 198 V SS 199 SB_P A[20] 200 SB_P A[21] 201 SB_P A[22] 202 VSS_IO 203 SB_P A[23] 204 VDD_IO 205 SB_P A[24] 206 VSS_IO 207 SB_P A[25] 208 VDD_CORE 209 SB_P A[26] 210 VSS_IO 211 VSS_CORE 212 SB_P A[27] 213 SB_D A TP AR 214 RESET I_SCSI_P A USE 215 ID_CS 216 PP_S[...]

  • Página 145

    145 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, 232 PP_D[2] 233 VSS_IO 234 PP_D[1] 235 PP_D[0] 236 PP_SLCT_IN 237 PP_INIT 238 VDD_IO 239 PP_DS_DIR 240 VSS_IO T able 235: STP2002QFP Pin Assignments Pin No. Signal Name Dual Function (FAS366 Test Mode Only)[...]

  • Página 146

    146 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP E RRA T A 9 9.1 Description of Errata in FEPS Rev 2.2 The following are some known problems and workarounds for Rev 2.2. of the FEPS. The device driver for the SCSI channel has software workarounds for all of these problems. 9.1.1 SCSI D VMA/Channel Engine (C[...]

  • Página 147

    147 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, byte count must become 1 before it can initiate the padding. So byte count not decrementing all the way to 1 makes the SCSI CE not write the last one byte to the FAS366 (when all of the conditions described above are met). Work Around : The driver can look at th[...]

  • Página 148

    148 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Work Around : Device driver normally does not access the FAS366 after enabling DMA, so it is not a problem. Device driver may access the FAS366 after enabling the DMA, in the case of error recovery. So, for a workaround, the driver should not access the FAS36[...]

  • Página 149

    149 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems, operation. After power-on, the D_ADDR register does not get self initialized. Even software reset to SCSI CE does not initialize the D_ADDR register. At such a time, or in a case where the previous transfer was started at an odd ad- dress, the D_ADDR register ma[...]

  • Página 150

    150 STP2002QFP Sun Microelectronics Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Work Around : After every external reset (coming from the SCSI bus to the FAS366), the de- vice driver should issue a chip reset to the FAS366. This prevents a mismatch between REQs and ACKs. 9.1.3 Ethernet Channel 9.1.3.1 FEPS Ethernet Channel Does Not Reset[...]

  • Página 151

    151 STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) - STP2002QFP Sun Microsystems,[...]

  • Página 152

    A Sun Microsystems Inc. Business 2550 Garcia A venue, Mountain V iew , CA, U.S.A. 94043 (408) 774-8545 Fax (408) 774-8537 © 1996 Sun Microsystems Incorporated All rights reserved. This publication contains information considered proprietary by Sun Microsystems Incorporated. No part of this document may be copied or reproduced in any form or by any[...]