beautypg.com

3 software reset, 4 eeprom access, 5 arc – Maxim Integrated 78Q8430 ARM9(920T) Linux Driver Diagnostic Guide User Manual

Page 9: Software reset, Eeprom access

background image

UG_8430_003

78Q8430 ARM9(920T) Linux Driver Diagnostic Guide

Rev. 1.1

9

4.4.3 Software Reset

The procedure generates and verifies the software reset.

1. Attach and configure a Logic Analyzer to trap access to register 0x154 (TP2 and TP5, refer to the

78Q8430 Embest Evaluation Board User Manual).

2. Enter the command: 8430-tool eth0 –R
3. Verify that the MAC Reset bit has been written to the 78Q8430.

4.4.4 EEPROM Access

This procedure tests random EEPROM read and write access.

1. To read the EEPROM, enter: ethtool -e eth0 offset 0x00 length 10
2. Verify the read value.
3. Write to the EEPROM: ethtool -E eth0 magic 8430 offset 0 value 0x05
4. Read back the value: ethtool -e eth0 offset 0x00 length 10
5. Verify that 0x05 was written.
6. Restore the original value: ethtool -E eth0 magic 8430 offset 0 value 0xFF

4.4.5 ARC

This procedure tests the ARC uni-cast, multi-cast and promiscuous mode filters.


ARC Uni-cast

1. Enter the command: 8430-tool eth0 -c filter u 2
2. Enter the command: 8430-tool eth0 -C arc u 2 00:01:02:0D:0E:0F
3. Enter the command: 8430-tool eth0 -c filter u 2
4. Verify the returned RMR low order bytes now show 00,01,02,0D,0E,0F.
5. Enter the command: 8430-tool eth0 -C arc u 2 00:01:02:03:04:05
6. Enter the command: 8430-tool eth0 -c filter u 2
7. Verify the returned RMR low order bytes now show 00,01,02,03,04,05. This shows that they have

been restored to their original values.


ARC Multi-cast

1. Enter the command: 8430-tool eth0 -c filter m 2
2. Enter the command: 8430-tool eth0 -C arc m 2 01:02:03:04:05:06
3. Enter the command: 8430-tool eth0 -c filter m 2
4. Verify the returned RMR low order bytes now show 01,02,03,04,05,06.
5. Enter the command: 8430-tool eth0 -C arc m 2 00:00:00:00:00
6. Enter the command: 8430-tool eth0 -c filter m 2
7. Verify the returned RMR low order bytes are 00,00,00,00,00,00. This shows that the original values

have been restored.