background image

MF1192-02

CMOS 4-BIT SINGLE CHIP MICROCOMPUTER

(Development Software Tool for S1C60N08)

S5U1C60N08D 

Manual

Содержание S5U1C60N08D

Страница 1: ...MF1192 02 CMOS 4 BIT SINGLE CHIP MICROCOMPUTER Development Software Tool for S1C60N08 S5U1C60N08D Manual ...

Страница 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...

Страница 3: ...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...

Страница 4: ......

Страница 5: ...File 29 5 ICE CONTROL SOFTWARE ICS6008 _____________________________ 30 5 1 ICS6008 Outline 30 5 2 ICS6008 Restrictions 30 5 3 ICS6008 Quick Reference 32 6 MASK DATA CHECKER MDC6008 _______________________________ 35 6 1 MDC6008 Outline 35 6 2 MDC6008 Quick Reference 35 PREFACE This manual mainly explains the outline of the development support tool for the 4 bit Single Chip Micro computer S1C60N08...

Страница 6: ...CONTENTS ii EPSON S5U1C60N08D MANUAL DEVELOPMENT SOFTWARE TOOL FOR S1C60N08 White APPENDIX A S1C60N08 INSTRUCTION SET _______________________ 38 B TROUBLESHOOTING ______________________________ 42 ...

Страница 7: ...ram 1 2 Developmental Environment The software product of the development support tool S5U1C60N08D operates on the following host systems IBM PC AT at least PC DOS Ver 2 0 When developing the S1C60N08 the above mentioned host computer editor P ROM writer printer etc must be prepared by the user in addition to the development tool which is normally supported by Seiko Epson Fig 1 2 1 System configur...

Страница 8: ...Generator FOG6008 execution Segment Option Generator SOG6008 execution Determination of software specifications Cross Assembler ASM6008 execution Source file generation by using editor Function option list Segment option list C008XXX DAT Program source file Coding sheet Flow chart generation and coding Source file generation by using editor C008XXX SEG Segment option source file C008XXXL HEX Objec...

Страница 9: ...L FOR S1C60N08 1 4 Installation The S5U1C60N08D tools are included on the CD ROM of the S5U1C62000A S1C60 62 Family Assembler Package and they can be installed in your hard disk using the installer Setup exe on the CD ROM Refer to the S5U1C62000A Manual for how to install the S5U1C60N08D tools ...

Страница 10: ...ecification range of the memory setting pseudo instructions and PSET instruction is restricted Memory configuration Bank Only bank 0 Page 16 pages 0 to 0FH each 256 steps Significant specification range ORG pseudo instruction 0000H to 0FFFH PAGE pseudo instruction 00H to 0FH BANK pseudo instruction Only 0H PSET instruction 00H to 0FH RAM area The capacity of the S1C60N08 RAM is 832 words 000H to 3...

Страница 11: ...N EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN C COPYRIGHT 1989 SEIKO EPSON CORP SOURCE FILE NAME IS C008XXX DAT THIS SOFTWARE MAKES NEXT FILES C008XXXH HEX HIGH BYTE OBJECT FILE C008XXXL HEX LOW BYTE OBJECT FILE C008XXX PRN ASSEMBLY LIST FILE DO YOU NEED AUTO PAGE SET Y N Y 1 DO YOU NEED CROSS REFERENCE TABLE Y N Y 2 When ASM6008 is started the start up message is displayed At 1 select whether or not t...

Страница 12: ...or was encountered The label or symbol of the operand has not been defined The label field has been omitted A syntax error was encountered in the operand or the operand could not be evaluated Error message Syntax Error Undefined Error Missing Label Operand Error Phase Error Range Error Warning Explanation The same label or symbol was defined more than once The source file name was longer than 8 ch...

Страница 13: ...ltaneously generated with the data file The operating method is same as for the S1C62 Family Refer to the S1C62 Family Development Tool Reference Manual for details Note When creating option files please make a function option file C008xxxF DOC before making a segment option file C008xxxS DOC 3 2 S1C60N08 Option List Multiple specifications are available in each option item as indicated in the Opt...

Страница 14: ...T SPECIFICATION 1 Complementary 2 Pch OpenDrain OUTPUT TYPE 1 DC Output 2 SIO Flag 10 R12 SPECIFICATION OUTPUT SPECIFICATION 1 Complementary 2 Pch OpenDrain OUTPUT TYPE 1 DC Output 2 FOUT 32768 or 38400 Hz 3 FOUT 16384 or 19200 Hz 4 FOUT 8192 or 9600 Hz 5 FOUT 4096 or 4800 Hz 6 FOUT 2048 or 2400 Hz 7 FOUT 1024 or 1200 Hz 8 FOUT 512 or 600 Hz 9 FOUT 256 or 300 Hz 11 R13 SPECIFICATION OUTPUT SPECIFI...

