Epson S1C62 Family ユーザーズマニュアル

ページ / 219
ICE CONTROL SOFTWARE ICS62XX
S1C62 FAMILY
EPSON
VIII-17
DEVELOPMENT TOOL REFERENCE MANUAL
2.3.12
 Starting the printer
The printer is controlled by the operating system. The printer can be started and stopped by entering
"CTRL"+"P" key even while the ICS62XX system is running.
#BA,100
#"CTRL"+"P" T
. . . The monitor display following the "CTRL"+"P" key input is printed.
PC=300  IR=FFF
. . . SP=010
:
:
#"CTRL"+"P"
. . . Stops the printer
2.3.13
 Limitations during emulation
When running emulations with the ICE and evaluation board connected, the evaluation board CPU is
normally stopped, as described in Section 2.3.1, "Operating features" (set up mode).
In the set up mode, the evaluation board CPU and peripherals are stopped, and inappropriate operations
cannot be initiated. Until the set up mode is canceled and the target program is executed, the evaluation
board CPU executes instructions provided by the command program of the ICE. The command program
continues to operate when the emulation is completed and returns to the set up mode.
Prepare mode
(CPU halt)
About 30 step
Execute the emulation
(Running the target program)
CPU operation
(Evaluation board)
About 30 step
Prepare mode
Fig. 2.3.13.1  Evaluation board CPU operation
You should be aware that when the command program takes over, the timers and counters are enabled and
started from initial settings. Also, the watchdog timer is cleared immediately prior to the ICE switching to
emulation mode while under command program control.
Accordingly, the following points should be noted when using the ICE.
(1) When execution of the trace instruction (T,U) is prolonged
Evaluation board timer values can be renewed while the command program is operative.
(2) When the run is halted and restarted
The watchdog timer is cleared by the ICE before and after the emulation, thus the watchdog timer is not
continuous. The target program operates in real time when the run time is sufficiently long.
The command program runs approximately 30 steps before and after an emulation. When operating at 32
kHz clock speed, these steps require 6 msec + 6 msec = 12 msec. While at a clock speed of 455 kHz, the
command program steps before and after emulation require 400 µsec + 400 µsec = 800 µsec.
When the dump data command (#DD) is invoked, the I/O area interrupt condition flag is read but not
cleared.