Datasheet
ARMulator Basics
2-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
2.3.3 Configuring Tracer
Tracer has its own section in the ARMulator peripherals configuration file
(
peripherals.ami
):
{ Default_Tracer=Tracer
;; Output options - can be plaintext to file, binary to file or to RDI log
;; window. (Checked in the order RDILog, File, BinFile.)
RDILog=False
File=armul.trc
BinFile=armul.trc
;; Tracer options - what to trace
TraceInstructions=True
TraceRegisters=False
OpcodeFetch=True
;;Normally True is useful, but sometimes it's too expensive.
TraceMemory=True
;TraceMemory=False
TraceIdle=True
TraceNonAccounted=False
TraceEvents=False
;;If there is a non-core bus, do we trace it (as well).
TraceBus=True
;; Flags - disassemble instructions; start up with tracing enabled;
Disassemble=True
TraceEIS=False
StartOn=False
}
where:
RDILog
instructs Tracer to output to the RDI log window (in AXD) or the
console (under
armsd
).
File
defines the file where the trace information is written.
Alternatively, you can use
BinFile
to store data in a binary format.
The other options control what is being traced:
TraceInstructions
traces instructions.
TraceRegisters
traces registers.
OpcodeFetch
traces instruction fetch memory accesses.
TraceMemory
traces memory accesses.
TraceIdle
traces idle cycles.