core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm
changeset 2009 b622387629d6
parent 1791 727385d8e2b3
child 2092 047b263f1004
equal deleted inserted replaced
2008:549473f3167e 2009:b622387629d6
    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 TRK 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 TRK 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 Bluetooth</h5>
    27   <ol>
    27   <ol>
    28     <li>On the device make sure the Bluetooth port is turned on</li>
    28     <li>On the device make sure the Bluetooth port is turned on</li>
    29     <li>On the phone launch TRK.</li>
    29     <li>On the phone launch CODA.</li>
    30     <p>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.</p>
    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>
    31     <li>TRK will ask which host you want to pair with. When requested, select your computer from the available Bluetooth devices list.</li>
    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, TRK should be connected. Verify that TRK is running.</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:
    33     <li>On the PC:
    34       <ol type="a">
    34       <ol type="a">
    35         <li>Right click on the Bluetooth icon in the System tray and select Advanced Configuration</li>
    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>
    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>
    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 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.</p>
    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>
    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>
    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>
    41         <p class="figure">Figure 1. Bluetooth Configuration windows Local Services panel</p>
    42       </ol>
    42       </ol>
    43     </li>
    43     </li>
    45 <h5>Connecting with PC Suite</h5>
    45 <h5>Connecting with PC Suite</h5>
    46 
    46 
    47   <ol>
    47   <ol>
    48     <li>Connect the USB cable to the PC and then to the target device</li>
    48     <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>
    49     <li>On the device select PC suite from the USB mode list</li>
    50     <li>Launch the TRK agent</li>
    50     <li>Launch the CODA agent</li>
    51     <p>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.</p>
    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>
    52     <li>Halt the Bluetooth device search by pressing Cancel</li>
    52     <li>Halt the Bluetooth device search by pressing Cancel</li>
    53     <li>Click Options &gt; Settings &gt; Connection</li>
    53     <li>Click Options &gt; Settings &gt; Connection</li>
    54     <li>Change Connection type to USB and set connection options (Figure 2) </li>
    54     <li>Change Connection type to USB and set connection options (Figure 2) </li>
    55     <li>Select Back and start the TRK again and you should be connected</li>
    55     <li>Select Back and start the CODA again and you should be connected</li>
    56     <p align="center"><img src="images/TRK_USB_settings.png" width="211" height="250" /></p>
    56     <p align="center"><img src="images/TRK_USB_settings.png" width="211" height="250" /></p>
    57     <p class="figure">Figure 2. USB Connection Settings</p>
    57     <p class="figure">Figure 2. USB Connection Settings</p>
    58     <li>On the PC</li>
    58     <li>On the PC</li>
    59         <ol type="a">
    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>
    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>
    63 
    63 
    64         <p align="center"><img src="images/comp_manage_ports.png" width="507" height="546" />        </p>
    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>
    65     <p class="figure">Figure 3. Device Manager - Ports</p>
    66 
    66 
    67       <li>Write down the port ID and Communication Port Properties.</li>
    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 TRK launch configuration.</p>
    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>
    69       <li>Close the Device Manager window </li>
    70     </ol>
    70     </ol>
    71   </ol>
    71   </ol>
    72   </div>
    72   </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>
    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>