PACKET FORMAT IN BUFFER MEMORY
The packet format in memory is similar for the TRANSMIT and RECEIVE areas. The first word is reserved for the status word, the next
word is used to specify the total number of bytes, and that in turn is followed by the data area. The data area holds the packet itself, and its length is determined by the byte count. The packet memory format is word oriented.
RAM
OFFSET (DECIMAL)
0
2
4
1536 Max
bit15 | bit0 |
STATUS WORD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RESERVED |
| BYTE COUNT (always even) | |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DATA AREA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| CONTROL BYTE | LAST DATA BYTE (if odd) |
| FIGURE 8 - DATA PACKET FORMAT | ||
|
|
|
|
|
| TRANSMIT PACKET | RECEIVE PACKET |
STATUS WORD |
| Written by CSMA upon transmit | Written by CSMA upon receive |
|
| completion (see Status | completion (see RX Frame |
|
| Register). | Status Word). |
BYTE COUNT |
| Written by CPU. | Written by CSMA. |
DATA AREA |
| Written by CPU. | Written by CSMA. |
CONTROL BYTE |
| Written by CPU to control | Written by CSMA. Also has |
|
| ODD/EVEN data bytes. | ODD/EVEN bit. |
29