diff -r 000000000000 -r fb279309251b core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm Fri Apr 03 23:33:03 2009 +0100 @@ -0,0 +1,76 @@ + + + + + + +Debugger Settings + + + +

Run Mode On-Device Debugging

+

To implement run mode on-device debugging the following tasks need to be completed.

+
    +
  1. Install device connection software
  2. +
  3. Install Perl
  4. +
  5. Install an SDK
  6. +
  7. Setup environment variables
  8. +
  9. Setup a virtual drive for Techview and Cust Kits
  10. +
  11. Set the default kit in Devices.xml
  12. +
  13. Install the SISX file on the target device
  14. +
  15. Configure TRK connection on the device
  16. +
  17. Create a launch configuration
  18. +
+
+

Configure TRK Connection on the Device

+
Connecting with Bluetooth
+
    +
  1. On the device make sure the Bluetooth port is turned on
  2. +
  3. On the phone launch TRK.
  4. +

    The location of the TRK 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.

    +
  5. TRK will ask which host you want to pair with. When requested, select your computer from the available Bluetooth devices list.
  6. +
  7. After the host and phone are paired, TRK should be connected. Verify that TRK is running.
  8. +
  9. On the PC: +
      +
    1. Right click on the Bluetooth icon in the System tray and select Advanced Configuration
    2. +
    3. Click the Local Services tab
    4. +
    5. Write down the Bluetooth COM Port number from the Local Services tab (Figure 1).
    6. +

      The Port number will be used when configuring the TRK launch configuration. The Bluetooth COM Port number in the Local Services tab should match the COM port used in the Connections tab of the TRK launch configuration.

      +
    7. Click OK to close the Bluetooth Configuration window
    8. +

      +

      Figure 1. Bluetooth Configuration window's Local Services panel

      +
    +
  10. +
+
Connecting with PC Suite
+ +
    +
  1. Connect the USB cable to the PC and then to the target device
  2. +
  3. On the device select PC suite from the USB mode list
  4. +
  5. Launch the TRK agent
  6. +

    The location of the TRK 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.

    +
  7. Halt the Bluetooth device search by pressing Cancel
  8. +
  9. Click Options > Settings > Connection
  10. +
  11. Change Connection type to USB and set connection options (Figure 2)
  12. +
  13. Select Back and start the TRK again and you should be connected
  14. +

    +

    Figure 2. USB Connection Settings

    +
  15. On the PC
  16. +
      +
    1. Open Window's Computer Management by right-clicking My Computer and select Manage from the context menu to open the Computer Management window.
    2. +
    3. Select System Tools > Device Manager > Ports (COM & LPT) to display all active ports
    4. +
    5. Locate the S60 Phone USB (COMxx) item in the list
    6. + +

      +

      Figure 3. Device Manager - Ports

      + +
    7. Write down the port ID and Communication Port Properties.
    8. +

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

      +
    9. Close the Device Manager window
    10. +
    +
+
+ + + +