HP 64746 User Manual page 97

Emulation/analysis
Table of Contents

Advertisement

Chapter 4: Configuring the Emulator
emulation memory to the target system causes wait states to be inserted on
emulation memory accesses as they would be on target system memory accesses.
You specify the synchronization of emulation memory by answering a
configuration question to make the specification for all emulation memory and
background monitor cycles.
Select the target system clock as the emulator's clock source. When
plugging the emulator into a target system, the emulator should use the target
system clock.
Set the reset value of the supervisor stack pointer register. Because the
stack is used when the emulator transitions into the run state, steps, etc., after
emulation reset, the supervisor stack pointer must point to RAM.
Set the FRZW bit in the System Control Register (SCR) to avoid
problems when breaking into the monitor via a watchdog timer RESET.
The emulator does not set any bits in the SCR.
Should the emulator operate in 16-bit mode or 8-bit mode? In other
words, what is the target system data bus width?
Is there circuitry in the target system that requires programs to run in
real-time? Some emulator commands cause temporary breaks to the monitor
program, typically to access microprocessor register values or target system
memory. If the target system requires that programs run in real-time, you must
restrict the emulator to real-time runs.
Should the emulator respond to target system interrupts when
running programs? If so, you must enable the emulator's response to target
system interrupts; otherwise, you must disable the emulator's response to target
system interrupts.
Should the emulator respond to target system interrupts when
running in the monitor program? If so, you must use a foreground monitor
program since target system interrupts are always ignored during background
operation (refer to the "Selecting the Emulation Monitor Program" section later in
this chapter). You must also enable the emulator's response to target system
interrupts. If it's not important that the emulator respond to target system interrupts
when running in the monitor, you can use the background monitor.
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

68302

Table of Contents