ARM VERSION 1.2 Ficha de datos

Busca en linea o descarga Ficha de datos para Software ARM VERSION 1.2. ARM VERSION 1.2 Datasheet Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 176
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - Developer Suite

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058DARM® Developer SuiteVersion 1.2Debug Target Guide

Pagina 2 - ARM Developer Suite

Preface x Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFeedbackARM Limited welcomes feedback on both the ARM Developer Suite, a

Pagina 3 - Contents

ARMulator Reference 4-40 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.9 Event scheduling functionsThe following functions ena

Pagina 4 - Chapter 5 Semihosting

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-414.10 General purpose functionsThe following are general p

Pagina 5 - • Feedback on page x

ARMulator Reference 4-42 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DARMul_BusPeripAccessRegistrationThis structure and type a

Pagina 6 - About this book

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-43PeripAccessCapabilityThis parameter defines the capabilit

Pagina 7 - Preface

ARMulator Reference 4-44 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.2 ARMulif_ReadBusRangeYou must supply a breg structu

Pagina 8

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-454.10.3 Hostif_RaiseErrorSeveral initialization and instal

Pagina 9

ARMulator Reference 4-46 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.5 ARMul_AddCounterDescThe ARMul_AddCounterDesc() fun

Pagina 10 - Feedback

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-474.10.6 ARMul_AddCounterValueThis function provides the fa

Pagina 11 - Introduction

ARMulator Reference 4-48 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.7 ARMul_AddCounterValue64This function provides the

Pagina 12 - 1.1 Debug target overview

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-494.10.8 ARMulif_StopExecutionThis function stops simulator

Pagina 13

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 1-1Chapter 1 IntroductionThis chapter introduces the debug support facilities pro

Pagina 14

ARMulator Reference 4-50 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.10 ARMulif_GetCoreClockFreqThis function returns the

Pagina 15 - ARMulator Basics

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-514.10.11 ARMulif_InstallHourglassUse this function to inst

Pagina 16 - 2.1 About ARMulator

ARMulator Reference 4-52 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.11 Accessing the debuggerThis section describes the inp

Pagina 17 - 2.2 ARMulator components

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-534.11.2 Hostif_ConsolePrintThis function prints the text s

Pagina 18

ARMulator Reference 4-54 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.11.4 Hostif_ConsoleReadCThis function reads a character

Pagina 19 - 2.3 Tracer

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-554.11.6 Hostif_ConsoleReadThis function reads a string fro

Pagina 20

ARMulator Reference 4-56 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.11.8 Hostif_DebugPauseThis function waits for the user

Pagina 21

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-574.12 TracerThis section describes the functions provided

Pagina 22

ARMulator Reference 4-58 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.12.3 Tracer_CloseThis function is called at the end of

Pagina 23 - <newvalue>

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-594.13 Map filesThe type and speed of memory in a simulated

Pagina 24

Introduction 1-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D1.1 Debug target overviewYou can debug your prototype software us

Pagina 25

