core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug.htm
branchRCL_2_4
changeset 1086 c4cdf14b6868
parent 987 77469bd2d10b
equal deleted inserted replaced
1084:328f2d956cbe 1086:c4cdf14b6868
     7 <title>Run Mode Debugger Settings</title>
     7 <title>Run Mode Debugger Settings</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 bgcolor="#FFFFFF">
    10 <body bgcolor="#FFFFFF">
    11 <h2>Run Mode On-Device Debugging</h2>
    11 <h2>Run Mode On-Device Debugging</h2>
    12 <p>To implement run mode on-device debugging the following tasks need to be completed.</p>
    12 <p>Run mode on-device debugging enables you to download and launch a project on a phone or target device and debug it using the Carbide debugger. Before you can do that, some setup requirements are required. Once the setup is done, Carbide can then use plug-and-play (PnP) with USB to create a remote connection that connects  with the TRK agent on the target device to download, launch, and debug the program.</p>
    13 <ol>
    13 <ol>
    14   <li><b>Install device connection software</b></li>
    14   <li><b>Setup system and development requirements</b> (below)</li>
    15   <li><a href="run_mode_debug_01.htm">Install Perl</a></li>
    15   <li><a href="../trk/trk_installation_instr.htm">Install</a> Application or System TRK v3.2.6 or later on the target device</li>
    16   <li><a href="run_mode_debug_02.htm">Install an SDK</a></li>
    16   <li><a href="../trk/trk_connection_usb.htm">Connect</a> USB cable to phone or target device for PnP connectivity</li>
    17   <li><a href="run_mode_debug_03.htm">Setup environment variables</a></li>
    17   <li><a href="../CreatingProjectsToc.htm">Create</a> or <a href="../ImportingProjects.html">import</a> a project in the Carbide C/C++ workspace</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="../projects/prj_build.htm">Build</a> the project</li>
    19   <li><a href="run_mode_debug_05.htm">Set the default kit in Devices.xml </a></li>
    19   <li><a href="../../debugger/debug/cmds_starting.htm">Debug</a> the project on  a <a href="../../projects/launch/launch_phone.htm">phone</a> or <a href="../../projects/launch/launch_board.htm"> 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><a href="run_mode_debug_07.htm">Configure TRK connection on the device</a></li>
       
    22   <li><a href="run_mode_debug_08.htm">Create a launch configuration</a></li>
       
    23 </ol>
    20 </ol>
    24 <div class="step">
    21 <div class="step">
    25 <h4><a name="runInstall" id="runInstall">	</a>Install Device Connection Software</h4>
    22   <h4><a name="runInstall" id="runInstall2"> </a>Setup  system and development requirements</h4>
    26 <p>The two choices for connecting are Bluetooth and PC Suite. </p>
    23   <p>All of the following requirements are required to build, communicate, and control programs on a phone or target device.</p>
    27 <h5>BlueTooth</h5>
       
    28 <ol>
       
    29   <li>System requirements: </li>
       
    30   <ul>
    24   <ul>
    31     <li>Administration rights on your computer</li>
    25     <li>Install <a href="../trk/trk_install_pcsuite.htm">PC Suite</a> or <a href="http://nds1.nokia.com/files/support/global/phones/software/Nokia_Ovi_Suite_webinstaller_ALL.exe">Ovi Suite</a> on your PC to ensure the correct drivers are installed for connecting to the phone or target device.</li>
    32     <li> BT dongle attached to your computer</li>
    26     <li>Install the correct version of <a href="run_mode_debug_01.htm">Perl</a> on your PC to support Symbian OS builds</li>
    33     <li>Bluetooth installer to install the drivers</li>
    27     <li>Install a supported <a href="run_mode_debug_02.htm">SDK</a> and make sure its the default</li>
       
    28     <li><a href="run_mode_debug_03.htm">Configure</a> the environmental variables</li>
       
    29     <li>(Optional) <a href="run_mode_debug_04.htm">Setup</a> a virtual drive to use Techview and Cust Kits</li>
    34   </ul>
    30   </ul>
    35   <li>Install the Bluetooth dongle to a USB port</li>
    31   <p>Once you've setup your environment, its time to verify that the TRK agent is on the phone or target device.</p>
    36   <li>Install the drivers from the Bluetooth CD</li>
       
    37   <li>Click on the Bluetooth icon in your system tray and run the Bluetooth setup</li>
       
    38   <li>Right click on the Bluetooth icon in the System tray and select Advanced Configuration</li>
       
    39   <li>Click the Accessibility tab
       
    40     <ol type="a">
       
    41       <li>Check the option &ldquo;Let other Bluetooth devices discover this computer&rdquo;</li>
       
    42         <li>Set the option under &ldquo;Allow&rdquo; to &ldquo;All Devices&rdquo;</li>
       
    43       </ol>
       
    44     </li>
       
    45 </ol>
       
    46 <p class="note"><b>NOTE</b> The Nokia PC image includes the Microsoft Bluetooth drivers which do not support serial emulation over Bluetooth. You need to download and install the drivers provided by the Bluetooth manufacturer to connect to a device. </p>
       
    47 <h5>Nokia PC Suite</h5>
       
    48 <ol>
       
    49   <li>Install <a href="http://www.nokiausa.com/support/pcsuite/main.html%20or%20http://europe.nokia.com/A4144903">PC Suite</a> (or later version)    
       
    50     <p>Launch the PC Suite installer and follow the onscreen instructions to install the software. When finished, a <b>Get Connected</b> wizard should appear</p>
       
    51   </li>
       
    52   <li> Press Next</li>
       
    53   <li>In the &quot;Select your connection type&quot; window select &quot;Cable Connection&quot; and press Next</li>
       
    54   <li>You will be prompted to connect the phone via the USB cable</li>
       
    55   <li>Connect the phone and continue with  onscreen instructions</li>
       
    56   <li>After installation your  phone should be listed</li>
       
    57   <li>Click Finish</li>
       
    58   <li>Select PC suite on your phone</li>
       
    59   <p>The Nokia PC Suite window should appear</p>
       
    60   <li>Select the Manage Connections icon</li>
       
    61   <li>Uncheck all the connections available</li>
       
    62   <li>Click Ok</li>
       
    63   <p>PC Suite is now ready to use.</p>
       
    64 </ol>
       
    65 </div>
    32 </div>
    66 <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>
    33 <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>
    67 
    34 
    68 </body>
    35 </body>
    69 </html>
    36 </html>