Epson S5U1C60N08D User manual

MF1192-02
CMOS 4-BIT SINGLE CHIP MICROCOMPUTER
(Development Software Tool for S1C60N08)
S5U1C60N08D
Manual

NOTICE
No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko
Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any
liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or
circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such
as medical products. Moreover, no license to any intellectual property rights is granted by implication or otherwise, and there
is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright
infringement of a third party. This material or portions thereof may contain technology or the subject relating to strategic
products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from
the Ministry of International Trade and Industry or other approval from another government agency.
MS-DOS, Windows, Windows 95, Windows 98 and Windows NT are registered trademarks of Microsoft Corporation, U.S.A.
PC-DOS, PC/AT, PS/2, VGA, EGA and IBM are registered trademarks of International Business Machines Corporation, U.S.A.
NEC PC-9800 Series and NEC are registered trademarks of NEC Corporation.
All other product names mentioned herein are trademarks and/or registered trademarks of their respective owners.
© SEIKO EPSON CORPORATION 2001 All rights reserved.

The information of the product number change
Configuration of product number
Devices
Comparison table between new and previous number
S1C60 Family processors
Starting April 1, 2001, the product number will be changed as listed below. To order from April 1,
2001 please use the new product number. For further information, please contact Epson sales
representative.
S1 C60N01 F0A01 Packing specification
Specification
Package (D: die form; F: QFP)
Model number
Model name (C: microcomputer, digital products)
Product classification (S1: semiconductor)
Development tools
S5U1 C60R08 D1 1Packing specification
Version (1: Version 1 ∗2)
Tool type (D1: Development Tool ∗1)
Corresponding model number (60R08: for S1C60R08)
Tool classification (C: microcomputer use)
Product classification
(S5U1: development tool for semiconductor products)
∗1: For details about tool types, see the tables below. (In some manuals, tool types are represented by one digit.)
∗2: Actual versions are not written in the manuals.
Previous No.
E0C6001
E0C6002
E0C6003
E0C6004
E0C6005
E0C6006
E0C6007
E0C6008
E0C6009
E0C6011
E0C6013
E0C6014
E0C60R08
New No.
S1C60N01
S1C60N02
S1C60N03
S1C60N04
S1C60N05
S1C60N06
S1C60N07
S1C60N08
S1C60N09
S1C60N11
S1C60N13
S1C60140
S1C60R08
S1C62 Family processors
Previous No.
E0C621A
E0C6215
E0C621C
E0C6S27
E0C6S37
E0C623A
E0C623E
E0C6S32
E0C6233
E0C6235
E0C623B
E0C6244
E0C624A
E0C6S46
New No.
S1C621A0
S1C62150
S1C621C0
S1C6S2N7
S1C6S3N7
S1C6N3A0
S1C6N3E0
S1C6S3N2
S1C62N33
S1C62N35
S1C6N3B0
S1C62440
S1C624A0
S1C6S460
Previous No.
E0C6247
E0C6248
E0C6S48
E0C624C
E0C6251
E0C6256
E0C6292
E0C6262
E0C6266
E0C6274
E0C6281
E0C6282
E0C62M2
E0C62T3
New No.
S1C62470
S1C62480
S1C6S480
S1C624C0
S1C62N51
S1C62560
S1C62920
S1C62N62
S1C62660
S1C62740
S1C62N81
S1C62N82
S1C62M20
S1C62T30
Comparison table between new and previous number of development tools
Development tools for the S1C60/62 Family
Previous No.
ASM62
DEV6001
DEV6002
DEV6003
DEV6004
DEV6005
DEV6006
DEV6007
DEV6008
DEV6009
DEV6011
DEV60R08
DEV621A
DEV621C
DEV623B
DEV6244
DEV624A
DEV624C
DEV6248
DEV6247
New No.
S5U1C62000A
S5U1C60N01D
S5U1C60N02D
S5U1C60N03D
S5U1C60N04D
S5U1C60N05D
S5U1C60N06D
S5U1C60N07D
S5U1C60N08D
S5U1C60N09D
S5U1C60N11D
S5U1C60R08D
S5U1C621A0D
S5U1C621C0D
S5U1C623B0D
S5U1C62440D
S5U1C624A0D
S5U1C624C0D
S5U1C62480D
S5U1C62470D
Previous No.
DEV6262
DEV6266
DEV6274
DEV6292
DEV62M2
DEV6233
DEV6235
DEV6251
DEV6256
DEV6281
DEV6282
DEV6S27
DEV6S32
DEV6S37
EVA6008
EVA6011
EVA621AR
EVA621C
EVA6237
EVA623A
New No.
S5U1C62620D
S5U1C62660D
S5U1C62740D
S5U1C62920D
S5U1C62M20D
S5U1C62N33D
S5U1C62N35D
S5U1C62N51D
S5U1C62560D
S5U1C62N81D
S5U1C62N82D
S5U1C6S2N7D
S5U1C6S3N2D
S5U1C6S3N7D
S5U1C60N08E
S5U1C60N11E
S5U1C621A0E2
S5U1C621C0E
S5U1C62N37E
S5U1C623A0E
Previous No.
EVA623B
EVA623E
EVA6247
EVA6248
EVA6251R
EVA6256
EVA6262
EVA6266
EVA6274
EVA6281
EVA6282
EVA62M1
EVA62T3
EVA6S27
EVA6S32R
ICE62R
KIT6003
KIT6004
KIT6007
New No.
S5U1C623B0E
S5U1C623E0E
S5U1C62470E
S5U1C62480E
S5U1C62N51E1
S5U1C62N56E
S5U1C62620E
S5U1C62660E
S5U1C62740E
S5U1C62N81E
S5U1C62N82E
S5U1C62M10E
S5U1C62T30E
S5U1C6S2N7E
S5U1C6S3N2E2
S5U1C62000H
S5U1C60N03K
S5U1C60N04K
S5U1C60N07K
00
00


