Page 1
MF599-06 CMOS 4 - BIT SINGLE CHIP MICROCOMPUTER S1C62 Family Development Tool Reference Manual...
Page 2
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...
Page 3
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.
Page 5
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.
Page 7
S1C62 FAMILY 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.
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 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL INTRODUCTION Contents EPSON INTRODUCTION...
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 2. Evaluation Board S5U1C62xxxE ... Evaluation board that has the same functions as the actual IC (different S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL model)
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. S1C62xxx Development Tool...
Page 13
Debugging completion Reference manual *1 S1C62xxx Technical Manual (Hardware) *2 S1C62xxx Technical Manual (Software) *3 S1C6200/6200A Core CPU Manual *4 S1C62 Family Development Tool Reference Manual (this manual) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Determination of hardware specifications *4, *5...
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. EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
(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 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL EPSON...
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? EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 17
S5U1C62xxxE Target segment does not light. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 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.
Page 19
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 This part mainly explains how to operate the De- velopment Tool Management System DMS6200.
Page 21
DEVELOPMENT TOOL MANAGEMENT SYSTEM 1 DIFFERENCES DEPENDING ON THE MODEL __________________ II-1 2 DMS6200 OUTLINE ___________________________________________ II-1 3 DMS6200 OPERATION PROCEDURE ___________________________ II-2 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 Contents EPSON II-i...
Page 23
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.
Page 25
(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 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 Copyright(C) SEIKO EPSON CORP. 1991. EPSON II-3...
Page 27
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 29
1) Source file (C2XX0A0.DAT) ... III-20 2) Running the assembler (display on the console) ... III-21 3) Assembly listing file (C2XX0A0.PRN) ... III-22 4) Object files (C2XX0A0H.HEX, C2XX0A0L.HEX) ... III-23 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL CROSS ASSEMBLER ASM62XX Contents...
Undefined code In the S1C62 Family, the instruction set is not different from model to model. However, you may not be able to use instructions such as the SLP instruction and those that access the page section (XP and YP) of the index register depending on the RAM content.
This is a source program file produced using an editor such as EDLIN. The file name format is C2XXYYY, and the file name must not exceed seven characters in length. Character string YYY should be determined by referencing the device name specified by Seiko Epson. The file extension must be added ".DAT".
The code (FFH) in the undefined area of program memory is not created. Note The program data to be provided does not use the "-N" option. The FFH data should be inserted into the undefined program area. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL CROSS ASSEMBLER ASM62XX _ indicates a blank.
Page 34
PPPPPPPPPP EEEEEEEEEE PPPPPPPPPP EEEEEEEEEE PPPPPPPP EEEEEEEEEE EEEEEEEEEE (C) COPYRIGHT 1991 SEIKO EPSON CORP. SOURCE FILE NAME IS " C2XXYYY.DAT " THIS SOFTWARE MAKES NEXT FILES. C2XXYYYH.HEX C2XXYYYL.HEX C2XXYYY .PRN III-4 The source file "C2XXYYY.DAT" is input from drive A, and the object files "C2XXYYYH.HEX"...
(# indicates the number of the statement at which the symbol was defined) This table should be referenced during debugging. An error such as duplicate definition of a symbol can be easily detected. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL PAGE X-...
C2XXYYY.DAT "YYY" of the "C2XXYYY.DAT" is an alphanumeric character string of up to three characters, and should be determined by referencing the device name specified by Seiko Epson. The file extension must be ".DAT". 4.2 Statements Each source program statement must be written using the following format.
ORG, BANK, PAGE, SECTION, END, LABEL, ENDM Note When selecting the auto-page-set function (see Section 3.2), a statement consisting of only a label must be written immediately before the JP or CALL instructions. Example: PGSET: S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL NZ,LABEL1 LABEL EPSON...
; = LD A,1 ; = LD A,0 ABC is defined as 1FFFH. An error occurs because it exceeds the significant digit count (4 bits). (=0243H), 'PQ' (=1051H), 'DEFGH' EPSON 'GH' (=0748H; DEF is ignored.) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Like EQU, the SET pseudo-instruction defines the value of <symbol> as being <expression>. The SET pseudo-instruction allows a symbol to be redefined. Examples: ZERO S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL To define a symbol ZERO+1 P-error because ONE has been defined more than twice...
Note The upper limit of program memory depends on the model. (Refer to the "S5U1C62xxxD Manual".) III-12 To preset data TABLE 141H ; = RETD 'A' 142H ; = RETD 'B' 143H ; = RETD 'C' To set the location counter 0100H ; BNK=0, PCP=1, PCS=00H EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 43
(BNK) (PCP) (PCS) An R-error occurs if a value is specified that exceeds the last page. Note The last page depends on the model. (Refer to the "S5U1C62xxxD Manual".) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL To set the bank (BNK)
Page 44
In this case, write the label in the statement following the SECTION pseudo-instruction. Example: Location counter (BNK) (PCP) (PCS) III-14 To change the section Section 1 16 steps Section 2 Section 16 Section 17 Section 48 JPBA MX,4 SECTION TABLE SECTION LOOP A,MY EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
A label can be used for it. Example: Source file LABEL2 Assembly list file after expansion LABEL2 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL To terminate assembly Macro- Mnemonic instruction after expansion PSET C,ps...
The LOCAL pseudo-instruction must be written at the beginning of the macro. The LOCAL pseudo- instruction is ignored if another instruction precedes it. Example: WAIT MACRO LOCAL LOOP ENDM III-16 REG,ADDR X,ADDR REG,MX LOOP A,CNT Replaces LOOP with ??nnnn at expansion. NZ,LOOP EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
CBFRST COUNT MACRO LOCAL LOOP1 ACPX ENDM COUNTA COUNT COUNTB COUNT The assembly listing file after assembly is shown on the next page. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 0200H 0101B 0000B 0001B 0100B FSET,FRST,CTS,CTE LOOP1 F,FSET F,FRST X,CTS MX,A...
... No space was left in the directory of the specified disk. FATAL DISK WRITE ERROR LABEL TABLE OVERFLOW CROSS REFERENCE TABLE OVERFLOW S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL could not be evaluated. program memory, or a location exceeding the upper limit was specified.
C2XXYYYH.HEX C2XXYYYL.HEX C2XXYYY .PRN DO YOU NEED AUTO PAGE SET?(Y/N) N DO YOU NEED CROSS REFERENCE TABLE?(Y/N) Y 8 ERROR OR WARNING(S) DETECTED USED : 6/2000 A> S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL SSSSSSS SSSS SSSSSS SSSS SSSS SSSSSSS SEIKO EPSON CORP.
:1003C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3D :1003D000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2D :1003E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1D :1003F000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0D :00000001FF Note The size of the object file differs depending on the device and the ROM capacity. Refer to the "S5U1C62xxxD Manual". S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL CROSS ASSEMBLER ASM62XX A>TYPE C2XX0A0H.HEX :100000000E0B080EFFFFFFFFFFFFFFFFFFFFFFFFCD :10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0 :10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0...
Page 55
MELODY ASSEMBLER MLA628X This part mainly explains how to operate the Melody Assembler MLA628X for the S1C62 Family, and how to generate source files.
This is a data file used to generate the mask patterns. Combine the completed document file with the program files and option document files using the mask data checker MDC628X, and submit to Seiko Epson. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL MELODY ASSEMBLER MLA628X A>EDLIN C28XYYY.MDT...
HEX file is created for the current drive. Input can be in upper- and lower-case. IV-2 _ indicates a blank. A parameter enclosed by [ ] can be omitted. EPSON DEVELOPMENT TOOL REFERENCE MANUAL indicates the return key. S1C62 FAMILY...
Page 61
PPPPPPPPPP SSSSSS EEEEEEEEEE PPPPPPPP SSSS EEEEEEEEEE SSSS EEEEEEEEEE SSSSSSS (C) COPYRIGHT 1991 SEIKO EPSON CORP. SOURCE FILE NAME IS " C28XYYYA.MDT ". THIS SOFTWARE MAKES NEXT FILES. C28XYYYA.HEX MELODY HEX FILE. C28XYYYA.DOC MELODY DOCUMENT FILE. C28XYYY .MPR MELODY ASSEMBLY FILE.
The source file can be named with a maximum of any seven characters. As a rule, keep to the following format. C28XYYY.MDT Three alphanumerics are entered in the "YYY" part. Refer to the model name from Seiko Epson. The extension must be ".MDT". 4.2 Statement (line) Write each of the source file statements (lines) as follows: Basic format: <Attack>...
Page 63
Note Data Note "0" or "1" written in the attack field becomes the attack data. • Attack data S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Number of bit is difference depending the model 0–X (Refer to the "S5U1C62N8xD Manual".) Scale address data Table 4.2.3...
• FILE NOT PRESENT ... The specified source file is not there. • DIRECTORY FULL ... No more room in the directory of the specified disk. • FATAL DISK WRITE ERROR ... The file cannot be written to the disk. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Sets TEMPC1 (n = 0–15) Sets scale range (m = 32 or 64) melody ROM capacity.
Page 66
0 7 $E3 1 6 $97 0 5 C6 0 7 A5# 1 3 $42 1 0 ERROR(S) DETECTED IV-8 C282YYY.MPR 1991-6-01 14:25...PAGE 1st Melody 2nd Melody EPSON DEVELOPMENT TOOL REFERENCE MANUAL Time Date File specifier of melody assembly list S1C62 FAMILY...
Page 67
:1000F000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF10 :100100000492A4D4DCB8C0BCC345E397E4E042FF4A :10011000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC42A :100120000508FFFFFFFFFFFFFFFFFFFFFFFFFFFFD0 :1001300000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCE :00000001FF S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Example of scale ROM table - Hyphens "--" indicate unused code. - When unused, the code is FFH. - The last location, ADRS = "11111", of the scale ROM is fixed at SCALE = "RR"...
Page 69
OPT2104 04 \\END Note End mark "¥¥END" may be used instead of "\\END" depending on the PC used. (Because the code of both \ and ¥ is 5CH.) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL MELODY ASSEMBLER MLA628X Main ROM (high side)
Page 71
FUNCTION OPTION GENERATOR FOG62XX This part mainly explains how to operate the Func- tion Option Generator FOG62XX for setting the hardware options of the S1C62 Family.
Page 73
4.2 Setting New Function Options ... V-4 4.3 Modifying Function Option Settings ... V-5 4.4 Selecting Function Options ... V-6 4.5 HEX File Generation and EPROM Selection ... V-7 4.6 End Procedure ... V-7 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL FUNCTION OPTION GENERATOR FOG62XX Contents EPSON...
• Combine the document files with the program files (C2XXYYYH.HEX and C2XXYYYL.HEX) using the mask data checker (MDC62XX): copy the combined file into another diskette and submit to Seiko Epson. • Set all unused ROM areas to FFH when writing the HEX file into the EPROM. (Refer to "S5U1C62xxxE Manual"...
When modifying the date, enter the 2-digit year, month, and day of the month by delimiting them with a slash ("/"). When not modifying the date, press the RETURN key " " to continue. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL FUNCTION OPTION GENERATOR FOG62XX indicates the return key.
2. EDIT FILE 3. RETURN TO DOS PLEASE SELECT NO.? 1 PLEASE INPUT FILE NAME? C2XXYYY PLEASE INPUT USER'S NAME? SEIKO EPSON CORP. PLEASE INPUT ANY COMMENT (ONE LINE IS 50 CHR)? TOKYO DESIGN CENTER (1) PLEASE SELECT NO.? Select "1. INPUT NEW FILE" on the operation selection menu.
(4) PLEASE INPUT USER'S NAME? When modifying the customer's company name, enter a new name. The previously entered name may be used by pressing the RETURN key " ". S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL FUNCTION OPTION GENERATOR FOG62XX C2XX0B0...
When function option setting is completed, move to the confirmation procedure for HEX file generation (See Section 4.5). K00,K01 K00,K01,K02 K00,K01,K02,K03 EPSON DEVELOPMENT TOOL REFERENCE MANUAL " to return 1 step back to S1C62 FAMILY...
A> FOG62XX can be forcibly terminated by pressing the "CTRL" and "C" keys together during program execution. (It is possible by pressing "STOP" key depending on the PC used.) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL FUNCTION OPTION GENERATOR FOG62XX When debugging the program with evaluation .
Page 83
SEGMENT OPTION GENERATOR SOG62XX This part mainly explains how to operate the Seg- ment Option Generator SOG62XX for setting the segment options of the S1C62 Family.
The program name of SOG62XX is as follows: SOG62XX.EXE Figure 2.1.1 shows the SOG62XX execution flow. Fig. 2.1.1 SOG62XX execution flow S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL SEGMENT OPTION GENERATOR SOG62XX Option list Segment source generation...
C2XXYYYL.HEX) and the function option document file (C2XXYYYF.DOC) using the mask data checker (MDC62XX): copy the combined file into another diskette and submit to Seiko Epson. • Set all unused ROM areas to FFH when writing the HEX file into the EPROM. (Refer to "S5U1C62xxxE Manual"...
COM1–COM3 becomes ineffective. Write three hyphens ("---") in the COM1– COM3 columns in the option list. Note The configuration of the common terminals (COM0–COM3) may vary depending on the model. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL SEGMENT OPTION GENERATOR SOG62XX...
The SOG62XX needs, as an input file, a segment option source file containing the specifications for the segment output ports. Using the editor, generate this source file by referencing the contents of the option list. Use the following file name. For "YYY", enter the string distributed by Seiko Epson. C2XXYYY.SEG...
Page 91
Therefore, complementary output is enabled even if open drain output is selected. Respond to it by adding external circuits as required. Generate the segment option source file according to the formats and restrictions above. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL SEGMENT OPTION GENERATOR SOG62XX Either one is set, depending on the model.
*** SOURCE FILE(S) *** C2XX0A0 C2XX0B0 PLEASE INPUT SEGMENT SOURSE FILE NAME? C2XX0A0 PLEASE INPUT USER'S NAME? SEIKO EPSON CORP. PLEASE INPUT ANY COMMENT (ONE LINE IS 50 CHR)? TOKYO DESIGN CENTER (1) *** SOURCE FILE(S) *** • H option use Will display the segment option source files on the current drive.
SOG62XX can be forcibly terminated by pressing the "CTRL" and "C" keys together during program execution. (It is possible by pressing "STOP" key depending on the PC used.) VI-8 . . (1) . . (2) SELECTED 170 ns (Tacc: Access time) EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
This type of error occurs when the segment memory address or data bit outside the specificable range. Correct the segment option source file so that all addresses are in the specificable range and all data bits are 0 to 3. Example: R 25 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL SEGMENT OPTION GENERATOR SOG62XX 9F0MSD COM NO.
Page 96
R --- RAM Address Select Error D --- Duplication Error Duplication is Duplication is VI-10 9F0MSD SEG NO. 19 COM NO. 3 SEG NO. 22 COM NO. 3 EPSON DEVELOPMENT TOOL REFERENCE MANUAL "A31" is used more then once S1C62 FAMILY...
Page 97
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 99
6.2.1 Power on/off ... VII-9 6.2.2 Debugging ... VII-9 6.3 Operation When ICE (S5U1C62000H) is Connected ... VII-10 6.3.1 Power on/off ... VII-10 6.3.2 Debugging ... VII-10 7 OPERATING TEST ___________________________________________ VII-10 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL EVALUATION BOARD S5U1C62XXXE Contents EPSON VII-i...
In addition, the S5U1C62xxxE can interface with the ICE (S5U1C62000H) in-circuit emulator, and so perform a higher level of debugging. S5U1C62xxxE The name 'EVA62XX' on the development tool is the old name of the product. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL POWER EVA62XX...
The oscillation start and stop times are different from those of the IC. Because the logic level of S5U1C62xxxE is higher than it of actual IC. Functions may differ depending on the model, so you should refer to the "S5U1C62xxxE Manual" for other differences. VII-2 EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
4.2 Operating Panel (Top view) EVA62XX E0C62XX EVALUATION BOARD 3210 876543210 076543210 076543210 BREAK POINT S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL OFF ON DC IN FUSE POWER Switches and keys • EN/DIS switch This switch enables or disables the setting of breakpoints.
Page 104
(I7 to I0) of the machine code into the L socket, and the ROM (H.HEX) containing the 4 high-order bits (IB to I8) into the H socket. Insert the diagnostic ROM into a socket when an operation test is performed. Connectors • F1 and F5 Connectors for the ICE interface cable. VII-4 EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
S5U1C62xxxE to the target system. • LCD #0, LCD #1 Connector for the LCD cable. The LCD cable is used to connect the S5U1C62xxxE to the target system. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL EVALUATION BOARD S5U1C62XXXE I/O #0 I/O #1 Fig.
This socket is not present in models that do not have the segment option. Fig. 4.6.1 Under bottom cover VII-6 FUSE DC INPUT GND +5 V Fig. 4.5.1 Rear panel <Under Bottom Cover> ROM sockets EPSON DEVELOPMENT TOOL REFERENCE MANUAL IN 5 V POWER ON/OFF Position of pin 1 S1C62 FAMILY...
The LCD contrast (LCD drive voltage) is adjusted by the VADJ control. Refer to the "S5U1C62xxxE Manual" for the configuration and pins of the connectors. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 50 49 S5U1C62xxxE side Fig. 5.1.2 Connection diagram...
...Only for the models that have the segment option. (250 ns or less access time) (250 ns or less access time) (170 ns or less access time) EPSON Top of S5U1C62xxxE Function option ROM (one, behined the top cover, F.HEX) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
To restart the program after a break, set the next breakpoint, and press the RUN key. The single-step operation (described below) can be performed by pressing the STEP key instead of the RUN key. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL EVALUATION BOARD S5U1C62XXXE...
If these ROMs have not been installed, insert them into the sockets. To use the S5U1C62xxxE independently, connect the external power supply (5 V DC, 3 A). Refer to the "S5U1C62xxxE Manual" for details of the operating test. VII-10 EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 111
VIII ICE CONTROL SOFTWARE 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 113
DXY command ... VIII-35 CVD, CVR commands ... VIII-36 3.2 Set Command Group ... VIII-37 A command ... VIII-38 FP command ... VIII-40 FD command ... VIII-41 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX Contents EPSON VIII-i...
Page 114
TIM command ... VIII-81 OTF command ... VIII-82 Q command ... VIII-83 3.7 HELP Command ... VIII-85 HELP command ... VIII-86 4 ERROR MESSAGE SUMMARY _______________________________ VIII-90 APPENDIX HEX FILE FORMAT _______________________________ VIII-91 VIII-ii EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Undefined code In the S1C62 Family, the instruction set is not different from model to model. However, you may not be able to use instructions such as the SLP instruction and those that access the page section (XP and YP) of the index register depending on the RAM content.
S1C62 Family of 4-bit single chip microcomput- ers. The ICE and the S1C62 Family evaluation board (S5U1C62xxxE), when used in combination, provide an exceptionally powerful hardware and software development support environment.
During G command execution, the program counter and supervision halt state are displayed Coverage Acquire coverage information Other S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Brief description of function Break by program counter (PC) RAM address, data, R/W break Break by register value Break via a combination of items (1)–(3) (AND, OR)
Set data for X and Y display and MX, MY EPSON DEVELOPMENT TOOL REFERENCE MANUAL Reference page VIII-38 VIII-20 VIII-22 VIII-24 VIII-40 VIII-41 VIII-60 VIII-81 VIII-82 VIII-63 VIII-65 VIII-52 VIII-53 VIII-54 VIII-56 VIII-59 VIII-58 VIII-66 VIII-66 VIII-67 VIII-68 VIII-42 VIII-43 VIII-44 VIII-45 VIII-26 VIII-46 VIII-80 VIII-35 VIII-47 S1C62 FAMILY...
Page 119
Terminate Command #HELP Display Self #CHK Diagnosis S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX Description of operation Display history data for pointer 1 and pointer 2 Display upstream history data Display 21 line history data Display history pointer...
Page 121
Compare contents of ROM and contents of program memory #WF,file Save content of memory to the program file #WFD,file Save content of memory to the data file S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX Description of operation EPSON...
Fig. 2.2.1 System connection diagram (1) Verify Power OFF Status Make sure the power sources for the personal computer and ICE are switched OFF. (The S1C62 Family evaluation board is powered by the ICE power supply and thus has no power source.) (2) Cable Connections Connect cables in the manner prescribed in the "S5U1C62000H Manual".
(1) Insert the ICS62XX system software (supplied with CD-ROM) to the assigned drive in your personal computer. (2) Input the following information through the keyboard. B>ICS62XX ...The Epson logo is displayed for about one second... * ICE POWER ON RESET * * DIAGNOSTIC TEST OK * Cursor position When the ICS62XX system program is loaded in the computer as described above, control of the computer is given to the ICS62XX system program.
Emulation data memory History control portion Break control portion Target monitor portion ICE firmware ROM sockets (H, L) Fig. 2.3.1.1 Block diagram of ICE functions EPSON DEVELOPMENT TOOL REFERENCE MANUAL Evaluation board interface To the evaluation board S1C62 FAMILY...
Page 125
& break stop * Break switch * ESC key Break disable & break trace S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Table 2.3.2.1 Break modes and break types Normal use mode. Start up mode at power on. Evaluation board CPU runs in real time by entering GO command after setting this mode.
Fig. 2.3.3.2 HALT pin output EPSON About 1 sec (clock 455 kHz) About 15.6 sec (clock 32 kHz) Indicate the CPU halt . . . (1) . . . (2) . . . (3) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
(1) through (3) are automatically canceled. If settings (1) through (3) follow the current setting, the BM condition is canceled. Note Since the RAM data condition is a break element, the break will not be initiated without instructions which access the RAM data. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX EPSON...
HG commands. HP data from 1980 to 1986 is displayed by entering: #H, 1980, 1986 Fig. 2.3.7.2 History data display EPSON Effective (HP=2730) Instruction history immediately prior to break Oldest instruction (HP=0) Effective history S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
One can confirm which parts have completed troubleshooting and debugging by referring to coverage information which is a result of executing programs for a long period of time. This coverage function is specified by #CVD, and #CVR commands. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL IDZC MEMORY OPERATION...
When an error message is displayed after entering the check instruction, it is likely to be due to hardware failure. Contact customer support. VIII-16 (Epson logo appears) (Check instruction is automatically input; if no anomaly occurs, the following message appears)
400 µsec + 400 µsec = 800 µsec. When the dump data command (#DD) is invoked, the I/O area interrupt condition flag is read but not cleared. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL About 30 step...
• The toggle instruction is set to reverse upon each command input. • Notes indicates points for caution when using the described commands. VIII-18 EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
(4) The instruction can be interrupted by hitting the "ESC" key. Address 1 . . . 100 Address 2 . . . 2FF VIII-20 Program area (for S1C6S3N7/6S3B7/6S3L7) The instruction code and mnemonic for this area is displayed. EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 135
* COMMAND ERROR * #L,100,100 0100 FDF RET #L,3FC 03FC E00 LD A,0 03FF 20F JP C,F S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX DISASSEMBLE LIST Contents of addresses 100 to 1FF of the program are displayed disassembled...
Address 1 . . . 100 Address 2 . . . 2FF VIII-22 Data content 142 ... ASCII display B (Instruction: RETD 42) Program area (for S1C6S3N7/6S3B7/6S3L7) Program data from this area are displayed. EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 137
#DP,0,FFF ADDR 0000 #DP,100,50 * COMMAND ERROR * #DP,400,FFF * COMMAND ERROR * S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL DUMP PROGRAM Specified area is displayed 21 lines are displayed 21 line display Command interrupt via "ESC" key input Address 1 > address 2 error...
Data from this area is displayed LCD RAM I/O area (for S1C6S3N7/6S3B7/6S3L7) Error results when RAM address exceeds 7E (in the case of S1C6S3N7/6S3B7/6S3L7) 21 lines or last RAM address is displayed EPSON Write only area is displayed S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 139
0F10 F 0 1 0 F F / / / / / / / / / / The read operation is invalid when the I/O address is set to write only. Note S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX...
(3) IR, Mnemonic: Displays the mnemonic code for the PC program area command code. Example * PC=0100 IR=FFF NOP7 A=0 B=0 X=06F Y=03A F=IDZC SP=10 VIII-26 Displays characters when F is set, or (.) mark when F is reset EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Also, data interrupts INT1 (stack data) and INT2 are displayed (5) History memory has a capacity of 8192 bus cycles. One the other hand, the S1C62 Family has 5, 7 and 12 clock instructions. The 5 clock instructions require three bus cycles, 7 clock instructions require four bus cycles, and 12 clock instructions require six bus cycles.
MY,02 7 6 024 026 0000 W026=2 7 6 024 026 0000 7 6 024 026 1000 W01F=1 W01E=7 W01D=5 INT1 7 6 024 026 0000 INT1 or INT2 displayed when interrupt only occurs EPSON OTHER OTHER OTHER OTHER INT2 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 143
000E EE8 LDPX MX,A Note The history data register value is changed by the line following the instruction execution (limited to "LD X,x" and "LD Y,y"). S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX HISTORY DATA DISPLAY OPR.
Page 144
7 6 024 026 1000 7 6 024 026 0000 When an HB command is executed after a break hit, 21 lines are displayed from the break address onward EPSON DEVELOPMENT TOOL REFERENCE MANUAL OTHER W01F=1 W01E=7 W01D=5 INT1 INT2 S1C62 FAMILY...
Page 145
2423 016B 980 LBPX MX,B0 7 6 021 03A 0010 W020=0 W021=8 2424 016C 9C1 LBPX MX,C1 7 6 023 03A 0010 W022=1 W023=C S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL 21 history pointer instructions displayed from 200 OPR. Y IDZC MEMORY OPERATION...
Page 146
0 F 030 0FF 1111 R030=F Retrieves and indicates the history information which wrote address 30 OPR. Y IDZC MEMORY OPERATION 0 0 030 0FF 1111 W030=0 0 0 0FF 030 1111 W030=1 EPSON OTHER OTHER OTHER S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Examples * LOC=2058 #HPS,1000 * LOC=1000 #HPS,9999 * LOC=2058 * LOC=2058 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX Pointer (last value) displayed at break Pointer set to 1000 Pointer value = 1000 Return to last pointer value...
Page 148
When an error message is displayed, avoid further use of the device since it is likely due to hardware failure. VIII-34 Message is displayed when an error is detected A waits command under normal conditions EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 149
Y=050 MY=- :... #DXY X=E73 Y=252 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL Indicates the RAM area has been exceeded; read operation not viable Indicates write only area; read operation not viable Shows that E73 is unused area Read operation not viable...
Page 150
Examples #CVD,100,110 *CV 0100 *CV 0109..0110 #CVD *CV 0100 *CV 0109..02FF *CV 0400..04FF #CVR VIII-36 Indicates the coverage information ranging from address 100 to 110 Indicates the whole coverage information Clear coverage information EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 151
SET REGISTER ... VIII-46 SET MX, MY DATA ... VIII-47 SET HISTORY CONDITION ... VIII-48 SET HISTORY RANGE ... VIII-49 DISPLAY HISTORY RANGE ... VIII-49 RESET HISTORY RANGE ... VIII-49 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX EPSON VIII-37...
Function 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 follow the configurations below: 00 to 03 values...
Page 153
0202 / #A,202 0202 ^ 0201 / Note "ESC" key nonfunctional; cancel operation by entering / . S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX ASSEMBLE PROGRAM Instruction entered by key input Address displayed; mnemonic input awaited (mnemonic...
When undefined code is detected, an error message is displayed and the instruction will not execute Address 1 > address 2 error Address 200 is modified to instruction code FFF (NOP7); instruction completes normally EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
(2) Write operation is not performed to the read only address of the I/O area. (3) When there is an unused area in the specified address, the data is rewritten except for the unused area. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL FILL DATA RAM...
When the transfer area surpasses address 3FF, an error message is displayed and the instruction will not execute Address 1 > address 2 error Contents of address 200 are copied to address 300, then the instruction is executed normally EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
I/O area write only region. In this case a 0 is written to the top address. (3) When the transfer address coincides with an I/O address of mixed readable bits and write only bits, either read or write operations can execute. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL MOVE DATA RAM...
Error is generated by data setting error; message displayed input terminates instruction Since it exceeds the program area (3FF for S1C6S3N7/ 6S3B7/6S3L7), an error is indicated Instruction is completed after last address in input EPSON DEVELOPMENT TOOL REFERENCE MANUAL (With guidance) S1C62 FAMILY...
* UNUSED AREA * #SD,ECE ECE 0:F ECF 4:F * UNUSED AREA * S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX SET DATA RAM Contents of address 20 are modified and stored to A Return to previous address (one less than the current...
Entering the ^ returns operation to previous register (one less than the current register) X register only is changed to AA Current value is saved with EPSON DEVELOPMENT TOOL REFERENCE MANUAL (With guidance) key input S1C62 FAMILY...
Y=030 MY=A:F #SXY X=070 MX=3:- Y=FFF MY=-:OV #SXY X=E52 MX * UNUSED AREA * Y=1A7 MY=1:3 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX SET MX, MY DATA input; use up to the last register. Display only; alone continues operation...
"[ ]" is added to the break point. #HC,S #HC,C #HC,E VIII-48 Extracts the history from the break point Extracts the history before and after the break point Extracts the history up to the break point (default value) EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 163
#HAR,ALL #HA,300,400 #HA,100,200 #HA,500,500 #HAD *HA 0100..0200 *HA 0300..0400 *HA 0500 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX HA, HAD, HAR Clears the entire history extraction area Specifies history extraction area Indicates history extraction area EPSON VIII-49...
Page 164
ICE CONTROL SOFTWARE ICS62XX Format EPSON VIII-50 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 165
BREAK ENABLE MODE SET ... VIII-66 BSYN BREAK DISABLE & SYNC MODE SET ... VIII-66 BREAK TRACE MODE SET ... VIII-67 BRKSEL BREAK ADDRESS MODE SELECT ... VIII-68 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX EPSON VIII-51...
Break conditions canceled at address 100 and addresses 200 to 3FF (although break conditions were not set at addresses 201 to 2FF, no error occurs even with BAR setting) BA condition is displayed by BC command EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
* :W At the current settings, a break is generated when 1 is written to 2 #BDR ADDR ---: S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX A hyphen (-) is displayed when the BD condition is absent...
(one less than the current setting) Reads a previously set break condition When no setting modification is made, hitting the continues the operation to the next setting EPSON DEVELOPMENT TOOL REFERENCE MANUAL (With guidance) S1C62 FAMILY...
Page 169
BR condition. (2) Each model has a different RAM area, and XY settings in a BR command can be set to FFF. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX A BR condition is cleared by the BRR command...
RAM at address 70 is accessed, read/write data A, FD and FC are set, and Y register is 3E. (Valid for break during program loop.) The point at which the break is placed is masked by an asterisk (*) mark. EPSON DEVELOPMENT TOOL REFERENCE MANUAL (With guidance) S1C62 FAMILY...
Page 171
Therefore, a break will not occur when the instruction does not access data memory even if the PC and register values coincide. (3) Each model has a different RAM area, and XY settings in a BM command can be set to FFF. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX PC mask...
Enters break enable mode Enters break stop mode Enters real-time mode Reads after address break condition set Break condition confirmed Displays multiple executions of BA condition when addresses are not consecutive EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 173
* BREAK ENABLE MODE * BREAK STOP MODE * TIME COUNT MODE Note Although the break condition is canceled, the break mode (enable/disable, trace, stop, time/stop) is still operative. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX EPSON BRES VIII-59...
GO command is restarted. * Reset switch When the break condition and evaluation * Break switch board CPU executed cycle coincide, * ESC input a pulse is output to the SYNC pin. EPSON DEVELOPMENT TOOL REFERENCE MANUAL Comments S1C62 FAMILY...
Page 175
(B) Register contents are displayed in part when PC (next executed address) is stopped. (C) The execution time or executed number of steps set by TIM command are displayed in part. (Refer to the TIM command.) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX...
Page 176
Break enable set command Break stop mode set command Target and evaluation board is reset; run starts from reset address (0100) PC display is cyclic EPSON DEVELOPMENT TOOL REFERENCE MANUAL These settings are set at power on; default is command input S1C62 FAMILY...
(2) When the H command is input after executing this command, the message, TORY DATA* , is displayed. Therefore, the G command must be used to analyze history data. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX A=5 B=0 X=04F T=03F F=ID.C SP=13 A=5 B=0 X=04F Y=03F F=ID.C SP=13...
(3) At power on, the break enable mode is operative. Examples * BREAK ENABLE MODE #BSYN * BREAK DISABLE MODE * BREAK STOP MODE Note Refer to Section 2.3.2, "Break mode and break function", for details of break enable/disable functions. VIII-66 EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
* BREAK STOP MODE Note Refer to Section 2.3.2, "Break mode and break function", for details of break stop and trace modes. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX BREAK TRACE MODE SET Since the stop mode is operative at power on, the trace...
Page 182
Break is generated when break condition hits New break condition is set Pre-break condition remains Clear mode is set Break condition hits New break condition is set Pre-break condition is canceled After break condition remains EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 183
VERIFY DATA FILE ... VIII-71 WRITE PROGRAM FILE ... VIII-72 WRITE DATA FILE ... VIII-72 CONDITION LOAD ... VIII-73 CONDITION SAVE ... VIII-73 OPTLD READ HEXA DATA FILE ... VIII-74 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX EPSON VIII-69...
Page 184
ICS62XX program terminates. (For details, refer to Chapter 4.) VIII-70 C6200A0H.HEX file and C6200A0L.HEX file are loaded in the program memory WORKD. HEX file is loaded in the data memory , is displayed and the instruction EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 185
(2) "ESC" key is valid during error message display; "ESC" key input terminates the instruc- tion. (3) I/O memory, segment memory and unused area in data memory cannot be compared. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL VERIFY PROGRAM/DATA FILE C6200A0H.HEX and C6200A0L.HEX files and the program...
Page 186
(2) I/O memory, segment memory and unused area in data memory cannot be saved. VIII-72 Program memory is saved to C6200A0H.HEX and C6200A0L.HEX files. Data memory is saved to WORKD.HEX file. An error occurs if the file name exceeds seven characters. EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 187
(1) Notes (1), (2), (3), (4), (5), and (6) of page VIII-70 are applicable to these commands. (2) A file name of up to seven characters may be specified as <file name> for #CS, <file name>. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL CONDITION LOAD/SAVE Current ICE set conditions are saved to the TESTC.HEX file;...
Page 188
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 Example VIII-74 C2XXYYY.HEX files are loaded in the melody data memory. EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 189
3.5 ROM Command Group Format LOAD ROM PROGRAM ... VIII-76 VERIFY ROM PROGRAM ... VIII-77 ROM TYPE SELECT ... VIII-78 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX EPSON VIII-75...
Page 190
(2) When undefined code is detected, the ICS62XX program is terminated and control returns to the operating system. VIII-76 Error is generated because high and low ROM are unassembled Error generated because high side ROM is unassembled Contents of ROM are properly loaded EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 191
* NO ROM H * ADDR ROM:ICE 0100 FFF:FFC 0300 0FF:0FC * ESC * S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL VERIFY ROM PROGRAM When the results of the comparison are acceptable, the program execution is at waiting until ordering the next instruction...
Page 192
Setting changed to 27256 Setting other than 64, 128, 256 or 512 results in an error EPSON DEVELOPMENT TOOL REFERENCE MANUAL (With guidance) HIGH HIGH D0–D7 D0–D3 D0–D3 8000 iR0–iR11 FFFF 27512 Valid ($8000–$9FFF) S1C62 FAMILY...
Page 193
3.6 Control Command Group Format INITIALIZE TARGET CPU ... VIII-80 TIME OR STEP MODE SELECTION ... VIII-81 ON THE FLY MODE SET ... VIII-82 QUIT ... VIII-83 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX EPSON VIII-79...
Format Function Resets the evaluation board CPU. Resets the evaluation board CPU, but the ICE set conditions (break, etc.) are affected. Example VIII-80 The execution is at waiting until entering the next command EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Refer to Section 2.3.10, "Measurement during command execution", for more details on the Note time count and step count modes. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX Since the mode after power supply is the time count mode,...
Since the display mode is the default at power on, a command input toggles to the display off mode On-the-fly display mode is operative Displays fixed cycle of evaluation board CPU’s executed PC PC is not displayed EPSON DEVELOPMENT TOOL REFERENCE MANUAL (Toggle) S1C62 FAMILY...
Terminates the ICS62XX program and returns control to the operating system. Example B> B>ICS62XX ... Epson logo is displayed for about one second ... * ICE POWER ON RESET * * DIAGNOSTIC TEST OK * S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 198
ICE CONTROL SOFTWARE ICS62XX Format EPSON VIII-84 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 199
ICE CONTROL SOFTWARE ICS62XX 3.7 HELP Command Format EPSON S1C62 FAMILY VIII-85 DEVELOPMENT TOOL REFERENCE MANUAL...
Page 200
SET COMMAND BREAK & GO COMMAND FILE COMMAND ROM COMMAND CONTROL COMMAND ALL COMMAND DISPLAY BASIC COMMAND DISPLAY Error is generated if a value other than 1 to 8 is entered EPSON (With guidance) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 201
(7)#HS,addr (8)#HSW,addr (9)#HSR,addr (10)#HP (11)#CHK (12)#DXY (13)#CVD,addr1,addr2 coverage area display. (14)#HAD S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL (n=1 to 8) #CHK #DXY #CVD #HAD #HAR #HPS #CVR #RFD #VFD #WFD #CL #ROM #TIM #OTF #Q program code and mnemonic display.
Page 202
ICE. and display last break information. set break disable mode. set break enable mode. set and reset break trace made. (alternate) EPSON (With guidance) S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 203
(11)#BD (12)#BR (13)#BM (14)#BRES (15)#G or #G,addr (16)#T,addr,step (17)#CL,file (18)#CS,file (19)#I (20)#Q S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL (n=1 to 8) program load. program verify. program save. RAM data load. RAM data verity. RAM data save. program,RAM data,break condition load.
Page 204
A miss occurs by command input. Recovery procedure: Reenter the proper command. Error: No response after power on. Meaning: The ICE-to-HOST cable is disconnected on the host side. Recovery procedure: Connect the cable. VIII-90 EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Page 205
Two complements resulting from adding all bytes from "data volume bytes" to "final data byte" are expressed as hexadecimal values. • End mark: Required to mark the end of the hex file. S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ICE CONTROL SOFTWARE ICS62XX Data...
Page 207
MASK DATA CHECKER MDC62XX This part explains how to operate the MDC62XX Mask Data Checker for the S1C62 Family.
Page 209
4.3 System Error ... IX-4 5 PACK FILE CONFIGURATION _________________________________ IX-5 5.1 Program Data, Melody ROM Data and Scale ROM Data ... IX-6 5.2 Segment Data ... IX-6 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL MASK DATA CHECKER MDC62XX Contents EPSON...
(C28XYYYA.DOC) created by the user and creates the data file (C62XXYYY.PAn) for generating mask patterns. The user must send the file generated through this software tool to Seiko Epson. Moreover, MDC62XX has the capability to restore the generated data file (C62XXYYY.PA0) to the original file format (C2XXYYYH.HEX, C2XXYYYL.HEX, C2XXYYYF.DOC, C2XXYYYS.DOC and C28XYYYA.DOC).
Here, the user is prompted to select operation options. When creating mask data for submission to Seiko Epson, select "1"; when the mask data is to be split and restored to the original format (C2XXYYYH.HEX, C2XXYYYL.HEX, C2XXYYYF.DOC, C2XXYYYS.DOC and C28XYYYA.DOC), select "2".
Packing of data 3.2.2 When generating data for submission to Seiko Epson, selecting "1" in the above Section, "Starting MDC62XX" will prompt for the name of the file to be generated as follows: C2XXYYYH.HEX ------+ C2XXYYYL.HEX ------+ C2XXYYYF.DOC ------+------ C2XXYYY.PAn (PACK FILE) C2XXYYYS.DOC ------+...
10. The packed input format for the file name is wrong. The unpacked input format for the file name is wrong. Explanation The directory is full. Writing on the disk is failed. EPSON DEVELOPMENT TOOL REFERENCE MANUAL S1C62 FAMILY...
Melody Option Data End Mark Function Option Header Function Option Data End Mark Segment Option Header Segment Option Data End Mark S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL * E0C62XX MASK DATA VER 1.00 \ROM1 E0C62XXYYY PROGRAM ROM :100000000... :100010000... :00000001FF :100000000...
Segment memory high-order address Segment memory data bit Segment memory low-order address Segment memory high-order address Segment memory data bit Segment memory low-order address Segment memory high-order address SEG terminal number EPSON COM3 COM2 COM1 COM0 S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL...
Page 217
EPSON HONG KONG LTD. 20/F., Harbour Centre, 25 Harbour Road Wanchai, Hong Kong Phone: +852-2585-4600 Fax: +852-2827-4346 Telex: 65542 EPSCO HX EPSON TAIWAN TECHNOLOGY & TRADING LTD. 10F, No. 287, Nanking East Road, Sec. 3 Taipei Phone: 02-2717-7360 Fax: 02-2712-9164 Telex: 24444 EPSONTB HSINCHU OFFICE 13F-3, No.
Page 218
In pursuit of “Saving” Technology, 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
S1C62 Family Development Tool Reference Manual ELECTRONIC DEVICES MARKETING DIVISION EPSON Electronic Devices Website http://www.epson.co.jp/device/ First issue December, 1991 Printed April, 2001 in Japan...