HP MC68360 User Manual page 126

Emulator / analyzer graphical user interface
Table of Contents

Advertisement

Chapter 6: Using the Emulator
Using the EMSIM Registers
There are three places where 68360 SIM registers are kept: the target 68360, the
emulator 68360, and the emulator configuration file. At any given time during a
run of program, the content of the SIM and EMSIM registers will likely be
different, and they may both be different from the content of the configuration file.
Differences between the SIM and EMSIM registers can affect the accuracy of
emulator behavior and displays. The following commands can be used to minimize
these differences.
If desired, the programming of the EMSIM register set can be transferred into the
68360 SIM with the sync_sim_registers to_68360_from_config command. This
happens automatically each time a break to the monitor from emulation reset
occurs. This ensures that the 68360 is prepared to properly access memory when a
program is downloaded to the emulator.
Alternatively, the emulator's EMSIM register set can be programmed from the
68360 SIM with the sync_sim_registers from_68360_to_config command. This
is useful if initialization code that configures the 68360 SIM exists, but you don't
know its values. In this case, you can use the default configuration, run from reset
to execute the initialization code, and use the sync_sim_registers
from_68360_to_config command to configure the emulator to match the 68360
SIM.
At any time, you can verify if the SIM and EMSIM register sets are programmed
the same with the sync_sim_registers difference command. Any differences
between the two register sets will be listed.
If desired, you can reset the SIM and EMSIM register sets to their default (power
up) values with the sync_sim_registers default_config command.
Note that that the emulator is configured solely from the EMSIM register set and is
therefore static with respect to the application program. No attempt is made to
update the programming of the emulator by tracking instructions that will program
the 68360 SIM.
This section shows you how to:
106
View the SIM register differences.
Synchronize to the 68360 SIM registers.
Synchronize to the EMSIM registers.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68en36064780a

Table of Contents