2. CONFIRMATION OF S1S60000 BOOT
2
EPSON
S1S60000 Application Note No.2 (Rev.1.1)
2. CONFIRMATION OF S1S60000 BOOT
S1S60000 issues the boot status when it is booted. The host CPU reads the boot status to confirm that it has
been booted. This chapter describes how to read statuses through reading the boot status.
2.1 Confirming the host interface status
When the status or data is set in host interface port, the HINT pin changes. Connecting the HINT pin to the
interrupt pin of the host CPU allows interrupt control for reading the status and data. Setting the HINTPOL pin
to LOW enables Low active, and setting it to HIGH enables High active. Please set the interrupt input trigger
mode of the host CPU to level trigger mode.
The flag port indicates the host interface processing status for commands, statuses, or data. When accessing the
host interface, be sure to confirm the flag port. When not performing interrupt control, control the status by
polling of the flag port.
2.2 Reading the status
When the status is set in status port, the HINT pin becomes active. Also, bit0 of the flag port is set to “1”.
Perform polling of the flag port when not performing interrupt control.
The HINT pin becomes active when bit0 or bit1 of the flag port is set; therefore, confirm that bit0 of the flag
port is set to “1” and read the status.
The status form read from the status port is as follows.
Table 2.1 Status form
BIT 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
DATA
Sequence number
Communication end
point number
Status number
For information on numbers corresponding to status types, refer to the “S1S60000 Series Host Interface Manual
- 2.1.1.4 Status number”.
2.3 Reading the boot status
In the same manner as the procedure in 2.2, read the “boot” status. Turn on the power of S1S60000 or input the
reset signal and S1S60000 outputs the “boot” status (0x000b).
Table 2.2 Read value of boot status for each host CPU type
Host CPU type
boot status
8-bit connection Little Endian
LSB port: 0x0b
MSB port: 0x00
8-bit connection Big Endian
LSB port: 0x00
MSB port: 0x0b
16-bit connection Little Endian
0x000b
16-bit connection Big Endian
0x000b