Страница 15: ... SPECIFICATION BIAS SELECTION S1C60N08 1 1 3 Bias Regulator Used LCD 3 V 2 1 3 Bias Regulator Not Used LCD 3 V 3 1 2 Bias Regulator Not Used LCD 3 V 4 1 3 Bias Regulator Not Used LCD 4 5 V S1C60L08 1 1 3 Bias Regulator Used LCD 3 V 2 1 2 Bias Regulator Not Used LCD 3 V 3 1 3 Bias Regulator Not Used LCD 4 5 V S1C60A08 1 1 3 Bias Regulator Used LCD 3 V 2 1 3 Bias Regulator Not Used LCD 3 V 3 1 2 Bia...

Страница 16: ...VICE TYPE 1 E0C6008 2 E0C60L08 3 E0C60A08 PLEASE SELECT NO 1 3 DEVICE TYPE 3 E0C60A08 SELECTED Select the chip specification E0C6008 S1C60N08 E0C60L08 S1C60L08 and E0C60A08 S1C60A08 denote 3 V power source voltage specification LOW POWER specification for 1 5 V power source voltage and TWIN CLOCK specification respectively When E0C6008 or E0C60L08 is selected OSC3 oscillation circuit is fixed at C...

Страница 17: ...imer built in to detect CPU runaways will be used or not When the watchdog timer is not reset by the program within 3 to 4 second cycles the CPU is initially reset 5 Input interrupt noise rejector OPTION NO 5 I P INTERRUPUT NOISE REJECTOR K00 K03 1 USE 2 NOT USE PLEASE SELECT NO 1 1 K10 1 USE 2 NOT USE PLEASE SELECT NO 1 1 K20 K23 1 USE 2 NOT USE PLEASE SELECT NO 1 1 K00 K03 1 USE SELECTED K10 1 U...

Страница 18: ...PORT PULL DOWN RESISTOR K00 1 WITH RESISTOR 2 GATE DIRECT PLEASE SELECT NO 1 1 Selection for K01 K03 and K10 PLEASE SELECT NO 1 1 K20 1 WITH RESISTOR 2 GATE DIRECT PLEASE SELECT NO 1 2 Selection for K21 K23 PLEASE SELECT NO 1 2 K00 1 WITH RESISTOR SELECTED K01 1 WITH RESISTOR SELECTED K02 1 WITH RESISTOR SELECTED K03 1 WITH RESISTOR SELECTED K10 1 WITH RESISTOR SELECTED K20 2 GATE DIRECT SELECTED ...

Страница 19: ...tus RUN STOP is generated from the R11 terminal The circuit configuration is the same as those of the output ports R00 R03 Figure 3 3 3 9 R11 specification OPTION NO 9 R11 SPECIFICATION OUTPUT SPECIFICATION 1 COMPLEMENTARY 2 P CH OPEN DRAIN PLEASE SELECT NO 1 1 OUTPUT TYPE 1 DC OUTPUT 2 SIO FLAG PLEASE SELECT NO 1 2 OUTPUT SPECIFICATION 1 COMPLEMENTARY SELECTED OUTPUT TYPE 2 SIO FLAG SELECTED 10 R...

Страница 20: ...rted output the R10 output type is fixed at buzzer output Buzzer output waveform is shown in Figure 3 3 6 R13 buzzer output R10 R13 register 0 1 0 VDD VSS VDD VSS R10 buzzer output Fig 3 3 6 Buzzer output waveform When FOUT output is selected When FOUT bit R12 register is set to 1 50 duty and VDD VSS amplitude square wave is generated at the specified frequency When set to 0 the FOUT terminal goes...

Страница 21: ...O 12 I O PORT SPECIFICATION P00 1 COMPLEMENTARY 2 P CH OPEN DRAIN PLEASE SELECT NO 1 1 P01 1 COMPLEMENTARY 2 P CH OPEN DRAIN PLEASE SELECT NO 1 1 P02 1 COMPLEMENTARY 2 P CH OPEN DRAIN PLEASE SELECT NO 1 2 P03 1 COMPLEMENTARY 2 P CH OPEN DRAIN PLEASE SELECT NO 1 1 P10 1 COMPLEMENTARY 2 P CH OPEN DRAIN PLEASE SELECT NO 1 2 P11 1 COMPLEMENTARY 2 P CH OPEN DRAIN PLEASE SELECT NO 1 2 P12 1 COMPLEMENTAR...

