beautypg.com

6 append crc, 7 strip crc, 8 strip padding – Maxim Integrated 78Q8430 ARM9(920T) Linux Driver Diagnostic Guide User Manual

Page 10: 9 rmon read, 10 rmon clear, Append crc, Strip crc, Strip padding, Rmon read, Rmon clear

background image

78Q8430 ARM9(920T) Linux Driver Diagnostic Guide

UG_8430_003

10

Rev.

1.1

4.4.6 Append CRC

1. On the Linux host enter: ping 192.168.10.99
2. Verify that the ARM target responds to the pings.
3. Enter the command: 8430-tool eth0 -F crc fix on

Note: CRC append and fix are mutually exclusive. CRC append is the startup default.

4. Verify that packets are no longer returned.
5. Enter the command: 8430-tool eth0 -F crc append on
6. Verify that packets are returned again.

4.4.7 Strip CRC

1. Enter the command: 8430-tool eth0 -r read 0x154
2. Verify the returned value is 0x0A000052.
3. Enter the command: 8430-tool eth0 -F strip crc off
4. Enter the command: 8430-tool eth0 -r read 0x154
5. Verify the returned value is 0x0A000050.
6. Enter the command: 8430-tool eth0 -F strip crc on
7. Enter the command: 8430-tool eth0 -r read 0x154
8. Verify the returned value is 0x0A000052

4.4.8 Strip Padding

1. Enter the command: 8430-tool eth0 -r read 0x154
2. Verify the returned value is 0x0A000052.
3. Enter the command: 8430-tool eth0 -F strip pad on
4. Enter the command: 8430-tool eth0 -r read 0x154
5. Verify the returned value is 0x0A0000D2.
6. Enter the command: 8430-tool eth0 -F strip pad off
7. Enter the command: 8430-tool eth0 -r read 0x154
8. Verify the returned value is 0x0A000052.

4.4.9 RMON Read

This procedure tests reading the RMON counters.

1. On the Linux host enter: ping 192.168.10.99
2. Enter the command: 8430-tool eth0 -m
3. Verify that at least 100 packets were received and sent.

4.4.10 RMON Clear

This procedure tests clearing of the RMON counters.

1. Enter the command: 8430-tool eth0 -M clear
2. Enter the command: 8430-tool eth0 -m
3. Verify that the counters values are 0s.