Owner manual

78Q8430 ARM9(920T) Linux Driver Diagnostic Guide UG_8430_003
8 Rev. 1.1
9. When boot up completes, enter the following at the prompt:
arp -s 192.168.10.100 00:0E:2E:5B:25:86
10. On the Linux Host, issue the following ping command to verify the connection to the target:
ping 192.168.10.99
4.3 Packet Tests
This test group drives TCP/IP generated ping packets from the Linux host to the target containing the
78Q8430 board under test, and vice versa.
4.3.1 Packet Transmit
This procedure tests the packet transmit function using Slave DMA for all transmit I/O.
1. Issue the following ping command from the target platform to the Linux host:
/sbin/ping 192.168.10.100
2. Observe the ARM Board console output.
3. Verify that the Linux Host responds to each packet sent by the target platform.
4.3.2 Packet Receive
This procedure tests the packet receive function using Slave DMA for all receive I/O.
1. Issue the following ping command from the Linux host to the ARM Board:
/sbin/ping 192.168.10.99
2. Observe the ARM Board console output.
3. Verify that the ARM Board responds to each packet sent by the Linux host.
4.4 MAC Tests
4.4.1 RX Interrupt Delay Timer
This procedure tests the setting of the RX Interrupt Delay Timer.
1. Connect an oscilloscope to the 78Q8430 interrupt pin (J13, refer to the 78Q8430 Embest Evaluation
Board User Manual).
2. Set the scope to display 1.0 V and 50 µs per division.
3. On Linux host enter: pktgen.sh
4. Adjust the time scale of the scope so that at least two distinct interrupt assertions can be seen on the
scope and are close together.
5. Record the interval between the two interrupt assertions .
6. Adjust the interrupt delay: 8430-tool eth0 -Q irqdelay set 1000
The delay value (1000 is given as an example) must be changed as needed to demonstrate an
increase in the interval between interrupts, since different systems will deliver packets at different
rates.
7. Capture and record the new interrupt interval from the scope.
4.4.2 Watermark Interrupt
This procedure tests the setting of the buffer high watermark and handling of the watermark interrupt.
1. Enter the command: 8430-tool eth0 -Q highwater get
2. Enter the command: 8430-tool eth0 -Q highwater set 15
3. Enter the command: 8430-tool eth0 -Q highwater get
4. Verify the change.
To restore the default watermark value, enter: 8430-tool eth0 -Q highwater set 20