Страница 22: ...l input output terminal of the SIO synchronous clock Pull down resistor is only available when the clock mode is set at external clock mode Select with pull down resistor complementary output and positive logic it the SCLK terminal will not be used The SCLK timing chart is shown in Figure 3 3 8 Select whether the SIO input output SIN or SOUT data bit permutation will be MSB first or LSB first Sele...

Страница 23: ...can be driven with 3 COM terminals and when 1 4 duty is selected up to 192 segments with 4 COM terminals When 1 2 duty is selected the COM0 and COM1 terminals are effective for COM output and the COM2 and COM3 terminals always output an off signal When 1 3 duty is selected the COM0 to COM2 terminals are effective and the COM3 terminal always outputs an off signal For drive duty selection refer to ...

Страница 24: ... duty drive waveform 1 4 duty drive waveform VDD VL1 VL2 VL3 COM0 COM1 COM2 COM3 VDD VL1 VL2 VL3 COM0 COM1 COM2 COM3 1 2 duty drive waveform VDD VL1 VL2 VL3 19 Segment memory address OPTION NO 19 SEGMENT MEMORY ADDRESS SEGMENT MEMORY ADDRESS 1 0 PAGE 040 06F 2 2 PAGE 240 26F PLEASE SELECT NO 1 1 SEGMENT MEMORY ADDRESS 1 0 PAGE 040 06F SELECTED Select the segment memory area When 0 PAGE is selected...

Страница 25: ...ther the sequence returns to the DOS command level Setting new function options Select 1 on the operation selection menu 1 Enter the file name 2 Enter the customer s company name 3 Enter any comment Within 50 characters x 10 lines Next start function option setting from option No 1 In case a function option document file with the same name as the file name specified in the current drive exists the...

Страница 26: ...AME In step 2 if the function option document file is not in the current drive the following message is displayed prompting entry of other file name END OF OPTION SETTING DO YOU MAKE HEX FILE Y N Y 1 OPTION EPROM SELECT MENU 1 27C64 2 27C128 3 27C256 4 27C512 PLEASE SELECT NO 2 2 2 27C128 SELECTED MAKING FILE S IS COMPLETED OPERATION SELECT MENU 1 INPUT NEW FILE 2 EDIT FILE 3 RETURN TO DOS PLEASE ...

Страница 27: ... OPTION NO 3 MULTIPLE KEY ENTRY RESET COMBINATION USE K00 K01 K02 K03 SELECTED AUTHORIZE USE SELECTED OPT0301 04 OPT0302 01 OPTION NO 4 WATCHDOG TIMER WATCHDOG TIMER USE SELECTED OPT0401 01 OPTION NO 5 I P INTERRUPT NOISE REJECTOR K00 K03 USE SELECTED K10 USE SELECTED K20 K23 USE SELECTED OPT0501 01 OPT0502 01 OPT0503 01 OPTION NO 6 I P PORT PULL DOWN RESISTOR K00 WITH RESISTOR SELECTED K01 WITH R...

Страница 28: ...PUT SELECTED OPT1001 01 OPT1002 01 OPTION NO 11 R13 SPECIFICATION OUTPUT SPECIFICATION COMPLEMENTARY SELECTED OUTPUT TYPE DC OUTPUT SELECTED OPT1101 01 OPT1102 01 OPTION NO 12 I O PORT SPECIFICATION P00 COMPLEMENTARY SELECTED P01 COMPLEMENTARY SELECTED P02 COMPLEMENTARY SELECTED P03 COMPLEMENTARY SELECTED P10 COMPLEMENTARY SELECTED P11 COMPLEMENTARY SELECTED P12 COMPLEMENTARY SELECTED P13 COMPLEME...

Страница 29: ...SELECTION 1 4 DUTY SELECTED OPT1801 08 OPT1802 01 OPTION NO 19 SEGMENT MEMORY ADDRESS SEGMENT MEMORY ADDRESS 2 PAGE 240 26F SELECTED OPT1901 02 SEIKO EPSON S AREA OPTION NO 20 OPT2001 01 OPTION NO 21 OPT2101 01 OPTION NO 22 OPT2201 01 OPT2202 01 OPT2203 01 OPT2204 01 OPT2205 01 OPT2206 01 OPT2207 01 OPT2208 01 OPTION NO 23 OPT2301 01 OPT2302 01 OPT2303 01 OPT2304 01 OPT2305 01 OPT2306 01 OPT2307 0...

