core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm
author fturovic <frank.turovich@nokia.com>
Wed, 15 Sep 2010 09:40:16 -0500
changeset 2009 b622387629d6
parent 1791 727385d8e2b3
child 2092 047b263f1004
permissions -rw-r--r--
changed TRK to CODA in docs except where it related to pre-3.0 versions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     2
<html>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     3
<head>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
1207
e265bbe56eb0 merge 2.6 changes to 3.0 docs
fturovic <frank.turovich@nokia.com>
parents: 325
diff changeset
     7
<title>Run Mode On-Device Debugging</title>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     9
</head>
1791
727385d8e2b3 added new customize carbide section and some relinking done for deleted duplicate page
fturovic <frank.turovich@nokia.com>
parents: 1207
diff changeset
    10
<body >
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    11
<h2>Run Mode On-Device Debugging</h2>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    12
<p>To implement run mode on-device debugging the following tasks need to be completed.</p>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    13
<ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    14
  <li><a href="run_mode_debug.htm">Install device connection software</a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    15
  <li><a href="run_mode_debug_01.htm">Install Perl</a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    16
  <li><a href="run_mode_debug_02.htm">Install an SDK</a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    17
  <li><a href="run_mode_debug_03.htm">Setup environment variables</a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    18
  <li><a href="run_mode_debug_04.htm">Setup a virtual drive for Techview and Cust Kits</a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    19
  <li><a href="run_mode_debug_05.htm">Set the default kit in Devices.xml </a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    20
  <li><a href="run_mode_debug_06.htm">Install the SISX file on the target device</a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    21
  <li><b>Configure TRK connection on the device</b></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    22
  <li><a href="run_mode_debug_08.htm">Create a launch configuration</a></li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    23
</ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    24
<div class="step">
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    25
<h4><a name="runConfig" id="runConfig"> </a>Configure CODA Connection on the Device</h4>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    26
<h5>Connecting with Bluetooth</h5>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    27
  <ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    28
    <li>On the device make sure the Bluetooth port is turned on</li>
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    29
    <li>On the phone launch CODA.</li>
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    30
    <p>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 the My Own folder.</p>
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    31
    <li>CODA will ask which host you want to pair with. When requested, select your computer from the available Bluetooth devices list.</li>
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    32
    <li>After the host and phone are paired, CODA should be connected. Verify that CODA is running.</li>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    33
    <li>On the PC:
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    34
      <ol type="a">
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    35
        <li>Right click on the Bluetooth icon in the System tray and select Advanced Configuration</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    36
        <li>Click the Local Services tab</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    37
        <li>Write down the Bluetooth COM Port number from the Local Services tab (Figure 1).</li>
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    38
        <p>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.</p>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    39
        <li>Click OK to close the Bluetooth Configuration window</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    40
        <p align="center"><img src="images/Bluetooth_localservices.png" width="460" height="437" /></p>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    41
        <p class="figure">Figure 1. Bluetooth Configuration windows Local Services panel</p>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    42
      </ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    43
    </li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    44
  </ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    45
<h5>Connecting with PC Suite</h5>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    46
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    47
  <ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    48
    <li>Connect the USB cable to the PC and then to the target device</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    49
    <li>On the device select PC suite from the USB mode list</li>
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    50
    <li>Launch the CODA agent</li>
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    51
    <p>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.</p>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    52
    <li>Halt the Bluetooth device search by pressing Cancel</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    53
    <li>Click Options &gt; Settings &gt; Connection</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    54
    <li>Change Connection type to USB and set connection options (Figure 2) </li>
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    55
    <li>Select Back and start the CODA again and you should be connected</li>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    56
    <p align="center"><img src="images/TRK_USB_settings.png" width="211" height="250" /></p>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    57
    <p class="figure">Figure 2. USB Connection Settings</p>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    58
    <li>On the PC</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    59
        <ol type="a">
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    60
          <li>Open Windows Computer Management by right-clicking My Computer and select Manage from the context menu to open the Computer Management window.</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    61
            <li>Select System Tools &gt; Device Manager &gt; Ports (COM &amp; LPT) to display all active ports</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    62
            <li>Locate the S60 Phone USB (COMxx) item in the list</li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    63
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    64
        <p align="center"><img src="images/comp_manage_ports.png" width="507" height="546" />        </p>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    65
    <p class="figure">Figure 3. Device Manager - Ports</p>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    66
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    67
      <li>Write down the port ID and Communication Port Properties.</li>
2009
b622387629d6 changed TRK to CODA in docs except where it related to pre-3.0 versions
fturovic <frank.turovich@nokia.com>
parents: 1791
diff changeset
    68
      <p>The COM Port number in the Device Manager window should match the COM port used in the Connections tab of the CODA launch configuration.</p>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    69
      <li>Close the Device Manager window </li>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    70
    </ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    71
  </ol>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    72
  </div>
1207
e265bbe56eb0 merge 2.6 changes to 3.0 docs
fturovic <frank.turovich@nokia.com>
parents: 325
diff changeset
    73
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
325
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    74
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    75
</body>
6cb072f1aa74 minor edits to fix possessive error
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    76
</html>