ARM ARM DUI 0137A manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto ARM ARM DUI 0137A. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoARM ARM DUI 0137A vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual ARM ARM DUI 0137A você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual ARM ARM DUI 0137A, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual ARM ARM DUI 0137A deve conte:
- dados técnicos do dispositivo ARM ARM DUI 0137A
- nome do fabricante e ano de fabricação do dispositivo ARM ARM DUI 0137A
- instruções de utilização, regulação e manutenção do dispositivo ARM ARM DUI 0137A
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque ARM ARM DUI 0137A não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos ARM ARM DUI 0137A e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço ARM na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas ARM ARM DUI 0137A, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo ARM ARM DUI 0137A, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual ARM ARM DUI 0137A. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

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

  • Página 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 [...]

  • Página 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 ........... .............. .............. .............. .............. .............. ..............[...]

  • Página 4

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

  • Página 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.[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 10

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

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 26

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

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 . • [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]