core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_01.htm
author fturovic <frank.turovich@nokia.com>
Fri, 06 Aug 2010 14:28:38 -0500
changeset 1791 727385d8e2b3
parent 1646 7bcb3d758005
child 1934 4f0cd256d26c
permissions -rw-r--r--
added new customize carbide section and some relinking done for deleted duplicate page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1633
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     2
<html>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     3
<head>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     7
<title>Connect target device to PC Tutorial</title>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
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: 1646
diff changeset
    10
<body >
1633
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    11
<h2><strong>Connect  target device to PC</strong></h2>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    12
<p>In this example we demonstrate how to debug applications on a remote device using the Application TRK 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>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    13
<ol>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    14
    <li><strong>Connect target device to PC</strong></li>
1646
7bcb3d758005 completed remote debug tutorial
fturovic <frank.turovich@nokia.com>
parents: 1645
diff changeset
    15
    <li><a href="../trk/trk_installation_instr.htm">Install </a>TRK remote agent (v3.2.7) or later on the target device</li>
1645
0083290c145a minor edits to sync titles across tutorials
fturovic <frank.turovich@nokia.com>
parents: 1633
diff changeset
    16
    <li><a href="run_mode_debug_example_04.htm">Configure</a> project for downloading</li>
1633
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    17
    <li><a href="run_mode_debug_example_05.htm">Debug</a> project on target device</li>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    18
    </ol>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    19
<hr>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    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>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    21
<p class="note"><strong>NOTE</strong> This tutorial assumes that Carbide is setup properly enabling you to create, build, and debug applications with an emulator.</p>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    22
<div class="step">
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    23
    <h4 align="left">Connecting remote devices to PC</h4>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    24
    <ol>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    25
        <li>Connect the USB cable between the remote device and PC running Carbide.<br />
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    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>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    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>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    28
        	<p>The <strong>Status</strong> column indicates whether the service you need for debugging, TRK, is <strong>Available</strong>. If it's status is <strong>Not Accessible</strong> you are probably missing the TRK remote agent on the remote device.</p>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    29
        </li>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    30
        <li>Click OK on the remote device when it asks to use PC Suite mode with USB.<br />
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    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>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    32
        </li>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    33
    </ol>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    34
</div>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    35
<p><strong>NEXT</strong>: <a href="run_mode_debug_example_02.htm">Install TRK remote agent</a></p>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    36
<h4>Other references</h4>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    37
<ul>
1645
0083290c145a minor edits to sync titles across tutorials
fturovic <frank.turovich@nokia.com>
parents: 1633
diff changeset
    38
    <li><a href="run_mode_debug_example_00.htm">Remote Target Debugging (Run-mode)</a></li>
1633
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    39
</ul>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    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>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    41
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    42
</body>
0c69c533fa52 draft of run mode tutorial material
fturovic <frank.turovich@nokia.com>
parents:
diff changeset
    43
</html>