Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058DARM® Developer SuiteVersion 1.2Debug Target Guide
Preface x Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFeedbackARM Limited welcomes feedback on both the ARM Developer Suite, a
ARMulator Reference 4-40 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.9 Event scheduling functionsThe following functions ena
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-414.10 General purpose functionsThe following are general p
ARMulator Reference 4-42 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DARMul_BusPeripAccessRegistrationThis structure and type a
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-43PeripAccessCapabilityThis parameter defines the capabilit
ARMulator Reference 4-44 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.2 ARMulif_ReadBusRangeYou must supply a breg structu
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-454.10.3 Hostif_RaiseErrorSeveral initialization and instal
ARMulator Reference 4-46 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.5 ARMul_AddCounterDescThe ARMul_AddCounterDesc() fun
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-474.10.6 ARMul_AddCounterValueThis function provides the fa
ARMulator Reference 4-48 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.7 ARMul_AddCounterValue64This function provides the
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-494.10.8 ARMulif_StopExecutionThis function stops simulator
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 1-1Chapter 1 IntroductionThis chapter introduces the debug support facilities pro
ARMulator Reference 4-50 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.10.10 ARMulif_GetCoreClockFreqThis function returns the
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-514.10.11 ARMulif_InstallHourglassUse this function to inst
ARMulator Reference 4-52 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.11 Accessing the debuggerThis section describes the inp
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-534.11.2 Hostif_ConsolePrintThis function prints the text s
ARMulator Reference 4-54 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.11.4 Hostif_ConsoleReadCThis function reads a character
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-554.11.6 Hostif_ConsoleReadThis function reads a string fro
ARMulator Reference 4-56 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.11.8 Hostif_DebugPauseThis function waits for the user
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-574.12 TracerThis section describes the functions provided
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
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
Introduction 1-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D1.1 Debug target overviewYou can debug your prototype software us
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
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-61Example 2This example describes a typical embedded system
ARMulator Reference 4-62 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DReading the memory statisticsTo read the memory statistic
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-634.14 ARMulator configuration filesThis section contains t
ARMulator Reference 4-64 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.14.1 Predefined tagsBefore reading .ami files, ARMulato
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-65Example 4-2 Processors in a toolconf file{Processors {TR
ARMulator Reference 4-66 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFinding the configuration for a selected processorARMulat
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
ARMulator Reference 4-68 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.15 ToolConfThis section contains the following subsecti
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-694.15.2 File formatThe following are typical ToolConf data
Introduction ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 1-3Execution halts at breakpoints, or when watchpoints are accessed.
ARMulator Reference 4-70 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DSpecifying childrenThere are two ways of specifying child
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-71A condition is evaluated from left to right, on the conte
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
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-734.15.5 ToolConf_LookupThis function performs a lookup on
ARMulator Reference 4-74 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.15.6 ToolConf_CmpThis function performs a case-insensit
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-754.16 Reference peripheralsTwo reference peripherals are d
ARMulator Reference 4-76 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DInterrupt controller defined bitsThe FIQ interrupt contro
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-774.16.2 TimerThe base address of the timer, TimerBase, is
ARMulator Reference 4-78 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DTimer clear registersTimer clear registers are write-only
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-1Chapter 5 SemihostingThis chapter describes the semihosting mechanism. Semihos
Introduction 1-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
Semihosting 5-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.1 SemihostingSemihosting is a mechanism for ARM targets to commu
Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-3The semihosting SWI interface is common across all debug agents pr
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
Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-55.2 Semihosting implementationThe functionality provided by semiho
Semihosting 5-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D5.2.4 Multi-ICEWhen using Multi-ICE in default configuration, semi
Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-7Multi-ICE handles the semihosted SWI and then examines the content
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
Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-9Caution It is essential that the actual position $semihosting_vect
Semihosting 5-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFigure 5-2 Semihosting with breakpointThe error occurs because th
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
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-1Chapter 2 ARMulator BasicsThis chapter describes ARMulator, a collection of pr
Semihosting 5-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DNote When used with Angel, these SWIs use the serializer and the
Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-13ReturnOn exit, r0 contains:• a nonzero handle if the call is succ
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
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
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.
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
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
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
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
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
ARMulator Basics 2-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.1 About ARMulatorARMulator is an instruction set simulator.
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
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
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
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
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
Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-275.5 Debug agent interaction SWIsIn addition to the C library semi
Semihosting 5-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DAfter executing the SWI, the current link register will be r14_SV
Semihosting ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-295.5.2 angel_SWIreason_ReportException (0x18)This SWI can be calle
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
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Glossary-1GlossaryThe items in this glossary are listed in alphabetical order, wi
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-32.2 ARMulator componentsARMulator consists of a series of mod
Glossary Glossary-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DARM eXtended Debugger The ARM eXtended Debugger (AXD) is the l
Glossary ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Glossary-3Memory management unit Hardware that controls caches and acces
Glossary Glossary-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058Da debug agent controlling an ARM processor through hardware de
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-1IndexThe items in this index are listed in alphabetical order, with symbol
IndexIndex-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DCounters, ARMulator 4-35CPRead, ARMulator function 4-10CPWrite, A
IndexARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-3profiler.c ARMulator model 2-12, 3-3Protection unit 2-24, 2-25PU
IndexIndex-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DWriteWord, ARMulator function 4-39write, ARMulator function 4-25Z
ARMulator Basics 2-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.2.1 Configuring ARMulatorYou can configure some of the deta
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-52.3 TracerYou can use Tracer to trace instructions, memory ac
ii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DARM Developer SuiteDebug Target GuideCopyright © 1999-2001 ARM Limited. All ri
ARMulator Basics 2-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.3.2 Interpreting trace file outputThis section describes ho
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-7Trace memory (M lines)M lines indicate:• memory accesses, for
ARMulator Basics 2-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DTrace instructions (I lines)The format of the trace instructi
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
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
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-11TraceNonAccounted traces unaccounted RDI accesses to memory
ARMulator Basics 2-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.4 ProfilerProfiler is controlled by the debugger. For deta
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-132.4.1 Configuring ProfilerProfiler has its own section in pe
ARMulator Basics 2-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.5 ARMulator cycle typesIn addition to simulating instructi
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
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. iiiContentsARM Developer Suite Debug Target GuidePrefaceAbout this book ...
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
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
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
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-192.6 Pagetable moduleThis section contains the following subs
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
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-212.6.4 Memory regionsThe rest of the Pagetables configuration
ARMulator Basics 2-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DCacheable specifies whether the region is to be marked as c
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-232.6.5 Pagetable module and memory management unitsProcessors
ARMulator Basics 2-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.6.6 Pagetable module and protection unitsProcessors such a
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-25ARM940T PUFor an ARM940T, the PU is initialized as follows:•
Contentsiv Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.3 Building a new model ...
ARMulator Basics 2-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.7 Default memory modelThe default memory model, flatmem, i
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-272.8 Memory modelling with mapfilesThis section contains the
ARMulator Basics 2-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.8.3 Selecting the mapfile memory modelUnder armsd, the map
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-292.8.5 Configuring the map memory modelYou can configure the
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
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-312.9 SemihostingSemihosting provides code running on an ARM t
ARMulator Basics 2-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.10 Peripheral modelsARMulator includes several peripheral
ARMulator Basics ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-332.10.3 Interrupt controllerThe interrupt controller is an im
ARMulator Basics 2-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.10.4 TimerThe timer is an implementation of the reference
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
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. vPrefaceThis preface introduces the ARM debug targets and their reference documen
ARMulator Basics 2-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D2.10.6 Stack trackerThe stack tracker examines the contents
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-1Chapter 3 Writing ARMulator modelsThis chapter is intended to assist you in wr
Writing ARMulator models 3-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.1 The ARMulator extension kitYou can add extra mode
Writing ARMulator models ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-33.1.2 Supplied modelsARMulator is supplied with sourc
Writing ARMulator models 3-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DPeripheral modelsintc.c See Interrupt controller on
Writing ARMulator models ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-53.2 Writing a new peripheral modelThis section contai
Writing ARMulator models 3-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.2.3 Initialization, finalization, and state macrosT
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
Writing ARMulator models 3-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.4 Configuring ARMulator to use a new modelARMulator
Writing ARMulator models ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-93.4.2 Editing default.ami and peripherals.amiThis des
Preface vi Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DAbout this bookThis book provides reference information for the ARM Dev
Writing ARMulator models 3-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D3.5 Configuring ARMulator to disable a modelYou can
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-1Chapter 4 ARMulator ReferenceThis chapter gives reference information about AR
ARMulator Reference 4-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.1 ARMulator modelsARMulator comprises a collection of mo
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-34.2 Communicating with the coreDuring initialization, all
ARMulator Reference 4-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.1 Mode numbersA number of the following functions take
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
ARMulator Reference 4-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.4 ARMulif_GetPC and ARMulif_GetR15This function reads
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-74.2.6 ARMulif_GetCPSRThis function reads the CPSR.SyntaxAR
ARMulator Reference 4-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.8 ARMulif_GetSPSRThis function returns the current con
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-94.2.10 ARMulif_ThumbBitThis function returns 1 if the core
Preface ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. viiTypographical conventionsThe following typographical conventions are u
ARMulator Reference 4-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.2.12 ARMulif_CPReadThis function calls the read method
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-114.2.13 ARMulif_CPWriteThis function calls the write metho
ARMulator Reference 4-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.3 Basic model interfaceThis section has the following s
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-134.3.1 Declaration of a private state data structureEach m
ARMulator Reference 4-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.3.2 Model initializationThe BEGIN_INIT() and END_INIT()
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-154.4 Coprocessor model interfaceThe coprocessor model inte
ARMulator Reference 4-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.1 ARMulif_InstallCoprocessorV5Use this function to re
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-174.4.2 LDCThis function is called when an LDC instruction
ARMulator Reference 4-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.3 STCThis function is called when an STC instruction
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-194.4.4 MRCThis function is called when an MRC instruction
Preface viii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DFurther readingThis section lists publications from both ARM Limited
ARMulator Reference 4-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.5 MCRThis function is called when an MCR instruction
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-214.4.6 MCRRThis function is called when an MCRR instructio
ARMulator Reference 4-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.4.7 MRRCThis function is called when an MRRC instructio
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
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
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-254.4.10 writeThis function enables a debugger to write to
ARMulator Reference 4-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.5 ExceptionsThe following functions enable a model to s
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-27RDIPropID_ARMulProp_CycleDeltaWait the core for a specifi
ARMulator Reference 4-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DRDIPropID_ARMSignal_HighExceptionTRUE if the vector table
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-294.6 EventsARMulator has a mechanism for broadcasting and
Preface ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. ix• ARM/Thumb® Procedure Call Specification (SWS ESPC 0002). This is supp
ARMulator Reference 4-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DTable 4-2 Events from the ARM processor coreEvent name Wo
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
ARMulator Reference 4-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.6.1 ARMulif_RaiseEventThis function invokes events. The
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-334.7 HandlersARMulator can be made to call back your model
ARMulator Reference 4-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.7.1 Exception handlerThis event handler is called whene
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-354.7.2 Unknown RDI information handlerThe unknown RDI info
ARMulator Reference 4-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058DRDICyclesModels that have declared a statistics counter b
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-374.7.3 Event handlerThis handler catches ARMulator events
ARMulator Reference 4-38 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D4.8 Memory access functionsThe memory system can be probe
ARMulator Reference ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-394.8.2 Writing to a specified addressThe following functio
Komentarze do niniejszej Instrukcji