CONTENTS
S5U1C60N08D MANUAL EPSON i
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL _____________ 1
1.1 Configuration of S5U1C60N08D ............................................................................. 1
1.2 Developmental Environment .................................................................................... 1
1.3 Development Flow.................................................................................................... 2
1.4 Installation................................................................................................................ 3
2 CROSS ASSEMBLER ASM6008 __________________________________ 4
2.1 ASM6008 Outline ..................................................................................................... 4
2.2 S1C60N08 Restrictions............................................................................................. 4
2.3 ASM6008 Quick Reference.......................................................................................5
3 FUNCTION OPTION GENERATOR FOG6008______________________ 7
3.1 FOG6008 Outline.....................................................................................................7
3.2 S1C60N08 Option List.............................................................................................. 7
3.3 Option Specifications and Selection Message......................................................... 10
3.4 FOG6008 Quick Reference ..................................................................................... 19
3.5 Sample File.............................................................................................................. 21
4 SEGMENT OPTION GENERATOR SOG6008_______________________ 24
4.1 SOG6008 Outline .................................................................................................... 24
4.2 Option List ............................................................................................................... 25
4.3 Segment Ports Output Specifications ...................................................................... 26
4.4 SOG6008 Quick Reference......................................................................................27
4.5 Sample File.............................................................................................................. 29
5 ICE CONTROL SOFTWARE ICS6008 _____________________________ 30
5.1 ICS6008 Outline ...................................................................................................... 30
5.2 ICS6008 Restrictions ...............................................................................................30
5.3 ICS6008 Quick Reference ....................................................................................... 32
6 MASK DATA CHECKER MDC6008 _______________________________ 35
6.1 MDC6008 Outline ................................................................................................... 35
6.2 MDC6008 Quick Reference..................................................................................... 35
PREFACE
This manual mainly explains the outline of the development support tool for the 4-bit Single Chip Micro-
computer S1C60N08.
Refer to the "S1C62 Family Development Tool Reference Manual" for the details (common to all models) of
each development support tool. Manuals for hardware development tools are separate, so you should also
refer to the below manuals.
Development tools ☞S1C62 Family Development Tool Reference Manual
S5U1C60N08E Manual (Evaluation Board for S1C60N08)
S5U1C62000H Manual (S1C60/62 Family In-Circuit Emulator)
Device (S1C60N08) ☞S1C60N08/60R08 Technical Manual
Instructions ☞S1C6200/6200A Core CPU Manual
∗In this manual, "ICE" and "evaluation board" indicate S5U1C62000H and S5U1C60N08E, respectively.
CONTENTS

CONTENTS
ii EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
White
APPENDIX A. S1C60N08 INSTRUCTION SET _______________________ 38
B. TROUBLESHOOTING ______________________________ 42

1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL
S5U1C60N08D MANUAL EPSON 1
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
1 COMPOSITION OF
DEVELOPMENT SUPPORT TOOL
Here we will explain the composition of the software for the development support tools, develop-
mental envilonment and how to generate the execution disk.
1.1 Configuration of S5U1C60N08D
The below software are included in the product of the S1C60N08 development support tool S5U1C60N08D.
1. Cross Assembler ASM6008 .......................................... Cross assembler for program preparation
2. Function Option Generator FOG6008 ........................... Function option data preparation program
3. Segment Option Generator SOG6008 .......................... Segment option data preparation program
4. ICE Control Software ICS6008...................................... ICE control program
5. Mask Data Checker MDC6008...................................... Mask data preparation program
1.2 Developmental Environment
The software product of the development support tool S5U1C60N08D operates on the following host
systems:
• IBM PC/AT (at least PC-DOS Ver. 2.0)
When developing the S1C60N08, the above-mentioned host computer, editor, P-ROM writer, printer, etc.
must be prepared by the user in addition to the development tool which is normally supported by Seiko
Epson.
Fig. 1.2.1 System configuration
Note The S5U1C60N08D system requires a host computer with a RAM capacity of about 140K bytes.
Since the ICE (S5U1C62000H) is connected to the host computer with a RS-232C serial interface,
adapter board for asynchronous communication will be required depending on the host computer
used.
Host computer
(IBM PC/AT) Software tools
Hardware tools Target board
PC-DOS
Editor
•P-ROM writer
•Printer
To be prepared by the user
S5U1C62000A
ICE Evaluation Board
S5U1C60N08E
S5U1C60N08D
ASM6008 ICS6008
FOG6008 MDC6008
SOG6008
S1C60N08 Development Tool
S5U1C62000H
RS-232C

