Configuring The Sim Registers; Summary; How Sim Register Values Are Set - HP 16600A Series User Manual

Solutions for the motorola cpu32
Hide thumbs Also See for 16600A Series:
Table of Contents

Advertisement

Chapter 7: Using Internal Registers (SIM and EMSIM Registers)

Configuring the SIM Registers

Configuring the SIM Registers

Summary

If you have a boot ROM that initializes the SIM registers, you don't have
to configure the EMSIM registers in order to load code and run your
target. It is a good idea to configure the EMSIM registers anyway, since
the EMSIM registers are used configure an analysis probe. Page 163
discusses how to copy the SIM registers into the EMSIM registers.
If you do not have a boot ROM, then you will need to initialize the
EMSIM registers first so that you can communicate with the memory of
the processor. Once the EMSIM registers are defined, then every reset
followed by a break will write the EMSIM registers to the processor's
SIM registers.
Once you have configured the EMSIM registers, it is a good idea to save
a configuration. Loading the configuration will restore the values of all
configuration options, including the EMSIM registers.

How SIM Register Values are Set

These registers are typically initialized by the CPU32 executing the
reset initialization code. During development this code may not be
available or may not exist on the target system. To aid in development,
the most important of these registers can be set directly by the
emulator. This enables such functions as clock speed, chip selects, and
location of internal memory to be established prior to executing any
user code. Once these registers are set, resources in the target system
can be accessed in the same manner as the processor would access
them after executing the reset initialization code. Activities such as
downloading code into the target system can now be performed
through the emulator.
The emulator copy is identified by the prefix "EM" on the register name
(e.g. EMSYNCR is the emulator copy of the SYNCR register) and are
referred to as the EMSIM. The EMSIM registers are transferred to the
processor registers when the target processor is reset while it is
running in the BDM monitor.
Solutions for CPU32
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

16700a series

Table of Contents