## 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

Carbide uses plug-and-play (PnP) to create a remote connection for the phone or target device once it's plugged in. Once a remote connection is created the Remote Connections view appears in Carbide. In addition, the current available connection is shown in the workspace's lower-right trim area.

Figure 1. Current available connection shown in workspace trim area

NOTE PC Suite or Ovi Suite must be installed on your PC for the following steps to work.

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

1. Connect the USB connectivity cable to your PC and then the phone or target device
2. On the phone or target device, select PC-Suite from the USB Mode options when asked
3. In Carbide.c++, verify the current available connection is shown in the Remote Connections view or the indicator in the trim area

##### Related concepts

- On-device Debugging
- Run Mode On-Device Debugging

##### Related references

- Debug Window (On-device Debugging) Overview