1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL
2EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
1.3 Development Flow
Figure 1.3.1 shows the development flow through the S5U1C60N08D.
Fig. 1.3.1 S5U1C60N08D development flow
Concerning file names
All the input-output file name for the each development support tool commonly use "C008XXX". In principle
each file should be produced in this manner. Seiko Epson will designate the "XXX" for each customer.
☞Reference Manual
*1 S1C60N08/60R08 Technical Manual *4 S5U1C60N08D Manual (this manual)
*2 S1C6200/6200A Core CPU Manual *5 S5U1C60N08E Manual
*3 S1C62 Family Development Tool Reference Manual *6 S5U1C62000H Manual
C008XXXH
.HEX
Function option list
generation Segment option list
generation
Function Option Generator
FOG6008 execution Segment Option Generator
SOG6008 execution
Determination of
software specifications
Cross Assembler
ASM6008 execution
Source file generation
by using editor
Function
option
list
Segment
option
list
C008XXX
.DAT Program
source file
Coding
sheet
Flow chart generation
and coding
Source file generation
by using editor
C008XXX
.SEG Segment option
source file
C008XXXL
.HEX Object file
C008XXXF
.HEX
Function
option
HEX file
Determination of
hardware specifications
Segment
option ROM
(one)
Function
option ROM
(one)
C008XXXS
.DOC
C008XXXF
.DOC Segment option
document file
Function option
document file
C008XXX
.PRN
Assembly
list
Mask Data Checker
MDC6008 execution
C6008XXX
.PAn File for
submission
SEIKO EPSON
*1 *1
*2, *3 *3, *4 *3, *4 *1, *5
*3, *4 *3, *4*3, *4
*3, *4
*3, *4
C008XXXS
.HEX
Segment
option
HEX file
Creation of
target board
Debugging with
ICE Control Software
ICS6008
Debugging
completion
Target board
*3, *6 *5
ICE Evaluation Board
S5U1C60N08E
S5U1C62000H

1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL
S5U1C60N08D MANUAL EPSON 3
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
1.4 Installation
The S5U1C60N08D tools are included on the CD-ROM of the S5U1C62000A (S1C60/62 Family Assembler
Package), and they can be installed in your hard disk using the installer (Setup.exe) on the CD-ROM.
Refer to the "S5U1C62000A Manual" for how to install the S5U1C60N08D tools.

2 CROSS ASSEMBLER ASM6008
4EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
2 CROSS ASSEMBLER ASM6008
2.1 ASM6008 Outline
The ASM6008 cross assembler is an assembler program
for generating the machine code used by the S1C60N08
4-bit, single-chip microcomputers. The Cross Assembler
ASM6008 will assemble the program source files which
have been input by the user's editor and will generate
an object file in Intel-Hex format and assembly list file.
In this assembler, program modularization has been
made possible through macro definition functions and
programming independent of the ROM page structure
has been made possible through the auto page set
function. In addition, consideration has also been given
to precise error checks for program capacity (ROM
capacity) overflows, undefined codes and the like, and
for debugging of such things as label tables for assembly
list files and cross reference table supplements.
2.2 S1C60N08 Restrictions
Note the following when generating a program by the S1C60N08:
Fig. 2.1.1 ASM6008 execution flow
☞
The format of the source file and its operating method are same as for the S1C62 Family. Refer to the
"S1C62 Family Development Tool Reference Manual" for details.
■ROM area
The capacity of the S1C60N08
ROM is 4k steps (0000H to
0FFFH).
Therefore, the specification
range of the memory setting
pseudo-instructions and PSET
instruction is restricted.
Memory configuration:
Bank: Only bank 0, Page: 16 pages (0 to 0FH), each 256 steps
Significant specification range:
ORG pseudo-instruction: 0000H to 0FFFH
PAGE pseudo-instruction: 00H to 0FH
BANK pseudo-instruction: Only 0H
PSET instruction: 00H to 0FH
■RAM area
The capacity of the S1C60N08 RAM is 832 words (000H to 3FFH, 4 bits/word).
However, note the following points when programming.
(1) When 040H–06FH has been specified as the segment data memory through the mask option, 240H–
2CFH and 2D1H–2DFH become unused areas. Memory access is invalid when this unused area is
specified.
(2) When 240H–26FH has been specified as the segment data memory through the mask option, 270H–
2CFH and 2D1H–2DFH become unused areas. Memory access is invalid when this unused area is
specified.
(3) Since RAM is set for up to 4 pages, only the subordinate 2 bits of the page section of the index
register which specifies address are effective. (The 2 superordinate bits are ignored.)
Example: LD A,04H
LD XP,A
LD X,9FH
A>EDLIN C008XXX.DAT
Create the source file
A>ASM6008 C008XXX
Execute the cross assembler
C008XXX
.DAT
C008XXX
.PRN C008XXXL
.HEX C008XXXH
.HEX
Error
message
Error
message
Assembly
listing file Object file
49FH is loaded into the IX register, but an unused area has been specified
so that the memory accessible with the IX register (MX) is invalid.
■Undefined codes
The SLP instruction has not been defined in the S1C60N08 instruction sets.

