core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/stop_mode_debug_jtag.htm
changeset 0 fb279309251b
child 817 41b05da1d19f
child 819 8121a281245c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/stop_mode_debug_jtag.htm	Fri Apr 03 23:33:03 2009 +0100
@@ -0,0 +1,70 @@
+<!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 Trace32 (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>
+
+  <h5>Using Sophia Hardware </h5>
+  <ol>
+    <li>If needed, install the following Watchpoint debugger software:<br />
+    <p>Watchpoint ARM9<br />
+      Watchpoint ARM11<br />
+      CodeWarrior - Watchpoint Connection tool<br />
+      Driver for USB dongle for STI ARM<br />
+      Watchpoint ARM9 Help Files</p></li>
+    <li>Setup Watchpoint</li>
+    <p>Copy and unzip Watchpoint project and initialization files to any directory on your PC.</p>
+    <li>Establish Target Connection
+      <ol type="a">
+        <li>Plug USB dongle into your PC, and install the drivers if necessary.</li>
+      <li>Connect Sophia EJ-Debug JTAG device to the Jtag on the mother board (make sure SW3-7 is off) and to PC via USB cable.</li>
+      <li>When Windows prompts you for a driver, navigate to your WATCHPOINT\US_ARM9 or WATCHPOINT\US_ARM11 installation.</li>
+      <li>Open the WatchPoint project file. If it launches successfully, you have established a connection.</li>
+      </ol>
+    <p>After successfully opening the project file, make sure that for the H4 target, the Jtag clock is set to 8.33MHz. This can be done from the Resource menu of WatchPoint. Select the ‘ICE Configuration’ option and then select the ‘Clock’ tab. Check the 8.33 MHz radio button and apply the settings.</p>
+    </li>
+  </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; 2009 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>