background image

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> are collated.

(2) VFD: The contents of the emulation data memory (data RAM) and the hex file specified

in <file name> are collated.

Function

#VF,C6200A0

...

C6200A0H.HEX and C6200A0L.HEX files and the program

 ADDR  FD:ICE

memory are collated

 0100 FFF:FFC

...

The contents of the FD address and the memory are displayed

 0300 FFC:FFB

only when the collated data do not agree.

#VFD,DATA
 ADDR  FD:ICE
  001   1:3
 * ESC *

...

Display can be interrupted by "ESC" key input

#

Examples

(1) Notes (1), (3), (4) and (6) in page VIII-70 are applicable to these instructions.

(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.

Notes

Summary of Contents for S1C62 Family

Page 1: ...MF599 06 Development Tool Reference Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C62 Family ...

Page 2: ...ing made in accordance with this material will be free from any patent or copyright infringement of a third party This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from the Ministry of International Trade and Industry or other approval from...

Page 3: ...poses of explanation of the common content in each model of the S1C62 Family You should substitute the XXX parts for the various model names Please allow Seiko Epson to specify the YYY section for each customer Example When the development model is S1C6S460 and the YYY section is to be specified as 0A0 S1C6XXXX S1C6S460 CXXXYYY CS460A0 Reference Manual The peculiar content of each model device det...

Page 4: ......

Page 5: ...1C6N3B0 S1C62440 S1C624A0 S1C6S460 Previous No E0C6247 E0C6248 E0C6S48 E0C624C E0C6251 E0C6256 E0C6292 E0C6262 E0C6266 E0C6274 E0C6281 E0C6282 E0C62M2 E0C62T3 New No S1C62470 S1C62480 S1C6S480 S1C624C0 S1C62N51 S1C62560 S1C62920 S1C62N62 S1C62660 S1C62740 S1C62N81 S1C62N82 S1C62M20 S1C62T30 Comparison table between new and previous number of development tools Development tools for the S1C60 62 Fam...

Page 6: ......

Page 7: ...I 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 ...

Page 8: ......

Page 9: ... Development Tools S5U1C62xxxD I 1 1 2 Composition of the Hardware Tools I 1 2 DEVELOPMENTAL ENVIRONMENT_____________________________I 2 3 DEVELOPMENT FLOW ________________________________________I 2 4 INSTALLATION _______________________________________________I 4 5 DIFFERENCES FROM MODEL TO MODEL AND PRECAUTIONS ___I 5 6 TROUBLESHOOTING __________________________________________I 6 ...

Page 10: ......

Page 11: ...ion Generator FOG62XX Function option data preparation program 5 Segment Option Generator SOG62XX Note Segment option data preparation program 6 ICE Control Software ICS62XX ICE control program 7 Mask Data Checker MDC62XX Mask data preparation program Note The 3 Melody Assembler MLA628X are only set in the models S1C62N8X that have melody functions The 5 Segment Option Generator SOG62XX are only s...

Page 12: ...U1C62000A ICE Evaluation Board S5U1C62xxxE S1C62xxx Development Tool S5U1C62000H S5U1C62xxxD DMS6200 SOG62xx ASM62xx ICS62xx MLA628x MDC62xx FOG62xx RS 232C Fig 2 1 System configuration Note The S5U1C62xxxD system requires a host computer with a RAM capacity of about 140K bytes Since the ICE S5U1C62000H is connected to the host computer with a RS 232C serial interface adapter board for asynchronou...

Page 13: ... Melody HEX file C2XXYYYS HEX Segment option HEX file C2XXYYYF HEX Function option HEX file Determination of hardware specifications Debugging with ICE Control Software ICS62XX Segment option ROM two Function option ROM one C2XXYYYS DOC C2XXYYYF DOC Segment option document file Function option document file C28XYYY MPR C2XXYYY PRN Assembly list Melody assembly list C28XYYYA DOC Melody document fil...

Page 14: ...sing the installer Setup exe on the CD ROM Refer to the S5U1C62000A Manual for how to install the S5U1C62xxxD tools Note The DMS6200 configures a menu from files that are located in the current directory Therefore do not move the development tools from the directory in which the DMS6200 exists To invoke an editor DOS version or other programs from the DMS6200 copy those executable files to the dir...

Page 15: ... MLA628X This is not included in the software tools for the models Other than S1C62N8X that do not have the melody function Please be aware of the following points in setting the host system 1 The S5U1C62xxxD system requires a host computer with a RAM capacity of about 140K bytes 2 Since the ICE is connected to the host computer with a RS 232C serial interface adapter board for asynchronous commun...

Page 16: ...PC DOS ICS62XXW EXE Is the DOS version correct PC DOS Ver 2 1 or later Is the DIP switches that set the baud rate of the main ICE unit set correctly Is the fuse of the ICE cut off Check the following and remedy if necessary Are connectors F1 and F5 connected to the evaluation board correctly Is the target board power short circuiting The wrong version of ICE is being used Use the latest version Th...

Page 17: ...CONFIG SYS Check the following and remedy if necessary Has the OPTLD command of the ICE been executed When the ICE is connected to the evaluation board Is the MELODY ROM installed When the evaluation board is used independently Is the attack bit of the melody data set to 1 Check the following and remedy if necessary Has the EPROM for F HEX and S HEX been replaced by the EPROM for the target Is the...

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 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: ...lable in models offering the segment option 2 The MLA628X C28XYYY M and C28XYYYA are only available in models offering the melody function When models that do not have the above functions are used disregard the respective program names and file names indicated in the manual Refer to the S5U1C62xxxD Manual for the software tools included in the S5U1C62xxxD 2 DMS6200 OUTLINE The DMS6200 Development ...

Page 24: ...S OOO OOO NNNN NNN EEE PPP PPP SSS SSS OOO OOO NNNNN NNN EEE PPP PPP SSS OOO OOO NNNNNN NNN EEEEEEEEEE PPPPPPPPPP SSSSSS OOO OOO NNN NNN NNN EEEEEEEEEE PPPPPPPP SSSS OOO OOO NNN NNNNNN EEE PPP SSS OOO OOO NNN NNNNN EEE PPP SSS SSS OOO OOO NNN NNNN EEEEEEEEEE PPP SSSS SSS OOO OOO NNN NNN EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN C Copyright 1991 SEIKO EPSON CORP STRIKE ANY KEY 2 Press any key and the ...

Page 25: ...1991 1 C2XXYYY DAT 2 C28XYYY MDT 3 C28XYYY MPR 4 C2XXYYY PRN 5 C2XXYYY SEG 6 C28XYYYA DOC 7 C28XYYYA HEX 8 C2XXYYYF DOC 9 C2XXYYYF HEX 10 C2XXYYYH HEX 11 C2XXYYYL HEX 12 C2XXYYYS DOC 13 C2XXYYYS HEX 14 C62XXYYY PA0 Input Number 1 Edit ASM62XX C2XXYYY The above operation will activate the ASM62XX The MLA628X will also activate with the same operation When the source file is in another file or direc...

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: ...omment field III 7 4 3 Index III 7 4 3 1 Label III 7 4 3 2 Symbol III 8 4 4 Constant and Operational Expression III 8 4 4 1 Numeric constant III 8 4 4 2 Character constant III 8 4 4 3 Operator III 9 4 4 4 Location counter III 10 4 5 Pseudo Instructions III 11 4 5 1 Data definition pseudo instructions III 11 4 5 2 Memory setting pseudo instructions III 12 4 5 3 Assembler control pseudo instructions...

Page 30: ......

Page 31: ...truction 00H number of page 1 BANK pseudo instruction 1 bank configuration model 0H only 2 bank configuration model 0H and 1H PSET instruction 00H number of page 1 When a specification beyond this valid specification range is made to the ASM62XX an error is pro duced RAM area The RAM capacity varies depending on the model The number of pages 256 words page is determined according to the RAM capaci...

Page 32: ... Create the source file A ASM62XX C2XXYYY Execute the cross assembler C2XXYYY DAT C2XXYYY PRN C2XXYYYL HEX C2XXYYYH HEX Error message Error message Assembly listing file Object file 2 2 ASM62XX Input Output Files ASM62XX reads a source file assembles it and outputs object files and an assembly listing file Source file C2XXYYY DAT This is a source program file produced using an editor such as EDLIN...

Page 33: ...ers s h and p are options for specifying the file I O drives and can be omitted s Specifies the drive from which the source file is to be input A character from A to P can be specified If is specified the source file in the current drive directory is input Even if a drive name is prefixed to the source file name this option is effective h Specifies the drive to which the object file HEX is to be o...

Page 34: ... BYTE OBJECT FILE C2XXYYYL HEX LOW BYTE OBJECT FILE C2XXYYY PRN ASSEMBLY LIST FILE Example 1 Basic assembly example A ASM62XX C2XXYYY The source file C2XXYYY DAT is input from drive A and the object files C2XXYYYH HEX and C2XXYYYL HEX and the assembly listing file C2XXYYY PRN are output to drive A The source file C2XXYYY DAT is input from drive B and the object files C2XXYYYH HEX and C2XXYYYL HEX ...

Page 35: ...en correctly included in the source file Note When auto page set is selected there are restricted items related to source programming See 4 3 1 Label 3 3 Generating a Cross Reference Table After the auto page set function has been selected the following message is output prompting the user to select cross reference table generation DO YOU NEED CROSS REFERENCE TABLE Y N Press the Y key if generatin...

Page 36: ...d comment Up to 132 characters can be used for one statement Fields must be delimited by one or more blanks or tabs The label and comment fields are optional Blank lines consisting only of a carriage return CR code are also allowed Although each statement and field excluding the label field can begin at any desired column The program becomes easier to understand if the heads of corresponding field...

Page 37: ...code at the end of the statement is considered to be the comment field Statements consisting of only a comment field are also allowed When a comment spans multiple lines a semicolon must be written at the beginning of each line 4 3 Index ASM62XX allows values to be referenced by their indexes Refer to Section 4 2 1 Label field for the restrictions on index descriptions 4 3 1 Label A label is an in...

Page 38: ...number of significant digits an error occurs Example ABC EQU 0FFFFH ABC is defined as 1FFFH LD A 65535 An error occurs because it exceeds the significant digit count 4 bits The default radix is decimal The radix description formats are as follows Binary numeral A numeral suffixed with B such as 1010B 10 or 01100100B 100 Octal numeral A numeral suffixed with O or Q such as 012O 10 or 144Q 100 Decim...

Page 39: ...iplication division bit shifting and bit separation a Monadic positive indicates the subsequent value is positive a Monadic negative indicates the subsequent value is negative a b Addition unsigned a b Subtraction unsigned a b Multiplication unsigned a b Division unsigned a_MOD_b Remainder of a b a_SHL_b Shifts a b bits to the left b7 b1 0 Example 00000011B SHL 2 00001100B a_SHR_b Shifts a b bits ...

Page 40: ...ty of operators Operator Priority Low OR XOR AND EQ NE LT LE GT GE addition subtraction MOD SHL SHR HIGH LOW NOT monadic negative monadic positive High Examples Operational expressions ABC 1 BCD 3 LD A BCD ABC 1 A register 6 LD A ABC LT BCD A register 0FH 1111B OR B ABC SHL BCD Set bit 3 in B register OR B 1000B AND B ABC SHL BCD XOR 0FH Reset bit 3 in B register AND B 0111B 4 4 4 Location counter...

Page 41: ...a in program memory EQU Equate Symbol _EQU_ Expression To define a symbol The EQU pseudo instruction defines symbol written in the label field as having the value of expression written in the operand field If a value greater than 13 bits is specified in expression bit 14 and subsequent high order bits are ignored This definition must be made before the symbol is referenced in the program A U error...

Page 42: ...ation mark indicating a warning and ignores all subsequent statements until the next correct statement This should be taken into account When using the auto page set function the space for insertion of the PSET pseudo instruction must be allocated in each page ORG Origin ORG_ Expression To set the location counter The ORG pseudo instruction sets the location counter to the value of expression If t...

Page 43: ...PCP The PAGE pseudo instruction sets the value of expression in the page counter PCP and sets the step counter PCS to 00H The PAGE pseudo instruction can be written at multiple locations in the program However it cannot be used to specify the current page excluding the specification in step 00 or a previous page If it is used to specify the current page or a previous page an exclamation mark indic...

Page 44: ...20H 0 3 F0H Section 48 A SECTION pseudo instruction written in the last section of the page not only clears the step counter but also updates the page counter so a new page need not be specified A label can be written before the SECTION pseudo instruction but it cannot be referenced because it is not cataloged in the label table In this case write the label in the statement following the SECTION p...

Page 45: ...her a macro or a subrou tine is more appropriate 4 6 1 Macro instructions Example Source file JPM LABEL2 PAGE 2 LABEL2 LD A 0 Assembly list file after expansion JPM LABEL2 PSET LABEL2 JP LABEL2 PAGE 2 LABEL2 LD A 0 ASM62XX provides the macro instructions listed below so that branching between pages is possible without specifying the destination page using the PSET instruction Character string ps r...

Page 46: ...separated by commas Be sure to write the ENDM statement at the end of a macro definition Example This macro loads data from the memory location specified by ADDR into the A or B register specified by REG Sample call LDM A 10H LDM MACRO REG ADDR LD X ADDR LD REG MX ENDM These dummy arguments are replaced by actual arguments when the macro is expanded LOCAL If a macro having a label is expanded at m...

Page 47: ...ht If the number of actual argu ments is greater than the number of dummy arguments the excess actual arguments are ignored If the number of actual arguments is less than the number of dummy arguments the excess dummy arguments are replaced by nulls 00H Any label can be written before the macro name Example Source file ORG 0200H CTAS EQU 00H CTAE EQU 02H CAFSET EQU 0101B CAFRST EQU 0000B CTBS EQU ...

Page 48: ...E 13 LOCAL LOOP1 14 SET F FSET 15 RST F FRST 16 LD A 0 17 LD X CTS 18 LOOP1 ACPX MX A 19 CP XL CTE 20 JP NZ LOOP1 21 ENDM 22 23 COUNTA COUNT CAFSET CAFRST CTAS CTAE 24 0 2 00 F45 SET F CAFSET 25 0 2 01 F50 RST F CAFRST 26 0 2 02 E00 LD A 0 27 0 2 03 B00 LD X CTAS 28 0 2 04 F28 0001 ACPX MX A 29 0 2 05 A52 CP XL CTAE 30 0 2 06 704 JP NZ 0001 31 0 2 07 FDF RET 32 33 COUNTB COUNT CBFSET CBFRST CTBS C...

Page 49: ... be evaluated P Phase Error The same label or symbol was defined more than once R Range Error The location counter value exceeded the upper limit of the program memory or a location exceeding the upper limit was specified A value greater than that which the number of significant digits of the operand will accommodate was specified Warning Memory areas overlapped because of a PAGE or ORG pseudo ins...

Page 50: ... 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 RCF SCPX MX B JP C NEXT ERROR EQU 0CH 2 ERROR EQU 4 ERROR LD A 3 SBD MX A INC Z JP UNDEF ORG 11100000B NOP5 SECTION ORG ABC 0FH NOP7 NOP7 END ...

Page 51: ... NNNNNN EEE PPP SSS OOO OOO NNN NNNNN EEE PPP SSS SSS OOO OOO NNN NNNN EEEEEEEEEE PPP SSSS SSS OOO OOO NNN NNN EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN C COPYRIGHT 1991 SEIKO EPSON CORP SOURCE FILE NAME IS C2XXYYY DAT THIS SOFTWARE MAKES NEXT FILES C2XXYYYH HEX HIGH BYTE OBJECT FILE C2XXYYYL HEX LOW BYTE OBJECT FILE C2XXYYY PRN ASSEMBLY LIST FILE DO YOU NEED AUTO PAGE SET Y N N DO YOU NEED CROSS REF...

Page 52: ...NEXT ADD B TEN 15 0 0 E1 EA6 LD MX XH 16 0 0 E2 C85 AND A 101B 17 0 0 E3 F1C FAN MY A 18 0 0 E4 F5E RCF 19 0 0 E5 F39 SCPX MX B 20 0 0 E6 2E0 JP C NEXT 21 22 ERROR M 23 000A EQU 0CH 2 P 24 0004 ERROR EQU 4 P 25 0 0 E7 E03 ERROR LD A 3 S 26 0 0 E8 FFF SBD MX A O 27 0 0 E9 FFF INC Z U 28 0 0 EA 000 JP UNDEF 29 ORG 11100000B 30 NOP5 31 SECTION 32 ORG ABC 0FH 33 0 0 FF FFF NOP7 R 34 0 1 00 NOP7 35 END...

Page 53: ...FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1D 1003F000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0D 00000001FF A TYPE C2XX0A0H HEX 100000000E0B080EFFFFFFFFFFFFFFFFFFFFFFFFCD 10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0 10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0 10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0 10006000FFFFFFFFFFFFFFFFFFFFFFFFFFF...

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: ...8X Input Output Files IV 1 3 STARTING MLA628X__________________________________________ IV 2 4 FORMAT OF SOURCE FILE ___________________________________ IV 4 4 1 Source File Name IV 4 4 2 Statement line IV 4 5 PSEUDO INSTRUCTIONS _____________________________________ IV 6 5 1 Address Setting Pseudo Instruction IV 6 5 2 Option Setting Pseudo Instructions IV 6 6 ERROR MESSAGES ______________________...

Page 58: ......

Page 59: ...y Hex file Melody document file for evaluation board use Fig 2 1 1 MLA628X execution flow 2 2 MLA628X Input Output Files MLA628X inputs the source file and after assembly it outputs the melody HEX file assembly list file and document file Source file C28XYYY MDT This is a source program file of the melody data Generate the source file using an editor such as EDLIN while referencing the Chapter 3 M...

Page 60: ... on the current drive directory is input The s specification is valid when the drive name is input before the source filename h Specifies the drive from A through P that outputs the melody HEX file and melody document file When is specified output is made to the current drive directory When Z is specified only assembly is performed and the melody HEX file and melody document file are not created p...

Page 61: ...N 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 STRIKE ANY KEY A MLA628X C28X0A0 H MLA628X MELODY ASSEMBLER Ver 3 10 EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO NNN NNN EEEEEEEEEE PPPPPPPPPP SSS SSSS OOO OOO NNNN NNN EEE PPP PPP SSS SSS OOO OOO NNNNN NNN EEE ...

Page 62: ... 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 Note Scale End bit comment Example TEMPC0 5 TEMPC1 8 OCTAVE 32 1 1 C3 0 6 A4 1 1st Melody Attack field Note field Scale field End bit field Comment field The statement is made up of the five fields attack field note field scale field end bit field and comment...

Page 63: ... End data Becomes 0 when 0 is entered or no entry is made otherwise 1 Scale address data Attack data 0 or 1 written in the attack field becomes the attack data Scale Scale Data S7 S6 S5 S4 S3 S2 S1 S0 0 0 0 0 0 1 0 0 04 C3 0 0 0 1 0 0 1 0 12 C3 0 0 1 0 0 0 0 0 20 D3 0 0 1 0 1 1 1 1 2F D3 0 0 1 1 1 0 1 1 3B E3 0 1 0 0 0 1 0 0 44 F3 0 1 0 1 0 0 0 1 51 F3 0 1 0 1 1 0 1 1 5B G3 0 1 1 0 0 1 0 1 65 G3 0...

Page 64: ... R error results 5 2 Option Setting Pseudo Instructions Tempo selection The 2 types of tempo may be selected from among 16 types by using the option setting pseudo instructions TEMPC0 n and TEMPC1 n The option setting pseudo instructions and the corresponding tempo generated are shown in Table 5 2 1 The 2 types of tempo for TEMPC0 and TEMPC1 are selected by specifying n The proper use of the 2 typ...

Page 65: ...olumn of the statement that generated an error When multiple errors have been generated the symbol for the error of highest priority is output The following error symbols are shown in order from highest priority Error symbol errors that can be assembled S Syntax error Major syntax error Error in scale field Exceeded scale range C3 C6 Error in note field Exceeded note range 1 8 Error in attack fiel...

Page 66: ...B4 0 6 A4 1 1st Melody ORG 10H 1 2 C3 0 3 45 0 7 E3 1 6 97 0 5 C6 0 7 A5 1 3 42 1 2nd Melody Example of Assembly List LISTING OF MLA6282 C282YYY MPR 1991 6 01 14 25 PAGE 1 Time ADRS CODE SOURCE Date File specifier of melody assembly list TEMPC0 5 TEMPC1 8 OCTAVE 32 00 3C0 1 1 C3 01 102 0 4 D4 02 104 0 4 F4 03 186 0 2 F5 04 148 0 3 G5 05 24A 1 7 A4 06 2CC 1 5 B4 07 08F 0 6 A4 1 1st Melody ORG 10H 1...

Page 67: ...FFC0 10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0 10006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0 10007000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90 10008000C0020486484ACC8FFFFFFFFFFFFFFFFF3F 1000900090525496D85A5DFFFFFFFFFFFFFFFFFF0E 1000A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60 1000B000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF50 1000C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF40 1000D000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF30 1000E000...

Page 68: ...02A 0 2 C3 11 06C 0 3 17 12 0CE 0 7 E3 13 1B0 1 6 97 14 092 0 5 C6 15 0D4 0 7 A5 16 056 0 3 E3 17 078 0 4 G5 18 09A 0 5 G4 19 07C 0 4 G4 O 1A FFF 0 3 A4 1B 15F 1 3 RR 1 2nd Melody 4E 05A 0 3 G4 4F 05A 0 3 G4 R 50 FFF 0 3 G4 S 51 FFF 4 3 G4 R 52 FFF 0 3 G4 1 7 ERROR S DETECTED 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 C...

Page 69: ...FFFFFFFFFFFFFFFFFFFFFFFFFB0 10006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0 10007000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90 00000001FF 10000000C0020486484ACC8FFFFFFFFFFFFFFFFFBF 1000100090525496D85A5DFFFFFFFFFFFFFFFFFF8E 10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0 10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 10005000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB0 10006000FFFFFFFFF...

Page 70: ......

Page 71: ...V 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 72: ......

Page 73: ... of Function Option Generator V 1 2 2 FOG62XX Input Output Files V 1 3 OPTION LIST GENERATION___________________________________ V 2 3 1 Option List Recording Procedure V 2 3 2 Option List Example V 2 4 FOG62XX OPERATION PROCEDURE ___________________________ V 3 4 1 Starting FOG62XX V 3 4 2 Setting New Function Options V 4 4 3 Modifying Function Option Settings V 5 4 4 Selecting Function Options V...

Page 74: ......

Page 75: ...he evaluation board The program name of FOG62XX is as follows FOG62XX EXE Figure 2 1 1 shows the FOG62XX execution flow Fig 2 1 1 FOG62XX execution flow 2 2 FOG62XX Input Output Files Function options can be interactively selected so an input file need not be generated Select the hardware options that meet the specifications of the target system and record them in the option list paper for recordi...

Page 76: ...st Refer to the S5U1C62xxxD Manual for the option list of each model 1 DEVICE TYPE 1 E0C62XX 2 E0C62LXX 2 MULTIPLE KEY ENTRY RESET COMBINATION 1 Not Use 2 Use K00 K01 3 Use K00 K01 K02 4 Use K00 K01 K02 K03 3 INTERRUPT NOISE REJECTOR K00 K03 1 Use 2 Not Use 4 INPUT PORT PULL DOWN RESISTOR K00 1 With Resistor 2 Gate Direct K01 1 With Resistor 2 Gate Direct K02 1 With Resistor 2 Gate Direct K03 1 Wi...

Page 77: ...OOO NNN NNNNN EEE PPP SSS SSS OOO OOO NNN NNNN EEEEEEEEEE PPP SSSS SSS OOO OOO NNN NNN EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN C COPYRIGHT 1991 SEIKO EPSON CORP THIS SOFTWARE MAKES NEXT FILES C2XXYYYF HEX FUNCTION OPTION HEX FILE C2XXYYYF DOC FUNCTION OPTION DOCUMENT FILE STRIKE ANY KEY For STRIKE ANY KEY press any key to advance the program execution To suspend execution press the CTRL and C keys ...

Page 78: ... and return to the DOS command level 4 2 Setting New Function Options This section explains how to set new function options OPERATION SELECT MENU 1 INPUT NEW FILE 2 EDIT FILE 3 RETURN TO DOS PLEASE SELECT NO 1 1 PLEASE INPUT FILE NAME C2XXYYY 2 PLEASE INPUT USER S NAME SEIKO EPSON CORP 3 PLEASE INPUT ANY COMMENT ONE LINE IS 50 CHR TOKYO DESIGN CENTER 4 421 8 HINO HINO SHI TOKYO 191 JAPAN 1 PLEASE ...

Page 79: ...ELECT MENU 1 INPUT NEW FILE 2 EDIT FILE 3 RETURN TO DOS PLEASE SELECT NO 2 1 SOURCE FILE S C2XX0A0 C2XX0B0 C2XX0C0 2 PLEASE INPUT FILE NAME C2XXYYY 3 PLEASE INPUT USER S NAME 4 PLEASE INPUT ANY COMMENT ONE LINE IS 50 CHR 5 PLEASE INPUT EDIT NO 4 6 1 PLEASE SELECT NO Select 2 EDIT FILE on the operation selection menu 2 SOURCE FILE S Will display the function option document files on the current dri...

Page 80: ...lection is done interactively For new settings set Options 1 to last sequentially to modify settings the specified option number may be set directly OPTION NO 3 MULTIPLE KEY ENTRY RESET COMBINATION 1 Not Use 2 Use K00 K01 3 Use K00 K01 K02 4 Use K00 K01 K02 K03 PLEASE SELECT NO 1 2 COMBINATION 2 Use K00 K01 SELECTED OPTION NO 4 INTERRUPT NOISE REJECTOR K00 K03 1 Use 2 Not Use PLEASE SELECT NO 1 B ...

Page 81: ...he option ROM selection menu displayed when Y is entered in Step 1 select the EPROM to be used for setting evaluation board options This menu is not displayed when N is entered in Step 1 One EPROM is required for setting function options 27C128 is selected in the above example When the above operation is completed FOG62XX generates files If no error is committed while setting segment options the f...

Page 82: ......

Page 83: ...VI 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 ...

Page 84: ......

Page 85: ...low VI 1 2 2 SOG62XX Input Output Files VI 2 3 OPTION LIST GENERATION___________________________________ VI 3 3 1 Example of Option List VI 3 3 2 Segment Ports Output Specifications VI 3 4 SOG62XX OPERATION PROCEDURE ___________________________ VI 4 4 1 Creating Segment Option Source File VI 4 4 2 Starting SOG62XX VI 6 4 3 Input File Selection VI 7 4 4 HEX File Generation and EPROM Selection VI 8 ...

Page 86: ......

Page 87: ... options By modifying the mask patterns of the S1C62XXX according to the selected options the system can be customized to meet the specifications of the target system The SOG62XX Segment Option Generator hereinafter called SOG62XX is a software tool for generating data files used to generate mask patterns From the data file created with SOG62XX the S1C62XXX mask pattern is automatically generated ...

Page 88: ...s is a data file used to generate the mask patterns of the segment decoder and segment output port Segment option HEX file C2XXYYYS HEX This is a segment option file for evaluation board Intel hexa format Evaluation board segment option ROMs are generated by writing this file with the ROM writer Remarks File name YYY is specified for each customer by Seiko Epson Combine the segment option document...

Page 89: ...elect segment output when used as regular output port select DC output When DC output is selected either complementary output or Pch open drain Nch open drain is set depending on the model used may further be selected However for segment output ports that will not be used select segment output When segment output is selected The segment output port has a segment decoder built in and the data bit o...

Page 90: ...aware of the fact that the number of output ports and the display memory address may vary depending on the model C2XXYYY SEG LCD SEGMENT DECODE TABLE Comment 0 901 900 932 A20 S 1st DIGIT 1 912 911 910 923 S 2 913 920 921 922 S 3 A00 902 930 931 S 4 AE0 C DC OUTPUT 5 AF0 C Segment memory SEG ports Output Comment correspondence data specification data Comment A statement beginning with a semicolon ...

Page 91: ... specification selection data This data is used to specify whether the SEG port will be used as a segment output port a DC comple mentary output port or a DC open drain output port Write data after inserting one or more blanks or a tab after the segment memory SEG ports correspond ence data S Segment output C DC complementary output P DC Pch open drain output N DC Nch open drain output The SEG por...

Page 92: ... NNN NNNNNN EEE PPP SSS OOO OOO NNN NNNNN EEE PPP SSS SSS OOO OOO NNN NNNN EEEEEEEEEE PPP SSSS SSS OOO OOO NNN NNN EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN C COPYRIGHT 1991 SEIKO EPSON CORP SEGMENT OPTION SOURCE FILE NAME IS C2XXYYY SEG THIS SOFTWARE MAKES NEXT FILES C2XXYYYS HEX SEGMENT OPTION HEX FILE C2XXYYYS DOC SEGMENT OPTION DOCUMENT FILE STRIKE ANY KEY For STRIKE ANY KEY press any key to adva...

Page 93: ...If the specified file name is not found in the current drive an error message like the one below is output prompting entry of another file name Example PLEASE INPUT SEGMENT SOURCE FILE NAME C2XX0N0 SEGMENT OPTION SOURCE FILE IS NOT FOUND H option not use Enter the segment option document file name Do not enter the extended part of the file name If the specified file name is not found in the curren...

Page 94: ...his menu is not displayed 2 PLEASE SELECT NO For the option ROM selection menu displayed when Y is entered in Step 1 select the EPROM to be used for setting evaluation board options This menu is not displayed when N is entered in Step 1 27C128 is selected in the above example When the above operation is completed SOG62XX generates files If no error is committed while setting segment options the fo...

Page 95: ...Y SOURCE FILE ERROR S If one or more errors are detected error symbols are output in column 0 and the source lists containing the errors are output in subsequent columns The following four error symbols are used for SOG62XX S Syntax error N Segment number selection error R RAM address selection error D Duplication error The priority order is S N R and D Each type of error is explained here S Synta...

Page 96: ... may occur after the above error are corrected If an error occurs the displayed message can be checked by referencing the segment option document file Correct the segment option source file by comparing it with the option list then rerun the program The following is an example of the segment option document file when some errors occurred LINE SOURCE STATEMENT 1 0 900 901 902 903 S 2 1 910 911 912 ...

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: ...w VII 3 4 3 Under Top Cover VII 5 4 4 Front Panel VII 5 4 5 Rear Panel VII 6 4 6 Under Bottom Cover VII 6 5 CABLE CONNECTION ________________________________________VII 7 5 1 Connection to ICE S5U1C62000H VII 7 5 2 Power Cable Connection VII 7 5 3 Connection to Target System VII 7 6 OPERATION METHOD OF S5U1C62XXXE _______________________VII 8 6 1 Preparation VII 8 6 1 1 Creation of target system V...

Page 100: ......

Page 101: ...ted by writing application program and option data created by the option generator into EPROM and installing it in the S5U1C62xxxE Debugging and CPU monitoring can be done using the S5U1C62xxxE operation switches and LED indica tors therefore debugging is possible with the S5U1C62xxxE alone In addition the S5U1C62xxxE can interface with the ICE S5U1C62000H in circuit emulator and so perform a high...

Page 102: ... functions between the S5U1C62xxxE and the actual IC I O differences The response time has been changed by the differences in logic level 5 V for the S5U1C62xxxE output drive capability and pull down up resistance When creating key scan routines especially pay attention to the response time LCD differences The LCD contrast is adjusted by the VADJ control However the contrast level of each actual I...

Page 103: ...nts of RAM the A B X and Y registers the stack pointers and the flags may be displayed on the LED indicators during a break Interface with ICE The S5U1C62xxxE can interface with the ICE so that a higher level debugging environment may be established Setting hardware options by installing function option and segment option ROMs Hardware options i e I O ports and segments can be specified by writing...

Page 104: ...ressed during a break the instruction step at the break address is executed and the program breaks again Thus the program can be executed step by step LEDs The internal state of the CPU is indicated by the LEDs An LED lit indicates 1 an LED not lit indicates 0 RAM 3210 The contents of the RAM address which are fixed by the RAM ADDRESS switch are displayed IR BA9876543210 The instruction at the cur...

Page 105: ...5U1C62xxxE has completed configuration at power on and is ready for debugging If this LED is not lit several seconds after power on switch the power off and then on again F HEX ROM sockets This is the IC socket into which the ROM F HEX is inserted This ROM includes the function options generated by the function option generator FOG62XX LED and CHK pin LEDs that display the value 1 or 0 of the spec...

Page 106: ... should be in direct current of 5 V for 3 A or more Note Be sure to disconnect external power source before connection with ICE because power is supplied from ICE when you connect S5U1C62xxxE to ICE Fig 4 5 1 Rear panel FUSE DC IN 5 V POWER ON OFF 1 0 DC INPUT GND 5 V 4 6 Under Bottom Cover Position of pin 1 S HEX S HEX Under Bottom Cover ROM sockets ROM sockets This is the IC sockets into which t...

Page 107: ...E is connected to the ICE 5 2 Power Cable Connection When using the S5U1C62xxxE on its own it must be supplied with power 5 V DC 3 A or more from an external source through the power cable When the S5U1C62xxxE is connected to the ICE power is supplied by the ICE therefore the power cable is not necessary Disconnect Connect to the power connector of the S5U1C62xxxE Connect to the external power sup...

Page 108: ...L HEX of the machine code are output two ROMs are created Insert H HEX into socket H and L HEX into socket L on the top panel These ROMs are not necessary when connecting the S5U1C62xxxE to the ICE Function option ROM one The function option ROM is used to specify function options such as I O ports Create the option ROM from the function option HEX file C2XXYYYF HEX output by the function option g...

Page 109: ...been turned on do the following 1 Turn the POWER switch of the S5U1C62xxxE off 2 Confirm that the ROMs have been installed properly and the cables connected properly 3 Check the fuse 4 Turn the POWER switch of the S5U1C62xxxE on If the DONE LED still does not light do a self diagnosis For the self diagnosis method refer to the S5U1C62xxxE Manual 6 2 2 Debugging When the S5U1C62xxxE is used alone i...

Page 110: ...e top cover of the S5U1C62xxxE lights after several seconds to indicate that debugging may proceed If the DONE LED is still off 10 seconds or more after the POWER switch has been turned on do the following 1 Turn the POWER switch of the ICE off 2 Confirm that the circuit breaker of the ICE is on 3 Confirm that the ROMs have been installed properly and the cables connected properly 4 Turn the POWER...

Page 111: ...ROL 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 112: ......

Page 113: ...ction VIII 10 2 3 3 SYNC pin and HALT pin output VIII 12 2 3 4 Display during run mode and during break VIII 12 2 3 5 Break assigning commands VIII 13 2 3 6 Target interrupt and break VIII 14 2 3 7 History function VIII 14 2 3 8 Break delay function VIII 15 2 3 9 Coverage function VIII 15 2 3 10 Measurement during command execution VIII 16 2 3 11 Self diagnostic function VIII 16 2 3 12 Starting th...

Page 114: ...and VIII 60 T command VIII 63 U command VIII 65 BE BSYN commands VIII 66 BT command VIII 67 BRKSEL command VIII 68 3 4 File Command Group VIII 69 RF RFD commands VIII 70 VF VFD commands VIII 71 WF WFD commands VIII 72 CL CS commands VIII 73 OPTLD command VIII 74 3 5 ROM Command Group VIII 75 RP command VIII 76 VP command VIII 77 ROM command VIII 78 3 6 Control Command Group VIII 79 I command VIII ...

Page 115: ...the final ROM address will be errors RAM area The RAM capacity and area used will vary depending on the model ICE command specifications that exceed the final RAM address and specifications for unused area will be errors 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 t...

Page 116: ...mputers cross assemblers etc Debug procedure with ICE evaluation board target and peripheral devices connected Fig 2 1 1 Development flow 2 1 1 Description A description of the ICE follows 1 The ICE operates by connecting to a general purpose personal computer IBM PC XT PC AT The debugging environment is constructed by the user s personal computer acting as the host system 2 High performance emula...

Page 117: ... or after the hit Collects history information within the specified program area Searches for history information Target program is run in real time at frequencies up to 4 MHz Emulation run in real time up to approx 425 msec or step number count 1 2 3 ICE packaged target program memory is referenced modified or dumped Target program memory mapped I O is referenced or modified Internal CPU register...

Page 118: ...of T a n Sets Break at program address a Breakpoint is canceled Break condition is set for data RAM Breakpoint is canceled Break condition is set for evaluation board CPU internal registers Breakpoint is canceled Combined break conditions set for program data RAM address and registers Cancel combined break conditions for program data ROM address and registers All break conditions canceled Break co...

Page 119: ...ves and indicates the history information which executed a program address a Retrieves and indicates the history information which wrote or read the data area address a Save contents of memory to program file Save contents of memory to data file Load ICE set condition from file Save ICE set condition to file Load HEXA data from file Terminate ICE and return to operating system control Display ICE ...

Page 120: ... Clears coverage information Displays contents of addresses a1 to a2 in the data area Displays contents of addresses a1 to a2 in the program area Displays evaluation board CPU internal registers Displays X Y and MX MY Sets d to addresses a1 to a2 in the data area Sets d to addresses a1 to a2 in the program area Executes the program from the a address Displays history data for pointers 1 and 2 Sets...

Page 121: ...addresses a1 to a2 to address a3 and after Load HEXA data from file Select on the fly display Terminate ICE and return to operating system control Move program file to memory Move data file to memory Select ROM type Move ROM contents to program memory Write data from address a of the data area Write data from address a of the program area Set evaluation board CPU internal registers Display X Y and...

Page 122: ...n the S5U1C62000H Manual 3 Power ON Switch ON the power supplies for the personal computer and the ICE in any order 2 2 1 HOST settings The ICE is connected to a general purpose personal computer for operation The ICS62XX system program has an approximately 140KB capacity and the personal computer must be set to proper operating parameters for the ICS62XX to operate An example follows Program Capa...

Page 123: ...gs Starting the ICS62XX 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...

Page 124: ...n mode and is analyzed by the ICE control processor in the set up mode The break control portion has the functions which check the evaluation board CPU bus condition whether it is at a break point or not and will stop the execution at the break point Breaking at CPU register values is also possible in real time The ICE control processor monitors the evaluation board CPU on the target monitor durin...

Page 125: ...es and break types 1 2 3 4 Break enable break stop Break enable break trace Break disable break stop Break disable break trace Reset switch Break switch ESC key Break instruction Reset switch Break switch ESC key Reset switch Break switch ESC key ____ Break mode Break method Description Item Normal use mode Start up mode at power on Evaluation board CPU runs in real time by entering GO command aft...

Page 126: ...r HALT mode line feed and HALT is displayed PC 0200 HALT is canceled operation is restarted and PC is redisplayed Note HALT indicates execution of the HALT or SLP instruction When the printer is online and started the PC values are printed in succession PC is not displayed during on the fly inhibit mode During a break the cause of the break post break PC the next executed program address the conte...

Page 127: ...he following settings address 10 data mask R W W A break will occur after execution of the memory access instruction which equals the set conditions The break point can be set to one point through these settings 3 Set break by register value Set by BR command When the register values of the evaluation board CPU coincide with the set break values a break is initiated following execution of the inst...

Page 128: ...ry region with each CPU bus cycle The history memory has a capacity of 8291 cycles and can store 2730 5 clock instructions only to 1365 12 clock instructions only new instructions executed by the evaluation board Fig 2 3 7 2 History data display Fig 2 3 7 1 History function diagram Figure 2 3 7 1 shows a diagram of the history function When the history memory is filled old data is overwritten by n...

Page 129: ...During interrupt processing two HP are renewed Otherwise HP is renewed by the instruction unit 2 3 8 Break delay function Users can refer to the programs until break by the history function mentioned in the previous section In the ICE this function has been expanded so that the history information before hitting the break condition or before and after hitting break condition can be acquired and re...

Page 130: ...HK is input from the host system the self test results are sent to the host CHK System awaits instruction unless an error occurs A check instruction is automatically input when the ICS62XX system program is loaded B ICS62XX Epson logo appears ICE POWER ON RESET DIAGNOSTIC TEST OK Check instruction is automatically input if no anomaly occurs the following message appears When the above display appe...

Page 131: ...ute the emulation Running the target program CPU operation Evaluation board About 30 step Prepare mode Fig 2 3 13 1 Evaluation board CPU operation You should be aware that when the command program takes over the timers and counters are enabled and started from initial settings Also the watchdog timer is cleared immediately prior to the ICE switching to emulation mode while under command program co...

Page 132: ...lua tion board CPU CONTROL Sets the ICE operation mode including initialization of the target system An S1C6S3N7 6S3B7 6S3L7 program is used in the examples but output error messages may differ with the type of device used The methods for entering instructions described in Section 3 1 are as follows A mark is displayed when the program awaits instructions Upper and lower case letters may be used t...

Page 133: ...II 26 H HISTORY DATA DISPLAY VIII 27 HB HISTORY DATA DISPLAY BACKWARD VIII 30 HG HISTORY DATA DISPLAY FORWARD VIII 30 HS HISTORY SEARCH PC VIII 32 HSR HISTORY SEARCH MEMORY READ VIII 32 HSW HISTORY SEARCH MEMORY WRITE VIII 32 HP HISTORY POINTER DISPLAY VIII 33 HPS HISTORY POINTER SET VIII 33 CHK CHECK ICE HARDWARE VIII 34 DXY DISPLAY X Y REGISTER MX MY CONTENT VIII 35 CVD DISPLAY COVERAGE VIII 36 ...

Page 134: ...ddress 2 default a single screen is displayed disassembled from the previous address plus one one more than the previous address With only L input after power on the data from address 0 onward is displayed 3 When more than a single screen is displayed disassembled a single line space appears between each 22 lines with about a one second pause 4 The instruction can be interrupted by hitting the ESC...

Page 135: ...nes are displayed 0200 E00 LD A 0 0201 E6F LDPX MX F 0215 FFF NOP7 L One more than the previous address at which the program 0216 FDF RET stopped are displayed 0217 E05 LD A 5 022B FFB NOP5 L 100 FFF 0100 FDF RET 0201 E6F LDPX MX F Interrupt via ESC key input L 100 50 COMMAND ERROR Address 1 address 2 error L 100 100 Contents of address 100 are disassembled and executed 0100 FDF RET normally L 3FC...

Page 136: ...e than the previous address When DP alone is entered after power on the data from address 0 are displayed 3 When more than one screen of data is displayed a one line space appears between every 21 lines with about a one second pause 4 Hexadecimal and ASCII codes can be displayed together but the ASCII data operands are converted by the RETD and LBPX instructions before display Example Data content...

Page 137: ...FF FFF FFB 931 142 944 1BD 0118 FFF FFF FFF FFF FFB FFB FFB FFB 0120 131 145 1E DP 21 lines are displayed ADDR 0 1 2 3 4 5 6 7 ASCII 0120 131 132 145 FFF FFB FFB 12E 21 line display DP 0 FFF ADDR 0 1 2 3 4 5 6 7 ASCII 0000 FFF FFF FFF FFF FFF FFF FFF FFF Command interrupt via ESC key input DP 100 50 Address 1 address 2 error COMMAND ERROR DP 400 FFF Error due to exceeding maximum value of program ...

Page 138: ...O area cannot be read 4 The I O address with mixed R W data is read and displayed with a mark 5 Commands can be interrupted by input from the ESC key 00 Data RAM Address 1 4F Data from this area is displayed LCD RAM Address 2 AF I O area FD for S1C6S3N7 6S3B7 6S3L7 DD DUMP DATA RAM DD address 1 address 2 DD address 1 DD Function DD 80 BE ADDR 0 1 2 3 4 5 6 7 8 9 A B C D E F 0080 5 2 3 4 A B B C D ...

Page 139: ...tion terminated by ESC key input DD E40 F1F ADDR 0 1 2 3 4 5 6 7 8 9 A B C D E F 0E40 F 0 1 5 7 4 A 0 0 0 E F 3 2 0 1 When the unused area is one 0E80 0 0 3 2 7 6 C 1 1 2 0 0 6 5 4 9 entire line the display skips 0E90 1 5 7 6 C F 3 2 0 1 0 1 E A C 0 that line for S1C6S460 0EA0 0 0 0 1 4 0 5 0 0 0 3 0 0 1 5 2 0EBC 4 3 2 7 6 B A 0 1 5 D 3 2 7 4 3 0EC0 5 5 4 1 0 2 3 6 0 0 0 1 5 6 7 F 0F00 When addres...

Page 140: ...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 mnemonic code for the PC program area command code Function DR PC 0100 IR FFF NOP7 A 0 B 0 X 06F Y 03A F IDZC SP 10 Displays characters when F is set or mark when F is reset Example DISPLAY CPU REGISTER ...

Page 141: ...he 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 Thus the final value of the history pointer is changed according to the executed instruction The maximum final value of the execution time for only a 5 clock instruction is approximately 2700...

Page 142: ...0 031 0001 H 0 100 LDC PC IR OP OPR A B X Y IDZC MEMORY OPERATION OTHER 0000 0000 E1C LD A B 5 4 000 024 0000 0001 0001 E16 LD B 06 4 4 000 024 0000 0002 0002 822 LD Y 22 4 6 000 022 0000 0003 0003 EF0 INC Y 4 6 000 022 0000 0004 0004 EF3 LDPY A MY 4 6 000 023 0000 R023 0 0005 0005 90A LBPX MX 0A 0 6 001 024 0000 W000 A W001 0 0006 0006 C05 ADD A 05 0 6 002 024 0000 0007 0007 D52 SBC B 02 5 6 002 ...

Page 143: ... 016 021 0001 0003 0010 70E JP NZ 0E F A 016 021 0001 0004 000E EE8 LDPX MX A F A 016 021 0001 W016 F 0005 000F C1F ADD B 0F F A 017 021 0001 0006 0010 70E JP NZ 0E F 9 017 021 0001 0007 000E EE8 LDPX MX A F 9 017 021 0001 W017 F 0008 000F C1F ADD B 0F F 9 018 021 0001 0009 0010 70E JP NZ 0E F 8 018 021 0001 0010 000E EE8 LDPX MX A F 8 018 021 0001 W018 F Instruction terminated by ESC key input Th...

Page 144: ...mmand completion Current history pointer last history pointer 42 Displayed by HB 21 lines Second HB execution Current history pointer last history pointer 21 Displayed by HB 21 lines First HB execution Current history pointer last history pointer immediately after GO command Function BA 108 G R PC PC HALT EMULATION END STATUS BREAK HIT PC 01E6 A 7 B 6 X 024 Y 026 F SP 4D RUN TIME TIMEOVER HB LOC P...

Page 145: ...displayed from 200 LDC PC IR OP OPR A B X Y IDZC MEMORY OPERATION OTHER 0180 000F C1F ADD B 0F F 6 03B 021 0001 0181 0010 70E JP NZ 0E F 5 03B 021 0001 0182 000E EE8 LDPX MX A F 5 03B 021 0001 W03B F 0183 000F C1F ADD B 0F F 5 03C 021 0001 0198 0012 E38 LD MY 08 F 0 020 021 0011 W021 8 0199 0013 FDF RET F 0 020 021 0011 R01C 8 R01D 2 R01E 1 0200 0128 FDO POP A F 0 020 021 0011 R01F 0 HG LDC PC IR ...

Page 146: ...fied by address Function HS 0700 Retrieves and indicates the history information of PC 700 LOC PC IR OP OPR A B X Y IDZC MEMORY OPERATION OTHER 1980 0700 FC1 PUSH B 0 0 0FE 0FF 1111 W0F0 0 2038 0700 FC1 PUSH B 5 1 0FE 0F0 1001 W0FE 1 HSR 30 Retrieves and indicates the history information which read address 30 LOC PC IR OP OPR A B X Y IDZC MEMORY OPERATION OTHER 0820 0640 EC2 LD A MX 0 0 030 0FF 11...

Page 147: ...nt history pointer When a value is input which exceeds the last history pointer the last pointer value is set to the current history pointer 3 The history pointer is displayed in four lines of decimal code and set Function Examples HP LOC 2058 Pointer last value displayed at break HPS 1000 Pointer set to 1000 HP LOC 1000 Pointer value 1000 HPS 9999 LOC 2058 Return to last pointer value Last pointe...

Page 148: ...nitial 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 is displayed when an RAM CHECK ERROR 001111 55 FF error is detected CHK A waits command under normal conditions When an error message is displayed avoid further use of the device since it is likely due to hardware failure Function Examples Note ...

Page 149: ... 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 the RAM area has been exceeded Y 050 MY read operation not viable Indicates write only area read operation not viable DXY X E73 MX Shows that E73 is unused area Y 252 MY F Read operation not viable Function Examples ...

Page 150: ...on 1 CVD Indicates the coverage information ranging from address 1 to address 2 Indicates all coverage information when address are omitted 2 CVR Clears coverage information Function Examples CVD 100 110 Indicates the coverage information ranging CV 0100 from address 100 to 110 CV 0109 0110 CVD Indicates the whole coverage information CV 0100 CV 0109 02FF CV 0400 04FF CVR Clear coverage informatio...

Page 151: ...RAM VIII 38 FP FILL PROGRAM VIII 40 FD FILL DATA RAM VIII 41 MP MOVE PROGRAM VIII 42 MD MOVE DATA RAM VIII 43 SP SET PROGRAM VIII 44 SD SET DATA RAM VIII 45 SR SET REGISTER VIII 46 SXY SET MX MY DATA VIII 47 HC SET HISTORY CONDITION VIII 48 HA SET HISTORY RANGE VIII 49 HAD DISPLAY HISTORY RANGE VIII 49 HAR RESET HISTORY RANGE VIII 49 ...

Page 152: ...F input Causes an error An error is generated by invalidated values entered for p s l or i Only binary expressions xxxxB are allowed in the input area The x in this case has a fixed length of from one to four digits comprised either of 0 or 1 with B input last When less than three digits are input the expression is handled as a binary expression or an error 3 Either upper or lower case letters may...

Page 153: ...ic instruction operand input 0101 input cancels instruction A 200 0200 PUSH XP Error generated by unapproved mnemonic input ERROR for S1C62XXX same address is redisplayed with mnemonic request 0200 NOP5 0201 JJJ 0FF ERROR 0201 LD A FF Error generated when valid operand range is exceeded ERROR 0201 LD A 0F 0202 A 202 0202 Return to previous address current address less one via 0201 key input ESC ke...

Page 154: ...N7 6S3B7 6S3L7 000 Address 1 100 Address 2 2FF 3FF Program data Reloads with specified data FP 0 3FF FFB Data from addresses 000 to 3FF of the program area are stacked to the FFB NOP5 code FP 100 200 FF9 When undefined code is detected an error message is COMMAND ERROR displayed and the instruction will not execute FP 200 100 FFF COMMAND ERROR Address 1 address 2 error FP 200 200 FFF Address 200 i...

Page 155: ...0 Error is generated because settings exceed the RAM area COMMAND ERROR address 7E for S1CS1C6S3N7 6S3B7 6S3L7 and the instruction will not execute FD 70 60 0 COMMAND ERROR Address 1 address 2 error FD 0 7E B Reloads the entire RAM area for S1C6S3N7 6S3B7 6S3L7 with data B hexadecimal FD 40 40 0 0 written to 40 address Examples Function Notes 1 For binary expressions four digit 0 or 1 and B input ...

Page 156: ... Function MP MOVE PROGRAM MP address 1 address 2 address 3 A A MP 0 FF 100 Contents of program area addresses 000 to 0FF are transferred to addresses 100 to 1FF MP 100 2FF 300 When the transfer area surpasses address 3FF an error COMMAND ERROR message is displayed and the instruction will not execute MP 200 100 300 COMMAND ERROR Address 1 address 2 error MP 200 200 300 Contents of address 200 are ...

Page 157: ...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 Notes Examples MD 10 1F 30 Contents of data RAM addresses 10 to 1F are moved to addresses 30 to 3F MD 00 3F 70 COMMAND ERROR When the transfer area exceeds the RAM area 7E for S1C6S3N7 6S3B7 6S3L7 an e...

Page 158: ...played when undefined code is detected contents are written unchanged to the same address 0102 FFF F05 0103 FFF A6B 0104 FFF Operation returns to previous address one less than 0103 A6B current address via input by entering 0102 F05 F06 0103 A6B 0104 FFF ABx COMMAND ERROR Error is generated by data setting error message displayed 0104 FFF ABC 0105 FFF input terminates instruction SP 400 COMMAND ER...

Page 159: ...t 20 A B address by entering 21 5 F 22 5 Instruction terminated by SD FFF COMMAND ERROR When specification exceeds the maximum value of the RAM area 7F for S1C6S3N7 66S3B7 6S3L7 an error is indicated SD 70 70 4 71 F Hyphen only displayed due to read only address 72 5 data input not accepted 73 6 74 6 5 75 8 4 76 5 A 77 8 9 78 8 5 79 A 7A B 7E F Command terminates after last address entered SD E50 ...

Page 160: ...s Function 2 register name can be specified as PC A B X Y FI FD FZ FC and SP SR PC 0100 0105 Input data and to registers you wish to modify enter A 5 only to skip to the next register B A 5 X 02F 20 Y 010 1A FI 0 1 FD 1 FZ 0 FC 1 0 SP 4F Entering the returns operation to previous register FC 0 1 one less than the current register SP 4F SR X AA X register only is changed to AA SR PC 105 Current val...

Page 161: ...er Xp Xh Xl Y register Yp Yh Yl and MX and MY contents specify memory X Y are displayed Contents of MX and MY can also be modified SXY Display only alone continues operation X 040 MX 5 Y 030 MY A SXY X 040 MX 5 0 Sets new data to MX MY Y 030 MY A F SXY X 070 MX 3 Data to read only area not accepted Y FFF MY OV Input not accepted if RAM area is exceeded SXY X E52 MX UNUSED AREA An unused area error...

Page 162: ... 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 before and after the break point HC E Extracts the history up to the break point default value ...

Page 163: ...Extract the range specified by address 1 and address 2 When specifying ALL all addresses will be specified 2 HAD Indicates the address of history extraction area 3 HAR Do not extract the range specified by address 1 and address 2 Examples When specifying ALL history isn t extracted HAR ALL Clears the entire history extraction area HA 300 400 Specifies history extraction area HA 100 200 HA 500 500 ...

Page 164: ...Format ICE CONTROL SOFTWARE ICS62XX VIII 50 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ...

Page 165: ...T BREAK REGISTER CONDITION VIII 54 BRR RESET BREAK REGISTER CONDITION VIII 54 BM SET BREAK MULTIPLE CONDITION VIII 56 BMR RESET BREAK MULTIPLE CONDITION VIII 56 BC BREAK CONDITION DISPLAY VIII 58 BRES RESET ALL BREAK CONDITION VIII 59 G GO TARGET PROGRAM VIII 60 T SINGLE STEP TRACE VIII 63 U SINGLE STEP TRACE LAST INFORMATION DISPLAY VIII 65 BE BREAK ENABLE MODE SET VIII 66 BSYN BREAK DISABLE SYNC...

Page 166: ...tion set by BA 3 Addresses which can be entered by a single BA or BAR instruction can be set multiple times in a single line 80 columns 4 When the BA command is executed several times previous settings are valid 5 When the BM command is executed all BA conditions are canceled 6 When entering the GO command at a break the BA condition may enter the clear mode or a condition retaining mode Refer to ...

Page 167: ...unctional at one point only but can be mixed with BA and BR commands 4 A BD condition can be canceled by executing the BM command Examples BD ADDR 074 A hyphen is displayed when the BD condition is absent DATA 5 At address 74 the number 5 is entered as data and the R W R W is masked In the above example a break is set for when the number 5 is written to or read from the data RAM address 074 BD ADD...

Page 168: ...t by BR command 3 A break set by the BR command is operative at one point BA and BD settings can be mixed 4 A BR condition can be canceled by executing the BM command Examples BR A C A hyphen is displayed when a BR condition is not set B Break condition is sequentially set FI 1 FD Enter an asterisk mark to indicate masking FZ 0 This induces a break unrelated to the FD value FC X 040 Y If a paramet...

Page 169: ...g confirms cancellation BR A 0 B 0 FI FD FZ FC X 40 Y 30 A break condition is set wherein A 0 B 0 X 40 and Y 30 BR A 0 B 0 5 FI Entering when no further setting changes are desired completes the instruction A break condition is set where A 0 B 5 X 40 and Y 30 1 The target system operates in real time even when a GO command is executed after setting a BR condition 2 Each model has a different RAM a...

Page 170: ...D and BR conditions are canceled by the BM command Also the BM setting is canceled when the BA BD and or BR conditions are set after the BM condition is set 3 The BMR command cancels the BM condition 4 A break is set at only one point by the BM command Each register setting can be masked BM PC 100 A hyphen is displayed when a BM condition is canceled ADDR 70 Break condition is set where PC 100 RAM...

Page 171: ... Y 7E FD 1 and FC 1 BM PC 100 ADDR 71 Entering does not alter later settings adds PC 100 to above conditions BMR Cancels condition set by BM command BM PC Entering after canceling BM setting confirms cancellation 1 Use of the BM command automatically cancels BA BD and BR commands 2 This instruction runs a break comparison only during execution with memory access The above described limitations rem...

Page 172: ...onditions are canceled BD NONE BR NONE BM NONE BREAK ENABLE MODE Enters break enable mode BREAK STOP MODE Enters break stop mode TIME COUNT MODE Enters real time mode BA 100 101 BC Reads after address break condition set Break condition BA 0100 0101 confirmed BD NONE BR NONE BM NONE BREAK ENABLE MODE BREAK STOP MODE TIME COUNT MODE BRES BA 100 102 BC BA 0100 Displays multiple executions of BA cond...

Page 173: ... 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 condition is canceled the break mode enable disable trace stop time stop is still operative ...

Page 174: ...s during the previous break When G is entered after power on the run starts from address 0100 but the evaluation board CPU is not reset Break Mode and Break Condition Note Refer to Section 2 3 2 Break mode and break function for more information on the break mode 1 2 3 Break enable mode break stop mode Break enable mode break trace mode BSYN mode break stop mode Reset switch Break switch Break set...

Page 175: ...ed A BREAK HIT ESC KEY BREAK SW displays appear in parts When the reset switch is depressed the message ICE6200 RESET SW TARGET is displayed without displaying the break status and the next instruction is awaited 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 T...

Page 176: ...on default is BREAK ENABLE MODE command input BT Break stop mode set command BREAK STOP MODE G R Target and evaluation board is reset run starts from reset address 0100 PC xxxx PC display is cyclic EMULATION END STATUS BREAK HIT A PC 01FF A 5 B 0 X 70 Y 05 F ZC SP 20 B RUN TIME 100mS C A Break displayed through break condition BA condition set at 01FE B F is expresses reset bit and bit as English ...

Page 177: ...h the previous T command completed 4 When both address and step number are defaulted only one step is executed from the current PC When this setting occurs after power on one step is executed from PC 0100 5 When the step number is one T address or T the instruction does not terminate after one step but a further step is executed by the SP key input at which time the instruction can be terminated b...

Page 178: ...cs are displayed until the target interrupt as described above but the register value is not displayed When an interrupt is properly input the register is displayed and the next SP is awaited The SP input restarts the program after the interrupt routine When the target interrupt never occurs the instruction can be forced to terminate by using the ESC key At that point the HALT and T commands termi...

Page 179: ...but the results are not displayed until after the final instruction is completed 2 When the address is defaulted execution starts from the current PC for the specified number of steps Examples U 100 5 PC 01AA IR ADI OR A B A 5 B 0 X 04F T 03F F ID C SP 13 U 1 PC 01AB IR FFF NOP7 A 5 B 0 X 04F Y 03F F ID C SP 13 1 The U command does not run in real time so the target timer is renewed For details re...

Page 180: ...A BD BR or BM conditions coincide with the evaluation board CPU state 2 BSYN Sets the break disable synchronous mode When the BA BD BR or BM condi tions coincide with the evaluation board CPU state a pulse is output to the ICE SYNC pin and a break is not generated 3 At power on the break enable mode is operative Examples BE BREAK ENABLE MODE BSYN BREAK DISABLE MODE BREAK STOP MODE Refer to Section...

Page 181: ...e 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 is operative at power on the trace BREAK ENABLE MODE mode is set by command input BT BREAK STOP MODE The setting is reversed by command input Refer to Section 2 3 2 Break mode and break function for details of break stop and trace modes ...

Page 182: ...are set and the program runs to consecutive break points The BA condition clear mode CLR mode is used to debug when the break point is changed with each break BA 0100 BRKSEL REM Remain mode is set BC BA 0100 G PC 100 EMULATION END STATUS BREAK HIT Break is generated when break RUN TIME 10mS condition hits BA 200 New break condition is set BC BA 0100 Pre break condition remains BA 0200 BRKSEL CLR C...

Page 183: ... MANUAL 3 4 File Command Group RF READ PROGRAM FILE VIII 70 RFD READ DATA FILE VIII 70 VF VERIFY PROGRAM FILE VIII 71 VFD VERIFY DATA FILE VIII 71 WF WRITE PROGRAM FILE VIII 72 WFD WRITE DATA FILE VIII 72 CL CONDITION LOAD VIII 73 CS CONDITION SAVE VIII 73 OPTLD READ HEXA DATA FILE VIII 74 ...

Page 184: ... 6S3L7 or an FD file format error is detected an error message FILE DATA FORMAT ERROR is displayed and the instruction terminates The contents of the emulation program memory and data memory are not secured 2 I O memory segment memory and unused area are not loaded into data memory 3 The files are in hexadecimal format For details refer to appendix B 4 The file format is created by the S1C62XXX cr...

Page 185: ...e specified in file name are collated Function VF C6200A0 C6200A0H HEX and C6200A0L HEX files and the program ADDR FD ICE memory are collated 0100 FFF FFC The contents of the FD address and the memory are displayed 0300 FFC FFB only when the collated data do not agree VFD DATA ADDR FD ICE 001 1 3 ESC Display can be interrupted by ESC key input Examples 1 Notes 1 3 4 and 6 in page VIII 70 are appli...

Page 186: ... specified in file name 2 WFD The contents of the emulation data memory data RAM are saved to the file specified in file name WF C6200A0 Program memory is saved to C6200A0H HEX and C6200A0L HEX files WFD WORK Data memory is saved to WORKD HEX file WF ABCDEFGH COMMAND ERROR An error occurs if the file name exceeds seven characters Examples 1 Notes 3 4 5 and 6 of page VIII 70 are applicable to these...

Page 187: ... as follows Target program emulation program Target data emulation data Current register values of the evaluation board CPU A B X Y F SP PC Current break data conditions set by BA BD BR and or BM commands Break mode data execution time steps break stop break trace break enable break SYNC with without on the fly 4 These instructions are valid when power is switched off and reapplied CS TEST Current...

Page 188: ...RENCE 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 loaded in the melody data memory Example ...

Page 189: ...ormat 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 78 ...

Page 190: ...gh and low The FF ROM data is unassembled RP NO ROM H L Error is generated because high and low ROM are unassembled RP NO ROM H Error generated because high side ROM is unassembled RP Contents of ROM are properly loaded Examples 1 Refer to the ROM command for information on the valid loading region 2 When undefined code is detected the ICS62XX program is terminated and control returns to the opera...

Page 191: ... the results of the comparison are acceptable the program execution is at waiting until ordering the next instruction VP ADDR ROM ICE 0100 FFF FFC All non agreeing data ROM address ROM contents emulation 0300 0FF 0FC memory contents are displayed 03FF 000 001 VP NO ROM H Error because high side ROM is unassembled VP ADDR ROM ICE 0100 FFF FFC 0300 0FF 0FC ESC Processing is interrupted by ESC key in...

Page 192: ... alone is entered without modification of data the execution is at waiting until entering the next command ROM ROM 64 256 Setting changed to 27256 ROM ROM 256 FF Setting other than 64 128 256 or 512 results in an error COMMAND ERROR ROM ROM 256 Note ROM which is assembled to the high and low IC sockets should be the same types LOW D0 D7 HIGH D0 D3 LOW D0 D7 HIGH D0 D3 LOW D0 D7 HIGH D0 D3 LOW D0 D...

Page 193: ...OFTWARE 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 VIII 83 ...

Page 194: ...AMILY 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: ... operative The execution time count mode is the default at power on The setting is reversed at each command input Function TIM STEP COUNT MODE Since the mode after power supply is the time count mode entering a command toggles the setting to step mode TIM TIME COUNT MODE Setting is reversed with each command input Examples Refer to Section 2 3 10 Measurement during command execution for more detai...

Page 196: ...e the display off mode when the host is connected to a printer OTF ON THE FLY OFF Since the display mode is the default at power on a command input toggles to the display off mode OTF ON THE FLY ON On the fly display mode is operative G PC xxxx Displays fixed cycle of evaluation board CPU s executed PC OTF ON THE FLY OFF G PC is not displayed Examples For more details about the on the fly function...

Page 197: ...ANUAL 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 ICE POWER ON RESET DIAGNOSTIC TEST OK A waits ICE instruction ...

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: ...ated commands when an option n is set Explanations for commands of the same group are displayed n value Command group 1 DISPLAY COMMAND 2 SET COMMAND 3 BREAK GO COMMAND 4 FILE COMMAND 5 ROM COMMAND 6 CONTROL COMMAND 7 ALL COMMAND DISPLAY 8 BASIC COMMAND DISPLAY HELP Refer to HELP messages on next page KEY IN 1 8 ENTER OR ENTER ONLY 1 Displays DISPLAY COMMAND Refer to next page HELP F Error is gene...

Page 201: ...BASIC COMMAND DISPLAY KEY IN 1 8 ENTER or ENTER ONLY HELP 1 1 DISPLAY COMMAND 1 L addr1 addr2 program code and mnemonic display 2 DP addr1 addr2 program area HEX display 3 DD addr1 addr2 data area HEX display 4 DR register data display 5 H addr1 addr2 history data display 6 HB or HG history data display BACK or GO NEXT 7 HS addr history serch and display 8 HSW addr memory write history serch and d...

Page 202: ...ave to history memory HAR ALL all reset 13 HPS addr set history pointer 14 CVR reset coverage information HELP 3 3 BREAK and GO COMMAND 1 BA addr set break address 2 BD set break data condition 3 BR set break register condition 4 BM set break address data register multiple condition 5 BAR reset break address 6 BDR reset break data condition 7 BRR reset break register condition 8 BMR reset break ad...

Page 203: ...count mode alternate 3 OTF set on the fly display mode or inhibit mode alternate 4 Q program exit HELP 8 8 BASIC COMMAND 1 L addr1 addr2 program code and mnemonic display 2 DD addr1 addr2 data area HEX display 3 DR register data display 4 BC break condition display 5 H addr1 addr2 history data display 6 A addr assemble program 7 SP addr program area patch 8 SD addr data area patch 9 SR register pa...

Page 204: ...hen apply power to ICE Error message TARGET DOWN 2 Meaning Evaluation board disconnected Check at command execution Recovery procedure Switch OFF power to ICE and connect the evaluation board Then apply power to ICE Error message UNDEFINED PROGRAM CODE EXIST Meaning Undefined code is detected in the program loaded from ROM ICE program terminates Recovery procedure Convert ROM data with the S1C62XX...

Page 205: ...16000CD3F01FE00CA6001CD3401FE13C2600123 10017000C9000000000000000000000000000000B6 00000001FF End mark Type Address Data Sum check Data volume 1 byte Indicates the quantity of data contained in the data area Maximum capacity is 10H sixteen entries Address 2 bytes Indicates the top line of data at each address Type 1 byte Indicates the type of hexadecimal format currently only 00 Data 16 bytes max ...

Page 206: ......

Page 207: ...IX MASK DATA CHECKER MDC62XX This part explains how to operate the MDC62XX Mask Data Checker for the S1C62 Family ...

Page 208: ......

Page 209: ..._____________________ IX 2 3 1 Copying the Data File IX 2 3 2 Execution of MDC62XX IX 2 3 2 1 Starting MDC62XX IX 2 3 2 2 Packing of data IX 3 3 2 3 Unpacking of data IX 3 4 ERROR MESSAGES ___________________________________________ IX 4 4 1 Data Error IX 4 4 1 1 Program data error IX 4 4 1 2 Function option data error IX 4 4 1 3 Segment option data error IX 4 4 2 File Error IX 4 4 3 System Error ...

Page 210: ......

Page 211: ...C Prepare the melody data file generated from the Melody Assembler MLA628X 4 Packing of data Using the Mask Data Checker MDC62XX compile the program data option data and melody data in one mask data file C62XXYYY PAn This file must be sent to Seiko Epson 5 Unpacking of data The mask data file C62XXYYY PAn may be restored to the original program data option data and melody data files using the Mask...

Page 212: ...ayed and then enter the program name as follows A MDC62XX means press the return key When starting MDC62XX through the DMS6200 selects the MDC62XX EXE in the menu screen When MDC62XX is started the following message is displayed E0C62XX PACK UNPACK PROGRAM Ver 1 00 EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO NNN NNN EEEEEEEEEE PPPPPPPPPP SSS SSSS OOO OOO NNNN NNN EEE PPP PPP SSS SSS OOO OOO NNNNN NNN EEE...

Page 213: ...Y PAn C62XXYYY PA0 3 2 2 Packing of data 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 The YYY portion is as specified for the user by Seiko Epson Moreover after submitting the data to Seiko Epson and there is a need to re submit the data for reasons such as faulty programs etc in...

Page 214: ... ERROR RECORD TYPE NOT 00 5 HEX DATA ERROR DATA NOT 00 FFh There is no colon The data length of 1 line is not in the 00 20H range The address is beyond the valid range of the program melody and scale ROM The record type of 1 line is not 00 The data is not in the range between 00H and 0FFH Error Message Explanation There are too many data in 1 line The checksum is not correct The end mark is not 00...

Page 215: ...ON CORP INPUT DATE 91 07 22 OPTION NO 1 DEVICE TYPE E0C62XX NORMAL TYPE SELECTED OPT0101 01 END SEGMENT E0C62XX SEGMENT OPTION DOCUMENT VER 3 00 FILE NAME C2XXYYYS DOC USER S NAME SEIKO EPSON CORP INPUT DATE 91 07 22 COMMENT TOKYO DESIGN CENTER 421 8 HINO HINO SHI TOKYO 191 JAPAN OPTION NO xx LCD SEGMENT DECODE TABLE SEG COM0 COM1 COM2 COM3 0 S 1 C END Program Data Header Model Name Program Data H...

Page 216: ...0 data length in 1 line Fixed at End mark 00000001FF 5 2 Segment Data Segment data is configuerd according to the following format OPTION NO xx LCD SEGMENT DECODE TABLE SEG COM0 COM1 COM2 COM3 0 S 1 S 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 numb...

Page 217: ...el Vallès SPAIN Phone 34 93 544 2490 Fax 34 93 544 2491 ASIA EPSON CHINA CO LTD 28F Beijing Silver Tower 2 North RD DongSanHuan ChaoYang District Beijing CHINA Phone 64106655 Fax 64107319 SHANGHAI BRANCH 4F Bldg 27 No 69 Gui Jing Road Caohejing Shanghai CHINA Phone 21 6485 5552 Fax 21 6485 0775 EPSON HONG KONG LTD 20 F Harbour Centre 25 Harbour Road Wanchai Hong Kong Phone 852 2585 4600 Fax 852 28...

Page 218: ...ursuit 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: ...ttp www epson co jp device Development Tool Reference Manual S1C62 Family EPSON Electronic Devices Website ELECTRONIC DEVICES MARKETING DIVISION First issue December 1991 Printed April 2001 in Japan B M ...

Reviews: