Epson S1C62 Family manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Epson S1C62 Family, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Epson S1C62 Family one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Epson S1C62 Family. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Epson S1C62 Family should contain:
- informations concerning technical data of Epson S1C62 Family
- name of the manufacturer and a year of construction of the Epson S1C62 Family item
- rules of operation, control and maintenance of the Epson S1C62 Family item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Epson S1C62 Family alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Epson S1C62 Family, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Epson service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Epson S1C62 Family.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Epson S1C62 Family item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    MF599-06 Development Tool Reference Manual CMOS 4 - BIT SINGLE CHIP MICROCOMPUTER S1C62 Family[...]

  • Page 2

    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 appl[...]

  • Page 3

    S1C62 F amily De velopment T ool Reference Man ual Preface 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 ASS[...]

  • Page 4

    [...]

  • Page 5

    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 r[...]

  • Page 6

    [...]

  • Page 7

    I S1C62 F AMIL Y DEVELOPMENT TOOL INTRODUCTION This part explains the composition of the develop- ment support tool for the 4-bit Single Chip Micro- computer S1C62 Family and the developmental environment.[...]

  • Page 8

    [...]

  • Page 9

    INTRODUCTION S1C62 FAMILY EPSON I-i DEVELOPMENT TOOL REFERENCE MANUAL 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 ................................................................[...]

  • Page 10

    [...]

  • Page 11

    INTRODUCTION S1C62 FAMILY EPSON I-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 TYPES OF DEVELOPMENT SUPPOR T T OOLS Here we will explain the composition of the software and hardware for the development support tools. 1.1 Composition of the Software Dev elopment T ools S5U1C62xxxD The below software are included in the software development support tools us[...]

  • Page 12

    INTRODUCTION I-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2 DEVELOPMENT AL ENVIR ONMENT 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. mus[...]

  • Page 13

    INTRODUCTION S1C62 FAMILY EPSON I-3 DEVELOPMENT TOOL REFERENCE MANUAL Note The melody and segment option flow are only valid in models possessing those functions. C2XXYYYH .HEX Function option list generation Segment option list generation Function Option Generator FOG62XX execution Segment Option Generator SOG62XX execution Determination of softwa[...]

  • Page 14

    INTRODUCTION I-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4 INST ALLA TION 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 [...]

  • Page 15

    INTRODUCTION S1C62 FAMILY EPSON I-5 DEVELOPMENT TOOL REFERENCE MANUAL 5 DIFFERENCES FR OM MODEL T O 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 segm[...]

  • Page 16

    INTRODUCTION I-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 6 TROUBLESHOOTING 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 PARAMET[...]

  • Page 17

    INTRODUCTION S1C62 FAMILY EPSON I-7 DEVELOPMENT TOOL REFERENCE MANUAL 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 T[...]

  • Page 18

    [...]

  • Page 19

    II DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 This part mainly explains how to operate the De- velopment Tool Management System DMS6200.[...]

  • Page 20

    [...]

  • Page 21

    DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 S1C62 FAMILY EPSON II-i DEVELOPMENT TOOL REFERENCE MANUAL DEVELOPMENT TOOL MANAGEMENT SYSTEM Contents 1 DIFFERENCES DEPENDING ON THE MODEL __________________ II-1 2 DMS6200 OUTLINE ___________________________________________ II-1 3 DMS6200 OPERATION PROCEDURE ___________________________ II-2[...]

  • Page 22

    [...]

  • Page 23

    DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 S1C62 FAMILY EPSON II-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 DIFFERENCES 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 differ[...]

  • Page 24

    DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 II-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 3 DMS6200 OPERA TION PR OCEDURE 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 fil[...]

  • Page 25

    DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 S1C62 FAMILY EPSON II-3 DEVELOPMENT TOOL REFERENCE MANUAL (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 whic[...]

  • Page 26

    [...]

  • Page 27

    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.[...]

  • Page 28

    [...]

  • Page 29

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-i DEVELOPMENT TOOL REFERENCE MANUAL Contents 1 DIFFERENCES DEPENDING ON THE MODEL __________________ III-1 2 ASM62XX OUTLINE __________________________________________ III-2 2.1 Outline ................................................................................................................... I[...]

  • Page 30

    [...]

  • Page 31

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 DIFFERENCES DEPENDING ON THE MODEL Since the memory capacity will vary with each model of the S1C62 Family you must pay attention to the following points when preparing a program. The limiting items for each model are indicated in the "S5U1C62xxxD Manual"[...]

  • Page 32

    CROSS ASSEMBLER ASM62XX III-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2 ASM62XX OUTLINE 2.1 Outline The ASM62XX cross assembler (the ASM62XX in this manual) is an assembler program for generating the machine code used by the S1C62XXX 4-bit, single-chip microcomputers. It can be used under PC-DOS. The Cross Assembler ASM62XX will assemb[...]

  • Page 33

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-3 DEVELOPMENT TOOL REFERENCE MANUAL 3 ASM62XX OPERA TION PR OCEDURE This section explains how to operate ASM62XX. 3.1 Starting ASM62XX When starting ASM62XX, enter the following at DOS command level (when a prompt such as A> is being displayed): ASM62XX _ [drive-name:] source-file-name [.shp] _ [-N][...]

  • Page 34

    CROSS ASSEMBLER ASM62XX III-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL When ASM62XX is started, the following start-up message is displayed. Example: When assembling C2XX0A0.DAT A>ASM62XX C2XX0A0 *** E0C62XX CROSS ASSEMBLER. --- Ver 2.00 *** EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO NNN NNN EEEEEEEEEE PPPPPPPPPP SSS SSSS OOO OOO NNNN NNN [...]

  • Page 35

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-5 DEVELOPMENT TOOL REFERENCE MANUAL 3.2 Selecting A uto-P age-Set Function After the start-up message, the following message is displayed, prompting the user to select the auto-page- set function. DO YOU NEED AUTO PAGE SET?(Y/N) Press the "Y" key if selecting the auto-page-set function, or th[...]

  • Page 36

    CROSS ASSEMBLER ASM62XX III-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4 SOURCE FILE FORMA T The source file contains the source program consisting of S1C62XXX instructions (mnemonics) and pseudo-instructions, and is produced using an editor such as EDLIN. Refer to the "S1C6200/6200A Core CPU Manual" and the "S1C6xxx Tech[...]

  • Page 37

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-7 DEVELOPMENT TOOL REFERENCE MANUAL 4.2.2 Mnemonic field The mnemonic field is used for an instruction mnemonic or a pseudo-instruction. 4.2.3 Operand field The operand field is used for the operands of the instruction. The form of each operand and the number of operands depend on the kind of instructi[...]

  • Page 38

    CROSS ASSEMBLER ASM62XX III-8 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4.3.2 Symbol A symbol is an index that indicates a numeric or character constant, and must be defined before its value is referenced (usually at the beginning of the program). The defined symbol can be used as the operand that specifies immediate data in an instructi[...]

  • Page 39

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-9 DEVELOPMENT TOOL REFERENCE MANUAL 4.4.3 Operator When specifying a value for an item such as an operand, an operational expression can be written instead of a constant, and its result can be used as the value. Labels and symbols as well as constants can be used as terms in expressions. These values a[...]

  • Page 40

    CROSS ASSEMBLER ASM62XX III-10 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ■ Relational operators A logical operator compares two terms; if the relationship between the terms is as the operator specifies, 1FFFH (true) is returned; if not, 0 (false) is returned. a_EQ_b True when a is equal to b a_NE_b True when a is not equal to b a_LT_b [...]

  • Page 41

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-11 DEVELOPMENT TOOL REFERENCE MANUAL 4.5 Pseudo-Instructions There are four types of pseudo-instruction: data definition, memory setting, assembler control, and macro. These pseudo-instructions as well as operational expressions can be used to govern assembly, and are not executed in the developed prog[...]

  • Page 42

    CROSS ASSEMBLER ASM62XX III-12 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ■ DW (Define Word) <Label>_DW_<Expression> To preset data The DW pseudo-instruction assigns the value of <expression> (the low-order 12 bits when the value is greater than 12 bits) to the current memory location, indicated by the location counter[...]

  • Page 43

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-13 DEVELOPMENT TOOL REFERENCE MANUAL ■ BANK BANK_<Expression> To set the bank (BNK) The BANK pseudo-instruction sets the value of <expression> in the bank (BNK) field, and sets the page counter (PCP) and step counter (PCS) to 00H. The BANK pseudo-instruction can be written at multiple loc[...]

  • Page 44

    CROSS ASSEMBLER ASM62XX III-14 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ■ SECTION SECTION To change the section The SECTION pseudo-instruction sets the first address of the subsequent section in the location coun- ter. Sections are 16-step areas starting from the beginning of the program memory. (BNK) (PCP) (PCS) 0 1 00H Section 1 16 [...]

  • Page 45

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-15 DEVELOPMENT TOOL REFERENCE MANUAL 4.5.3 Assembler control pseudo-instructions ■ END END To terminate assembly The END statement terminates assembly. All statements following the END statement are ignored. Be sure to write this statement at the end of the program. If it is missing, assembly may not[...]

  • Page 46

    CROSS ASSEMBLER ASM62XX III-16 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4.6.2 Macro-definitions The macro-definition should be done by using the MACRO and the ENDM instructions (pseudo-instruc- tion). ■ MACRO ~ ENDM <Macro-name>_ MACRO_ [<Dummy-argument>, ...] Statement : ENDM The statement block enclosed by a MACRO pseudo[...]

  • Page 47

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-17 DEVELOPMENT TOOL REFERENCE MANUAL 4.6.3 Macro-calls The defined macro-name can be called from any location in the program by using the following format: [<Label>]_<Macro-name>_ [<Actual-argument>, ...] The MACRO can be called by using the macro-name. When arguments are required, wr[...]

  • Page 48

    CROSS ASSEMBLER ASM62XX III-18 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Assembly listing file LISTING OF ASM62XX C2XX0A1.PRN ........ PAGE 1 LINE BANK PCP PCS OBJ SOURCE STATEMENT 1 ORG 0200H 2 3 0000= CTAS EQU 00H 4 0002= CTAE EQU 02H 5 0005= CAFSET EQU 0101B 6 0000= CAFRST EQU 0000B 7 0010= CTBS EQU 10H 8 0008= CTBE EQU 08H 9 0001= CB[...]

  • Page 49

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-19 DEVELOPMENT TOOL REFERENCE MANUAL 5 ERROR MESSAGES If an error occurs during assembly, ASM62XX outputs the appropriate error symbol or error message listed below to the console and assembly listing file. Only a single error symbol is output at the beginning (column 1) of the statement that caused th[...]

  • Page 50

    CROSS ASSEMBLER ASM62XX III-20 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL APPENDIX ASM62XX EXECUTION EXAMPLE 1) Source file (C2XX0A0.DAT) A>TYPE C2XX0A0.DAT ; ;*******<< SAMPLE PROGRAM :E0C62XX >>******* ; ABC EQU 0F0H TEN EQU 10 ; START LD A,0 LD X,8 LD Y,3 LDPX A,MX ; ORG 0E0H ; NEXT ADD B,TEN LD MX,XH AND A,101B FAN MY,A[...]

  • Page 51

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-21 DEVELOPMENT TOOL REFERENCE MANUAL 2) Running the assembler (display on the console) A>ASM62XX C2XX0A0 *** E0C62XX CROSS ASSEMBLER. --- VERSION 2.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 SS[...]

  • Page 52

    CROSS ASSEMBLER ASM62XX III-22 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 3) Assembly listing file (C2XX0A0.PRN) A>TYPE C2XX0A0.PRN LISTING OF ASM62XX C2XX0A0.PRN ........ PAGE 1 LINE BANK PCP PCS OBJ SOURCE STATEMENT 1 ; 2 ;*******<< SAMPLE PROGRAM :E0C62XX >>******* 3 ; 4 00F0= ABC EQU 0F0H 5 000A= TEN EQU 10 6 ; 7 0 0 00[...]

  • Page 53

    CROSS ASSEMBLER ASM62XX S1C62 FAMILY EPSON III-23 DEVELOPMENT TOOL REFERENCE MANUAL 4) Object files (C2XX0A0H.HEX, C2XX0A0L.HEX) A>TYPE C2XX0A0L.HEX :10000000000803E2FFFFFFFFFFFFFFFFFFFFFFFF0F :10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0 :10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 :10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0 :10004000FFFFFFFFFFFFF[...]

  • Page 54

    [...]

  • Page 55

    IV MELODY ASSEMBLER MLA628X This part mainly explains how to operate the Melody Assembler MLA628X for the S1C62 Family, and how to generate source files.[...]

  • Page 56

    [...]

  • Page 57

    MELODY ASSEMBLER MLA628X S1C62 FAMILY EPSON IV-i DEVELOPMENT TOOL REFERENCE MANUAL MELODY ASSEMBLER MLA628X Contents 1 DIFFERENCES DEPENDING ON THE MODEL __________________ IV-1 2 MLA628X OUTLINE ___________________________________________ IV-1 2.1 Outline and Execution Flow ..........................................................................[...]

  • Page 58

    [...]

  • Page 59

    MELODY ASSEMBLER MLA628X S1C62 FAMILY EPSON IV-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 DIFFERENCES DEPENDING ON THE MODEL The MLA628X is not included in the software tools for models (other than the S1C62N8X) that do not have the melody function. The melody ROM capacity varies depending on the model in models (S1C62N8X) having the melody function. Yo[...]

  • Page 60

    MELODY ASSEMBLER MLA628X IV-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 3 ST AR TING MLA628X To starting MLA628X, enter the following at the DOS command level (when a prompt such as A> is being displayed): MLA628X_[drive name:]source filename[.shp]_[-H] When starting MLA628X through the DMS6200, selects the "MLA628X.EXE" and[...]

  • Page 61

    MELODY ASSEMBLER MLA628X S1C62 FAMILY EPSON IV-3 DEVELOPMENT TOOL REFERENCE MANUAL Examples: A>MLA628X C28XYYY In this example, the source file "C28XYYY.MDT" is input from drive A, and the melody HEX file "C28XYYYA.HEX", melody assembly list file "C28XYYY.MPR", and melody document file "C28XYYYA.DOC" are c[...]

  • Page 62

    MELODY ASSEMBLER MLA628X IV-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Table 4.2.1 Notes and corresponding codes Table 4.2.2 Rests and corresponding codes When the "RR" (rest) is described in scale field, the rest may be selected from among 8 types as shown in Table 4.2.2. Eight notes can be specified with the 3 bits melody da[...]

  • Page 63

    MELODY ASSEMBLER MLA628X S1C62 FAMILY EPSON IV-5 DEVELOPMENT TOOL REFERENCE MANUAL (3) Scale field The scale field can be filled in with any scale (C3 through C6#). When inputting the scale data directly, prefix the data with "$". In this case, the input data range is 00H through FDH. Moreover, the rest may be selected by describes "[...]

  • Page 64

    MELODY ASSEMBLER MLA628X IV-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 5 PSEUDO-INSTR UCTIONS The pseudo-instruction is for the assembler, and cannot be executed by the melody data after development. In the explanations below, the symbols "<" and ">" used in the pseudo-instruction format indicate the contents o[...]

  • Page 65

    MELODY ASSEMBLER MLA628X S1C62 FAMILY EPSON IV-7 DEVELOPMENT TOOL REFERENCE MANUAL ■ .TEMPC1 .TEMPC1 = n Sets TEMPC1 (n = 0–15) The TEMPC1 option is set by specifying n as an integer in the range 0 to 15. This setting cannot be omitted. ■ .OCTAVE .OCTAVE = m Sets scale range (m = 32 or 64) Decides the scale range by selecting the specificatio[...]

  • Page 66

    MELODY ASSEMBLER MLA628X IV-8 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL APPENDIX SAMPLE FILES The following input/output files are an example for the MLA6282 case and the data size, etc. will vary depending on the model. ■ Example of Source File .TEMPC0=5 .TEMPC1=8 .OCTAVE=32 ; 1 1 C3 ; 0 4 D4 ; 0 4 F4 ; 0 2 F5 ; 0 3 G5# ; 1 7 A4 ; 1 5[...]

  • Page 67

    MELODY ASSEMBLER MLA628X S1C62 FAMILY EPSON IV-9 DEVELOPMENT TOOL REFERENCE MANUAL SCALE ROM TABLE PAGE S-1 ADRS SCALE CODE 00000 C3 04 00001 D4 92 00010 F4 A4 00011 F5 D4 00100 G5# DC 00101 A4 B8 00110 B4 C0 00111 A4# BC 01000 $C3 C3 01001 $45 45 01010 $E3 E3 01011 $97 97 01100 C6 E4 01101 A5# E0 01110 $42 42 01111 -- FF 10000 -- FF 10001 -- FF 10[...]

  • Page 68

    MELODY ASSEMBLER MLA628X IV-10 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ■ Example of Assembly List When Error Occurs When an error occurs the code is made FFF forcibly. A value is not entered for the scale ROM. LISTING OF MLA6282 C282YYY.MPR 1991-6-01 17:30...PAGE 1 ADRS CODE SOURCE .TEMPC0 = 5 .TEMPC1 = 8 .OCTAVE = 32 ; 0 000 0 1 C3 [...]

  • Page 69

    MELODY ASSEMBLER MLA628X S1C62 FAMILY EPSON IV-11 DEVELOPMENT TOOL REFERENCE MANUAL Note End mark " ¥¥ END" may be used instead of "END" depending on the PC used. (Because the code of both and ¥ is 5CH.) Main ROM (high side) Intel hexadecimal format Main ROM (low side) Intel hexadecimal format Scale ROM Intel hexadecimal [...]

  • Page 70

    [...]

  • Page 71

    V FUNCTION OPTION GENERA TOR FOG62XX This part mainly explains how to operate the Func- tion Option Generator FOG62XX for setting the hardware options of the S1C62 Family.[...]

  • Page 72

    [...]

  • Page 73

    FUNCTION OPTION GENERATOR FOG62XX S1C62 FAMILY EPSON V-i DEVELOPMENT TOOL REFERENCE MANUAL FUNCTION OPTION GENERA TOR FOG62XX Contents 1 DIFFERENCES DEPENDING ON THE MODEL __________________ V-1 2 FOG62XX OUTLINE __________________________________________ V-1 2.1 Outline of Function Option Generator .................................................[...]

  • Page 74

    [...]

  • Page 75

    FUNCTION OPTION GENERATOR FOG62XX S1C62 FAMILY EPSON V-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 DIFFERENCES DEPENDING ON THE MODEL The set option content will vary depending on the model. Here only the operation will be explained, so you should refer to the "S5U1C62xxxD Manual" concerning the option specifications and the selection screen. 2[...]

  • Page 76

    FUNCTION OPTION GENERATOR FOG62XX V-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 3 OPTION LIST GENERA TION 3.1 Option List Recording Procedure Multiple specifications are available in each option item as indicated in the Option List Example in Section 3.2. Using the "S5U1C62xxxD Manual" as reference, select the specifications th[...]

  • Page 77

    FUNCTION OPTION GENERATOR FOG62XX S1C62 FAMILY EPSON V-3 DEVELOPMENT TOOL REFERENCE MANUAL 4 FOG62XX OPERA TION PR OCEDURE 4.1 Starting FOG62XX To start FOG62XX, enter the following at DOS command level (state in which a prompt such as A> is displayed): A>FOG62XX When starting FOG62XX through the DMS6200, selects the "FOG62XX.EXE" i[...]

  • Page 78

    FUNCTION OPTION GENERATOR FOG62XX V-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL When the date is set, the following operation selection menu is displayed on the screen. *** OPERATION SELECT MENU *** 1. INPUT NEW FILE 2. EDIT FILE 3. RETURN TO DOS PLEASE SELECT NO.? Enter a number from 1 to 3 to select a subsequent operation. The items in[...]

  • Page 79

    FUNCTION OPTION GENERATOR FOG62XX S1C62 FAMILY EPSON V-5 DEVELOPMENT TOOL REFERENCE MANUAL (4) PLEASE INPUT ANY COMMENT Enter any comment. Up to 50 characters may be entered in one line. If 51 or more characters are entered in one line, they are ignored. Up to 10 comment lines may be entered. To end entry of comments, press the RETURN key " &q[...]

  • Page 80

    FUNCTION OPTION GENERATOR FOG62XX V-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL (5) PLEASE INPUT ANY COMMENT When modifying a comment, enter all the comment lines anew, beginning with the first line; comment data cannot be partially modified. Previously entered comment data can be used by pressing the RETURN key " ". The input [...]

  • Page 81

    FUNCTION OPTION GENERATOR FOG62XX S1C62 FAMILY EPSON V-7 DEVELOPMENT TOOL REFERENCE MANUAL 4.5 HEX File Generation and EPROM Selection When setting function options setting is completed, the following message is output to ask the operator whether to generate the HEX file. END OF OPTION SETTING. DO YOU MAKE HEX FILE (Y/N) ? Y . . (1) *** OPTION EPRO[...]

  • Page 82

    [...]

  • Page 83

    VI SEGMENT OPTION GENERA TOR SOG62XX This part mainly explains how to operate the Seg- ment Option Generator SOG62XX for setting the segment options of the S1C62 Family.[...]

  • Page 84

    [...]

  • Page 85

    SEGMENT OPTION GENERATOR SOG62XX S1C62 FAMILY EPSON VI-i DEVELOPMENT TOOL REFERENCE MANUAL SEGMENT OPTION GENERA TOR SOG62XX Contents 1 DIFFERENCES DEPENDING ON THE MODEL __________________ VI-1 2 SOG62XX OUTLINE ___________________________________________ VI-1 2.1 Outline and Execution Flow .........................................................[...]

  • Page 86

    [...]

  • Page 87

    SEGMENT OPTION GENERATOR SOG62XX S1C62 FAMILY EPSON VI-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 DIFFERENCES DEPENDING ON THE MODEL The segment output specific, display memory capacity and address will vary depending on the model. Here the explanation will focus on the method of operation. For the optional specifications, we will provide an outline exp[...]

  • Page 88

    SEGMENT OPTION GENERATOR SOG62XX VI-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.2 SOG62XX Input/Output F iles SOG62XX reads a source file containing segment port specification, and output following files. ■ Segment option source file (C2XXYYY.SEG) The specifications of segment ports must be set in the segment source file (input file [...]

  • Page 89

    SEGMENT OPTION GENERATOR SOG62XX S1C62 FAMILY EPSON VI-3 DEVELOPMENT TOOL REFERENCE MANUAL 3 OPTION LIST GENERA TION 3.1 Example of Option List The following table shows an example of the option list in case of the four commons. Refer to the "S5U1C62xxxD Manual" for the option list of each model. Example of option list Multiple specificat[...]

  • Page 90

    SEGMENT OPTION GENERATOR SOG62XX VI-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Note The high-order address of the segment memory may vary depending on the model. 4 SOG62XX OPERA TION PR OCEDURE 4.1 Creating Segment Option Source File The SOG62XX needs, as an input file, a segment option source file containing the specifications for the [...]

  • Page 91

    SEGMENT OPTION GENERATOR SOG62XX S1C62 FAMILY EPSON VI-5 DEVELOPMENT TOOL REFERENCE MANUAL • Each SEG port number corresponds to an actual device, so it must be unique. Moreorve, data descrip- tions in accordance with the following format are required for segments SEG0–SEG25. • Off areas COM0 to COM3, write three successive "---" (3[...]

  • Page 92

    SEGMENT OPTION GENERATOR SOG62XX VI-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4.2 Starting SOG62XX To start SOG62XX, enter the following at the DOS command level (state in which a prompt such as A> is displayed): A>SOG62XX_[-H] When starting SOG62XX through the DMS6200, selects the "SOG62XX.EXE" in the menu screen, and [...]

  • Page 93

    SEGMENT OPTION GENERATOR SOG62XX S1C62 FAMILY EPSON VI-7 DEVELOPMENT TOOL REFERENCE MANUAL 4.3 Input F ile Selection *** SOURCE FILE(S) *** C2XX0A0 C2XX0B0 C2XX0B1 C2XX0C0 . . (1) PLEASE INPUT SEGMENT SOURSE FILE NAME? C2XX0A0 . . (2) PLEASE INPUT USER'S NAME? SEIKO EPSON CORP. . . (3) PLEASE INPUT ANY COMMENT (ONE LINE IS 50 CHR)? TOKYO DESIG[...]

  • Page 94

    SEGMENT OPTION GENERATOR SOG62XX VI-8 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4.4 HEX F ile Generation and EPR OM Selection When input file selection is completed, the following message is output to ask the operator whether to generate the HEX file. END OF OPTION SETTING. DO YOU MAKE HEX FILE (Y/N) ? Y . . (1) *** OPTION EPROM SELECT M[...]

  • Page 95

    SEGMENT OPTION GENERATOR SOG62XX S1C62 FAMILY EPSON VI-9 DEVELOPMENT TOOL REFERENCE MANUAL 5 ERR OR MESSA GES If an error is detected in the segment option source file, an error message is displayed. In this case, the segment option HEX file is not generated, and the segment option document file consisting of the segment option source file and an e[...]

  • Page 96

    SEGMENT OPTION GENERATOR SOG62XX VI-10 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL D: Duplication error This type of error occurs when the same data (SEG port No., segment memory address, or data bit) is specified more than once. Correct the segment option source file so that each data item is unique in the description. Example: D 20 19 A3[...]

  • Page 97

    VII EVALUATION BOARD S5U1C62xxxE This part explains the function of the Evaluation Board S5U1C62xxxE, a debugging tool for the S1C62XXX, and the operation of the evaluation board.[...]

  • Page 98

    [...]

  • Page 99

    EVALUATION BOARD S5U1C62XXXE S1C62 FAMILY EPSON VII-i DEVELOPMENT TOOL REFERENCE MANUAL EV ALUA TION BOARD S5U1C62xxxE Contents 1 DIFFERENCES DEPENDING ON THE MODEL __________________ VII-1 2 S5U1C62XXXE OUTLINE ______________________________________ VII-1 3 PRECAUTIONS _______________________________________________ VII-2 3.1 Precautions for Opera[...]

  • Page 100

    [...]

  • Page 101

    EVALUATION BOARD S5U1C62XXXE S1C62 FAMILY EPSON VII-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 DIFFERENCES DEPENDING ON THE MODEL The S5U1C62xxxE has the same functions as the actual IC (S1C62XXX). Although the method of operation and other functions are the same, the terminal layout of the I/O and LCD connectors and the input/output signal specificatio[...]

  • Page 102

    EVALUATION BOARD S5U1C62XXXE VII-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 3 PRECA UTIONS Take the following precautions when using the S5U1C62xxxE: 3.1 Precautions for Operation • Turn the power of all equipment off before connecting or disconnecting cables. • To turn the POWER switch of the S5U1C62xxxE off, then on again, wait fo[...]

  • Page 103

    EVALUATION BOARD S5U1C62XXXE S1C62 FAMILY EPSON VII-3 DEVELOPMENT TOOL REFERENCE MANUAL 4 N AMES AND FUNCTIONS OF P AR TS This section describes the names and functions of the parts of the S5U1C62xxxE. 4.1 Basic Functions The S5U1C62xxxE has the following basic functions: ■ Program execution (Run function) Install the EPROM containing the applica[...]

  • Page 104

    EVALUATION BOARD S5U1C62XXXE VII-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL • BREAK POINT switches (BB, BP, BS) These switches set a breakpoint address at which program execution stops. BB, BP, and BS are switches that set the bank, page, and step, respectively, of the breakpoint address. When a switch is in the upper position, it rep[...]

  • Page 105

    EVALUATION BOARD S5U1C62XXXE S1C62 FAMILY EPSON VII-5 DEVELOPMENT TOOL REFERENCE MANUAL 4.3 Under T op Co ver The layout and content within the top cover will vary depending on the model. The below content is laid out here in a basic manner. Refer to the "S5U1C62xxxE Manual" for details. • RESET switch This switch resets the CPU and sta[...]

  • Page 106

    EVALUATION BOARD S5U1C62XXXE VII-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4.5 Rear P anel The external power input section is on the rear panel. • POWER switch (on/off) This is a switch to turn on or off the external power supply to S5U1C62xxxE. (Please turn off the POWER switch when ICE is connected.) • FUSE This is 3 A of the 3 [...]

  • Page 107

    EVALUATION BOARD S5U1C62XXXE S1C62 FAMILY EPSON VII-7 DEVELOPMENT TOOL REFERENCE MANUAL 5 CABLE CONNECTION This section describes how to connect the power cable to the S5U1C62xxxE, and the S5U1C62xxxE to the ICE and the target system. Note: Turn the power of all equipment off before connecting or disconnecting cables. 5.1 Connection to ICE (S5U1C62[...]

  • Page 108

    EVALUATION BOARD S5U1C62XXXE VII-8 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 6 OPERA TION METHOD OF S5U1C62XXXE 6.1 Preparation This section describes the common preparation work necessary when the S5U1C62xxxE is used by itself and when it is connected to the ICE. Connection method, refer to Chapter 5, "CABLE CONNECTION". Check[...]

  • Page 109

    EVALUATION BOARD S5U1C62XXXE S1C62 FAMILY EPSON VII-9 DEVELOPMENT TOOL REFERENCE MANUAL 6.2 Independent Use of S5U1C62xxxE This section describes operation when using the S5U1C62xxxE by itself. The S5U1C62xxxE may be used independently by connecting a power supply to it. Use a 5 V DC regulator (more than 3 A) as an external power supply. Connect it[...]

  • Page 110

    EVALUATION BOARD S5U1C62XXXE VII-10 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL • Single step By pressing the STEP key after a program break, the one instruction at the current address can be executed, and the program stopped at the next address (program break). Using this function, the program run state can be confirmed. For the other f[...]

  • Page 111

    VIII ICE CONTROL SOFTW ARE ICS62XX This part mainly explains the function of S5U1C62000H, a software development support system for the S1C62XXX 4-bit Single Chip Microcomputer, and the operation of ICS62XX, its ICE control software.[...]

  • Page 112

    [...]

  • Page 113

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-i DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTW ARE ICS62XX Contents 1 DIFFERENCES DEPENDING ON THE MODEL _________________ VIII-1 2 S5U1C62000H SPECIFICATIONS ______________________________ VIII-2 2.1 Features ................................................................................[...]

  • Page 114

    ICE CONTROL SOFTWARE ICS62XX VIII-ii EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL MP command ...................................................................................................... VIII-42 MD command ..................................................................................................... VIII-43 SP command ......[...]

  • Page 115

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-1 DEVELOPMENT TOOL REFERENCE MANUAL 1 DIFFERENCES DEPENDING ON THE MODEL Be sure to pay close attention to the following points, since the memory capacity will vary with the different models of the S1C62 Family, due to program preparation. The limiting items for each model are indicated in the &q[...]

  • Page 116

    ICE CONTROL SOFTWARE ICS62XX VIII-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2 S5U1C62000H SPECIFICA TIONS 2.1 F eatures The ICE (S5U1C62000H) is a microcomputer software development support tool that increases the efficiency of software development for the S1C62 Family of 4-bit single chip microcomput- ers. The ICE and the S1C62 Family[...]

  • Page 117

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-3 DEVELOPMENT TOOL REFERENCE MANUAL 2.1.3 Function table Table 2.1.3.1 shows the functions supported by the ICE (S5U1C62000H). Table 2.1.3.1 ICE (S5U1C62000H) functions 1 2 3 4 5 6 7 8 9 10 11 12 Real-time break History Real-time execution Real-time measurement Target memory referenced or modifie[...]

  • Page 118

    ICE CONTROL SOFTWARE ICS62XX VIII-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.1.4 Function-differentiated command list Tables 2.1.4.1(a) and (b) show the function-differentiated command list for the ICE. Table 2.1.4.1(a) Function-differentiated command list 1 2 3 4 5 6 7 8 9 10 Assemble Disassemble Dump Fill Set Run Mode Trace Break Mo[...]

  • Page 119

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-5 DEVELOPMENT TOOL REFERENCE MANUAL Table 2.1.4.1(b) Function-differentiated command list 11 12 13 14 15 16 17 History File Coverage ROM Access Terminate ICE Command Display Self Diagnosis #H,p1,p2 #HB #HG #HP #HPS,a #HC,S/C/E #HA,a1,a2 #HAR,a1,a2 #HAD #HS,a #HSW,a #HSR,a #RF,file #RFD,file #VF,f[...]

  • Page 120

    ICE CONTROL SOFTWARE ICS62XX VIII-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.1.5 Alphabetical listing of commands Tables 2.1.5.1(a) and (b) show an alphabetical listing of ICE commands. Table 2.1.5.1(a) Alphabetical listing of commands 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 #A,a[...]

  • Page 121

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-7 DEVELOPMENT TOOL REFERENCE MANUAL Table 2.1.5.1(b) Alphabetical listing of commands 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 #HP #HPS,a #HS,a #HSR,a #HSW,a #I #L,a1,a2 #MD,a1,a2,a3 #MP,a1,a2,a3 #OPTLD,n,file #OTF #Q #RF,file #RFD,file #ROM #RP #SD,a #S[...]

  • Page 122

    ICE CONTROL SOFTWARE ICS62XX VIII-8 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.2 Connecting and Starting the System Fig. 2.2.1 System connection diagram The ICE connects to common personal computers and the S1C62 Family evaluation board for operation, as shown in Figure 2.2.1. The connection sequence described below should be followed. [...]

  • Page 123

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-9 DEVELOPMENT TOOL REFERENCE MANUAL 2.2.2 Starting the ICS62XX ■ Start the Operating System First, call up the operating system (abbreviated OS below) for your general purpose personal computer. The ICS62XX can operate in the following OS environments. PC-DOS version 2.10 or higher Refer to you[...]

  • Page 124

    ICE CONTROL SOFTWARE ICS62XX VIII-10 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.3 S5U1C62000H Operation and Functions ICE operations, details on functions and emulation limitations are discussed in this section. 2.3.1 Operating features Figure 2.3.1.1 shows a block diagram of ICE functions. The ICE has a built-in control processor which[...]

  • Page 125

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-11 DEVELOPMENT TOOL REFERENCE MANUAL Different types of breaks are described below. (1) Reset switch: Need not be in break mode to break. Used to reset the ICE; does not display the target register during break. (2) Break switch: Need not be in break mode to break. evaluation board CPU register i[...]

  • Page 126

    ICE CONTROL SOFTWARE ICS62XX VIII-12 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.3.3 SYNC pin and HALT pin output (1) SYNC Pin Output When the instruction cycle conforms to a break condition, a low level pulse is output by the first half of the subsequent instruction fetch cycle. Correspond to break condition Evaluation board clock Fetch[...]

  • Page 127

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-13 DEVELOPMENT TOOL REFERENCE MANUAL (3) Execution time mode and step number mode can be set during run time (using the #TIM command). Millisecond is abbreviated to "mS". In step number mode, decimal values describe the run time, as in : " *RUN TIME=501 STEPS ". When the execu[...]

  • Page 128

    ICE CONTROL SOFTWARE ICS62XX VIII-14 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.3.6 Target interrupt and break When a target interrupt occurs the moment of a break it is given priority over the break. The break is then induced after the interrupt process is stacked. Next, the interrupt routine is executed from the top when the run mode [...]

  • Page 129

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-15 DEVELOPMENT TOOL REFERENCE MANUAL #H, 1980, 1986 LOC PC IR OP OPR. A B X Y IDZC MEMORY OPERATION OTHER 1980 0200 FC1 PUSH B 0 0 03F 03F 1111 W010=0 1981 0201 423 CALL 23 0 0 03F 03F 1111 W00F=8 W00E=0 W00D=2 . . . (1) 1982 0223 FDF RET 0 0 03F 03F 1111 R00D=2 R00E=0 R00F=8 1983 0202 FD1 PDP B [...]

  • Page 130

    ICE CONTROL SOFTWARE ICS62XX VIII-16 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 2.3.10 Measurement during command execution The ICS62XX possesses a counting function which counts the time or the number of steps from starting the target program to the occurrence of a break. The counting range is described below. (1) Time counting mode 6.5 [...]

  • Page 131

    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 m[...]

  • Page 132

    ICE CONTROL SOFTWARE ICS62XX VIII-18 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 3 COMMAND DET AILS Detailed particulars on ICE commands and explanations of functions are described in this section. Commands are divided into six categories. DISPLAY: This command group displays the contents of program memory and data memory, and history info[...]

  • Page 133

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-19 DEVELOPMENT TOOL REFERENCE MANUAL 3.1 Display Command Group L DISASSEMBLE LIST ..................................................... VIII-20 DP DUMP PROGRAM ........................................................ VIII-22 DD DUMP DATA RAM ................................................[...]

  • Page 134

    Format ICE CONTROL SOFTWARE ICS62XX VIII-20 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL L DISASSEMBLE LIST #L, <address 1> , <address 2> #L, <address 1> #L The program area (emulation program memory) is displayed disassembled from <address 1> to <address 2> . (1) When <address 2> defaults, a single scree[...]

  • Page 135

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-21 DEVELOPMENT TOOL REFERENCE MANUAL DISASSEMBLE LIST L #L, <address 1> , <address 2> #L, <address 1> #L Examples #L,100,1FF ... Contents of addresses 100 to 1FF of the program are 0100 FDF RET displayed disassembled 0101 2FF JP C,FF : : : 01FF FFF NOP7 #L,200 ... Content[...]

  • Page 136

    Format ICE CONTROL SOFTWARE ICS62XX VIII-22 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL DP DUMP PROGRAM #DP, <address 1> , <address 2> #DP, <address 1> #DP The program area (emulation program memory) from <address 1> to <address 2> is displayed in hexadecimal format. (1) When <address 2> defaults, the co[...]

  • Page 137

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-23 DEVELOPMENT TOOL REFERENCE MANUAL DUMP PROGRAM DP #DP, <address 1> , <address 2> #DP, <address 1> #DP Examples #DP,104,121 ... Specified area is displayed ADDR 0 1 2 3 4 5 6 7 ASCII 0100 FFF FFB 930 142 ..0B 0108 FFF FFF FFF FFF FFB 931 142 944 .....1BD : : : : : : : :[...]

  • Page 138

    Format ICE CONTROL SOFTWARE ICS62XX VIII-24 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Data in the RAM area from <address 1> to <address 2> are displayed in hexadecimal format. (1) When <address 2> defaults, the contents of <address 1> are displayed in a single screen (21 lines or the last RAM address). (2) When &l[...]

  • Page 139

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-25 DEVELOPMENT TOOL REFERENCE MANUAL DUMP DATA RAM DD #DD, <address 1> , <address 2> #DD, <address 1> #DD Examples #DD ... Display again from address 0 since last address exceeded (same as "#DD,0 ") #DD,50,40 * COMMAND ERROR * ... Address 1 > address 2 error [...]

  • Page 140

    Format ICE CONTROL SOFTWARE ICS62XX VIII-26 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL DR #DR Displays the value of the current register of the evaluation board CPU. (1) PC: Displays the address which starts the next emulation. (2) A, B, X, Y, F, SP: Displays the current value (break or after break value). (3) IR, Mnemonic: Displays the m[...]

  • Page 141

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-27 DEVELOPMENT TOOL REFERENCE MANUAL HISTORY DATA DISPLAY H #H, <pointer 1> , <pointer 2> #H, <pointer 1> Displays history data. (1) Displays history data from <pointer 1> to <pointer 2> . (2) When <pointer 2> defaults, displays history data of <point[...]

  • Page 142

    Format ICE CONTROL SOFTWARE ICS62XX VIII-28 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL H HISTORY DATA DISPLAY #H, <pointer 1> , <pointer 2> #H, <pointer 1> #H,200,205 ... Set range displayed LOC PC IR OP OPR. A B X Y IDZC MEMORY OPERATION OTHER 0200 0128 FDO POP A F 0 020 021 0011 R01F=0 0201 0129 F70 DEC M0 0 0 020 021 [...]

  • Page 143

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-29 DEVELOPMENT TOOL REFERENCE MANUAL HISTORY DATA DISPLAY H #H, <pointer 1> , <pointer 2> #H, <pointer 1> #H,0,500 LOC PC IR OP OPR. A B X Y IDZC MEMORY OPERATION OTHER 0000 0010 70E JP NZ,0E F B 015 021 0001 0001 000E EE8 LDPX MX,A F B 015 021 0001 W015=F 0002 000F C1F A[...]

  • Page 144

    Format ICE CONTROL SOFTWARE ICS62XX VIII-30 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL HB, HG HISTORY DATA DISPLAY BACKWARD/FORWARD #HB #HG Indicates the history information before and after the history pointer. (1) HB: 21 instructions displayed from the current history pointer. The current pointer decrements 21 after display. (Validated [...]

  • Page 145

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-31 DEVELOPMENT TOOL REFERENCE MANUAL HISTORY DATA DISPLAY BACKWARD/FORWARD HB, HG #HB #HG #HPS,200 #HG ... 21 history pointer instructions displayed from 200 LOC PC IR OP OPR. A B X Y IDZC MEMORY OPERATION OTHER 0200 0128 FD0 POP A F 0 020 021 0011 R01F=0 0201 0129 F70 DEC M0 0 0 020 021 0[...]

  • Page 146

    Format ICE CONTROL SOFTWARE ICS62XX VIII-32 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL HS, HSR, HSW HISTORY SEARCH PC/MEMORY READ/MEMORY WRITE #HS, <address> #HSR, <address> #HSW, <address> Retrieves and indicates history information under the following conditions. (1) HS: Indicates the history information of the PC addr[...]

  • Page 147

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-33 DEVELOPMENT TOOL REFERENCE MANUAL HISTORY POINTER DISPLAY/SET HP , HPS #HP #HPS, <history pointer> (1) HP: Displays current history pointer value. (2) HPS: Sets the displayed history pointer value in the current history pointer. When a value is input which exceeds the last history[...]

  • Page 148

    Format ICE CONTROL SOFTWARE ICS62XX VIII-34 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL CHK CHECK ICE HARDWARE #CHK Displays the results of the ICE initial test. (ICE executes the initial test at power on.) The test consists of the following: (1) Sum check test of ICE firmware (2) ICE RAM R/W test #CHK * ROM CHECK ERROR 5F=>FF * Message[...]

  • Page 149

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-35 DEVELOPMENT TOOL REFERENCE MANUAL DISPLAY X, Y REGISTER & MX, MY CONTENT DXY #DXY Displays current X register (Xp, Xh, Xl) and Y register (Yp, Yh, Yl), as well as MX and MY (contents of memory specified by codes X and Y). #DXY X=070 MX= 5 Y=07C MY= F #DXY X=200 MX=-:OV ... Indicates[...]

  • Page 150

    Format ICE CONTROL SOFTWARE ICS62XX VIII-36 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL CVD , CVR DISPLAY/RESET COVERAGE #CVD, <address 1> , <address 2> #CVD #CVR Indicates and clears coverage information. (1) CVD: Indicates the coverage information ranging from <address 1> to <address 2> . Indicates all coverage in[...]

  • Page 151

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-37 DEVELOPMENT TOOL REFERENCE MANUAL 3.2 Set Command Group A ASSEMBLE PROGRAM ................................................. VIII-38 FP FILL PROGRAM ............................................................ VIII-40 FD FILL DATA RAM ....................................................[...]

  • Page 152

    Format ICE CONTROL SOFTWARE ICS62XX VIII-38 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function A #A, <address> (With guidance) The mnemonic command is assembled and stored at the address indicated by <address> . (1) Supports the mnemonics and operands in the instruction list used in the S1C62 Family. (2) Operand expressions f[...]

  • Page 153

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-39 DEVELOPMENT TOOL REFERENCE MANUAL Examples ASSEMBLE PROGRAM A #A, <address> (With guidance) #A,100 ... Instruction entered by key input 0100 LD A,0F ... Address displayed; mnemonic input awaited (mnemonic instruction, operand input) 0101 / ... / input cancels instruction #A,200 02[...]

  • Page 154

    Format ICE CONTROL SOFTWARE ICS62XX VIII-40 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function FP FILL PROGRAM #FP, <address 1> , <address 2> , <program data> Data <program data> is stacked in the program area (ICE emulation memory) at <address 1> to <address 2> . Program area (for S1C6S3N7/6S3B7/6S3L7[...]

  • Page 155

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-41 DEVELOPMENT TOOL REFERENCE MANUAL <data> is stacked in the data RAM area at <address 1> to <address 2> in hexadecimal or binary code. Data RAM area (for S1C6S3N7/6S3B7/6S3L7) 00 Address 1 . . . 06 Address 2 . . . 40 70 7E FILL DATA RAM FD #FD, <address 1> , <a[...]

  • Page 156

    Format ICE CONTROL SOFTWARE ICS62XX VIII-42 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Contents of program area <address 1> to <address 2> are transferred to <address 3> and above. Program area (for S1C6S3N7/6S3B7/6S3L7) Address 1 . . . 000 Address 2 . . . 0FF Address 3 . . . 100 1FF 3FF Function MP MOVE PROGRAM #MP, <[...]

  • Page 157

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-43 DEVELOPMENT TOOL REFERENCE MANUAL Contents of <address 1> to <address 2> in the data RAM area are transferred to <address 3> and above. Data RAM area (for S1C6S3N7/6S3B7/6S3L7) Address 1 . . . 00 Address 2 . . . 3F Address 3 . . . 50 4F 7E MOVE DATA RAM MD #MD, <add[...]

  • Page 158

    Format ICE CONTROL SOFTWARE ICS62XX VIII-44 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function SP SET PROGRAM #SP, <address> (With guidance) Contents of the specified program area <address> are displayed or modified. #SP,100 0100 FFF: ... Contents of address 100 are read, and cannot be modified by a alone 0101 FFF: FFB ... Ne[...]

  • Page 159

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-45 DEVELOPMENT TOOL REFERENCE MANUAL Function SET DATA RAM SD #SD, <address> (With guidance) Contents of the data RAM area <address> are displayed or modified. (1) Data cannot be written to the read only area. (2) Data in the write only area cannot be read. #SD,20 20 5: A ... C[...]

  • Page 160

    Format ICE CONTROL SOFTWARE ICS62XX VIII-46 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL SR SET REGISTER #SR (With guidance) #SR, <register name> , <data> # Evaluation board CPU registers are displayed and modified. (1) <data> is set in specified registers. Examples Function (2) < register name> can be specified as: [...]

  • Page 161

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-47 DEVELOPMENT TOOL REFERENCE MANUAL SET MX, MY DATA SXY #SXY (With guidance) Examples Function Instruction will not complete with / input; use up to the last register. Current contents of the X register (Xp, Xh, Xl), Y register (Yp, Yh, Yl), and MX and MY (contents specify memory X, Y) ar[...]

  • Page 162

    Format ICE CONTROL SOFTWARE ICS62XX VIII-48 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function HC SET HISTORY CONDITION #HC,S/C/E # Sets up the area for history extraction by means of the break point. Examples "[ ]" is added to the break point. #HC,S ... Extracts the history from the break point #HC,C ... Extracts the history b[...]

  • Page 163

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-49 DEVELOPMENT TOOL REFERENCE MANUAL SET/DISPLAY/RESET HISTOY RANGE HA, HAD, HAR #HA, <address 1> , <address 2> /ALL #HAD #HAR, <address 1> , <address 2> /ALL # Sets up, indicates and clears PC address within the history extraction area. (1) HA: Extract the range sp[...]

  • Page 164

    Format ICE CONTROL SOFTWARE ICS62XX VIII-50 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL[...]

  • Page 165

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-51 DEVELOPMENT TOOL REFERENCE MANUAL 3.3 Break and Go Command Group BA SET BREAK ADDRESS CONDITION ....................... VIII-52 BAR RESET BREAK ADDRESS CONDITION .................. VIII-52 BD SET BREAK DATA CONDITION .............................. VIII-53 BDR RESET BREAK DATA CONDITION [...]

  • Page 166

    Format ICE CONTROL SOFTWARE ICS62XX VIII-52 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function BA, BAR SET/RESET BREAK ADDRESS CONDITION #BA, <address 1> , <address 2> , <address 3> , <address 4> #BAR, <address 1> , <address 2> , <address 3> , <address 4> Sets break condition for the PC. (1[...]

  • Page 167

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-53 DEVELOPMENT TOOL REFERENCE MANUAL SET/RESET BREAK DATA CONDITION BD, BDR Function #BD (With guidance) #BDR Break condition set for data RAM read/write area. (1) BD: Break condition set for RAM data address, data, and R/W. Address can be set at one point, data set from addresses 0 to F o[...]

  • Page 168

    Format ICE CONTROL SOFTWARE ICS62XX VIII-54 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function BR, BRR SET/RESET BREAK REGISTER CONDITION #BR (With guidance) #BRR A break condition is set in the evaluation board CPU registers A, B, FLAG, X (Xp, Xh, Xl,) or Y (Yp, Yh, Yl). (1) BR: A break condition is set in the target registers A, B, FLA[...]

  • Page 169

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-55 DEVELOPMENT TOOL REFERENCE MANUAL SET/RESET BREAK REGISTER CONDITION BR, BRR Examples #BR (With guidance) #BRR #BRR ... A BR condition is cleared by the BRR command #BR A -: ... Entering after canceling BR setting confirms cancellation #BR A -: 0 B -: 0 FI -: * FD -: * FZ -: * FC -: * X[...]

  • Page 170

    Format ICE CONTROL SOFTWARE ICS62XX VIII-56 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function BM, BMR SET/RESET BREAK MULTIPLE CONDITION #BM (With guidance) #BMR Sets the compound break function for multiple breaks when all conditions for the evaluation board CPU PC, data RAM access, and register values coincide. (1) Although the BA, BD[...]

  • Page 171

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-57 DEVELOPMENT TOOL REFERENCE MANUAL SET/RESET BREAK MULTIPLE CONDITION BM, BMR #BM (With guidance) #BMR Examples #BM PC 100: * ... PC mask ADDR 70:71 DATA A: ^ ... Enables return to previous operation when ^ key is entered ADDR 71:72 DATA A: ... Previous setting retained when alone is ent[...]

  • Page 172

    Format ICE CONTROL SOFTWARE ICS62XX VIII-58 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL BC BREAK CONDITION DISPLAY #BC Displays the current break condition. Function Examples #BC ... Break condition is verified after power on. All break * BA NONE conditions are canceled. * BD NONE * BR NONE * BM NONE * BREAK ENABLE MODE ... Enters break en[...]

  • Page 173

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-59 DEVELOPMENT TOOL REFERENCE MANUAL RESET ALL BREAK CONDITION BRES Note #BRES Examples All break conditions (BA, BD, BR, or BM settings) are canceled. #BRES #BC * BA NONE * BD NONE * BR NONE * BM NONE * BREAK ENABLE MODE * BREAK STOP MODE * TIME COUNT MODE # Function Although the break co[...]

  • Page 174

    Format ICE CONTROL SOFTWARE ICS62XX VIII-60 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function G GO TARGET PROGRAM #G #G, <address > #G,R This instruction runs the target program. When a break condition is detected, program execution is halted and the break status is displayed to complete the instruction. ■ Setting the Starting A[...]

  • Page 175

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-61 DEVELOPMENT TOOL REFERENCE MANUAL GO TARGET PROGRAM G #G #G, <address > #G,R Function ■ Display During Execution of GO Instruction Note: Refer to Section 2.3.4, "Display during run mode and during break" for information on the display modes. ■ Break Display #G *PC=xx[...]

  • Page 176

    Format ICE CONTROL SOFTWARE ICS62XX VIII-62 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL G GO TARGET PROGRAM #G #G, <address > #G,R #OTF ... On-the-fly set command * ON THE FLY ON * These settings #BE ... Break enable set command are set at power on; default is * BREAK ENABLE MODE * command input #BT ... Break stop mode set command * [...]

  • Page 177

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-63 DEVELOPMENT TOOL REFERENCE MANUAL SINGLE STEP TRACE T Function #T, <address > , <step number> #T, <address > #T,, < step number> #T Executes trace, and single step actions of programs. (1) The specified portion of the target program executes with a frequency indi[...]

  • Page 178

    Format ICE CONTROL SOFTWARE ICS62XX VIII-64 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL #T Program executes sequentially in steps from current PC (=103) via "SP" key. *PC=0103 IR=FDF RET A=5 B=0 X=04F Y=03F F=IDZC SP=013 ... "SP" *PC=01AA IR=AD1 OR A,B A=5 B=0 X=04F Y=03F F=ID.C SP=013 ... "ESC" Instruction is[...]

  • Page 179

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-65 DEVELOPMENT TOOL REFERENCE MANUAL SINGLE STEP TRACE & LAST INFORMATION DISPLAY U Function #U, <address > , <step number> #U,, < step number> Executes trace and single step actions of programs and indicates final results alone. (1) The target program is executed fro[...]

  • Page 180

    Format ICE CONTROL SOFTWARE ICS62XX VIII-66 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function BE, BSYN BREAK ENABLE MODE SET/BREAK DISABLE & SYNC MODE SET #BE #BSYN Sets the break enable mode and break disable mode. (1) BE: Sets the break enable mode. A break is generated when the BA, BD, BR or BM conditions coincide with the evalua[...]

  • Page 181

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-67 DEVELOPMENT TOOL REFERENCE MANUAL BREAK TRACE MODE SET BT #BT (Toggle) Function Selects the break stop mode or the break trace mode. Setting is reversed with each command input. At power on, the break stop mode is operative. Examples Note #BT * BREAK TRACE MODE ... Since the stop mode i[...]

  • Page 182

    Format ICE CONTROL SOFTWARE ICS62XX VIII-68 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL BRKSEL BREAK ADDRESS MODE SELECT #BRKSEL,REM #BRKSEL,CLR Function After setting the break address condition (BA), the program runs until stopped by a break hit; the settings then remain or clear the previously set BA condition. The clear mode (CLR mode)[...]

  • Page 183

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-69 DEVELOPMENT TOOL REFERENCE MANUAL 3.4 File Command Group RF READ PROGRAM FILE ............................................... VIII-70 RFD READ DATA FILE ........................................................ VIII-70 VF VERIFY PROGRAM FILE ............................................ V[...]

  • Page 184

    Format ICE CONTROL SOFTWARE ICS62XX VIII-70 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function RF , RFD READ PROGRAM/DATA FILE #RF, <file name> #RFD, <file name> Loads files onto the emulation memories. (1) RF: The hex file specified in <file name> is loaded in the emulation program memory. (2) RFD: The hex file (data R[...]

  • Page 185

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-71 DEVELOPMENT TOOL REFERENCE MANUAL VERIFY PROGRAM/DATA FILE VF , VFD #VF, <file name> #VFD, <file name> Compares the contents of the emulation memories with those of files. (1) VF: The contents of the emulation program memory and the hex file specified in <file name> ar[...]

  • Page 186

    Format ICE CONTROL SOFTWARE ICS62XX VIII-72 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function WF , WFD WRITE PROGRAM/DATA FILE #WF, <file name> #WFD, <file name> Saves the contents of the emulation memories to files. (1) WF: The contents of the emulation program memory are saved to the file specified in <file name> . ([...]

  • Page 187

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-73 DEVELOPMENT TOOL REFERENCE MANUAL CONDITION LOAD/SAVE CL, CS #CL, <file name> #CS, <file name> Function Loads the contents of the emulation memories of ICE and the contents of each setting from files or save them to files. (1) CL: The program and data from the file specified[...]

  • Page 188

    Format ICE CONTROL SOFTWARE ICS62XX VIII-74 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function OPTLD READ HEXA DATA FILE #OPTLD,0, <file name> Load melody HEX files in the evaluation board melody data memory. These are HEX files output by the melody assembler and have intel HEX format. #OPTLD,0,C2XXYYY ... C2XXYYY.HEX files are loa[...]

  • Page 189

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-75 DEVELOPMENT TOOL REFERENCE MANUAL 3.5 ROM Command Group RP LOAD ROM PROGRAM ............................................... VIII-76 VP VERIFY ROM PROGRAM ............................................ VIII-77 ROM ROM TYPE SELECT ..................................................... VIII-7[...]

  • Page 190

    Format ICE CONTROL SOFTWARE ICS62XX VIII-76 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function RP LOAD ROM PROGRAM #RP The program is loaded to the ICE emulation memory from the ROM at the ICE ROM socket (high and low). The FF ROM data is unassembled. #RP * NO ROM H/L * ... Error is generated because high and low ROM are unassembled #RP [...]

  • Page 191

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-77 DEVELOPMENT TOOL REFERENCE MANUAL VERIFY ROM PROGRAM VP Function #VP The contents of the ICE ROM socket (high and low) and the ICE emulation memory are compared. When they do not agree, the data contents are displayed. #VP # When the results of the comparison are acceptable, the program[...]

  • Page 192

    Format ICE CONTROL SOFTWARE ICS62XX VIII-78 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ROM ROM TYPE SELECT #ROM (With guidance) The ROM type which is assembled to the ICE ROM socket is set. (1) 2764, 27128, 27256 or 27512 can be selected. (2) The region to which the ROM type is loaded is described below. Function Examples #ROM *ROM 64: ..[...]

  • Page 193

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-79 DEVELOPMENT TOOL REFERENCE MANUAL 3.6 Control Command Group I INITIALIZE TARGET CPU ........................................... VIII-80 TIM TIME OR STEP MODE SELECTION ......................... VIII-81 OTF ON THE FLY MODE SET ........................................... VIII-82 Q QUIT ..[...]

  • Page 194

    Format ICE CONTROL SOFTWARE ICS62XX VIII-80 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function I INITIALIZE TARGET CPU #I Resets the evaluation board CPU. Resets the evaluation board CPU, but the ICE set conditions (break, etc.) are affected. #I # The execution is at waiting until entering the next command Example[...]

  • Page 195

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-81 DEVELOPMENT TOOL REFERENCE MANUAL TIME OR STEP MODE SELECTION TIM #TIM (Toggle) When the GO command is entered, the execution time counter, execution time count mode or step count mode is operative. The execution time count mode is the default at power on. The setting is reversed at eac[...]

  • Page 196

    Format ICE CONTROL SOFTWARE ICS62XX VIII-82 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function OTF ON THE FLY MODE SET #OTF (Toggle) Selects whether or not to run the on-the-fly display during GO execution. On-the-fly display mode is the default at power on. Use the display off mode when the host is connected to a printer. #OTF * ON THE [...]

  • Page 197

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-83 DEVELOPMENT TOOL REFERENCE MANUAL Function QUIT Q #Q Example Terminates the ICS62XX program and returns control to the operating system. #Q B> ... A waits control by host computer operating system B>ICS62XX ... Reloads the ICE ... Epson logo is displayed for about one second ... *[...]

  • Page 198

    Format ICE CONTROL SOFTWARE ICS62XX VIII-84 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL[...]

  • Page 199

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-85 DEVELOPMENT TOOL REFERENCE MANUAL 3.7 HELP Command[...]

  • Page 200

    Format ICE CONTROL SOFTWARE ICS62XX VIII-86 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Function HELP #HELP (With guidance) #HELP,n (n=1 to 8) Displays the ICS62XX commands. (1) All commands are displayed on a single screen when no option (,n) is set. (2) Displays the related commands when an option (,n) is set. Explanations for commands o[...]

  • Page 201

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-87 DEVELOPMENT TOOL REFERENCE MANUAL HELP #HELP (With guidance) #HELP,n (n=1 to 8) #HELP 1.DISPLAY COMMAND #L #DP #DD #DR #H #HB #HG #HS #HSW #HSR #HP #CHK #DXY #CVD #HAD 2.SET COMMAND #A #FP #FD #MP #MD #SP #SD #SR #SXY #HC #HA #HAR #HPS #CVR 3.BREAK and GO COMMAND #BA #BD #BR #BM #BAR #B[...]

  • Page 202

    Format ICE CONTROL SOFTWARE ICS62XX VIII-88 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL HELP #HELP (With guidance) #HELP,n (n=1 to 8) #HELP,2 2.SET COMMAND (1)#A,addr assemble program. (2)#FP,addr1,addr2,data fill program addr1 to addr2 by data. (3)#FD,addr1,addr2,data fill data addr1 to addr2 by data. (4)#MP,addr1,addr2,addr3 move program[...]

  • Page 203

    Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-89 DEVELOPMENT TOOL REFERENCE MANUAL HELP #HELP (With guidance) #HELP,n (n=1 to 8) Examples #HELP,4 4.FILE COMMAND (1)#RF,file program load. (2)#VF,file program verify. (3)#WF,file program save. (4)#RFD,file RAM data load. (5)#VFD,file RAM data verity. (6)#WFD,file RAM data save. (7)#CL,fi[...]

  • Page 204

    ICE CONTROL SOFTWARE ICS62XX VIII-90 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4 ERR OR MESSA GE SUMMAR Y Error message: * COMMUNICATION ERROR OR ICE NOT READY * Meaning: ICE is disconnected or power is OFF. Recovery procedure: Switch OFF the host power supply, connect cable, and reapply power. Or switch ON power to ICE. Error message: *[...]

  • Page 205

    ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII-91 DEVELOPMENT TOOL REFERENCE MANUAL APPENDIX . HEX FILE FORMA T ■ Description of HEX file format Example: Data volume : 10010000CD15010E20CD2901CD47010C79FE7FC20E : 100110000501C303012124017EA7CA2301D3D123F2 : 10012000C31801C9AA40CE3700DBD1E604CA2901B1 : 1001300079D3D0C9CD3F01CA3401DBD0E67FC9D[...]

  • Page 206

    [...]

  • Page 207

    IX MASK DA T A CHECKER MDC62XX This part explains how to operate the MDC62XX Mask Data Checker for the S1C62 Family.[...]

  • Page 208

    [...]

  • Page 209

    MASK DATA CHECKER MDC62XX S1C62 FAMILY EPSON IX-i DEVELOPMENT TOOL REFERENCE MANUAL MASK DA T A CHECKER MDC62XX Contents 1 DIFFERENCES DEPENDING ON THE MODEL __________________ IX-1 2 MDC62XX OUTLINE __________________________________________ IX-1 2.1 Outline ..........................................................................................[...]

  • Page 210

    [...]

  • Page 211

    MASK DATA CHECKER MDC62XX S1C62 FAMILY EPSON IX-1 DEVELOPMENT TOOL REFERENCE MANUAL 2 MDC62XX OUTLINE 2.1 Outline The Mask Data Checker MDC62XX is a software tool which checks the program data (C2XXYYYH.HEX and C2XXYYYL.HEX), option data (C2XXYYYF.DOC and C2XXYYYS.DOC), and melody data (C28XYYYA.DOC) created by the user and creates the data file (C[...]

  • Page 212

    MASK DATA CHECKER MDC62XX IX-2 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 3 MASK DA T A CHECKER OPERA TION 3.1 Copying the Data File When submitting data to Seiko Epson, copy on the work disk the data generated from Cross Assembler (ASM62XX), Function Option Generator (FOG62XX), Segment Option Generator (SOG62XX) and Melody Assembler (MLA[...]

  • Page 213

    MASK DATA CHECKER MDC62XX S1C62 FAMILY EPSON IX-3 DEVELOPMENT TOOL REFERENCE MANUAL C2XXYYYH.HEX ------+ | C2XXYYYL.HEX ------+ | C2XXYYYF.DOC ------+------ C2XXYYY.PA0 | C2XXYYYS.DOC ------+ | C28XYYYA.DOC ------+ +------ C2XXYYYH.PA0 | +------ C2XXYYYL.PA0 | C62XXYYY.PA0 ------+------ C2XXYYYF.PA0 | +------ C2XXYYYS.PA0 | +------ C28XYYYA.PA0 Not[...]

  • Page 214

    MASK DATA CHECKER MDC62XX IX-4 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 4 ERROR MESSAGES 4.1 Data Error The program data file and option data file and melody data file are checked during packing; the packed data file is checked during unpacking. If there are format problems, the following error messages are displayed. 4.1.1 Program data[...]

  • Page 215

    MASK DATA CHECKER MDC62XX S1C62 FAMILY EPSON IX-5 DEVELOPMENT TOOL REFERENCE MANUAL 5 PA CK FILE CONFIGURA TION The pack file is configured according to the following format: * sometimes appears as ¥, depending on the personal computer being used. * * E0C62XX MASK DATA VER 1.00 * ROM1 E0C62XXYYY PROGRAM ROM :100000000...........................[...]

  • Page 216

    MASK DATA CHECKER MDC62XX IX-6 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 5.1 Program Data, Melody ROM Data and Scale ROM Data The program data, melody ROM data and scale ROM data are expressed as follows, using Intel hexa format: ■ Data line Colon 10 Address (4 digit) 00 Data 0 . . . Data 15 Check sum Two complements resulting from add[...]

  • Page 217

    AMERICA EPSON ELECTRONICS AMERICA, INC. - HEADQUARTERS - 150 River Oaks Parkway San Jose, CA 95134, U.S.A. Phone: +1-408-922-0200 Fax: +1-408-922-0238 - SALES OFFICES - West 1960 E. Grand Avenue EI Segundo, CA 90245, U.S.A. Phone: +1-310-955-5300 Fax: +1-310-955-5400 Central 101 Virginia Street, Suite 290 Crystal Lake, IL 60014, U.S.A. Phone: +1-81[...]

  • Page 218

    In pursuit of “Saving” T echnology , Epson electronic devices . Our lineup of semiconductors, liquid crystal displays and quartz devices assists in creating the products of our customers’ dreams. Epson IS energy savings .[...]

  • Page 219

    http://www.epson.co.jp/device/ Development Tool Reference Manual S1C62 Family EPSON Electronic Devices Website ELECTRONIC DEVICES MARKETING DIVISION First issue December, 1 991 Printed April, 2001 in Japan B M[...]