Страница 30: ...ing data file used to generate mask patterns From the data file created with SOG6008 the S1C60N08 mask pattern is automatically generated by a general purpose computer The HEX file for the evaluation board S5U1C60N08E segment option ROM is simultaneously generated with the data file Fig 4 1 1 SOG6008 execution flow A EDLIN C008XXX SEG Segment source file generation A SOG6008 Execute the segment op...

Страница 31: ...EG output DC output SEG output DC output SEG output DC output SEG output DC output C C C C C C C C C C P P P P P P P P P P TERMINAL NAME Legend ADDRESS H High order address 4 6 L Low order address 0 F D Data bit 0 3 OUTPUT SPECIFICATION C Complementary output P Pch open drain output SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SE...

Страница 32: ... when bit is set to 0 Segment allocation is set to H for high address 4 6 to L for low address 0 F and to D for data bit 0 3 and are recorded in their respective column in the option list For segment ports that will not be used write hyphen in the H L and D columns of COM0 COM3 Examples When 1 4 duty is selected 0 601 600 632 603 S 1 612 611 610 623 S When 1 3 duty is selected 0 601 600 632 S 1 61...

Страница 33: ...AME C0080N0 SEGMENT OPTION SOURCE FILE IS NOT FOUND 7 H option not use PLEASE INPUT SEGMENT OPTION DOCUMENT FILE NAME C0080N0 SEGMENT OPTION DOCUMENT FILE IS NOT FOUND 8 H option use SOURCE FILE S SEGMENT OPTION SOURCE FILE IS NOT FOUND 5 H option not use SOURCE FILE S SEGMENT OPTION DOCUMENT FILE IS NOT FOUND 6 H option use Input file selection 1 Will display the files on the current drive 2 Ente...

Страница 34: ...s If no error is committed while setting segment options MAKING FILE IS COMPLETED will be displayed and the SOG6008 program will be terminated END OF OPTION SETTING DO YOU MAKE HEX FILE Y N Y 1 OPTION EPROM SELECT MENU 1 27C64 2 27C128 3 27C256 4 27C512 PLEASE SELECT NO 2 2 2 27C128 SELECTED MAKING FILE IS COMPLETED Error messages S N R D Out Port Set Error The data was written in an invalid forma...

Страница 35: ...5C2 5C3 S 15 5F0 5F1 5F2 5F3 S 16 580 581 590 591 S 17 592 593 5A0 5A2 S 18 5A3 5A1 582 583 S 19 5B0 5B1 5B2 5B3 S 20 540 541 550 551 S 21 552 553 560 562 S 22 563 561 542 543 S 23 570 571 572 573 S 24 500 501 510 511 S 25 512 513 520 522 S 26 523 521 502 503 S 27 530 531 532 533 S 28 4C0 4C1 4D0 4D1 S 29 4D2 4D3 4E0 4E2 S 30 4E3 4E1 4C2 4C3 S 31 4F0 4F1 4F2 4F3 S 32 480 481 490 491 S 33 492 493 4...

Страница 36: ... Family Refer to the S1C62 Family Development Tool Reference Manual for details 5 2 ICS6008 Restrictions Take the following precautions when using the ICS6008 ROM Area The ROM area is limited to a maximum address of 0FFFH Assigning data above the 0FFFH address causes an error RAM Area The RAM area is limited to a maximum address of 3FFH However as the following addresses are in the unused area des...

Страница 37: ...n option data memory It is HEX file output by the function option generator and has intel HEX format 2 Load segment option HEX file in the evaluation board segment option data memory It is HEX file output by the segment option generator and has intel HEX format Function Examples OPTLD 1 C008XXX C008XXXF HEX file is loaded in the function option data memory OPTLD 2 C008XXX C008XXXS HEX file is load...

Страница 38: ... ICS6008 is started the start up message is displayed and a self test is automatically performed ICS6008 commands are awaited when the program is properly loaded and the mark is displayed Debugging can be done by entering command after the mark The ICS6008 program is terminated by entering the Q Quit command Note Confirm that the cables con nected properly then operate the ICS6008 Error message Me...

Страница 39: ...from a address Displays only the final step 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 All break conditions canceled Break condition displayed Enter break enable mode Enter break disable mode Set break stop trace modes Set BA cond...

Страница 40: ...rom program area a1 to a2 Indicates history acquisition program area Retrieves 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 function o...

Страница 41: ...08 Input file C008XXXL HEX Object file low order C008XXXH HEX Object file high order C008XXXF DOC Function option document file C008XXXS DOC Segment option document file C6008XXX PAn Packed file When unpacking Output file C6008XXX PAn Packed file When packing C008XXXL PAn Object file low order C008XXXH PAn Object file high order C008XXXF PAn Function option document file C008XXXS PAn Segment optio...

