Manual ARM ARM DUI 0137A

42 pages 0.29 mb
Download

Go to site of 42

Summary
  • ARM ARM DUI 0137A - page 1

    Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A ARM ® RMHost User Guide ...

  • ARM ARM DUI 0137A - page 2

    ii Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A ARM RMHost User Guide Copyright © 2000 A RM Limited. All rights reserved.. All rights reserved. Release Information The following changes ha ve been made to this document. Proprietary Notice W ords and logos mark ed with ® or ™ are registered trademarks ...

  • ARM ARM DUI 0137A - page 3

    ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. iii Contents User Guide Preface About this book ............. .............. .............. .............. .............. .............. ......... -vi Feedback ........... .............. .............. .............. .............. .............. .............. ...

  • ARM ARM DUI 0137A - page 4

    Contents iv Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A ...

  • ARM ARM DUI 0137A - page 5

    ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. v Preface This preface introduce s the User Guide for ARM ® RMHost. It contains the follo wing sections: • About this book on page vi • F eedback on page ix. ...

  • ARM ARM DUI 0137A - page 6

    Preface vi Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A About this book This book describes how to configure the RealMonitor host controller, RealMonitor.dll , and how to debug RealMonitor-enabled applications using RMHost. This book documents only the host-side functionality of RealMonit or . For complet ...

  • ARM ARM DUI 0137A - page 7

    Preface ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. vii italic Highlights special termin ology , de notes intern al cross-references, and citations. typewriter Denotes text that can be entered at the ke yboard, such as commands, file and program names, and source code. typewriter Denotes a permitted abbr ...

  • ARM ARM DUI 0137A - page 8

    Preface viii Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A Other publicatio ns Please refer to the following publications for addi tional informati on: • E5903-97000 , T race P ort Analysis fo r ARM ETM User’ s Guide , Agil ent, 1999. • E3459-97002 , Emulation for the ARM7/ARM 9 User’ s Guide , Agi ...

  • ARM ARM DUI 0137A - page 9

    Preface ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ix Feedback ARM Limited welcomes feedb ack on both RMHost, and its documentation. Feedbac k on RM Host If you hav e any problems with RMHost, please contact your supplier . T o help them provide a ra pid and useful response, please gi ve: • details of ...

  • ARM ARM DUI 0137A - page 10

    Preface x Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A ...

  • ARM ARM DUI 0137A - page 11

    ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 11 Chapter 1 Overview of RMHost This chapter introduces RMHo st. It describes the host -side functionality of ARM RealMonitor , and how it is distinct from RMT arget. It also describes the system requirements for using RMHost. This chapter contains the followin ...

  • ARM ARM DUI 0137A - page 12

    Overview of RMHost 12 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A 1.1 About RMHost RMHost is the host component of RealMonito r . It allows you to perform nonstop debugging on a RealMonitor-en abled application in a real-t ime en vironment. That is, when using RMHost, you can perform certain debugging op ...

  • ARM ARM DUI 0137A - page 13

    Overview of RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 13 The RMHost controller con verts RDI function calls into RealMonito r protocol packets, and uses the chosen JT A G uni t to send these ov er the Debug Communications Channel (DCC) of the ARM processor . Additionally , RMHost uses the signal ...

  • ARM ARM DUI 0137A - page 14

    Overview of RMHost 14 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A 1.2 RMHost requirements This section describes the requirement s n ecessary to use RMHost. RMHost works with any applica tion that has b een integrated with RMT ar get. For details on building RMT ar get, and integrating it with an applica ...

  • ARM ARM DUI 0137A - page 15

    ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 21 Chapter 2 Connecting to RMHost This chapter describes the procedure for connecting to the debug tar get using AXD, including details on selecting and configuring the RMHost controller . It also describ es the connection messages you recei ve in AXD when you ...

  • ARM ARM DUI 0137A - page 16

    Connecting to RMHost 22 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A 2.1 Procedure f or connecti ng to RMHost using AXD This section describes the steps you m ust follow to connect to RMHost using AXD 1.1. If you are using anot her deb ugger , see its accompan ying documentation for details on how to perf ...

  • ARM ARM DUI 0137A - page 17

    Connecting to RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 23 T o use RMHost with a RealMonitor -enabled image: 1. Start AXD, and configure the tar get as follo ws: a. Select Conf igure T arget from the Options menu. The Choose T arget dialog box is displayed. b . Select a supported JT A G unit DLL ...

  • ARM ARM DUI 0137A - page 18

    Connecting to RMHost 24 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A Note If Load Image is disabled, you must stop the current ly running application by selecting Stop from the Execute menu. The image might stop at main() if the program contains th is function. In this case, select Go from the Execute men ...

  • ARM ARM DUI 0137A - page 19

    Connecting to RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 25 If not present in the list, click Add and select RealMonitor.dll from the Bin directory of the ADS installation. (If DLL files do not appear , use W indo ws Explorer to ensure that files of ex tension .dll are not hidden from view .) The ...

  • ARM ARM DUI 0137A - page 20

    Connecting to RMHost 26 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A Figure 2-4 RealMonitor Configurati on dialog bo x Select an RDI 1.5. 1rt-compliant JT A G controller DLL (see RMHost r equirements on page 14), using one of the following methods: • If present in either the Bin directory of the ADS ins ...

  • ARM ARM DUI 0137A - page 21

    Connecting to RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 27 Figure 2-5 JT A G controll er search dialog bo x 6. Click Configur e... to configure the JT A G controlle r you hav e selected. For details on configuring Multi-ICE 2.0, see the Using Mu lti-ICE with Debugger s chapter of the Multi-ICE U ...

  • ARM ARM DUI 0137A - page 22

    Connecting to RMHost 28 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A Caution The module server does not work with the RMHost controller if you disabled support for the ExecuteCode packet when you b uilt RMT ar get. See the description of the RM_OPT_EXECUTECODE build option in the building the RMT ar get c ...

  • ARM ARM DUI 0137A - page 23

    Connecting to RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 29 Note If RMHost detects an error in the co nf iguration you hav e selected, an error message is displayed. If this happens, you can click one of the following: OK Stores the configuration, although the error can prevent you from using RMH ...

  • ARM ARM DUI 0137A - page 24

    Connecting to RMHost 210 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A Figure 2-7 No pc read acces s message ...

  • ARM ARM DUI 0137A - page 25

    Connecting to RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 211 2.2 AXD connection messages When you connect the debugger to RMHost, messages are displayed in the RDI Log window of AXD, as sho wn in Example 2-1. If you are using a deb ugger other than A XD, see the documentat ion that accompanies yo ...

  • ARM ARM DUI 0137A - page 26

    Connecting to RMHost 212 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A ...

  • ARM ARM DUI 0137A - page 27

    ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 31 Chapter 3 Deb ug ging with RMHost This chapter describes all the deb ugging feat ures you can use in th e real-time debugging en vironment a v ailable when you are connect ed to RMHost. It also describes the restrictions to debugging a RealMon itor-enabled a ...

  • ARM ARM DUI 0137A - page 28

    Debugging with RMHost 32 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A 3.1 Debugging with RMHost When connected to RMHost, th e AXD user interface is identi cal to that when connected to other debug tar gets such as Multi-ICE. (For details on connecting to RMHost, see Chapter 2 Connecting to RMHost .) Y ou ...

  • ARM ARM DUI 0137A - page 29

    Debugging with RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 33 3.1.2 Back ground memory acces s In addition to being able to access memory when your application is stopped (as with Multi-ICE, for example), memory can also be read or written to while your appl ication is running. Therefore, the memo ...

  • ARM ARM DUI 0137A - page 30

    Debugging with RMHost 34 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A Note This workaround is performed only if you hav e built RMT arget to support the ExecuteCode packet (see RM_OPT_EXECUTECODE in the building chapte r of the ARM RMT ar get Inte gration Guide ). It is recommended that you build RMT ar g ...

  • ARM ARM DUI 0137A - page 31

    Debugging with RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 35 3.1.5 Bac kgro und setting and c learing of breakpo ints and watchpo ints When connected to RMHost, you can set and clear breakpoin ts and watchpoints without stopping your applicatio n. Y ou can also set and clear breakpo ints and watc ...

  • ARM ARM DUI 0137A - page 32

    Debugging with RMHost 36 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A This message is display ed when the application is writing to the console, and you st op your application at the same time RMHost is performi ng a write. In this case, the data that has not been written is lost, and is not display ed. F ...

  • ARM ARM DUI 0137A - page 33

    Debugging with RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 37 3.2 Error messa ges This section describes all error messages you might recei ve when connecting to, or using, RMHost. Note Error messages can be generated by both the de b ugger and the JT A G unit you are usi ng. Errors that come from ...

  • ARM ARM DUI 0137A - page 34

    Debugging with RMHost 38 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A This error might also be displayed when any of the follo wing occurs: • Y ou connect to a remote target, that is, one that is not connect ed to the local machine. In this case, a timeo ut typically r esults from a network error . • ...

  • ARM ARM DUI 0137A - page 35

    Debugging with RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 39 Memory map forbids reading from location Either you or the d ebugger attempted to read a location, but the memory map on the target forbids the reading of locations in that region. Memory map forbids setting of breakpoint/watchpoint Eit ...

  • ARM ARM DUI 0137A - page 36

    Debugging with RMHost 310 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A RMHost could not load the specified JTAG controller This is displayed when the JT A G controller DLL could not be loaded . RMHost internal error Indicates some consistency failure inside the RMHost controller . Y ou must report this er ...

  • ARM ARM DUI 0137A - page 37

    Debugging with RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 311 3.2.1 Other mess ages fr om RMHost In addition to the messages described in Err or messag es on page 37, you can also recei ve a message similar to that shown in Figure 3-1 when either of the following occurs: • you write to the CPSR ...

  • ARM ARM DUI 0137A - page 38

    Debugging with RMHost 312 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A Cancel Abort. RMHost returns an error to the deb ugger . Note In ge neral, if your application en ables interrupts itself, yo u must start it with inter rupts disabled. Otherwise, it is typically safe to st art it with interrupts enabl ...

  • ARM ARM DUI 0137A - page 39

    Debugging with RMHost ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. 313 3.3 Using RMHost with T race Deb ug T ools RMHost can work with the ARM T race Deb ug T ools (TDT) version 1.1 or later . The system configuration is illustrated in Figure 3-2. Figure 3-2 Using RMHo st with TDT Note The ARM CPU core sh ...

  • ARM ARM DUI 0137A - page 40

    Debugging with RMHost 314 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A 3.3.1 Configuring AXD to enable t racing with RMHost The process of connecting to a target system using both RMHost and TDT is similar to connecting to a target system using only RMH ost. The only difference is that you must enable tra ...

  • ARM ARM DUI 0137A - page 41

    ARM DUI 0137A Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. Index-1 Inde x The items in this inde x are listed in alphabetical order , with symbols and numerics appearing at the end. The references giv en are to page numbers. A ARM Developer Suite (ADS) 2--5 ARM eXtended Debugger. See AXD. ARM Flash Utility (AFU) 2--2 A ...

  • ARM ARM DUI 0137A - page 42

    Index Index-2 Copyright © 2000 ARM Limited. All ri ghts reserved.. All rights reserved. ARM DUI 0137A G GetPC packet 3--5 H Host requirements 1--4 I Image cache 3--14 IRQ 3--11 J JTAG errors 3--7 M main() 2--4 Memory access 3--3 Module server 2--7 Multi-ICE 2--3, 2--6, 3--2, 3--7 N Nonstop debug 3--2 Nonstop startup 3--4 P PATH 2--6 pc (program co ...

Manufacturer ARM Category Video Gaming Accessories

Documents that we receive from a manufacturer of a ARM ARM DUI 0137A can be divided into several groups. They are, among others:
- ARM technical drawings
- DUI 0137A manuals
- ARM product data sheets
- information booklets
- or energy labels ARM ARM DUI 0137A
All of them are important, but the most important information from the point of view of use of the device are in the user manual ARM ARM DUI 0137A.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals ARM ARM DUI 0137A, service manual, brief instructions and user manuals ARM ARM DUI 0137A. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product ARM ARM DUI 0137A.

Similar manuals

A complete manual for the device ARM ARM DUI 0137A, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use ARM ARM DUI 0137A by users. Manuals are usually written by a technical writer, but in a language understandable to all users of ARM ARM DUI 0137A.

A complete ARM manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual ARM ARM DUI 0137A - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the ARM ARM DUI 0137A, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the ARM ARM DUI 0137A, that we can find in the current document
3. Tips how to use the basic functions of the device ARM ARM DUI 0137A - which should help us in our first steps of using ARM ARM DUI 0137A
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with ARM ARM DUI 0137A
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of ARM ARM DUI 0137A in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning ARM ARM DUI 0137A?

Use the form below

If you did not solve your problem by using a manual ARM ARM DUI 0137A, ask a question using the form below. If a user had a similar problem with ARM ARM DUI 0137A it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)