ARM ARM DUI 0137A manual Using RMHost with Trace Debug Tools, Asic

Page 39

Debugging with RMHost

3.3Using RMHost with Trace Debug Tools

RMHost can work with the ARM Trace Debug Tools (TDT) version 1.1 or later. The system configuration is illustrated in Figure 3-2.

AXD with RMHost and TDT running on the host

JTAG unit

5-wire

JTAG

JTAG

port

ASIC

ARM CPU core

running RMTarget

Embedded

Trace

Macrocell

Trace

port

Trace Port Analyzer

Figure 3-2 Using RMHost with TDT

Note

The ARM CPU core shown in Figure 3-2can be any of the RealMonitor-supported target processors (see the section on system requirements in the Introduction chapter of the ARM RMTarget Integration Guide). For details on porting RMTarget to a new board or processor, see the section on porting RMTarget in the Introduction to RMTarget chapter of the ARM RMTarget Integration Guide.

When you are using AXD with both TDT and RMHost, you can perform tracing on your application, and then actively debug your foreground application using RMHost, based on the results returned to the Trace window. If you are using TDT without RMHost, you can debug your application based on the trace results, but this causes the processor to stop. Therefore, using the two products together provides you with a more robust debugging environment than using each product separately.

The system requirements are the same, except additional hardware is required to use TDT. These requirements are described in the section on setting up the TDT hardware in the Getting Started chapter of the Trace Debug Tools User Guide.

This section describes the following:

Configuring AXD to enable tracing with RMHost on page 314

Performance of RMHost with TDT on page 314.

ARM DUI 0137A

Copyright © 2000 ARM Limited. All rights reserved.. All rights reserved.

313

Image 39
Contents ARM RMHost User Guide ARM RMHostChapter Debugging with RMHost User GuideContents About this book on PrefaceTypographical conventions Using this bookAbout this book Intended audienceARM publications Further readingOther publications Feedback Feedback on RMHostFeedback on this book ARM DUI 0137A About RMHost on RMHost requirements on Overview of RMHostApplication/RTOS About RMHostOverview of RMHost RMHost package RMHost requirementsConnecting to RMHost Procedure for connecting to RMHost using AXD Debuggers chapter of the Multi-ICE User Guide Configure interface dialog box Select Configure Interface from the Options menuDescribes how to do this RealMonitor Configuration dialog box Jtag controller search dialog box Deselect the the option Fetch module information from target No pc write access message CancelNo pc read access message Lines 2 AXD connection messages212 Debugging with RMHost Nonstop debug Debugging with RMHostBackground memory access Nonstop startup CPU register accessProfiling Data messagingSemihosting Debugging with RMHost RDI Error messagesTarget does not include an ARM processor Memory map forbids reading from location RMHost could not load the specified Jtag controller Yes Other messages from RMHost312 Asic Using RMHost with Trace Debug ToolsConfiguring AXD to enable tracing with RMHost Performance of RMHost with TDTSelect Debugger Internals from the System Views menu Rmoptsdminfo IndexRmoptdatalogging Rmoptgetpc