Connect target device to PC

In this example we demonstrate how to debug applications on a remote device using the Application TRK remote debug agent. This enables you to test programs on the actual device it will operate on while observing its behavior using the Carbide debugger. The steps to do this include:

  1. Connect target device to PC
  2. Install TRK remote agent (v3.2.7) or later on the target device
  3. Configure project for downloading
  4. Debug project on target device

The most reliable connection between a remote device and your PC is a cable. In this case, the USB cable that physically connects your phone to the a PC USB connection. Once connected, Carbide uses plug-and-play (PnP) to create a remote connection to the phone or remote device.

NOTE This tutorial assumes that Carbide is setup properly enabling you to create, build, and debug applications with an emulator.

Connecting remote devices to PC

  1. Connect the USB cable between the remote device and PC running Carbide.

    Use the Remote Connections view to verify a successful connection or by looking at the remote connection trim display shown at the bottom of the workplace window.

    Remote Connection view   Remote Connection trim indicator

    The Status column indicates whether the service you need for debugging, TRK, is Available. If it's status is Not Accessible you are probably missing the TRK remote agent on the remote device.

  2. Click OK on the remote device when it asks to use PC Suite mode with USB.

    NOTE Debugging requires the use of PC Suite mode. If you are in another mode, like Mass storage mode, an alert appears asking you to change.

NEXT: Install TRK remote agent

Other references