2 CROSS ASSEMBLER ASM6008
S5U1C60N08D MANUAL EPSON 5
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
2.3 ASM6008 Quick Reference
■Starting command and input/output files
Execution file: ASM6008.EXE
Starting command: ASM6008_ [drive-name:] source-file-name [.shp]_ [-N]
Option: .shp Specifies the file I/O drives.
sSpecifies the drive from which the source file is to be input. (A–P, @)
hSpecifies the drive to which the object file is to be output. (A–P, @, Z)
pSpecifies the drive to which the assembly listing file is to be output. (A–P, @, Z)
@: Current drive, Z: File is not generated
-N The code (FFH) in the undefined area of program memory is not created.
Input file: C008XXX.DAT (Source file)
Output file: C008XXXL.HEX (Object file, low-order)
C008XXXH.HEX (Object file, high-order)
C008XXX.PRN (Assembly listing file)
■Display example
_ indicates a blank.
indicates the Return key.
A parameter enclosed by [ ] can be omitted.
*** E0C6008 CROSS ASSEMBLER. --- Ver 1.00 ***
EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO NNN NNN
EEEEEEEEEE PPPPPPPPPP SSS SSSS OOO OOO NNNN NNN
EEE PPP PPP SSS SSS OOO OOO NNNNN NNN
EEE PPP PPP SSS OOO OOO NNNNNN NNN
EEEEEEEEEE PPPPPPPPPP SSSSSS OOO OOO NNN NNN NNN
EEEEEEEEEE PPPPPPPP SSSS OOO OOO NNN NNNNNN
EEE PPP SSS OOO OOO NNN NNNNN
EEE PPP SSS SSS OOO OOO NNN NNNN
EEEEEEEEEE PPP SSSS SSS OOO OOO NNN NNN
EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN
(C) COPYRIGHT 1989 SEIKO EPSON CORP.
SOURCE FILE NAME IS " C008XXX.DAT "
THIS SOFTWARE MAKES NEXT FILES.
C008XXXH.HEX ... HIGH BYTE OBJECT FILE.
C008XXXL.HEX ... LOW BYTE OBJECT FILE.
C008XXX .PRN ... ASSEMBLY LIST FILE.
DO YOU NEED AUTO PAGE SET? (Y/N) Y . . . (1)
DO YOU NEED CROSS REFERENCE TABLE? (Y/N) Y . . . (2)
When ASM6008 is started, the start-up
message is displayed.
At (1), select whether or not the auto-page-
set function will be used.
Use........................ Y
Not use ................. N
If the assembly listing file output is
specified, message (2) is displayed. At this
stage, cross-reference table generation may
be selected.
Generating ............ Y
Not generating ...... N
When the above operation is completed,
ASM6008 assembles the source file.
To suspend execution, press the "CTRL"
and "C" keys together at stage (1) or (2).
Arithmetic operators
+a
-a
a+b
a-b
a*b
a/b
a_MOD_b
a_SHL_b
a_SHR_b
HIGH_a
LOW_a
Monadic positive
Monadic negative
Addition
Subtraction
Multiplication
Division
Remainder of a/b
Shifts a b bits to the left
Shifts a b bits to the right
Separates the high-order eight bits from a
Separates the low-order eight bits from a
Logical operators
a_AND_b
a_OR_b
a_XOR_b
NOT_a
Relational operators
a_EQ_b
a_NE_b
a_LT_b
a_LE_b
a_GT_b
a_GE_b
Logical product
Logical sum
Exclusive logical sum
Logical negation
True when a is equal to b
True when a is not equal to b
True when a is less than b
True when a is less than or equal to b
True when a is greater than b
True when a is greater than or equal to b
■Operators

2 CROSS ASSEMBLER ASM6008
6EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
EQU
SET
DW
ORG
PAGE
SECTION
END
MACRO
LOCAL
ENDM
To allocate data to label
To allocate data to label
(data can be changed)
To define ROM data
To define location counter
To define boundary of page
Pseudo-instruction
(Equation)
(Set)
(Define Word)
(Origin)
(Page)
(Section)
(End)
(Macro)
(Local)
(End Macro)
To define boundary of section
To terminate assembly
To define macro
To make local specification of label
during macro definition
To end macro definition
Meaning Example of Use
ABC EQU 9
BCD EQU ABC+1
ABC SET 0001H
ABC SET 0002H
ABC DW 'AB'
BCD DW 0FFBH
ORG 100H
ORG 256
PAGE 1H
PAGE 3
SECTION
END
CHECK MACRO DATA
LOCAL LOOP
LOOP CP MX,DATA
JP NZ,LOOP
ENDM
CHECK 1
S
U
M
O
P
R
!
FILE NAME ERROR
FILE NOT PRESENT
DIRECTORY FULL
FATAL DISK WRITE ERROR
LABEL TABLE OVERFLOW
CROSS REFERENCE TABLE OVERFLOW
An unrecoverable syntax error was encountered.
The label or symbol of the operand has not been defined.
The label field has been omitted.
A syntax error was encountered in the operand, or the operand could
not be evaluated.
Error message
(Syntax Error)
(Undefined Error)
(Missing Label)
(Operand Error)
(Phase Error)
(Range Error)
(Warning)
Explanation
The same label or symbol was defined more than once.
•
•
•
The source file name was longer than 8 characters.
The specified source file was not found.
No space was left in the directory of the specified disk.
The file could not be written to the disk.
The number of defined labels and symbols exceeded the label table
capacity (4000).
The label/symbol reference count exceeded the cross-reference table
capacity (only when the cross-reference table is generated).
The location counter value exceeded the upper limit of the program
memory, or a location exceeding the upper limit was specified.
A value greater than that which the number of significant digits of the
operand will accommodate was specified.
Memory areas overlapped because of a "PAGE" or "ORG" pseudo-
instruction or both.
■Pseudo-instructions
■Error messages

