## USB Connection Setup

On-device debugging supports the use of USB to debug programs running on a target device. To enable communication with a USB device, a connection must be established between the PC and the device. Doing that requires one of the following USB connectivity cables to physically connect the PC to the device:

- DKU-2
- CA-53

#### Setting up a USB Connection for On-device Debugging

1. Install the latest USB connectivity software, for example, S60 devices use Nokia PC Suite
2. Connect the USB connectivity cable to your PC and then the target device
3. For S60 devices, select PC-Suite from the USB Mode list when the target device is connected
4. Download the Application TRK or System TRK SISX file to the device
5. On the PC (optional)

1. Open the Window's Computer Management (Windows XP)

Right-click My Computer and select Manage from the context menu to open the Computer Management window. Select System Tools > Device Manager > Ports (COM & LPT) to display all active ports.

2. Locate the S60 Phone USB (COMx) item in the list (Figure 2)

Figure 2. Device Manager showing Ports (COM & LPT) section

3. The USB COM Port number should match the COM port used in the Connections tab of the TRK launch configuration.
4. Close the Device Manager window

##### Related concepts

- On-device Debugging

##### Related references

- Debug Window (On-device Debugging) Overview

##### Related tasks

- Installing On-device Debug Agents using USB