Страница 42: ...ELECT NO Start up message When MDC6008 is started the start up message and operation menu are displayed Here the user is prompted to select operation options OPERATION MENU 1 PACK 2 UNPACK PLEASE SELECT NO 1 1 C008XXXH HEX C008XXXL HEX C6008XXX PAn PACK FILE C008XXXF DOC C008XXXS DOC PLEASE INPUT PACK FILE NAME C6008XXX PAn C60080A0 PA0 2 C0080A0H HEX C0080A0L HEX C60080A0 PA0 C0080A0F DOC C0080A0...

Страница 43: ...UPLICATE 1 OPTION DATA ERROR START MARK 2 OPTION DATA ERROR OPTION NUMBER 3 OPTION DATA ERROR SELECT NUMBER 4 OPTION DATA ERROR END MARK The start mark is not OPTION during unpacking The option number is not correct The option selection number is not correct The end mark is not END packing or END unpacking Error Message Explanation 1 SEGMENT DATA ERROR START MARK 2 SEGMENT DATA ERROR DATA 3 SEGMEN...

Страница 44: ... s0 s0 0 s0 s0 1 0 0 1 1 0 0 0 x0 y0 r0 r0 r0 r0 r0 r0 r0 r0 r0 r0 r0 r0 i0 i0 i0 i0 p s C s NC s Z s NZ s s s X Y X x Y y XP r XH r XL r YP r YH r YL r r XP r XH r XL r YP r YH r YL XH i XL i YH i YL i PSET JP JPBA CALL CALZ RET RETS RETD NOP5 NOP7 HALT INC LD ADC Branch instructions System control instructions Index operation instructions Classification Operand I D Z C 5 5 5 5 5 5 5 7 7 7 12 12 ...

Страница 45: ...n1 n1 n1 i1 q1 i1 q1 1 i1 i1 0 1 1 0 0 1 0 1 1 1 r1 0 0 1 1 0 0 1 r1 0 0 1 1 0 i0 i0 i0 i0 i0 q0 n0 n0 n0 n0 i0 q0 i0 q0 0 i0 i0 1 0 0 1 0 1 0 1 1 1 r0 0 1 0 1 0 1 0 r0 0 1 0 1 XH i XL i YH i YL i r i r q A Mn B Mn Mn A Mn B MX i r q MY i r q MX F i F i SP SP r XP XH XL YP YH YL F r XP XH XL YP CP LD LDPX LDPY LBPX SET RST SCF RCF SZF RZF SDF RDF EI DI INC DEC PUSH POP Index operation instructions...

Страница 46: ...3 r1 i3 r1 i3 r1 r1 1 n3 n3 1 1 1 1 1 2 0 0 0 0 0 1 1 i2 r0 i2 r0 r0 i2 r0 i2 r0 i2 r0 i2 r0 i2 r0 i2 r0 r0 1 n2 n2 0 1 0 1 1 1 0 0 1 r1 r1 r1 r1 i1 q1 i1 q1 q1 i1 q1 i1 q1 i1 q1 i1 q1 i1 q1 i1 q1 r1 r1 n1 n1 r1 r1 r1 r1 1 0 0 1 0 r0 r0 r0 r0 i0 q0 i0 q0 q0 i0 q0 i0 q0 i0 q0 i0 q0 i0 q0 i0 q0 r0 r0 n0 n0 r0 r0 r0 r0 1 YH YL F SPH r SPL r r SPH r SPL r i r q r i r q r q r i r q r i r q r i r q r i ...

Страница 47: ... 00H 0FH M SP Data memory whose address is specified with stack pointer SP r q Two bit register code r q is two bit immediate data according to the contents of these bits they indicate registers A B and MX and MY data memory whose addresses are specified with index registers IX and IY r q Register r1 r0 q1 q0 specified 0 0 0 0 A 0 1 0 1 B 1 0 1 0 MX 1 1 1 1 MY Symbols associated with program count...

Страница 48: ...ion file correct PC DOS ICS6008W 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 ...

Страница 49: ...E to change the page See Memory setting pseudo instructions in the cross assembler manual Check the following and remedy if necessary Is the number of files set at ten or more in OS environ ment file CONFIG SYS Check the following and remedy if necessary Has the EPROM for F HEX and S HEX been replaced by the EPROM for the target Is the EPROM for F HEX and S HEX installed correctly Is the appropria...

Страница 50: ...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...

Страница 51: ...www epson co jp device Development Software Tool for S1C60N08 S5U1C60N08D Manual EPSON Electronic Devices Website ELECTRONIC DEVICES MARKETING DIVISION First issue April 1999 Printed April 2001 in Japan A M ...

Отзывы: