beautypg.com

Initialize input ports on startup, View register files option – Freescale Semiconductor Microcontrollers User Manual

Page 256

background image

HC08 Full Chip Simulation

Configuration Procedure

256

Microcontrollers Debugger Manual

This command is extremely useful for verifying specific timings of a given event, running
until a given event is complete, or just before it completes to enable stepping through the
event or any application where cycle-timed execution is desired.

Initialize Input Ports On Startup

The Initialize Input Ports on Startup option initializes all simulated inputs to $00 when
the software is started, or when the Device Mode or Debug Target is switched. This
initialization doesn't apply to a reset command. When you change this option, the new
state takes effect the next time HiWave is started (or Device Mode/Debug Target is
switched).

View Register Files Option

The View Register Files option in the HCS08FCS Menu also gives you the option of
running the register file viewer/editor. If register files are available for the device that you
have chosen, the Choose a Register Block dialog box (see

Figure 11.4

) is opened. You

may also open it by entering the R command in the Command Window command line.

Figure 11.4 Choose A Register Block Dialog Box

If register files have been installed on the host computer, selecting a block brings up the
Register Block register listing in the Timer Interface Module dialog box (see

Figure 11.5

),

which shows a list of the associated registers, their addresses, and their descriptions. This
begins interactive setup of system registers such as I/O, timer, and COP watchdog.

Figure 11.5 Timer Interface Module Dialog Box - Register Listing

Selecting a file in this dialog box brings up the Register Window (see

Figure 11.6

), which

displays the values and significance for each bit in the register. The registers can be