ARMulator Reference 4-60 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058Dwidthis the width of the data bus in bytes (that is, 1 fo

Pagina 26 - 2.4 Profiler

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-61Example 2This example describes a typical embedded system

Pagina 27

ARMulator Reference 4-62 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DReading the memory statisticsTo read the memory statistic

Pagina 28 - 2.5 ARMulator cycle types

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-634.14 ARMulator configuration filesThis section contains t

Pagina 29

ARMulator Reference 4-64 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.14.1 Predefined tagsBefore reading .ami files, ARMulato

Pagina 30

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-65Example 4-2 Processors in a toolconf file{Processors {TR

Pagina 31

ARMulator Reference 4-66 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFinding the configuration for a selected processorARMulat

Pagina 32 - $statistics

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-67If you want to change the cache or TCM size of a processo

Pagina 33 - 2.6 Pagetable module

ARMulator Reference 4-68 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.15 ToolConfThis section contains the following subsecti

Pagina 34

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-694.15.2 File formatThe following are typical ToolConf data

Pagina 35

Introduction ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 1-3Execution halts at breakpoints, or when watchpoints are accessed.

Pagina 36

ARMulator Reference 4-70 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DSpecifying childrenThere are two ways of specifying child

Pagina 37 - 0x00000001

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-71A condition is evaluated from left to right, on the conte

Pagina 38 - AccessPermissions

ARMulator Reference 4-72 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.15.4 SI units in a ToolConf databaseSome values can be

Pagina 39 - 0x00030003

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-734.15.5 ToolConf_LookupThis function performs a lookup on

Pagina 40 - 2.7 Default memory model

ARMulator Reference 4-74 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.15.6 ToolConf_CmpThis function performs a case-insensit

Pagina 41 - $memstats

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-754.16 Reference peripheralsTwo reference peripherals are d

Pagina 42

ARMulator Reference 4-76 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DInterrupt controller defined bitsThe FIQ interrupt contro

Pagina 43

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-774.16.2 TimerThe base address of the timer, TimerBase, is

Pagina 44

ARMulator Reference 4-78 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DTimer clear registersTimer clear registers are write-only

Pagina 45 - 2.9 Semihosting

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-1Chapter 5 SemihostingThis chapter describes the semihosting mechanism. Semihos

Pagina 46 - 2.10 Peripheral models

Introduction 1-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D

Pagina 47

Semihosting 5-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.1 SemihostingSemihosting is a mechanism for ARM targets to commu

Pagina 48

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-3The semihosting SWI interface is common across all debug agents pr

Pagina 49

Semihosting 5-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DIf you are calling SWIs from assembly language code it is best to

Pagina 50

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-55.2 Semihosting implementationThe functionality provided by semiho

Pagina 51 - Writing ARMulator models

Semihosting 5-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.2.4 Multi-ICEWhen using Multi-ICE in default configuration, semi

Pagina 52

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-7Multi-ICE handles the semihosted SWI and then examines the content

Pagina 53

Semihosting 5-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.3 Adding an application SWI handlerIt can be useful to have both

Pagina 54

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-9Caution It is essential that the actual position $semihosting_vect

Pagina 55

Semihosting 5-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFigure 5-2 Semihosting with breakpointThe error occurs because th

Pagina 56

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-115.4 Semihosting SWIsThe SWIs listed in Table 5-1 implement the se

Pagina 57 - 3.3 Building a new model

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-1Chapter 2 ARMulator BasicsThis chapter describes ARMulator, a collection of pr

Pagina 58

Semihosting 5-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DNote When used with Angel, these SWIs use the serializer and the

Pagina 59

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-13ReturnOn exit, r0 contains:• a nonzero handle if the call is succ

Pagina 60

Semihosting 5-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.4.2 SYS_CLOSE (0x02)Closes a file on the host system. The handl

Pagina 61 - Chapter 4

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-155.4.5 SYS_WRITE (0x05)Writes the contents of a buffer to a specif

Pagina 62 - 4.1 ARMulator models

Semihosting 5-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.4.6 SYS_READ (0x06)Reads the contents of a file into a buffer.

Pagina 63 - RDI_ModuleDesc *

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-175.4.7 SYS_READC (0x07)Reads a byte from the console.EntryRegister

Pagina 64

Semihosting 5-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.4.9 SYS_ISTTY (0x09)Checks whether a file is connected to an in

Pagina 65

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-195.4.11 SYS_FLEN (0x0C)Returns the length of a specified file.Entr

Pagina 66

Semihosting 5-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.4.13 SYS_REMOVE (0x0E)Caution Deletes a specified file on the h

Pagina 67

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-215.4.15 SYS_CLOCK (0x10)Returns the number of centiseconds since t

Pagina 68

ARMulator Basics 2-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.1 About ARMulatorARMulator is an instruction set simulator.

Pagina 69

Semihosting 5-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.4.17 SYS_SYSTEM (0x12)Passes a command to the host command-line

Pagina 70

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-235.4.18 SYS_ERRNO (0x13)Returns the value of the C library errno v

Pagina 71

Semihosting 5-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.4.19 SYS_GET_CMDLINE (0x15)Returns the command line used to cal

Pagina 72 - 4.3 Basic model interface

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-255.4.20 SYS_HEAPINFO (0x16)Returns the system stack and heap param

Pagina 73

Semihosting 5-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.4.21 SYS_ELAPSED (0x30)Returns the number of elapsed target tic

Pagina 74

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-275.5 Debug agent interaction SWIsIn addition to the C library semi

Pagina 75 - ARMul_CPInterface

Semihosting 5-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DAfter executing the SWI, the current link register will be r14_SV

Pagina 76

Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-295.5.2 angel_SWIreason_ReportException (0x18)This SWI can be calle

Pagina 77

Semihosting 5-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D* next to values in Table 5-4 on page 5-29 indicates that the val

Pagina 78

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Glossary-1GlossaryThe items in this glossary are listed in alphabetical order, wi

Pagina 79

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-32.2 ARMulator componentsARMulator consists of a series of mod

Pagina 80

Glossary Glossary-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DARM eXtended Debugger The ARM eXtended Debugger (AXD) is the l

Pagina 81

Glossary ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Glossary-3Memory management unit Hardware that controls caches and acces

Pagina 82

Glossary Glossary-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058Da debug agent controlling an ARM processor through hardware de

Pagina 83

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-1IndexThe items in this index are listed in alphabetical order, with symbol

Pagina 84

IndexIndex-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DCounters, ARMulator 4-35CPRead, ARMulator function 4-10CPWrite, A

Pagina 85

IndexARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-3profiler.c ARMulator model 2-12, 3-3Protection unit 2-24, 2-25PU

Pagina 86 - 4.5 Exceptions

IndexIndex-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DWriteWord, ARMulator function 4-39write, ARMulator function 4-25Z

Pagina 87

ARMulator Basics 2-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.2.1 Configuring ARMulatorYou can configure some of the deta

Pagina 88

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-52.3 TracerYou can use Tracer to trace instructions, memory ac

Pagina 89 - 4.6 Events

ii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DARM Developer SuiteDebug Target GuideCopyright © 1999-2001 ARM Limited. All ri

Pagina 90

ARMulator Basics 2-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.3.2 Interpreting trace file outputThis section describes ho

Pagina 91

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-7Trace memory (M lines)M lines indicate:• memory accesses, for

Pagina 92

ARMulator Basics 2-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DTrace instructions (I lines)The format of the trace instructi

Pagina 93 - 4.7 Handlers

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-9Trace registers (R lines)The format of the event (R) lines is

Pagina 94

ARMulator Basics 2-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.3.3 Configuring TracerTracer has its own section in the AR

Pagina 95

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-11TraceNonAccounted traces unaccounted RDI accesses to memory

Pagina 96

ARMulator Basics 2-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.4 ProfilerProfiler is controlled by the debugger. For deta

Pagina 97

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-132.4.1 Configuring ProfilerProfiler has its own section in pe

Pagina 98 - 4.8 Memory access functions

ARMulator Basics 2-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.5 ARMulator cycle typesIn addition to simulating instructi

Pagina 99

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-152.5.1 Uncached von Neumann coresTable 2-1 shows the meanings

Pagina 100 - ARMulator Reference

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. iiiContentsARM Developer Suite Debug Target GuidePrefaceAbout this book ...

Pagina 101

ARMulator Basics 2-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.5.2 Uncached Harvard coresTable 2-2 shows the meanings of

Pagina 102

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-172.5.4 Cached cores with MMUs or PUs and AMBA AHB interfacesT

Pagina 103 - PeripAccessCapability_Typical

ARMulator Basics 2-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.5.6 strongARM1Table 2-6 shows the meaning of cycle types r

Pagina 104

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-192.6 Pagetable moduleThis section contains the following subs

Pagina 105

ARMulator Basics 2-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.6.2 Controlling the MMU or PU and cacheThe first set of fl

Pagina 106

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-212.6.4 Memory regionsThe rest of the Pagetables configuration

Pagina 107

ARMulator Basics 2-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DCacheable specifies whether the region is to be marked as c

Pagina 108

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-232.6.5 Pagetable module and memory management unitsProcessors

Pagina 109

ARMulator Basics 2-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.6.6 Pagetable module and protection unitsProcessors such a

Pagina 110 - CPUSPEED

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-25ARM940T PUFor an ARM940T, the PU is initialized as follows:•

Pagina 111

Contentsiv Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.3 Building a new model ...

Pagina 112 - 4.11 Accessing the debugger

ARMulator Basics 2-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.7 Default memory modelThe default memory model, flatmem, i

Pagina 113

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-272.8 Memory modelling with mapfilesThis section contains the

Pagina 114

ARMulator Basics 2-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.8.3 Selecting the mapfile memory modelUnder armsd, the map

Pagina 115

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-292.8.5 Configuring the map memory modelYou can configure the

Pagina 116 - 4.11.8 Hostif_DebugPause

ARMulator Basics 2-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DLate This does not start the decode until the S-cycle. In e

Pagina 117 - 4.12 Tracer

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-312.9 SemihostingSemihosting provides code running on an ARM t

Pagina 118

ARMulator Basics 2-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.10 Peripheral modelsARMulator includes several peripheral

Pagina 119 - 4.13 Map files

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-332.10.3 Interrupt controllerThe interrupt controller is an im

Pagina 120

ARMulator Basics 2-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.10.4 TimerThe timer is an implementation of the reference

Pagina 121

ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-352.10.5 WatchdogUse Watchdog to prevent a failure in your pro

Pagina 122 - Example 4-1

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. vPrefaceThis preface introduces the ARM debug targets and their reference documen

Pagina 123

ARMulator Basics 2-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.10.6 Stack trackerThe stack tracker examines the contents

Pagina 124

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-1Chapter 3 Writing ARMulator modelsThis chapter is intended to assist you in wr

Pagina 125

Writing ARMulator models 3-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.1 The ARMulator extension kitYou can add extra mode

Pagina 126

Writing ARMulator models ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-33.1.2 Supplied modelsARMulator is supplied with sourc

Pagina 127

Writing ARMulator models 3-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DPeripheral modelsintc.c See Interrupt controller on

Pagina 128 - 4.15 ToolConf

Writing ARMulator models ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-53.2 Writing a new peripheral modelThis section contai

Pagina 129

Writing ARMulator models 3-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.2.3 Initialization, finalization, and state macrosT

Pagina 130

Writing ARMulator models ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-73.3 Building a new modelTo build your new model:1. Ch

Pagina 131 - #include

Writing ARMulator models 3-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.4 Configuring ARMulator to use a new modelARMulator

Pagina 132 - MemorySize=2Gb

Writing ARMulator models ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-93.4.2 Editing default.ami and peripherals.amiThis des

Pagina 133

Preface vi Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DAbout this bookThis book provides reference information for the ARM Dev

Pagina 134

Writing ARMulator models 3-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.5 Configuring ARMulator to disable a modelYou can

Pagina 135 - 4.16 Reference peripherals

ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-1Chapter 4 ARMulator ReferenceThis chapter gives reference information about AR

Pagina 136

ARMulator Reference 4-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.1 ARMulator modelsARMulator comprises a collection of mo

Pagina 137 - TimerBase

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-34.2 Communicating with the coreDuring initialization, all

Pagina 138

ARMulator Reference 4-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.1 Mode numbersA number of the following functions take

Pagina 139 - Semihosting

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-54.2.2 ARMulif_GetRegThis function reads a register for a s

Pagina 140 - 5.1 Semihosting

ARMulator Reference 4-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.4 ARMulif_GetPC and ARMulif_GetR15This function reads

Pagina 141

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-74.2.6 ARMulif_GetCPSRThis function reads the CPSR.SyntaxAR

Pagina 142

ARMulator Reference 4-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.8 ARMulif_GetSPSRThis function returns the current con

Pagina 143 - No_Semihost

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-94.2.10 ARMulif_ThumbBitThis function returns 1 if the core

Pagina 144 - $semihosting_vector

Preface ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. viiTypographical conventionsThe following typographical conventions are u

Pagina 145

ARMulator Reference 4-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.12 ARMulif_CPReadThis function calls the read method

Pagina 146

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-114.2.13 ARMulif_CPWriteThis function calls the write metho

Pagina 147

ARMulator Reference 4-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.3 Basic model interfaceThis section has the following s

Pagina 148

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-134.3.1 Declaration of a private state data structureEach m

Pagina 149 - 5.4 Semihosting SWIs

ARMulator Reference 4-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.3.2 Model initializationThe BEGIN_INIT() and END_INIT()

Pagina 150

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-154.4 Coprocessor model interfaceThe coprocessor model inte

Pagina 151 - On exit, r0 contains:

ARMulator Reference 4-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.1 ARMulif_InstallCoprocessorV5Use this function to re

Pagina 152

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-174.4.2 LDCThis function is called when an LDC instruction

Pagina 153

ARMulator Reference 4-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.3 STCThis function is called when an STC instruction

Pagina 154

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-194.4.4 MRCThis function is called when an MRC instruction

Pagina 155

Preface viii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFurther readingThis section lists publications from both ARM Limited

Pagina 156

ARMulator Reference 4-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.5 MCRThis function is called when an MCR instruction

Pagina 157 - L_tmpnam

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-214.4.6 MCRRThis function is called when an MCRR instructio

Pagina 158

ARMulator Reference 4-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.7 MRRCThis function is called when an MRRC instructio

Pagina 159

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-234.4.8 CDPThis function is called when a CDP instruction i

Pagina 160

ARMulator Reference 4-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.9 readThis function enables a debugger to read a copr

Pagina 161

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-254.4.10 writeThis function enables a debugger to write to

Pagina 162

ARMulator Reference 4-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.5 ExceptionsThe following functions enable a model to s

Pagina 163 - Example 5-1

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-27RDIPropID_ARMulProp_CycleDeltaWait the core for a specifi

Pagina 164

ARMulator Reference 4-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DRDIPropID_ARMSignal_HighExceptionTRUE if the vector table

Pagina 165

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-294.6 EventsARMulator has a mechanism for broadcasting and

Pagina 166 - function call

Preface ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. ix• ARM/Thumb® Procedure Call Specification (SWS ESPC 0002). This is supp

Pagina 167 - ADP_Stopped_ApplicationExit

ARMulator Reference 4-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DTable 4-2 Events from the ARM processor coreEvent name Wo

Pagina 168

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-31Table 4-4 Debug eventsEvent name Word 1 Word 2 Event numb

Pagina 169 - Glossary

ARMulator Reference 4-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.6.1 ARMulif_RaiseEventThis function invokes events. The

Pagina 170

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-334.7 HandlersARMulator can be made to call back your model

Pagina 171

ARMulator Reference 4-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.7.1 Exception handlerThis event handler is called whene

Pagina 172

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-354.7.2 Unknown RDI information handlerThe unknown RDI info

Pagina 173

ARMulator Reference 4-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DRDICyclesModels that have declared a statistics counter b

Pagina 174

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-374.7.3 Event handlerThis handler catches ARMulator events

Pagina 175

ARMulator Reference 4-38 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.8 Memory access functionsThe memory system can be probe

Pagina 176

ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-394.8.2 Writing to a specified addressThe following functio

Comentarios a estos manuales

Sin comentarios