3 FUNCTION OPTION GENERATOR FOG6008
S5U1C60N08D MANUAL EPSON 7
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
3FUNCTION OPTION GENERATOR FOG6008
3.1 FOG6008 Outline
Seiko Epson
C008XXXF
.HEX C008XXXF
.DOC
Set function
option
Start FOG6008
Floppy disk
EPROM
Option list
generation
Evaluation
board
With the 4-bit single-chip S1C60N08 microcomputers,
the customer may select 19 hardware options. By
modifying the mask patterns of the S1C60N08
according to the selected options, the system can be
customized to meet the specifications of the target
system.
The Function Option Generator FOG6008 is a software
tool for generating data files used to generate mask
patterns. It enables the customer to interactively select
and specify pertinent items for each hardware option.
From the data file created with FOG6008, the
S1C60N08 mask pattern is automatically generated by
a general purpose computer.
The HEX file for the evaluation board (S5U1C60N08E)
hardware option ROM is simultaneously generated
with the data file.
☞
The operating method is same as for the S1C62
Family. Refer to the "S1C62 Family Development
Tool Reference Manual" for details.
Note: When creating option files, please make a function option file (C008xxxF.DOC) before making a
segment option file (C008xxxS.DOC).
3.2 S1C60N08 Option List
Multiple specifications are available in each option item as indicated in the Option List. Using "3.3 Option
Specifications and Selection Message" as reference, select the specifications that meet the target system. Be
sure to record the specifications for unused ports too, according to the instructions provided.
1. DEVICE TYPE
• DEVICE TYPE ...................................... ■■1. E0C6008 (Normal Type <S1C60N08>)
■■2. E0C60L08 (Low Power Type <S1C60L08>)
■■3. E0C60A08 (Twin Clock Type <S1C60A08>)
•
CLOCK TYPE (for evaluation board)..
■■1. 32 kHz ■■2. 38 kHz
2
. OSC3 SYSTEM CLOCK (only for E0C60A08)
■■1. CR ■■2. Ceramic
3. MULTIPLE KEY ENTRY RESET
• COMBINATION .................................. ■■1. Not Use
■■2. Use K00, K01
■■3. Use K00, K01, K02
■■4. Use K00, K01, K02, K03
• TIME AUTHORIZE ............................. ■■1. Use ■■2. Not Use
4
. WATCHDOG TIMER ■■1. Use ■■2. Not Use
5. INPUT INTERRUPT NOISE REJECTOR
• K00–K03................................................. ■■1. Use ■■2. Not Use
• K10 ......................................................... ■■1. Use ■■2. Not Use
• K20–K23................................................. ■■1. Use ■■2. Not Use
Fig. 3.1.1 FOG6008 execution flow

3 FUNCTION OPTION GENERATOR FOG6008
8EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
6. INPUT PORT PULL DOWN RESISTOR
• K00 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K01 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K02 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K03 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K10 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K20 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K21 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K22 ......................................................... ■■1. With Resistor ■■2. Gate Direct
• K23 ......................................................... ■■1. With Resistor ■■2. Gate Direct
7
. OUTPUT PORT SPECIFICATION (R00–R03)
• R00.......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• R01.......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• R02.......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• R03.......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
8. R10 SPECIFICATION
• OUTPUT SPECIFICATION................ ■■1. Complementary ■■2. Pch-OpenDrain
• OUTPUT TYPE..................................... ■■1. DC Output ■■2. Buzzer Output
9. R11 SPECIFICATION
• OUTPUT SPECIFICATION................ ■■1. Complementary ■■2. Pch-OpenDrain
• OUTPUT TYPE..................................... ■■1. DC Output ■■2. SIO Flag
10.R12 SPECIFICATION
• OUTPUT SPECIFICATION................ ■■1. Complementary ■■2. Pch-OpenDrain
• OUTPUT TYPE..................................... ■■1. DC Output
■■2. FOUT 32768 or 38400 [Hz]
■■3. FOUT 16384 or 19200 [Hz]
■■4. FOUT 8192 or 9600 [Hz]
■■5. FOUT 4096 or 4800 [Hz]
■■6. FOUT 2048 or 2400 [Hz]
■■7. FOUT 1024 or 1200 [Hz]
■■8. FOUT 512 or 600 [Hz]
■■9. FOUT 256 or 300 [Hz]
11.R13 SPECIFICATION
• OUTPUT SPECIFICATION................ ■■1. Complementary ■■2. Pch-OpenDrain
• OUTPUT TYPE..................................... ■■1. DC Output
■■2. Buzzer Inverted Output (R13 Control)
■■3. Buzzer Inverted Output (R10 Control)
12
.I/O PORT SPECIFICATION
• P00 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• P01 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• P02 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• P03 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• P10 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• P11 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• P12 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
• P13 .......................................................... ■■1. Complementary ■■2. Pch-OpenDrain
13
.SIN PULL DOWN RESISTOR ■■1. With Resistor ■■2. Gate Direct
14
.SOUT SPECIFICATION ■■1. Complementary ■■2. Pch-OpenDrain

