Chapter 41 gmac ethernet Interface



Yüklə 2,77 Mb.
səhifə23/49
tarix03.12.2023
ölçüsü2,77 Mb.
#172297
1   ...   19   20   21   22   23   24   25   26   ...   49
Bit

Attr

Reset Value

Description

5


RC


0x0


INT5
The bit is set when the rxipv6_gd_frms counter reaches half the maximum value, and also when it reaches the maximum value.

4:2

RO

0x0

reserved

1


RC


0x0


INT1
The bit is set when the rxipv4_hdrerr_frms counter reaches half the maximum value, and also when it reaches the maximum value.

0


RC


0x0


INT0
The bit is set when the rxipv4_gd_frms counter reaches half the maximum value, and also when it reaches the maximum value.

GMAC_MMC_RXIPV4GFRM



Only
Address: Operational Base + offset (0x0210) MMC RX IPV4 Good Frame

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxipv4_gd_frms
Number of good IPv4 datagrams received with the TCP, UDP, or ICMP payload



GMAC_MMC_RXIPV4HDERRFRM



T-chip
Address: Operational Base + offset (0x0214) MMC RX IPV4 Head Error Frame

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxipv4_hdrerr_frms
Number of IPv4 datagrams received with header (checksum, length, or version mismatch) errors



GMAC_MMC_RXIPV6GFRM


Address: Operational Base + offset (0x0224) MMC RX IPV6 Good Frame

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxipv6_gd_frms
Number of good IPv6 datagrams received with TCP, UDP, or ICMP payloads.



GMAC_MMC_RXIPV6HDERRFRM


Address: Operational Base + offset (0x0228) MMC RX IPV6 Head Error Frame

Bit

Attr

Reset Value

Description




Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxipv6_hdrerr_frms
Number of IPv6 datagrams received with header errors (length or version mismatch).

GMAC_MMC_RXUDPERRFRM


Address: Operational Base + offset (0x0234) MMC RX UDP Error Frame

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxudp_err_frms
Number of good IP datagrams whose UDP payload has a checksum error.



GMAC_MMC_RXTCPERRFRM



Only
Address: Operational Base + offset (0x023c) MMC RX TCP Error Frame

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxtcp_err_frms
Number of good IP datagrams whose TCP payload has a checksum error.



GMAC_MMC_RXICMPERRFRM



T-chip
Address: Operational Base + offset (0x0244) MMC RX ICMP Error Frame

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxicmp_err_frms
Number of good IP datagrams whose ICMP payload has a checksum error.



GMAC_MMC_RXIPV4HDERROCT


Address: Operational Base + offset (0x0254) MMC RX OCTET IPV4 Head Error

Bit

Attr

Reset Value

Description

31:0

RW

0x00000000

rxipv4_hdrerr_octets
Number of bytes received in IPv4 datagrams with header errors (checksum, length, version mismatch). The value in the Length field of IPv4 header is used to update this counter.



GMAC_MMC_RXIPV6HDERROCT


Address: Operational Base + offset (0x0268) MMC RX OCTET IPV6 Head Error

Bit

Attr

Reset Value

Description




Bit

Attr

Reset Value

Description

31:0

RW

0x00000000

rxipv6_hdrerr_octets
Number of bytes received in IPv6 datagrams with header errors (length, version mismatch). The value in the IPv6 header's
Length field is used to update this counter.

GMAC_MMC_RXUDPERROCT


Address: Operational Base + offset (0x0274) MMC RX OCTET UDP Error

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxudp_err_octets
Number of bytes received in a UDP segment that had checksum errors.



GMAC_MMC_RXTCPERROCT



Only
Address: Operational Base + offset (0x027c) MMC RX OCTET TCP Error

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxtcp_err_octets
Number of bytes received in a TCP segment with checksum errors.



GMAC_MMC_RXICMPERROCT



