Configuring SIM Register Values
There are three ways to configure the values of the SIM registers:
• Using code in your target's boot ROM, or
• Copying values from the EMSIM registers into the SIM registers, or
• Manually entering the value of each SIM register using the Emulation
Control Interface
Some registers can only be written once after processor reset.
If you set the EMSIM values, then reset and break, the EMSIM values will be
written to the SIM registers. If your initialization code then attempts to write to
one of the "write once after reset" registers, the writes will fail. In this case, you
must run from reset to correctly execute the initialization code.
To copy EMSIM registers to target SIM
registers
You can copy values from the EMSIM registers into the SIM registers in
three ways:
Using the Emulation Control Interface:
• In the Configuration window, click the
button.
Using the emulator's built-in commands:
• Enter the sync emsim command.
By resetting the target:
1 Reset the target processor.
Solutions for CPU32
Chapter 7: Using Internal Registers (SIM and EMSIM Registers)
Configuring SIM Register Values
Load Configuration
165