3 FUNCTION OPTION GENERATOR FOG6008
S5U1C60N08D MANUAL EPSON 9
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
15
.SCLK SPECIFICATION
• PULL DOWN RESISTOR ................... ■■1. With Resistor ■■2. Gate Direct
• OUTPUT SPECIFICATION................ ■■1. Complementary ■■2. Pch-OpenDrain
• LOGIC.................................................... ■■1. Positive ■■2. Negative
16
.SIO DATA PERMUTATION ■■1. MSB First ■■2. LSB First
17
.EVENT COUNTER NOISE REJECTOR
■■1. 2048 or 2400 [Hz] ■■2. 256 or 300 [Hz]
18
.LCD SPECIFICATION
• BIAS SELECTION
S1C60N08.............................................. ■■1. 1/3 Bias, Regulator Used, LCD 3 V
■■2. 1/3 Bias, Regulator Not Used, LCD 3 V
■■3. 1/2 Bias, Regulator Not Used, LCD 3 V
■■4. 1/3 Bias, Regulator Not Used, LCD 4.5 V
S1C60L08............................................... ■■1. 1/3 Bias, Regulator Used, LCD 3 V
■■2. 1/2 Bias, Regulator Not Used, LCD 3 V
■■3. 1/3 Bias, Regulator Not Used, LCD 4.5 V
S1C60A08 .............................................. ■■1. 1/3 Bias, Regulator Used, LCD 3 V
■■2. 1/3 Bias, Regulator Not Used, LCD 3 V
■■3. 1/2 Bias, Regulator Not Used, LCD 3 V
■■4. 1/3 Bias, Regulator Not Used, LCD 4.5 V
• DUTY SELECTION ............................. ■■1. 1/4 Duty
■■2. 1/3 Duty
■■3. 1/2 Duty
19
.SEGMENT MEMORY ADDRESS ■■1. 0 Page (040–06F)
■■2. 2 Page (240–26F)

3 FUNCTION OPTION GENERATOR FOG6008
10 EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
*** OPTION NO.3 ***
--- MULTIPLE KEY ENTRY RESET ---
COMBINATION
1. NOT USE
2. USE K00,K01
3. USE K00,K01,K02
4. USE K00,K01,K02,K03
PLEASE SELECT NO.(1) ? 2
TIME AUTHORIZE
1. USE
2. NOT USE
PLEASE SELECT NO.(1) ? 1
COMBINATION 2. USE K00,K01 SELECTED
AUTHORIZE 1. USE SELECTED
3.3 Option Specifications and Selection Message
Screen that can be selected as function options set on the S1C60N08 are shown below, and their specifica-
tions are also described.
Select an oscillator type for the OSC3 oscillation
circuit.
To minimize external components, CR oscillation
circuit would be suitable; to obtain a stable
oscillation frequency, ceramic oscillation circuit
would be suitable. When CR oscillation circuit is
selected, only a resistor is needed as a external
component since a capacitor is built-in.
On the other hand, when ceramic oscillation circuit
is selected, a ceramic oscillator, a gate capacitor
and a drain capacitor are needed as external
components. When ceramic oscillation circuit is
selected, the oscillation frequency is fixed at 500
kHz; when CR oscillation circuit is selected, it may
be adjusted to a certain extent depending on the
external resistor.
1 Device type
*** OPTION NO.1 ***
--- DEVICE TYPE ---
DEVICE TYPE
1. E0C6008
2. E0C60L08
3. E0C60A08
PLEASE SELECT NO.(1) ? 3
DEVICE TYPE 3. E0C60A08 SELECTED
Select the chip specification.
E0C6008 (S1C60N08), E0C60L08 (S1C60L08)
and E0C60A08 (S1C60A08) denote 3 V power
source voltage specification, LOW POWER
specification for 1.5 V power source voltage, and
TWIN CLOCK specification, respectively.
When E0C6008 or E0C60L08 is selected, OSC3
oscillation circuit is fixed at CR oscillation.
However, it can not be used.
2 OSC3 system clock
*** OPTION NO.2 ***
--- OSC3 SYSTEM CLOCK ---
OSC3 SYSTEM CLOCK
1. CR
2. CERAMIC
PLEASE SELECT NO.(1) ? 1
OSC3 SYSTEM CLOCK 1. CR SELECTED
* The above selection is only possible with 60A08.
3 Multiple key entry reset The reset function when K00 through K03 are
entered and the time authorize circuit are
configured.
When "NOT USE" is set for the combination, the
reset function is not activated even if K00 through
K03 are entered. When "USE K00, K01" is set, the
system is reset immediately the K00 and K01
inputs go high at the same time. Similarly, the
system is reset as soon as the K00 through K02
inputs or the K00 through K03 inputs go high.
When "USE" is set for the time authorize circuit, a
simultaneous high input time is authorized. The
system is reset when a signal is input for more than
1 to 3 sec.
Select the OSC1 clock frequency (crystal) for the
evaluation board.
Either 32.768 kHz or 38.4 kHz can be selected.
Crystal selection for evaluation board
--- CLOCK TYPE ---
CLOCK TYPE
1. 32KHZ
2. 38KHZ
PLEASE SELECT NO.(1) ? 1
CLOCK TYPE 1. 32KHZ SELECTED