T-chip
Address: Operational Base + offset (0x0284) MMC RX OCTET ICMP Error

Bit

Attr

Reset Value

Description

31:0


RW


0x00000000



rxicmp_err_octets
Number of bytes received in an ICMP segment with checksum errors.



GMAC_BUS_MODE


Address: Operational Base + offset (0x1000) Bus Mode Register

Bit

Attr

Reset Value

Description

31:26

RO

0x0

reserved

25


RW


0x0


AAL
Address-Aligned Beats
When this bit is set high and the FB bit equals 1, the AXI interface generates all bursts aligned to the start address LS bits. If the FB bit equals 0, the first burst (accessing the data buffer's start address) is not aligned, but
subsequent bursts are aligned to the address.


Only

T-chip



Bit

Attr

Reset Value

Description

24


RW


0x0


PBL_Mode 8xPBL Mode
When set high, this bit multiplies the PBL value programmed (bits [22:17] and bits [13:8]) eight times. Thus the DMA will transfer data in to a maximum of 8, 16, 32, 64, 128, and 256 beats depending on the
PBL value.

23


RW


0x0


USP
Use Separate PBL
When set high, it configures the RxDMA to use the value configured in bits [22:17] as PBL while the PBL value in bits [13:8] is applicable to TxDMA operations only. When reset to low, the PBL value in bits [13:8] is applicable for both DMA engines.

22:17

RW

0x01

RPBL RxDMA PBL
These bits indicate the maximum number of beats to be transferred in one RxDMA transaction. This will be the maximum value that is used in a single block Read/Write. The RxDMA will always attempt to burst as specified in RPBL each time it starts a Burst transfer on the host bus. RPBL can be programmed with permissible values of 1, 2, 4, 8, 16, and 32. Any other value will result in undefined behavior.These bits are valid and
applicable only when USP is set high.

16

RW

0x0

FB
Fixed Burst
This bit controls whether the AXI Master interface performs fixed burst transfers or not. When set, the AHB will use only SINGLE, INCR4, INCR8 or INCR16 during start of normal burst transfers. When reset, the AXI will use SINGLE and INCR burst transfer operations.

15:14

RO

0x0

reserved


Only

T-chip



Bit

Attr

Reset Value

Description

13:8

RW

0x01


PBL
Programmable Burst Length
These bits indicate the maximum number of beats to be transferred in one DMA transaction. This will be the maximum value that is used in a single block Read/Write.
The DMA will always attempt to burst as specified in PBL each time it starts a Burst transfer on the host bus. PBL can be programmed with permissible values of 1, 2, 4, 8, 16, and 32. Any other value will result in undefined behavior. When USP is set high,this PBL value is applicable for TxDMA transactions only.
The PBL values have the following limitations. The maximum number of beats (PBL) possible is limited by the size of the Tx FIFO and Rx FIFO in the MTL layer and the data bus width on the DMA. The FIFO has a constraint that the maximum beat supported is half the depth of the FIFO, except when specified (as given below). For different data bus widths and FIFO sizes, the valid PBL range (including x8 mode) is provided in the following table. If the PBL is common for both transmit and receive DMA, the minimum Rx FIFO and Tx FIFO depths must be considered. Do not program
out-of-range PBL values, because the system may not behave properly.
For TxFIFO, valid PBL range in full duplex mode and duplex mode is 128 or less.
For RxFIFO, valid PBL range in full duplex
mode is all.

7

RO

0x0

reserved

6:2

RW

0x00

DSL
Descriptor Skip Length
This bit specifies the number of Dword to skip between two unchained descriptors. The address skipping starts from the end of current descriptor to the start of next descriptor. When DSL value equals zero, then the descriptor table is taken as contiguous by
the DMA, in Ring mode.

1

RO

0x0

reserved





Yüklə 2,77 Mb.

Dostları ilə paylaş:
1   ...   19   20   21   22   23   24   25   26   ...   49




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin