core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/stop_mode_debug_jtag.htm
author fturovic <frank.turovich@nokia.com>
Tue, 31 Aug 2010 22:58:09 -0500
changeset 1934 4f0cd256d26c
parent 1854 49624691da34
permissions -rw-r--r--
BUG 11531 - fixed reported issues from Rooney and Stephen for SDK section

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Stop Mode On-Device Debugging</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF" dir="ltr">
<h2>Installing JTAG</h2>
<div class="step">
  <h4>Install the JTAG Software</h4>
  <h5>Using Lauterbach Hardware </h5>
  <ol>
    <li>Program Lauterbach with Proper License</li>
    <p>You will need a Lauterbach, a USB cable, and a Lauterbach power supply. You will need to program the Lauterbach with licenses for the particular processors you will be targeting.</p>
    <p>Older Lauterbachs have Xscale for Lubbock and ARM9 for H2/Renesas licenses installed on them already. Newer Lauterbachs should have ARM9 for H2/Renesas and ARM11 for H4 licenses installed on them already. If you don’t have the proper license installed on the Lauterbach for the processor you want to work with, you will receive an error when launching a debug session.</p>
    <li> Run the Trace32 Installer
      <ul>
        <li>Run the <span class="code">Setup.bat</span> file. During installation select the following options:<br /><br />
        <b>Product Type:</b> In-Circuit Debugger<br />
          <b>ICD interface Type:</b> USB Interface<br />
          <b>Selection of license for new software:</b> License key not necessary<br />
          <b>CPU selection:</b> ICD ARM7 ARM9 ARM10 ARM11 ICD XSCALE</li>
	  </ul>
    </li>
    <li>Install the USB Drivers </li>
    <ol type="a">
      <li>Place a Trace32 CD into the host machine.</li>
    <li>Plug in the USB connector from the Lauterbach into the host machine.</li>
    <li>Once the host machine detects the connection, install the drivers from the CD.</li>
    </ol>
    <li>Copy Trace32 License File to T32 Folder</li>
    <p>The newer Lauterbachs require a license file in the T32 folder. Copy the trace32 license file called license.t32 to your C:\T32 folder.</p>

    <li>Copy Trace32 Configuration File</li>
    <p>For H4 board: Copy the trace32 configuration file for the non-ARM11 processor, called config_arm11.t32, to your C:\T32 folder. You can also modify the default config_arm11.t32 file. This file needs to be modified to specify the port number and also enable T32 to support debugger commands outside T32. Carbide.c++ provides specific T32 config files in the support folder. The default config file will be called carbideconfig.t32.</p>
    <li>Set up the Board</li>
    <p>Power up the board. You should now be able to download the image.</p>
  </ol>
</div>
<h5>Related Tasks</h5>
<ul>
  <li><a href="stop_mode_debug_precond.htm">Stop Mode On-Device Debugging Preconditions</a></li>
  <li><a href="stop_mode_debug_launchcfg.htm">Defining a Stop Mode Debug Configuration</a></li>
</ul>
<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>
</body>
</html>