The figure below shows how to connect to the device using a null modem cable.
Any com port on the PC can be used. Where as only Comm:2 port is used to connect on the device to avoid interference on Comm:0.
Modify the stat.ini
file as shown in the example below.
[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 on the
sys\data
directory or in the CF card on the sys\data
directory.
The command line option for running 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 transport will be
through com port X on the PC.
NOTE: If -t
option is not specified, the
transport defaults to serial2 that is com port 2.