24
Testing
Table 2–5
P3 Values to Specify Mode Bits
Bit
Position
P3 Value
Description
0
1
External loopback: host port.
1
2
External loopback: printer port.
2
4
External loopback: mouse port.
3
8
LANCE loopback: Ethernet port.
4
16
Test all baud rates.
5
32
Do not exercise modem control signals.
Examples
NOTE
NCP may time out while waiting for the terminal to perform self-
tests. The timeout period of NCP version Phase V is adjustable.
•
To run test number 5 with mode bits 4 and 1 specified:
1.
Calculate the P3 value to specify mode bits 4 and 1.
Bit position
5
4
3
2
1
0
5−Bit Mode Register
Decimal Value
32 16
16
+
=
18 decimal
0
1
0
0
1
0
8
4
2
1
2
2.
Enter the command:
DWT>>> TEST 5 5 18
•
To run all tests without mode bits:
DWT>>> TEST 0 18
•
To run a single test (for example, test 16):
DWT>>> TEST 16