Download Connection - Freescale Semiconductor

Transcript
HC08 Full Chip Simulation
Configuration Procedure
Figure 11.22 Memory Component Window
The user is able to poll the KBI Interrupt Pending flag if the polling Mode is simulated. In
Interrupt Mode, the simulator will branch to an appropriate interrupt subroutine as long as
the KBI interrupt vector is properly configured. For more information on KBI
configuration, please refer to the Freescale user manual corresponding to the
microprocessor that you are using.
Keyboard Interrupt Commands
INPUT<x> Command
The INPUT<x> command sets the simulated inputs to port <x>. The CPU reads this input
value when port <x> is set as an input port.
Syntax:
>INPUT<x>
<n>
Where:
<x> is the letter representing corresponding port
<n> Eight-bit simulated value for port <x>
Example:
>INPUTA AA
Simulate the input AA on port A.
INPUTS Command
In Full Chip Simulation and CPU-Only Simulation mode, the INPUTS command opens
the Simulated Port Inputs dialog box shown in Figure 11.23 on page 268. The use may
then use this box to specify the input states of port pins and IRQ.
HC(S)08/RS08 Debugger Manual
267