core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_01.htm
changeset 2087 617a89f9dffc
parent 2009 b622387629d6
equal deleted inserted replaced
2086:218e49ed806f 2087:617a89f9dffc
     7 <title>Connect target device to PC Tutorial</title>
     7 <title>Connect target device to PC Tutorial</title>
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
     9 </head>
     9 </head>
    10 <body >
    10 <body >
    11 <h2><strong>Connect  target device to PC</strong></h2>
    11 <h2><strong>Connect  target device to PC</strong></h2>
    12 <p>In this example we demonstrate how to debug applications on a remote device using the Application CODA remote debug agent. This enables you to test  programs on the actual device it will operate on while observing its behavior using the Carbide debugger. The steps to do this include:</p>
    12 <p>In this example we demonstrate how to debug applications on a remote device using CODA (Carbide On-device Debug Agent). This enables you to test  programs on the actual device it will operate on while observing its behavior using the Carbide debugger. The steps to do this include:</p>
    13 <ol>
    13 <ol>
    14     <li><strong>Connect target device to PC</strong></li>
    14     <li><strong>Connect target device to PC</strong></li>
    15     <li><a href="../trk/trk_installation_instr.htm">Install </a>CODA remote agent (v3.2.7) or later on the target device</li>
    15     <li><a href="../trk/trk_installation_instr.htm">Install</a> <a href="../../concepts/trk.htm">CODA</a> 4.x or later on the target device</li>
    16     <li><a href="run_mode_debug_example_04.htm">Configure</a> project for downloading</li>
    16     <li><a href="run_mode_debug_example_04.htm">Configure</a> project for downloading</li>
    17     <li><a href="../../tasks/projects/prj_build.htm">Debug</a> project on target device</li>
    17     <li><a href="../../tasks/projects/prj_build.htm">Debug</a> project on target device</li>
    18     </ol>
    18     </ol>
    19 <hr>
    19 <hr>
    20 <p>The most reliable connection between a remote device and your PC is a cable. In this case, the USB cable that physically connects your phone to the a PC USB connection. Once connected, Carbide uses plug-and-play (PnP) to create a remote connection  to the phone or remote device.</p>
    20 <p>The most reliable connection between a remote device and your PC is a cable. In this case, the USB cable that physically connects your phone to the a PC USB connection. Once connected, Carbide uses plug-and-play (PnP) to create a remote connection  to the phone or remote device.</p>
    23     <h4 align="left">Connecting remote devices to PC</h4>
    23     <h4 align="left">Connecting remote devices to PC</h4>
    24     <ol>
    24     <ol>
    25         <li>Connect the USB cable between the remote device and PC running Carbide.<br />
    25         <li>Connect the USB cable between the remote device and PC running Carbide.<br />
    26         	<p>Use the <strong>Remote Connections</strong> view to verify a successful connection or by looking at the remote connection trim display shown at the bottom of the workplace window.</p>
    26         	<p>Use the <strong>Remote Connections</strong> view to verify a successful connection or by looking at the remote connection trim display shown at the bottom of the workplace window.</p>
    27         	<p><img src="../images/run_mode_debug_01.png" alt="Remote Connection view">&nbsp;&nbsp;&nbsp;<img src="../images/run_mode_debug_02.png" alt="Remote Connection trim indicator"></p>
    27         	<p><img src="../images/run_mode_debug_01.png" alt="Remote Connection view">&nbsp;&nbsp;&nbsp;<img src="../images/run_mode_debug_02.png" alt="Remote Connection trim indicator"></p>
    28         	<p>The <strong>Status</strong> column indicates whether the service you need for debugging, CODA, is <strong>Available</strong>. If it's status is <strong>Not Accessible</strong> you are probably missing the CODA remote agent on the remote device.</p>
    28         	<p>The <strong>Status</strong> column indicates whether the service you need for debugging, CODA, is <strong>Available</strong>. If it's status is <strong>Not Accessible</strong> you are probably missing  CODA on the remote device.</p>
    29         </li>
    29         </li>
    30         <li>Click OK on the remote device when it asks to use PC Suite mode with USB.<br />
    30         <li>Click OK on the remote device when it asks to use Ovi Suite mode with USB.<br />
    31         	<p class="note"><strong>NOTE</strong> Debugging requires the use of PC Suite mode. If you are in another mode, like Mass storage mode, an alert appears asking you to change.</p>
    31         	<p class="note"><strong>NOTE</strong> Debugging requires the use of Ovi or Suite mode. If you are in another mode, like Mass storage mode, an alert appears asking you to change.</p>
    32         </li>
    32         </li>
    33     </ol>
    33     </ol>
    34 </div>
    34 </div>
    35 <p><strong>NEXT</strong>: <a href="run_mode_debug_example_02.htm">Install CODA remote agent</a></p>
    35 <p><strong>NEXT</strong>: <a href="run_mode_debug_example_02.htm">Install CODA</a></p>
    36 <h4>Other references</h4>
    36 <h4>Other references</h4>
    37 <ul>
    37 <ul>
    38     <li><a href="run_mode_debug_example_00.htm">Remote Target Debugging (Run-mode)</a></li>
    38     <li><a href="run_mode_debug_example_00.htm">Remote Target Debugging (Run-mode)</a></li>
    39 </ul>
    39 </ul>
    40 <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>
    40 <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>