Epson S5U1C60N08D Manual
Epson S5U1C60N08D Manual

Epson S5U1C60N08D Manual

Cmos 4-bit single chip microcomputer

Advertisement

Quick Links

MF1192-02
CMOS 4 - BIT SINGLE CHIP MICROCOMPUTER
S5U1C60N08D
Manual
(Development Software Tool for S1C60N08)

Advertisement

Table of Contents
loading

Summary of Contents for Epson S5U1C60N08D

  • Page 1 MF1192-02 CMOS 4 - BIT SINGLE CHIP MICROCOMPUTER S5U1C60N08D Manual (Development Software Tool for S1C60N08)
  • Page 2 No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any...
  • Page 3 The information of the product number change Starting April 1, 2001, the product number will be changed as listed below. To order from April 1, 2001 please use the new product number. For further information, please contact Epson sales representative.
  • Page 5: Table Of Contents

    In this manual, "ICE" and "evaluation board" indicate S5U1C62000H and S5U1C60N08E, respectively. CONTENTS 1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL _____________ 1 1.1 Configuration of S5U1C60N08D ................1 1.2 Developmental Environment ..................1 1.3 Development Flow ....................2 1.4 Installation ........................ 3 2 CROSS ASSEMBLER ASM6008 __________________________________ 4 2.1 ASM6008 Outline .....................
  • Page 6 CONTENTS APPENDIX A. S1C60N08 INSTRUCTION SET _______________________ 38 B. TROUBLESHOOTING ______________________________ 42 White EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 7: Composition Of Development Support Tool

    • Printer Fig. 1.2.1 System configuration Note The S5U1C60N08D system requires a host computer with a RAM capacity of about 140K bytes. Since the ICE (S5U1C62000H) is connected to the host computer with a RS-232C serial interface, adapter board for asynchronous communication will be required depending on the host computer used.
  • Page 8: Development Flow

    Concerning file names All the input-output file name for the each development support tool commonly use "C008XXX". In principle each file should be produced in this manner. Seiko Epson will designate the "XXX" for each customer. Reference Manual *1 S1C60N08/60R08 Technical Manual...
  • Page 9: Installation

    1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL 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.
  • Page 10: Cross Assembler Asm6008

    49FH is loaded into the IX register, but an unused area has been specified XP,A so that the memory accessible with the IX register (MX) is invalid. X,9FH Undefined codes The SLP instruction has not been defined in the S1C60N08 instruction sets. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 11: Asm6008 Quick Reference

    EEEEEEEEEE SSSS EEEEEEEEEE SSSSSSS OOOOOOOO specified, message (2) is displayed. At this (C) COPYRIGHT 1989 SEIKO EPSON CORP. stage, cross-reference table generation may SOURCE FILE NAME IS " C008XXX.DAT " be selected. THIS SOFTWARE MAKES NEXT FILES. Generating .... Y C008XXXH.HEX...
  • Page 12 The number of defined labels and symbols exceeded the label table capacity (4000). CROSS REFERENCE TABLE OVERFLOW The label/symbol reference count exceeded the cross-reference table capacity (only when the cross-reference table is generated). EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 13: Function Option Generator Fog6008

    2. Not Use 5. INPUT INTERRUPT NOISE REJECTOR • K00–K03 ..........1. Use 2. Not Use • K10 ............1. Use 2. Not Use • K20–K23 ..........1. Use 2. Not Use EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 14 • P12 ............1. Complementary 2. Pch-OpenDrain • P13 ............1. Complementary 2. Pch-OpenDrain 13. SIN PULL DOWN RESISTOR 1. With Resistor 2. Gate Direct 14. SOUT SPECIFICATION 1. Complementary 2. Pch-OpenDrain EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 15 4. 1/3 Bias, Regulator Not Used, LCD 4.5 V • DUTY SELECTION ......1. 1/4 Duty 2. 1/3 Duty 3. 1/2 Duty 19. SEGMENT MEMORY ADDRESS 1. 0 Page (040–06F) 2. 2 Page (240–26F) EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 16: Option Specifications And Selection Message

    PLEASE SELECT NO.(1) ? 1 simultaneous high input time is authorized. The system is reset when a signal is input for more than COMBINATION 2. USE K00,K01 SELECTED AUTHORIZE 1. USE SELECTED 1 to 3 sec. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 17 USE" should be selected when high speed response is required. PLEASE SELECT NO.(1) ? 1 K20-K23 1. USE 2. NOT USE PLEASE SELECT NO.(1) ? 1 K00-K03 1. USE SELECTED 1. USE SELECTED K20-K23 1. USE SELECTED EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 18 2. P-CH OPEN DRAIN Pch open drain PLEASE SELECT NO.(1) ? 2 1. COMPLEMENTARY SELECTED 1. COMPLEMENTARY SELECTED 2. P-CH OPEN DRAIN SELECTED Fig. 3.3.3 Configuration of output circuit 2. P-CH OPEN DRAIN SELECTED EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 19 300 HZ PLEASE SELECT NO.(1) ? 2 R12 output OUTPUT SPECIFICATION 1. COMPLEMENTARY SELECTED R12 register OUTPUT TYPE 2. FOUT 32768 OR 38400 HZ SELECTED Fig. 3.3.4 Output waveform at DC output selection EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 20 R10 output type is reselected after selecting buzzer inverted output, the R10 output type is fixed at buzzer output. R13 buzzer output Buzzer output waveform is shown in Figure R10/R13 register 3.3.6. Fig. 3.3.6 Buzzer output waveform EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 21 Select 2. GATE DIRECT "WITH RESISTOR" if the SIN terminal will not be PLEASE SELECT NO.(1) ? 1 used. SIN PULL DOWN RESISTOR 1. WITH RESISTOR SELECTED EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 22 Either 2,048 (or 2,400) Hz or 256 (or 300) Hz may PLEASE SELECT NO.(1) ? 1 be selected as the sampling frequency. Select one suitable for the input signal. EVENT COUNTER NOISE REJECTOR 1. 2048 OR 2400 HZ SELECTED EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 23 1/4, 1/3 or 1/2 duty, 1/3 bias 1/4, 1/3 or 1/2 duty, 1/2 bias 1.5 V 1.5 V Fig. 3.3.10 Note: V is shorded to V inside the IC External elements for LCD power supply circuit EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 24 2. 2 PAGE(240–26F) When "2 PAGE" is selected, the segment memory PLEASE SELECT NO.(1) ? 1 area is allocated to "0C0H–0EFH" and becomes a write-only area. SEGMENT MEMORY ADDRESS 1. 0 PAGE(040–06F) SELECTED EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 25: Fog6008 Quick Reference

    (Within 50 characters x 10 lines) . . (1) PLEASE INPUT FILE NAME? C0080A0 . . (2) PLEASE INPUT USER'S NAME? SEIKO EPSON CORP. Next, start function option setting from PLEASE INPUT ANY COMMENT . . (3) (ONE LINE IS 50 CHR)? FUJIMI PLANT option No.
  • Page 26 EPROM to be used for setting evaluation board 1. INPUT NEW FILE 2. EDIT FILE options. 3. RETURN TO DOS PLEASE SELECT NO.? When a series of operations are complete, the sequence returns to the operation selection menu. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 27: Sample File

    3 FUNCTION OPTION GENERATOR FOG6008 3.5 Sample File * E0C6008 FUNCTION OPTION DOCUMENT V 2.20 * FILE NAME C0080A0F.DOC * USER’S NAME SEIKO EPSON CORP. * INPUT DATE 1998/10/26 * COMMENT ETT PLANT NO.287 NANKING E.ROAD, SEC.3, TAIPEI, TAIWAN, R.O.C. TEL 2717-7360 FAX 2717-7377 * OPTION NO.1...
  • Page 28 * < SOUT SPECIFICATION > SOUT SPECIFICATION COMPLEMENTARY ----------------- SELECTED OPT1401 01 * OPTION NO.15 * < SCLK SPECIFICATION > SCLK PULL DOWN RESISTORWITH RESISTOR ----------------- SELECTED OUTPUT SPECIFICATION COMPLEMENTARY ----------------- SELECTED LOGIC POSITIVE ---------------------- SELECTED EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 29 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...
  • Page 30: Segment Option Generator Sog6008

    Error message for evaluation board use Fig. 4.1.1 SOG6008 execution flow The operating method is same as for the S1C62 Family. Refer to the "S1C62 Family Development Tool Reference Manual" for details. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 31: Option List

    Note: 1. Even if there are unused areas, set "---" (hyphens) such that there are no blank columns. 2. When DC output is selected, the display memory of the COM0 column becomes effective. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 32: Segment Ports Output Specifications

    Note: If you select "1/3 bias, internal regulator used, LCD 3 V" in LCD specification, do not select "DC output" in the SOG file, because it is not allowance. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 33: Sog6008 Quick Reference

    . . (1) (2) Enter the file name. . . (2) PLEASE INPUT SEGMENT OPTION FILE NAME? C0080A0 PLEASE INPUT USER'S NAME? SEIKO EPSON CORP. . . (3) (3) Enter the customer's company name. PLEASE INPUT ANY COMMENT . . (4) (ONE LINE IS 50 CHR)? FUJIMI PLANT (4) Enter any comment.
  • Page 34 The same data (SEG port No., segment memory address, or data bit) was specified more then once. Out Port Set Error The output specifications were not set in units of two ports. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 35: Sample File

    4 SEGMENT OPTION GENERATOR SOG6008 4.5 Sample File Example of segment option source file ; LCD SEGMENT DECODE TABLE EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 36: Ice Control Software Ics6008

    This command is used to load HEX files (function option data and segment option data for LCD) in the evaluation board memory with the ICE. Load of function option data: #OPTLD,1,C008XXX Load of segment option data: #OPTLD,2,C008XXX EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 37 It is HEX file output by the segment option generator and has intel HEX format. Examples ..C008XXXF.HEX file is loaded in the function option data memory. #OPTLD,1,C008XXX ..C008XXXS.HEX file is loaded in the segment option data memory. #OPTLD,2,C008XXX EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 38: Ics6008 Quick Reference

    EEEEEEEEEE SSSSSSS OOOOOOOO Debugging can be done by entering (C) COPYRIGHT 1991 SEIKO EPSON CORP. command after the # mark. * ICE POWER ON RESET * The ICS6008 program is terminated by * DIAGNOSTIC TEST OK * entering the Q (Quit) command.
  • Page 39 Display evaluation board CPU internal registers Internal Set evaluation board CPU internal registers Registers Reset evaluation board CPU #DXY Display X, Y, MX and MY #SXY Set data for X and Y display and MX, MY EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 40 Set ROM type Terminate Terminate ICE and return to operating system control Command #HELP Display ICE instruction Display Self #CHK Report results of ICE self diagnostic test Diagnosis means press the RETURN key. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 41: Mask Data Checker Mdc6008

    C008XXXL.HEX) and option data (C008XXXF.DOC and C008XXXS.DOC) created by the user and creates the data file (C6008XXX.PAn) for generating mask patterns. The user must send the file generated through this software tool to Seiko Epson. Moreover, MDC6008 has the capability to restore the generated data file (C6008XXX.PA0) to the original file format.
  • Page 42 (2) Enter the file name. PLEASE SELECT NO.? 1 . . . (1) After submitting the data to Seiko Epson and there is a need to re-submit C008XXXH.HEX --------+ the data, increase the numeric value of C008XXXL.HEX --------+ |-------- C6008XXX.PAn (PACK FILE) "n"...
  • Page 43 Error Message Explanation The directory is full. 1. DIRECTORY FULL. Writing on the disk is failed. 2. DISK WRITE ERROR. * \ sometimes appears as ¥, depending on the personal computer being used. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 44 ↑ ↑ ← ↓ ↓ XH, i XH+i3~i0+C ↑ ↑ ← ↓ ↓ XL, i XL+i3~i0+C ↑ ↑ ← ↓ ↓ YH, i YH+i3~i0+C ↑ ↑ ← ↓ ↓ YL, i YL+i3~i0+C EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 45 ← SP-1, M(SP) ← ← SP-1, M(SP) ← ← M(SP), SP SP+1 ← ← M(SP), SP SP+1 ← ← M(SP), SP SP+1 ← ← M(SP), SP SP+1 ← ← M(SP), SP SP+1 EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 46 MY, r M(Y) M(Y)+r+C, Y ↑ ↑ ← ← ↓ ↓ SCPX MX, r M(X) M(X)-r-C, X ← ← ↑ ↑ ↓ ↓ SCPY MY, r M(Y) M(Y)-r-C, Y ↑ ← ↓ EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 47 A, B, and MX and MY (data ∀ Exclusive-OR memory whose addresses are specified with Add-subtract instruction for decimal index registers IX and IY) operation when the D flag is set Register specified EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 48 Check the following and remedy if necessary: is correctly set in the segment source • Does the address symbol use capital letters? file. • Are the output ports set for every two terminals? EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 49 ROM) Target segment does not light. Check the following and remedy if necessary: • Is an EPROM with an access time of 250 ns or less being used for S.HEX. EPSON S5U1C60N08D MANUAL (DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
  • Page 50 Central Phone: +852-2585-4600 Fax: +852-2827-4346 101 Virginia Street, Suite 290 Telex: 65542 EPSCO HX Crystal Lake, IL 60014, U.S.A. EPSON TAIWAN TECHNOLOGY & TRADING LTD. Phone: +1-815-455-7630 Fax: +1-815-455-7633 10F, No. 287, Nanking East Road, Sec. 3 Northeast Taipei 301 Edgewater Place, Suite 120...
  • Page 51 S5U1C60N08D Manual (Development Software Tool for S1C60N08) ELECTRONIC DEVICES MARKETING DIVISION EPSON Electronic Devices Website http://www.epson.co.jp/device/ First issue April, 1999 Printed April, 2001 in Japan...

Table of Contents