Using serial connection
The following illustration shows how to connect to the device using a
null modem cable.
Any communication port on your PC can be used. Whereas, only Comm:2 port
is used to connect on the device to avoid interference on Comm:0.
Setting up serial connection
The following procedure must be followed to set up the serial
connection.
On the device
-
Modify the stat.ini
file as shown in the following
example.
[SectionOne]
comport= 2
[SectionTwo]
transport= serial
[SectionThree]
logging= 0
debugport=1
-
Set the com port to 2 for serial connection. This is because
COMM:0 is usually unavailable and access is denied when trying to connect.
(Logging should be left at 0, as it is only used for TestDriver debugging). The
stat.ini
file can then be included in the ROM in the
sys\data
directory or in the CF card in the sys\data
directory.
On your PC
Connect a null modem cable to the com port of your PC and comm:2 of
the device.
Example
The command-line option to run a test over a serial connection is:
> testdriver run -s root -p arm4 -b urel -s test1.test3 -t serialX
where, serialX
specifies that serial communication port X
on the PC.
NOTE: If -t
option is not specified, the
transport defaults to serial2 that is serial communication port 2.