28-14
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
28.9 Programming the Ethernet Controller
The core conÞgures the SCC to operate as an Ethernet controller by setting GSMR[MODE]
to 0b1100. Receive and transmit errors are reported through RxBD and TxBD. Several
GSMR Þelds must be programmed to special values for Ethernet. Set DSR[SYN1] to 0x55
and DSR[SYN2] to 0xDE. The 6 bytes of preamble programmed in the GSMR, in
combination with the DSR programming, causes 8 bytes of preamble on transmit
(including the 1-byte start delimiter with the value 0xD5).
28.10 SCC Ethernet Commands
Transmit and receive commands are issued to the CP command register (CPCR).
Table 28-2 describes transmit commands.
1
From SCC base address. SCC base = IMMR + 0x3C00 (SCC1) or 0x3D00 (SCC2) or 0x3E00 (SCC3) or 0x3F00
(SCC4).
0x7E
TLBD_PTR
Hword Tx last BD pointer.
0x80
TBUF1_DATA0 Word
Save area 0Ñnext frame.
0x84
TBUF1_DATA1 Word
Save area 1Ñnext frame.
0x88
TBUF1_RBA0
Word
0x8C
TBUF1_CRC
Word
0x90
TBUF1_BCNT Hword
0x92
TX_LEN
Hword Tx frame length counter.
0x94
IADDR1
Hword Individual address Þlter 1Ð4. Used in the hash table function of the individual
addressing mode. Zeros can be written to these values after reset and before the
Ethernet channel is enabled to disable all individual hash address recognition
functions. The
SET
GROUP
ADDRESS
command is used to enable the hash table.
0x96
IADDR2
0x98
IADDR3
0x9A
IADDR4
0x9C
BOFF_CNT
Hword Backoff counter.
0x9E
TADDR_H
Hword Allows addition and deletion of addresses from individual and group hash tables.
After placing an address in TADDR, issue a
SET
GROUP
ADDRESS
command.
TADDR_L (temp address low) is the least-signiÞcant half word and TADDR_H
(temp address high) is the most-signiÞcant half word.
0x A0
TADDR_M
0x A2
TADDR_L
Table 28-1. SCC Ethernet Parameter RAM Memory Map (Continued)
Offset
1
Name
Width
Description
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......