core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm
changeset 2125 bbb6c7da6e3f
parent 2092 047b263f1004
equal deleted inserted replaced
2124:593dde21e874 2125:bbb6c7da6e3f
    16   <li><a href="run_mode_debug_02.htm">Install an SDK</a></li>
    16   <li><a href="run_mode_debug_02.htm">Install an SDK</a></li>
    17   <li><a href="run_mode_debug_03.htm">Setup environment variables</a></li>
    17   <li><a href="run_mode_debug_03.htm">Setup environment variables</a></li>
    18   <li><a href="run_mode_debug_04.htm">Setup a virtual drive for Techview and Cust Kits</a></li>
    18   <li><a href="run_mode_debug_04.htm">Setup a virtual drive for Techview and Cust Kits</a></li>
    19   <li><a href="run_mode_debug_05.htm">Set the default kit in Devices.xml </a></li>
    19   <li><a href="run_mode_debug_05.htm">Set the default kit in Devices.xml </a></li>
    20   <li><a href="run_mode_debug_06.htm">Install the SISX file on the target device</a></li>
    20   <li><a href="run_mode_debug_06.htm">Install the SISX file on the target device</a></li>
    21   <li><b>Configure TRK connection on the device</b></li>
    21   <li><b>Configure CODA connection on the device</b></li>
    22   <li><a href="run_mode_debug_08.htm">Create a launch configuration</a></li>
    22   <li><a href="run_mode_debug_08.htm">Create a launch configuration</a></li>
    23 </ol>
    23 </ol>
    24 <div class="step">
    24 <div class="step">
    25 <h4><a name="runConfig" id="runConfig"> </a>Configure CODA Connection on the Device</h4>
    25 <h4><a name="runConfig" id="runConfig"> </a>Configure CODA Connection on the Device</h4>
    26 <h5>Connecting with Bluetooth</h5>
    26 <h5>Connecting with Nokia Ovi/PC Suite</h5>
    27   <ol>
       
    28     <li>On the device make sure the Bluetooth port is turned on</li>
       
    29     <li>On the phone launch CODA.</li>
       
    30     <p>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.</p>
       
    31     <li>CODA will ask which host you want to pair with. When requested, select your computer from the available Bluetooth devices list.</li>
       
    32     <li>After the host and phone are paired, CODA should be connected. Verify that CODA is running.</li>
       
    33     <li>On the PC:
       
    34       <ol type="a">
       
    35         <li>Right click on the Bluetooth icon in the System tray and select Advanced Configuration</li>
       
    36         <li>Click the Local Services tab</li>
       
    37         <li>Write down the Bluetooth COM Port number from the Local Services tab (Figure 1).</li>
       
    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>
       
    39         <li>Click OK to close the Bluetooth Configuration window</li>
       
    40         <p align="center"><img src="images/Bluetooth_localservices.png" width="460" height="437" /></p>
       
    41         <p class="figure">Figure 1. Bluetooth Configuration windows Local Services panel</p>
       
    42       </ol>
       
    43     </li>
       
    44   </ol>
       
    45 <h5>Connecting with PC Suite</h5>
       
    46 
    27 
    47   <ol>
    28   <ol>
       
    29     <li>Verify Nokia Ovi/PC Suite are installed on the PC (drivers are required by Carbide)</li>
    48     <li>Connect the USB cable to the PC and then to the target device</li>
    30     <li>Connect the USB cable to the PC and then to the target device</li>
    49     <li>On the device select PC suite from the USB mode list</li>
    31     <li>On the device select PC Suite from the USB mode list</li>
    50     <li>Launch the CODA agent</li>
    32     <li>On the device launch the CODA agent</li>
    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>
    33     <p>The location of the CODA on-device debug agent will vary based on the phone. On some phones it will be in the <span class="code">Installed</span>, <span class="code">Applications</span>, or <span class="code">My Own</span> folder.</p>
    52     <li>Halt the Bluetooth device search by pressing Cancel</li>
       
    53     <li>Click Options &gt; Settings &gt; Connection</li>
    34     <li>Click Options &gt; Settings &gt; Connection</li>
    54     <li>Change Connection type to USB and set connection options (Figure 2) </li>
    35     <li>Change Connection type to USB and set connection options</li>
       
    36        <p align="left"><img src="../trk/images/coda_options.png" alt="CODA options" width="180" height="165"></p>
    55     <li>Select Back and start the CODA software again and you should be connected</li>
    37     <li>Select Back and start the CODA software again and you should be connected</li>
    56     <p align="center"><img src="images/TRK_USB_settings.png" width="211" height="250" /></p>
    38     <li>On the PC verify connection in Remote Connections view<br />
    57     <p class="figure">Figure 2. USB Connection Settings</p>
    39     	<p><img src="../../reference/images/view_remote_connections.png" alt="Remote Connections view" width="679" height="166"></p>
    58     <li>On the PC</li>
    40     </li>
    59         <ol type="a">
       
    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>
       
    61             <li>Select System Tools &gt; Device Manager &gt; Ports (COM &amp; LPT) to display all active ports</li>
       
    62             <li>Locate the S60 Phone USB (COMxx) item in the list</li>
       
    63 
       
    64         <p align="center"><img src="images/comp_manage_ports.png" width="507" height="546" />        </p>
       
    65     <p class="figure">Figure 3. Device Manager - Ports</p>
       
    66 
       
    67       <li>Write down the port ID and Communication Port Properties.</li>
       
    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>
       
    69       <li>Close the Device Manager window </li>
       
    70     </ol>
    41     </ol>
    71   </ol>
    42   <p>With the remote device connected you are ready to start debugging.</p>
    72   </div>
    43 </div>
    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>
    44 <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>
    74 
    45 
    75 </body>
    46 </body>
    76 </html>
    47 </html>