3 FUNCTION OPTION GENERATOR FOG6008
S5U1C60N08D MANUAL EPSON 11
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
Fig. 3.3.1 System reset circuit
OSC1
OSC2
K00
K01
K02
K03
RESET
Mask option
Oscillation
detection
circuit
f
V
SS
Oscillation
circuit
If the time authorize circuit is not used, the system
is reset when a high signal is input for more than 6
msec.
* If "NOT USE" is set for the combination, the
time authorize selection is required.
The system reset circuit is shown in Figure 3.3.1.
4 Watchdog timer
*** OPTION NO.4 ***
--- WATCHDOG TIMER ---
WATCHDOG TIMER
1. USE
2. NOT USE
PLEASE SELECT NO.(1) ? 1
WATCHDOG TIMER 1. USE SELECTED
Select whether the watchdog timer built-in to detect
CPU runaways will be used or not.
When the watchdog timer is not reset by the
program within 3 to 4 second cycles, the CPU is
initially reset.
5 Input interrupt noise rejector
*** OPTION NO.5 ***
--- I/P INTERRUPUT NOISE REJECTOR ---
K00-K03
1. USE
2. NOT USE
PLEASE SELECT NO.(1) ? 1
K10
1. USE
2. NOT USE
PLEASE SELECT NO.(1) ? 1
K20-K23
1. USE
2. NOT USE
PLEASE SELECT NO.(1) ? 1
K00-K03 1. USE SELECTED
K10 1. USE SELECTED
K20-K23 1. USE SELECTED
Select whether noise rejector will be supplemented
to the input interruptor of K00–K03, K10 and K20–
K23.
When "USE" is selected, the entry signal will pass
the noise rejector, and occurrence of interrupt
errors due to noise or chattering can be avoided.
Note, however, that because the noise rejector
performs entry signal sampling at 4 kHz, "NOT
USE" should be selected when high speed response
is required.

3 FUNCTION OPTION GENERATOR FOG6008
12 EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
*** OPTION NO.7 ***
--- O/P OUTPUT SPEC. (R00-R03) ---
R00
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 1
R01
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 1
R02
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 2
R03
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 2
R00 1. COMPLEMENTARY SELECTED
R01 1. COMPLEMENTARY SELECTED
R02 2. P-CH OPEN DRAIN SELECTED
R03 2. P-CH OPEN DRAIN SELECTED
Output
register
V
DD
R
Complementary
Pch open drain
V
SS
Fig. 3.3.3 Configuration of output circuit
Select the output specification for the output ports
(R00–R03).
Either complementary output or Pch open drain
output may be selected.
When output port is to be used on key matrix
configuration, select Pch open drain output.
For unused output ports, select complementary
output.
The output circuit configuration is shown in Figure
3.3.3.
7 Output port output specification (R00–R03)
6 Input port pull down resistor
*** OPTION NO.6 ***
--- I/P PORT PULL DOWN RESISTOR ---
K00
1. WITH RESISTOR
2. GATE DIRECT
PLEASE SELECT NO.(1) ? 1
:
(Selection for K01–K03 and K10)
:
PLEASE SELECT NO.(1) ? 1
K20
1. WITH RESISTOR
2. GATE DIRECT
PLEASE SELECT NO.(1) ? 2
:
(Selection for K21–K23)
:
PLEASE SELECT NO.(1) ? 2
K00 1. WITH RESISTOR SELECTED
K01 1. WITH RESISTOR SELECTED
K02 1. WITH RESISTOR SELECTED
K03 1. WITH RESISTOR SELECTED
K10 1. WITH RESISTOR SELECTED
K20 2. GATE DIRECT SELECTED
K21 2. GATE DIRECT SELECTED
K22 2. GATE DIRECT SELECTED
K23 2. GATE DIRECT SELECTED
Select whether input ports (K00–K03, K10 and
K20–K23) will each be supplemented with pull
down resistors or not. When "GATE DIRECT" is
selected, see to it that entry floating state does not
occur. Select "WITH RESISTOR" pull down
resistor for unused ports.
Moreover, the input port status is changed from
high level (VDD) to low (VSS) with pull down
resistors, a delay of approximately 1 msec in
waveform rise time will occur depending on the
pull down resistor and entry load time constant.
Because of this, when input reading is to be
conducted, ensure the appropriate wait time with
the program.
The configuration of the pull down resistor circuit
is shown in Figure 3.3.2. VDD
KData bus
Read signal
VSS
Fig. 3.3.2 Configuration of pull down resistor

