Epson E0C6011 Development Manual

Cmos 4-bit single chip microcomputer

Advertisement

Quick Links

MF1224-01
E0C6011
CMOS 4-BIT SINGLE CHIP MICROCOMPUTER
D
T
M
EVELOPMENT
OOL
ANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Epson E0C6011

  • Page 1 MF1224-01 E0C6011 CMOS 4-BIT SINGLE CHIP MICROCOMPUTER EVELOPMENT ANUAL...
  • Page 2 Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as medical products.
  • Page 3: Table Of Contents

    2.3 ASM6011 Quick Reference ..................5 3 FUNCTION OPTION GENERATOR FOG6011 ______________________ 7 3.1 FOG6011 Outline ..................... 7 3.2 E0C6011 Option List ....................7 3.3 Option Specifications and Selection Message ............9 3.4 FOG6011 Quick Reference ..................16 3.5 Sample File ......................18 4 SEGMENT OPTION GENERATOR SOG6011 _______________________ 20 4.1 SOG6011 Outline ....................
  • Page 4 6 MASK DATA CHECKER MDC6011 _______________________________ 32 6.1 MDC6011 Outline ....................32 6.2 MDC6011 Quick Reference ..................32 APPENDIX A. E0C6011 INSTRUCTION SET ________________________ 35 B. E0C6011 RAM MAP ________________________________ 39 C. E0C6011 I/O MEMORY MAP _________________________ 40 D. TROUBLESHOOTING ______________________________ 41...
  • Page 5: Composition Of Development Support Tool

    1.1 Configuration of DEV6011 The below software are included in the product of the E0C6011 development support tool DEV6011. 1. Cross Assembler ASM6011 .......... Cross assembler for program preparation 2. Function Option Generator FOG6011 ......Function option data preparation program 3.
  • Page 6: Development Flow

    Concerning file names All the input-output file name for the each development support tool commonly use "C011XXX". In principle each file should be produced in this manner. Seiko Epson will designate the "XXX" for each customer. Reference Manual *1 E0C6011 Technical Hardware Manual...
  • Page 7: Production Of Execution Disk

    The SPEED (MS-DOS) or MODE (PC-DOS) command is used for setting the RS-232C, so you should copy these commands into the disk to be executed or specify a disk or directory with the command using the PATH command. EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 8: Cross Assembler Asm6011

    2.1 ASM6011 Outline The ASM6011 cross assembler is an assembler program A>EDLIN C011XXX.DAT for generating the machine code used by the E0C6011 4- Create the source file bit, single-chip microcomputers. The Cross Assembler ASM6011 will assemble the program source files which...
  • Page 9: Asm6011 Quick Reference

    Output file: C011XXXH.HEX (Object file, high-order) C011XXX.PRN (Assembly listing file) Display example When ASM6011 is started, the start-up *** E0C6011 CROSS ASSEMBLER. --- Ver 1.00 *** message is displayed. EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO At (1), select whether or not the auto-page-...
  • Page 10 LABEL TABLE OVERFLOW 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 E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 11: Function Option Generator Fog6011

    With the 4-bit single-chip E0C6011 microcomputers, the customer may select 12 hardware options. By modifying Option list generation the mask patterns of the E0C6011 according to the selected options, the system can be customized to meet the specifications of the target system. Start FOG6011...
  • Page 12 1. 1/4 Duty, 1/3 Bias or 1/4 Duty, 1/2 Bias 2. 1/3 Duty, 1/3 Bias or 1/3 Duty, 1/2 Bias 3. 1/2 Duty, 1/3 Bias or 1/2 Duty, 1/2 Bias 12. SEGMENT MEMORY ADDRESS 1. 40H–6FH 2. C0H–EFH EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 13: Option Specifications And Selection Message

    3 FUNCTION OPTION GENERATOR FOG6011 3.3 Option Specifications and Selection Message Screen that can be selected as function options set on the E0C6011 are shown below, and their specifications are also described. 1 Device type and LCD voltage Select the chip specification.
  • Page 14 ∗ When DC output is selected, the R03 terminal output type (see Option 8, "R03 specification") selection is limited to DC output only. Output Refer to Figure 3.3.5 for buzzer output waveform. register Complementary Pch open drain Fig. 3.3.2 Configuration of output circuit EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 15 R02 register observed when using it. The output waveform is shown in Figure 3.3.4. Fig. 3.3.4 Output waveform at R02 FOUT output selection EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 16 PLEASE SELECT NO.(1) ? 1 terminal. The I/O port circuit configuration is shown in Figure 1. COMPLEMENTARY 2. PCH-OPENDRAIN 3.3.6. PLEASE SELECT NO.(1) ? 1 1. COMPLEMENTARY 2. PCH-OPENDRAIN PLEASE SELECT NO.(1) ? 1 EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 17 PLEASE SELECT NO.(1) ? 1 1. WITH RESISTOR SELECTED 1. WITH RESISTOR SELECTED 1. WITH RESISTOR SELECTED 1. WITH RESISTOR SELECTED 1. WITH RESISTOR SELECTED 1. WITH RESISTOR SELECTED 1. WITH RESISTOR SELECTED 1. WITH RESISTOR SELECTED EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 18 Fig. 3.3.7 Drive waveform from COM terminals (1/3 bias) COM0 COM0 COM0 COM1 COM1 COM1 COM2 COM2 COM2 COM3 COM3 COM3 1/4 duty drive waveform 1/3 duty drive waveform 1/2 duty drive waveform Fig. 3.3.8 Drive waveform from COM terminals (1/2 bias) EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 19 RAM is assigned to this area. 1. 40H-6FH When "C0H–EFH" is selected, this segment memory 2. C0H-EFH area becomes a write-only area. PLEASE SELECT NO.(1) ? 2 2. C0H-EFH SELECTED EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 20: Fog6011 Quick Reference

    FUNCTION OPTION DOCUMENT FILE. STRIKE ANY KEY. Date input Enter the 2-digit year, month, and day of the *** E0C6011 USER'S OPTION SETTING. --- Ver 2.00 *** month by delimiting them with a slash ("/"). CURRENT DATE IS 99/01/22 When not modifying the date, press the PLEASE INPUT NEW DATE RETURN key "...
  • Page 21 1. INPUT NEW FILE EPROM to be used for setting EVA6011 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 E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 22: Sample File

    3 FUNCTION OPTION GENERATOR FOG6011 3.5 Sample File Example of function option document file * E0C6011 FUNCTION OPTION DOCUMENT V 2.00 * FILE NAME C0110A0F.DOC * USER’S NAME SEIKO EPSON CORP. * INPUT DATE 1999/01/22 * OPTION NO.1 * < << DEVICE TYPE & LCD POWER VREG >> >...
  • Page 23 * SEIKO EPSON’S AREA * OPTION NO.13 OPT1301 01 * OPTION NO.14 OPT1401 01 \\END Note End mark "¥¥END" may be used instead of "\\END" depending on the PC used. (The code of \ and ¥ is 5CH.) EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 24: Segment Option Generator Sog6011

    A>EDLIN C011XXX.SEG the customer may select the LCD segment options. Segment source file generation By modifying the mask patterns of the E0C6011 according to the selected options, the system can be customized to meet the specifications of the target C011XXX system.
  • Page 25: Option List

    P: Pch open drain output 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 E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 26: Segment Ports Output Specifications

    COM1–COM3 becomes ineffective. Write three hyphens ("---") in the COM1–COM3 columns in the option list. Example • When complementary output is set to SEG34 and SEG35, and Pch open drain output is set to SEG36 and SEG37. EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 27: Sog6011 Quick Reference

    SEGMENT OPTION DOCUMENT FILE. STRIKE ANY KEY. Date input Enter the 2-digit year, month, and day of the *** E0C6011 USER'S OPTION SETTING. --- Ver 2.00 *** month by delimiting them with a slash ("/"). CURRENT DATE IS 99/01/14 PLEASE INPUT NEW DATE When not modifying the date, press the RETURN key "...
  • Page 28 The segment memory address or data bit outside the specificable range was specified. (Duprication Error) 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 E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 29: Sample Files

    D43 S D53 S D63 S D73 S D83 S D93 S DA3 S DB3 S DC3 S DD3 S DE3 S DF3 S E03 S E13 S E23 S E33 S --- C --- C EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 30 4 SEGMENT OPTION GENERATOR SOG6011 Example of segment option document file * E0C6011 SEGMENT OPTION DOCUMENT V 2.00 * FILE NAME C0110A0S.DOC * USER’S NAME SEIKO EPSON CORP. * INPUT DATE 99/01/14 * OPTION NO.13 * < LCD SEGMENT DECODE TABLE >...
  • Page 31: Ice Control Software Ics6011

    071H, 072H, 074H, 076H, 077H, 07BH, 07FH, 0F0H to 0F5H, 0F7H to 0FCH Refer to the "E0C6011 Technical Manual" for details. Undefined Code The instructions below are not specified for the E0C6011 and so cannot be used. PUSH POP XP...
  • Page 32 It is HEX file output by the segment option generator and has intel HEX format. Examples ..C011XXXF.HEX file is loaded in the function option data memory. #OPTLD,1,C011XXX ..C011XXXS.HEX file is loaded in the segment option data memory. #OPTLD,2,C011XXX EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 33: Ics6011 Quick Reference

    C011XXXL.HEX (Object file, low-order) Output file: C011XXXH.HEX (Object file, high-order) C011XXXD.HEX (Data RAM file) C011XXXC.HEX (Control file) Display example Start-up message *** E0C6011 ICE CONTROL SOFTWARE. --- Ver 3.01 *** When ICS6011 is started, the start-up EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO EEEEEEEEEE...
  • Page 34: Command List

    Change CPU Display EVA6011 CPU internal registers Internal Set EVA6011 CPU internal registers Registers Reset EVA6011 CPU #DXY Display X, Y, MX and MY #SXY Set data for X and Y display and MX, MY EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 35 Set ROM type Terminate Terminate ICE and return to operating system control Command #HELP Display ICE62R (ICE6200) instruction Display Self #CHK Report results of ICE62R (ICE6200) self diagnostic test Diagnosis means press the RETURN key. EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 36: Mask Data Checker Mdc6011

    C011XXXL.HEX) and option data (C011XXXF.DOC and C011XXXS.DOC) created by the user and creates the data file (C6011XXX.PAn) for generating mask patterns. The user must send the file generated through this software tool to Seiko Epson. Moreover, MDC6011 has the capability to restore the generated data file (C6011XXX.PA0) to the original file format.
  • Page 37 6 MASK DATA CHECKER MDC6011 Display examples Start-up message *** E0C6011 PACK / UNPACK PROGRAM Ver 2.00 *** When MDC6011 is started, the start-up EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO EEEEEEEEEE PPPPPPPPPP SSSS NNNN message and operation menu are displayed. NNNNN NNNNNN...
  • Page 38 System error 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 E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 39: Appendix A. E0C6011 Instruction Set

    APPENDIX A. E0C6011 INSTRUCTION SET A. E0C6011 INSTRUCTION SET APPENDIX Operation Code Flag Mne- Classification Operand Clock Operation monic I D Z C ← ← Branch PSET p4, NPP p3~p0 ← ← ← instructions NBP, PCP NPP, PCS s7~s0 ←...
  • Page 40 APPENDIX A. E0C6011 INSTRUCTION SET Operation Code Flag Mne- Classification Operand Clock Operation monic I D Z C ↑ ↑ ↓ ↓ Index XH, i XH-i3~i0 ↑ ↑ ↓ ↓ operation XL, i XL-i3~i0 ↑ ↑ ↓ ↓ instructions YH, i YH-i3~i0 ↑...
  • Page 41 APPENDIX A. E0C6011 INSTRUCTION SET Operation Code Flag Mne- Classification Operand Clock Operation monic I D Z C ← ← Stack M(SP), SP SP+1 ← ← operation M(SP), SP SP+1 ↑ ↑ ↑ ↑ ← ← ↓ ↓ ↓ ↓...
  • Page 42 APPENDIX A. E0C6011 INSTRUCTION SET Abbreviations used in the explanations have the following meanings. Symbols associated with registers and memory Symbols associated with program counter A register New bank pointer B register New page pointer XHL register Program counter bank...
  • Page 43: E0C6011 Ram Map

    APPENDIX B. E0C6011 RAM MAP B. E0C6011 RAM MAP APPENDIX EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 44: E0C6011 I/O Memory Map

    APPENDIX C. E0C6011 I/O MEMORY MAP C. E0C6011 I/O MEMORY MAP APPENDIX Register Address Comment ∗1 Name Init Clock timer data (2 Hz) Clock timer data (4 Hz) 070H When f = 65,536 Hz Clock timer data (8 Hz) Clock timer data (16 Hz) ∗2...
  • Page 45: Troubleshooting

    An R error occurs although the address 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 E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 46 Check the following and remedy if necessary: • Is an EPROM with an access time of 250 ns or less being used for S.HEX. • Has the VADJ VR inside the EVA6011 top cover been turned to a lower setting? EPSON E0C6011 DEVELOPMENT TOOL MANUAL...
  • Page 47 Fax: 21-6485-0775 Central 1450 East American Lane, Suite 1550 - TAIWAN, R.O.C. - Schaumburg, IL 60173, U.S.A. EPSON TAIWAN TECHNOLOGY & TRADING LTD. Phone: +1-847-517-7667 Fax: +1-847-517-7601 10F, No. 287, Nanking East Road, Sec. 3 101 Virginia Street, Suite 290 Taipei, TAIWAN, R.O.C.
  • Page 48 In pursuit of “Saving” Technology, Epson electronic devices. Our lineup of semiconductors, liquid crystal displays and quartz devices assists in creating the products of our customers’ dreams. Epson IS energy savings.
  • Page 49 ELECTRONIC DEVICES MARKETING DIVISION Electronic devices information on Epson WWW server http://www.epson.co.jp Issue JUNE 1999, Printed in Japan...

Table of Contents