On the device make sure the Bluetooth port is turned on
-
On the phone launch CODA.
-
The location of CODA (Carbide On-device Debug Agent) will vary based on the phone. On some phones it will be in the Installed folder, on others it may be in the My Own folder.
-
CODA will ask which host you want to pair with. When requested, select your computer from the available Bluetooth devices list.
-
After the host and phone are paired, CODA should be connected. Verify that CODA is running.
-
On the PC:
-
-
Right click on the Bluetooth icon in the System tray and select Advanced Configuration
-
Click the Local Services tab
-
Write down the Bluetooth COM Port number from the Local Services tab (Figure 1).
-
The Port number will be used when configuring the CODA launch configuration. The Bluetooth COM Port number in the Local Services tab should match the COM port used in the Connections tab of the CODA launch configuration.
-
Click OK to close the Bluetooth Configuration window
-
-
Figure 1. Bluetooth Configuration windows Local Services panel
-
-
-
-
Connecting with PC Suite
+
Connecting with Nokia Ovi/PC Suite
+
Verify Nokia Ovi/PC Suite are installed on the PC (drivers are required by Carbide)
Connect the USB cable to the PC and then to the target device
-
On the device select PC suite from the USB mode list
-
Launch the CODA agent
-
The location of the CODA on-device debug agent will vary based on the phone. On some phones it will be in the Installed folder, on others it may be in My Own folder.
-
Halt the Bluetooth device search by pressing Cancel
+
On the device select PC Suite from the USB mode list
+
On the device launch the CODA agent
+
The location of the CODA on-device debug agent will vary based on the phone. On some phones it will be in the Installed, Applications, or My Own folder.
Click Options > Settings > Connection
-
Change Connection type to USB and set connection options (Figure 2)
+
Change Connection type to USB and set connection options
+
Select Back and start the CODA software again and you should be connected
-
-
Figure 2. USB Connection Settings
-
On the PC
-
-
Open Windows Computer Management by right-clicking 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
-
Locate the S60 Phone USB (COMxx) item in the list
-
-
-
Figure 3. Device Manager - Ports
-
-
Write down the port ID and Communication Port Properties.
-
The COM Port number in the Device Manager window should match the COM port used in the Connections tab of the CODA launch configuration.
-
Close the Device Manager window
+
On the PC verify connection in Remote Connections view
+
+
-
-
+
With the remote device connected you are ready to start debugging.
+
Preconditions to On-Device Debugging
-
Before you can use on-device debugging to debug 3rd and 5th edition devices, the following preconditions must be met.
+
Before you can use on-device debugging to debug 5th edition devices, the following preconditions must be met.
Verifying On-device Debugging Preconditions
Verify that your system has the following:
A current Symbian OS SDK is installed
-
Perl installed
+
Perl is installed
RVCT or GCCE compiler
-
USB or Bluetooth support on your PC
+
USB support on your PC
Nokia Ovi/PC Suite (or equivilent software) for connecting and installing applications to the device
Download and install the current CODA SISX file using the On-Device Connections dialog
Specify the communication method with the on-target device during the debug session
-
Start CODA on the device. During startup of CODA on the device you must specify the communication method the on-device agent uses to debug the device. Currently, those methods include Bluetooth and USB or a null serial cable. For Bluetooth, you must pair the device with the PC and a valid serial port assigned. For USB, A USB cable must connect the PC to the device and a valid serial port assigned. Use On-Device Connections dialog to make the identification and connection setup quick and easy.
+
Start CODA on the device. During startup of CODA on the device you must specify the communication method the on-device agent uses to debug the device. Currently, those methods include USB or a null serial cable. For USB, A USB cable must connect the PC to the device and a valid serial port assigned. Use On-Device Connections dialog to make the identification and connection setup quick and easy.
The location of the CODA software varies based on the phone. On some phones it will be the Installed folder, on others it may be in My Own folder. Refer to the documentation that came with the phone to learn where installed programs are stored.
+
The location of the CODA (Carbide On-device Debug Agent) software varies based on the phone. On some phones it will be the Installed, Applications, or the My Own folder. Refer to the documentation that came with the phone to learn where installed programs are stored.
+
Make sure CODA (Carbide On-device Debug Agent) is present on the device
+
Normally, you can determine the COM port ID using the Device Manager if TRK is already connected via USB.
-
To check, choose Start > Settings > Control panel > System > Hardware > Device Manager. In the Device Manager, choose "Ports" to view the active ports (Figure 1).
-
+
To check, choose Start > Settings > Control panel > System > Hardware > Device Manager. In the Device Manager, choose "Ports" to view the active ports (Figure 1).
+
Figure 1. Ports displayed in Ports section of Device Manager.
In some situations all USB virtual COM ports are installed under "Modems" in the Device Manager. In the Device Manager dialog, choose "Modems" and see if there are two COM ports listed. One of them will work for debugging. Most of the time, the higher port number works for debugging with TRK.