3 FUNCTION OPTION GENERATOR FOG6008
S5U1C60N08D MANUAL EPSON 13
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
8 R10 specification
*** OPTION NO.8 ***
--- R10 SPECIFICATION ---
OUTPUT SPECIFICATION
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 1
OUTPUT TYPE
1. DC OUTPUT
2. BUZZER OUTPUT
PLEASE SELECT NO.(1) ? 2
OUTPUT SPECIFICATION 1. COMPLEMENTARY SELECTED
OUTPUT TYPE 2. BUZZER SELECTED
Select the output specification for the R10
terminal.
Either complementary output or Pch open drain
output may be selected.
When DC output is selected, R10 becomes a
regular output port. When buzzer output is
selected, by writing "1" to the R10 register, buzzer
drive (oscillation output) signal is output from the
R10 terminal.
* When DC output is selected, the R13 terminal
output type (see Option 11, "R13 specifica-
tion") selection is limited to DC output only.
The circuit configuration is the same as those of
the output ports R00–R03 (Figure 3.3.3).
Refer to Figure 3.3.6 for the buzzer output
waveform.
Select the output specification for the R11
terminal.
Either complementary output or Pch open drain
output may be selected.
When DC output is selected, R11 becomes a
regular output port. When SIO flag is selected, a
signal indicating the SIO operation status (RUN/
STOP) is generated from the R11 terminal.
The circuit configuration is the same as those of
the output ports R00–R03 (Figure 3.3.3).
9 R11 specification
*** OPTION NO.9 ***
--- R11 SPECIFICATION ---
OUTPUT SPECIFICATION
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 1
OUTPUT TYPE
1. DC OUTPUT
2. SIO FLAG
PLEASE SELECT NO.(1) ? 2
OUTPUT SPECIFICATION 1. COMPLEMENTARY SELECTED
OUTPUT TYPE 2. SIO FLAG SELECTED
10 R12 specification
*** OPTION NO.10 ***
--- R12 SPECIFICATION ---
OUTPUT SPECIFICATION
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 1
OUTPUT TYPE
1. DC OUTPUT
2. FOUT 32768 OR 38400 HZ
3. FOUT 16384 OR 19200 HZ
4. FOUT 8192 OR 9600 HZ
5. FOUT 4096 OR 4800 HZ
6. FOUT 2048 OR 2400 HZ
7. FOUT 1024 OR 1200 HZ
8. FOUT 512 OR 600 HZ
9. FOUT 256 OR 300 HZ
PLEASE SELECT NO.(1) ? 2
OUTPUT SPECIFICATION 1. COMPLEMENTARY SELECTED
OUTPUT TYPE 2. FOUT 32768 OR 38400 HZ SELECTED
Select the output specification for the R12
terminal.
Either complementary output or Pch open drain
output may be selected.
When DC output is selected, R12 becomes a
regular output port. When FOUT is selected, clock
with frequency selected from the R12 terminal is
generated by writing "1" to the R12 register.
•When DC output is selected
When the R12 register is set to "1", the R12
terminal output goes high (VDD), and goes
low (VSS) when set to "0".
Output waveform is shown in Figure 3.3.4.
VDD
VSS
010
R12 output
R12 register
Fig. 3.3.4 Output waveform at DC output selection

3 FUNCTION OPTION GENERATOR FOG6008
14 EPSON S5U1C60N08D MANUAL
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
FOUT output
R12 register 0 1 0 VSS
VDD
Fig. 3.3.5 Output waveform at R12 FOUT output selection
Select the output specification for the R13
terminal.
Either complementary output or Pch open drain
output may be selected.
When DC output is selected, R13 becomes a
regular output port. When "BUZZER
INVERTED OUTPUT" is selected, inverted
waveform of the R10 buzzer output is generated
from the R13 terminal. The R13 and R10
control bits become buzzer inverted output when
"1" is written to the R13 and R10 registers,
respectively.
* The buzzer inverted output may not be
selected when the R10 output type (see
Option 8, "R10 specification") is not set to
buzzer. Moreover, at this point, when the
R10 output type is reselected after selecting
buzzer inverted output, the R10 output type
is fixed at buzzer output.
Buzzer output waveform is shown in Figure
3.3.6.
R13 buzzer output
R10/R13 register 0 1 0
VDD
VSS
VDD
VSS
R10 buzzer output
Fig. 3.3.6 Buzzer output waveform
•When FOUT output is selected
When FOUT bit (R12 register) is set to "1",
50% duty and VDD–VSS amplitude square
wave is generated at the specified
frequency. When set to "0", the FOUT
terminal goes low (VSS).
A FOUT frequency may be selected from
among 8 types, ranging from 256 or 300 Hz
to 32,768 or 38,400 Hz.
FOUT output is normally utilized to provide
clock to other devices but since hazard
occurs at the square wave breaks, great
caution must be observed when using it.
Output waveform is shown in Figure 3.3.5.
11 R13 specification
*** OPTION NO.11 ***
--- R13 SPECIFICATION ---
OUTPUT SPECIFICATION
1. COMPLEMENTARY
2. P-CH OPEN DRAIN
PLEASE SELECT NO.(1) ? 1
OUTPUT TYPE
1. DC OUTPUT
2. BUZZER INVERTED O/P(R13)
3. BUZZER INVERTED O/P(R10)
PLEASE SELECT NO.(1) ? 2
OUTPUT SPECIFICATION 1. COMPLEMENTARY SELECTED
OUTPUT TYPE 2. BUZZER INVERTED O/P(R13) SELECTED
Table of contents
Other Epson Computer Hardware manuals

Epson
Epson S5U1C6F632T1 User manual

Epson
Epson S5U1C62000A User manual

Epson
Epson S1C63000 User manual

Epson
Epson DNUB-E1 User manual

Epson
Epson S1V3G340 User manual

Epson
Epson S5U1C62N51E1 User manual

Epson
Epson DisplayPort ELPIF03 User manual

Epson
Epson S1C62 Family User manual

Epson
Epson S 1C63 Series User manual

Epson
Epson OT-WL02 Use and care manual

Epson
Epson ARM720T Core cpu User manual

Epson
Epson E0C6001 User manual

Epson
Epson IMU G Series User manual

Epson
Epson S1C60N03 User manual

Epson
Epson S1C6P366 User manual

Epson
Epson S5U1C88000H5 User manual

Epson
Epson IEEE-488 User manual

Epson
Epson UB-E03 User manual

Epson
Epson S1C33 Series User manual

Epson
Epson UB-S01 User manual