To use the USB transport give the following command:
testdriver run -p armv5 -b urel -s myroot.mytest -t usb1
Connect the USB one end of the cable to your PC and other end to the USB connector in H4 (at bottom-right) or H2 board (next to Comm:0).
The following need to be set up when using a USB connection.
An available USB port and USB cable connected to the device through the square port (labelled U33 on the target device).
A software driver to recognise the device as a USB supported device and expose it as a virtual serial port.
Symbian MCCI drivers, for detecting a target device (for example, Lubbock board) as a plug-and-play USB device identified as SGH-D700 and allocating a virtual serial port to it.
Install drivers on the PC.
NOTE: Attach the target device only after it has fully started up (therefore it is not detected as anonymous by the PC).
If the PC shows an anonymous plug-and-play device connected, then remove it from the list of devices using Device Manager or right-click the system tray icon and select "Stop" (this depends on the operating system).
The device component STAT can not access the USB port from Flash or RAM drives. In order to access the USB port, the STAT tool must be run from ROM.
On the target device, ensure the USB Manager icon is on, by using the Control Panel.
Physically attach the USB cable between the PC and target device port J30. The Symbian device will appear as a port under Device Manager.
Make a note of the virtual serial port created.
Provide the STAT.ini
file in the
\system\data
folder of any drive in the device (typically copy it
in the MMC card) before starting STAT.
Modify the STAT.ini
file to include -usb
as your transport option, as shown below.
[SectionOne]
comport= 3
[SectionTwo]
transport= usb
[SectionThree]
logging= 1
Start the STAT tool on the device with transport=USB
set in the stat.ini
file.
Build a rom using the following command:
buildrom -D_EABI=ARMV5 -DRVCT -D_STARTUPMODE2 h4hrp techview_statapi platsec
When starting the STAT, it must show the current version (for example, v1.1.1000) and the transport as 'usb'.
Start the development board.
You are now ready to use the TestDriver over a USB connection.