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.
The explanation covering the outline and operation of the development support tools for the CMOS 4-bit
Single Chip Microcomputer S1C62 Family has been divided into the following parts.
I.INTRODUCTION
II.DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
III.CROSS ASSEMBLER ASM62XX
IV.MELODY ASSEMBLER MLA628X
V.FUNCTION OPTION GENERATOR FOG62XX
VI.SEGMENT OPTION GENERATOR SOG62XX
VII.EVALUATION BOARD S5U1C62XXXE
VIII. ICE CONTROL SOFTWARE ICS62XX
IX.MASK DATA CHECKER MDC62XX
Before Reading . . .
This manual indicates the model name as "S1C62XXX" and source file and output files as "C2XXYYY" for
purposes of explanation of the common content in each model of the S1C62 Family. You should substitute
the "XXX" parts for the various model names. Please allow Seiko Epson to specify the "YYY" section for
each customer.
Example: When the development model is S1C6S460, and the "YYY" section is to be specified as "0A0".
S1C6XXXX→S1C6S460
CXXXYYY→CS460A0
Reference Manual
The peculiar content of each model, device details and the like are explained in the below manual. You
should refer to it as required.
Development Tools☞ S5U1C62xxxD Manual (Development Software Tool for S1C62xxx)
S5U1C62xxxE Manual (Evaluation Board for S1C62xxx)
S5U1C62000H Manual (S1C60/62 Family In-Circuit Emulator)
Device (S1C62xxx)
Instructions
∗ In this manual, "ICE" and "evaluation board" indicate S5U1C62000H and S5U1C62xxxE, respectively.
☞ S1C62xxx Technical Manual
☞ S1C6200/6200A Core CPU Manual
The information of the product number change
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.
Configuration of product number
Devices
S1C60N01F0A01
Development tools
S5U1
∗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.
C60R08D11
00
Packing specification
Specification
Package (D: die form; F: QFP)
Model number
Model name (C: microcomputer, digital products)
Product classification (S1: semiconductor)
00
Packing 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)
This part explains the composition of the development support tool for the 4-bit Single Chip Microcomputer S1C62 Family and the developmental
environment.
INTRODUCTION
INTRODUCTION
Contents
1 TYPES OF DEVELOPMENT SUPPORT TOOLS ____________________I-1
1.1 Composition of the Software Development Tools S5U1C62xxxD...........................I-1
1.2 Composition of the Hardware Tools .......................................................................I-1
2 DEVELOPMENTAL ENVIRONMENT_____________________________I-2
3 DEVELOPMENT FLOW ________________________________________I-2
4 INSTALLATION _______________________________________________I-4
5 DIFFERENCES FROM MODEL TO MODEL AND PRECAUTIONS ___I-5
6 TROUBLESHOOTING __________________________________________I-6
S1C62 FAMILYEPSONI-i
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
1TYPES OF DEVELOPMENT
SUPPORT TOOLS
Here we will explain the composition of the software and hardware for the development support tools.
1.1Composition of the Software Development Tools S5U1C62xxxD
The below software are included in the software development support tools used in each S1C62XXX
model.
1. Development Tool Management System DMS6200 ..Menu selections for each software / start-up software
2. Cross Assembler ASM62XX ...................................... Cross assembler for program preparation
3. Melody Assembler MLA628X (Note) .......................... Melody data preparation program
4. Function Option Generator FOG62XX .......................Function option data preparation program
5. Segment Option Generator SOG62XX (Note) ........... Segment option data preparation program
6. ICE Control Software ICS62XX.................................. ICE control program
7. Mask Data Checker MDC62XX.................................. Mask data preparation program
Note The 3 Melody Assembler MLA628X are only set in the models (S1C62N8X) that have melody
functions.
The 5 Segment Option Generator SOG62XX are only set in models that have LCD driver and
segment options.
1.2Composition of the Hardware Tools
The following two types have been prepared for all types as hardware development support systems.
1. In-Circuit Emulator S5U1C62000H..... In-circuit emulator permitting high level debugging (common to each
model)
2. Evaluation Board S5U1C62xxxE........ Evaluation board that has the same functions as the actual IC (different
for each model)
S1C62 FAMILYEPSONI-1
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
2DEVELOPMENTAL ENVIRONMENT
The software product of the development support tool S5U1C62xxxD operates on the following host
systems:
• IBM PC/AT (at least PC-DOS Ver. 2.0)
When developing the S1C62XXX, 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.
Host computer
(IBM PC/AT)
PC-DOS
Editor
RS-232C
• P-ROM writer
• Printer
Note The S5U1C62xxxD 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.
Figure 3.1 shows the development flow through the S5U1C62xxxD.
Concerning file names
All the input-output file name for the each development support tool commonly use "C2XXYYY". In
principle each file should be produced in this manner. Seiko Epson will designate the "YYY" for each
customer.
I-2EPSONS1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
*4, *5
Development support tool
selection on menu of
Development Tool
Management System DMS6200
C2XXYYY
.PRN
Assembly listMelody
Determination of
software specifications
*2, *3, *4*4, *5*4, *5*4, *5*1, *6
Flow chart generation
and coding
Coding
sheet
Source file generation
by using editor
Program
C2XXYYY
.DAT
source file
Cross Assembler
ASM62XX execution
Object file
C2XXYYYL
.HEX
C2XXYYYH
.HEX
*1, *2*1
Melody generation
and coding
Source file generation
by using editor
C28XYYY
.MDT
Melody Assembler
MLA628X execution
C28XYYY
.MPR
assembly list
C28XYYYA
.DOC
Melody
document file
Coding
sheet
Melody
source file
Determination of
hardware specifications
Function option list
generation
Function
option
list
*4, *5*4, *5*4, *5*4, *5
Function Option Generator
FOG62XX execution
C2XXYYYF
.DOC
Function option
document file
Segment option list
generation
Segment
option
list
Source file generation
by using editor
Segment option
C2XXYYY
.SEG
source file
Segment Option Generator
SOG62XX execution
C2XXYYYS
.DOC
Segment option
document file
Creation of
target board
C2XXYYYF
.HEX
Function
option
HEX file
Function
option ROM
(one)
S5U1C62xxxE
C2XXYYYS
.HEX
ICS62XX
*4, *5
Debugging
completion
Debugging with
ICE Control Software
C28XYYYA
.HEX
Melody
HEX file
ICEEvaluation Board
S5U1C62000H
*4, *7*6
*4, *5
Mask Data Checker
MDC62XX execution
Note The melody and segment option flow are
C62XXYYY
.PAn
SEIKO EPSON
File for
submission
only valid in models possessing those
functions.
Fig. 3.1 S5U1C62xxxD development flow
☞ Reference manual
*1 S1C62xxx Technical Manual (Hardware)*5 S5U1C62xxxD Manual
*2 S1C62xxx Technical Manual (Software)*6 S5U1C62xxxE Manual
*3 S1C6200/6200A Core CPU Manual*7 S5U1C62000H Manual
*4 S1C62 Family Development Tool Reference Manual (this manual)
Segment
option
HEX file
Segment
option ROM
(two)
Target board
S1C62 FAMILYEPSONI-3
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
4INSTALLATION
The S5U1C62xxxD 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 S5U1C62xxxD tools.
Note The DMS6200 configures a menu from files that are located in the current directory. Therefore, do
not move the development tools from the directory in which the DMS6200 exists.
To invoke an editor (DOS version) or other programs from the DMS6200, copy those executable
files to the directory in which the DMS6200 exists.
I-4EPSONS1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
5DIFFERENCES FROM MODEL TO
MODEL AND PRECA UTIONS
There may be some models in which the following two types software tools contained in the
S5U1C62xxxD are not included.
(1) Segment Option Generator SOG62XX
This is not included in the software tools of models in which the segment option has not been set.
(2) Melody Assembler MLA628X
This is not included in the software tools for the models (Other than S1C62N8X) that do not have the
melody function.
Please be aware of the following points in setting the host system.
(1) The S5U1C62xxxD system requires a host computer with a RAM capacity of about 140K bytes.
(2) Since the ICE 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.
(3) In order for the MDC62XX to handle numerous files, set the number of files described in the
CONFIG.SYS to 10 or more (e.g., FILES = 20).
S1C62 FAMILYEPSONI-5
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
6TROUBLESHOOTING
Tool
ICE
S5U1C62000H
SOG62XX
Problem
Nothing appears on the screen, or
nothing works, after activation.
The ICE fuse cut immediately after
activation.
<ILLEGAL VERSION ICE6200>
appears on the screen immediately after
activation.
<ILLEGAL VERSION PARAMETER
FILE> appears on the screen immediately after activation.
Immediate values A (10) and B (11)
cannot be entered correctly with the A
command.
<UNUSED AREA> is displayed by the
SD command.
You can not do a real-time run in
break-trace mode.
Output from the evaluation board is
impossible when data is written to the I/
O memory for Buzzer and Fout output
with the ICE command.
An R error occurs although the address
is correctly set in the segment source
file.
Remedy measures
Check the following and remedy if necessary:
• Is the RS-232C cable connected correctly?
• Is the RS-232C driver installed?
• Is MODE.COM on the disk?
• Is the execution file correct?
PC-DOSICS62XXW.EXE
• Is the DOS version correct?
PC-DOSVer. 2.1 or later
• Is the DIP switches that set the baud rate of the main ICE
unit set correctly?
• Is the fuse of the ICE cut off?
Check the following and remedy if necessary:
• Are connectors F1 and F5 connected to the evaluation
board correctly?
• Is the target board power short-circuiting?
The wrong version of ICE is being used. Use the latest
version.
The wrong version of ICS62XXP.PAR is being used. Use
the latest version.
The A and B registers are reserved for the entry of A and B.
Write 0A and 0B when entering A (10) and B (11).
Example: LDA, BData in the B register is
loaded into the A register.
LDB, 0AImmediate value A is loaded
into the B register.
This massage is output when the address following one in
which data is written is unused. It does not indicates
problem. Data is correctly set in areas other than the readonly area.
Since the CPU stops temporarily when breaking conditions
are met, executing in a real-time is not performed.
Output is possible only in the real-time run mode.
Check the following and remedy if necessary:
• Does the address symbol use capital letters?
• Are the output ports set for every two terminals?
I-6EPSONS1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
Tool
ASM62XX
MDC62XX
MLA628X
Evaluation
board
S5U1C62xxxE
Problem
An R error occurs although the final
page is passed.
Activation is impossible.
No melody is output.
The evaluation board does not work
when it is used independently.
Target segment does not light.
Remedy measures
The cross assembler is designed to output "R error" every
time the page is changed. Use a pseudo-instruction to set the
memory, such as ORG or PAGE, to change the page. See
"Memory setting pseudo-instructions" in the cross assembler manual.
Check the following and remedy if necessary:
• Is the number of files set at ten or more in OS environment file CONFIG.SYS?
Check the following and remedy if necessary:
•
Has the OPTLD command of the ICE been executed? (When
the ICE is connected to the
evaluation board
)
• Is the MELODY ROM installed? (When the evaluation
board is used independently)
• Is the attack bit of the melody data set to "1"?
Check the following and remedy if necessary:
• Has the EPROM for F.HEX and S.HEX been replaced by
the EPROM for the target?
• Is the EPROM for F.HEX and S.HEX installed correctly?
• Is the appropriate voltage being supplied? (5V DC, 3 A,
or more)
• Are the program ROMs (H and L) installed correctly?
• Is data written from address 4000H? (When the 27C256
is used as the program ROM)
• Is the EN/DIS switch on the evaluation board set to EN?
Check the following and remedy if necessary:
• Is an EPROM with an access time of 170 ns or less being
used for S.HEX.
• Has the VADJ VR inside the evaluation board top cover
been turned to a lower setting?
S1C62 FAMILYEPSONI-7
DEVELOPMENT TOOL REFERENCE MANUAL
II
DEVELOPMENT TOOL MANAGEMENT SYSTEM
DMS6200
This part mainly explains how to operate the Development Tool Management System DMS6200.
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
DEVELOPMENT TOOL MANAGEMENT SYSTEM
Contents
1 DIFFERENCES DEPENDING ON THE MODEL __________________ II-1
2 DMS6200 OUTLINE ___________________________________________ II-1
3 DMS6200 OPERATION PROCEDURE ___________________________ II-2
S1C62 FAMILYEPSONII-i
DEVELOPMENT TOOL REFERENCE MANUAL
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
1DIFFERENCES DEPENDING
ON THE MODEL
The DMS6200 is a software tool that is common to the all models of the S1C62 Family and there is
no difference in operating procedure. However, the content of such things as the menu screen may vary
due to differences in the configuration of the software for each model and differences in the directory
content in the DMS6200.
The below two types that are included in the explanation and display screen examples may not be present
in certain models.
(1) The SOG62XX and C2XXYYYS.* are only available in models offering the segment option.
(2) The MLA628X, C28XYYY.M* and C28XYYYA.* are only available in models offering the melody
function.
When models that do not have the above functions are used, disregard the respective program names and
file names indicated in the manual.
Refer to the "S5U1C62xxxD Manual" for the software tools included in the S5U1C62xxxD.
2DMS6200 OUTLINE
The DMS6200 (Development Tool Management System) is a software which selects the
S5U1C62xxxD software development support tool and the program such as an editor in menu form and
starts it.
In this way the various software frequently executed during debugging can be effectively activated.
Figure 2.1 shows the DMS6200 execution flow.
DMS6200
Menu
selections
ASM62XXSOG62XXEditor etc.
Fig. 2.1 DMS6200 execution flow
ICS62XXFOG62XXMLA628XMDC62XX
To DOS
S1C62 FAMILYEPSONII-1
DEVELOPMENT TOOL REFERENCE MANUAL
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
3DMS6200 OPERATION PROCEDURE
Set the directory containing the respective software development support tools into the current
directory prior to activating the DMS6200.
Since the development support tools each require input files (e.g., source file), first create the input files
according to the support tool manuals and then perform the following operations:
(1) The following is entered on the current drive:
DMS6200
indicates the return key.
The title is then displayed. To return to DOS at this point, press ^C (CTRL + C).
Initial screen
*** E0C6200 Development tool Management System. --- Ver 1.0 ***
(2) Press any key and the following menu screen will be displayed. A list of all executable files having
"EXE", "COM" and "BAT" extensions will appear on this menu screen; if any execution file other than
S5U1C62xxxD were copied to the current drive for execution, it will differ from the displays shown
below.
Menu screen
DMS6200 Version 1.0 Copyright(C) SEIKO EPSON CORP. 1991.
1) ASM62XX .EXE
2) FOG62XX .EXE
3) ICS62XXB.BAT
4) ICS62XXW.EXE
5) MDC62XX .EXE
6) MLA628X .EXE
7) SOG62XX .EXE
Input Number ? [ ]
To return to DOS at this point, press the "ESC" key.
II-2EPSONS1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
(3) Input the number of the development support tool you wish to start and then press the "RETURN" key.
Next, the screen for entering the source file will be displayed.
Input Number ? [1 ]
(4) The following sample screen is the screen which will be displayed when ASM62XX is selected.
Input the number of the source file.
Pressing the "ESC" key here will return the previous screen.
When the source file is selected by number, the edit line enclosed in [ ] will appear; enter the option
parameter if necessary. The "BS" key is valid on the edit line. Press the "RETURN" key when input is
completed.
Source file selection screen
DMS6200 Version 1.0 Copyright(C) SEIKO EPSON CORP. 1991.
1)C2XXYYY .DAT
2)C28XYYY .MDT
3)C28XYYY .MPR
4)C2XXYYY .PRN
5)C2XXYYY .SEG
6)C28XYYYA.DOC
7)C28XYYYA.HEX
8)C2XXYYYF.DOC
9)C2XXYYYF.HEX
10)C2XXYYYH.HEX
11)C2XXYYYL.HEX
12)C2XXYYYS.DOC
13)C2XXYYYS.HEX
14)C62XXYYY.PA0
Input Number ? [1 ]
Edit > [ASM62XX C2XXYYY ]
The above operation will activate the ASM62XX. (The MLA628X will also activate with the same
operation.)
When the source file is in another file or directory it will not be displayed in the menu. In such cases
you skip the number input using the return key and input the drive/directory and source file name in
the edit line.
When starting, press the "RETURN" key twice particularly for the support tools which do not require
source files (except the ASM62XX and the MLA628X).
Refer to the support manuals regarding operations after starting.
(5) When execution of the development support tool is completed, the following message will appear:
Input Any Key ...
Press any key and the first menu screen will be returned.
S1C62 FAMILYEPSONII-3
DEVELOPMENT TOOL REFERENCE MANUAL
III
CROSS ASSEMBLER
ASM62XX
This part mainly explains how to operate the
Cross Assembler ASM62XX for the S1C62
Family, and how to generate source files.
CROSS ASSEMBLER ASM62XX
CROSS ASSEMBLER ASM62XX
Contents
1 DIFFERENCES DEPENDING ON THE MODEL __________________ III-1