The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.   United States  United States   


Datasheet Search Engine   
 
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)


  Datasheet Home \ Datasheet Details

Single Chip Microcomputer, CPU, Memory, RS-232, Serial Interface, Termination, Floppy Disk, SCR

Download

PDF Abstract Text:

MF1224-01


CMOS 4-BIT SINGLE CHIP MICROCOMPUTER

MF1224-01
CMOS 4-BIT SINGLE CHIP MICROCOMPUTER
E0C6011
DEVELOPMENT TOOL MANUAL
NOTICE
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 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. Moreover, no license to any intellectual property rights is granted by implication or otherwise, and there is no representation or warranty that anything 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 Control Law of Japan and may require an export license from the Ministry of International Trade and Industry or other approval from another government agency.
MS-DOS and EDLIN are registered trademarks of Microsoft Corporation, U.S.A. PC-DOS, PC / AT, PS / 2, VGA, EGA and IBM are registered trademarks of International Business Machines Corporation, U.S.A. NEC PC-9801 Series and NEC are registered trademarks of NEC Corporation. All other product names mentioned herein are trademarks and / or registered trademarks of their respective owners.
CONTENTS
E0C6011 Development Tool Manual
PREFACE
This manual mainly explains the outline of the development support tool for the 4-bit Single Chip Microcomputer E0C6011. Refer to the "E0C62 Family Development Tool Reference Manual" for the details (common to all models) of each development support tool. Manuals for hardware development tools are separate, so you should also refer to the below manuals. Development tools
E0C62 Family Development Tool Reference Manual EVA6011 Manual ICE62R (ICE6200) Hardware Manual E0C62 Family Technical Guide E0C6011 Technical Manual E0C6200 / 6200A Core CPU Manual
Development procedure Device (E0C6011) Instructions
CONTENTS
1.1 1.2 1.3 1.4 Configuration of DEV6011 ........................................... 1 Developmental Environment .......................................... 1 Development Flow .................................................. 2 Production of Execution Disk .......................................... 3
2.1 2.2 2.3 ASM6011 Outline ................................................... 4 E0C6011 Restrictions ................................................ 4 ASM6011 Quick Reference ............................................ 5
3.1 3.2 3.3 3.4 3.5 FOG6011 Outline ................................................... 7 E0C6011 Option List ................................................ 7 Option Specifications and Selection Message ............................. 9 FOG6011 Quick Reference ........................................... 16 Sample File ....................................................... 18
4.1 4.2 4.3 4.4 4.5 SOG6011 Outline .................................................. 20 Option List ........................................................ 21 Segment Ports Output Specifications ................................... 22 SOG6011 Quick Reference ........................................... 23 Sample Files ...................................................... 25
5.1 5.2 5.3 ICS6011 Outline ................................................... 27 ICS6011 Restrictions ................................................ 27 ICS6011 Quick Reference ............................................ 29
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
CONTENTS
6.1 6.2 MDC6011 Outline .................................................. 32 MDC6011 Quick Reference ........................................... 32
White
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL
Here we will explain the composition of the software for the development support tools, developmental envilonment and how to generate the execution disk.
1.1 Configuration of DEV6011
The below software are included in the product of the E0C6011 development support tool DEV6011. 1. 2. 3. 4. 5. Cross Assembler ASM6011 ..................... Function Option Generator FOG6011 .............. Segment Option Generator SOG6011 ............. ICE Control Software ICS6011 ................... Mask Data Checker MDC6011 ................... Cross assembler for program preparation Function option data preparation program Segment option data preparation program ICE control program Mask data preparation program
1.2 Developmental Environment
The software product of the development support tool DEV6011 operates on the following host systems: · IBM PC / AT (at least PC-DOS Ver. 2.0) · NEC PC-9801 Series (at least MS-DOS Ver. 3.1) When developing the E0C6011, 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.
Host computer
PC-9801 Series IBM PC / AT
E0C6011 Series Development Tool
ICE62R (ICE6200) RS-232C
ICE6200
EVA6011
MS-DOS / PC-DOS Editor · P-ROM writer · Printer
Target board
To be prepared by the user
Fig. 1.2.1 System configuration
The DEV6011 system requires a host computer with a RAM capacity of about 140K bytes. Since the ICE62R (ICE6200) 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.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL
1.3 Development Flow
Figure 1.3.1 shows the development flow through the DEV6011.
1 Determination of software specifications 2, 3 Flow chart generation and coding 1 Determination of hardware specifications 3, 4 Function option list generation 3, 4 Segment option list generation Creation of target board 1, 5
Coding sheet
Function option list
Segment option list
Source file generation by using editor
C011XXX .DAT
Program source file 3, 4 3, 4 Function Option Generator FOG6011 execution
C011XXX .SEG
Segment option source file 3, 4
Cross Assembler ASM6011 execution
Segment Option Generator SOG6011 execution
C011XXX .PRN
Assembly list
C011XXXL Object file .HEX C011XXXH .HEX
C011XXXF .DOC
C011XXXS .DOC
Function option document file
Segment option document file
Function
C011XXXF option .HEX HEX file
Segment
C011XXXS option .HEX HEX file
Function option ROM (one)
Segment option ROM (one)
3, 4 Debugging with ICE Control Software ICS6011 Debugging completion 3, 4 Mask Data Checker MDC6011 execution
ICE62R (ICE6200)
ICE6200
EVA6011
Target board
C6011XXX File for submission .PAn
Fig. 1.3.1 DEV6011 development flow
Concerning file names
SEIKO EPSON
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 2 E0C6200 / 6200A Core CPU Manual 3 E0C62 Family Development Tool Reference Manual
4 E0C6011 Development Tool Manual (this manual) 5 EVA6011 Manual 6 ICE62R (ICE6200) Hardware Manual EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
1 COMPOSITION OF DEVELOPMENT SUPPORT TOOL
1.4 Production of Execution Disk
s First copy the entire content of this disk using commands such as DISKCOPY then make the execution disk. Carefully conserve the original floppy disk for storage purposes. When copying into a hard disk, make a subdirectory with an appropriate name (DEV6011, etc.) then copy the content of the floppy disk into that subdirectory using the COPY command. s Next make a CONFIG.SYS file using Editor or the like. When a CONFIG.SYS has previously been made using a hard disk system, check the setting of the FILES within it. (If there is none add it.) Set the number of files to be described in CONFIG.SYS at 10 or more, so that the Mask Data Checker MDC6011 will handle many files.
The driver for the RS-232C must be included in CONFIG.SYS by the host computer.
s In "ICS6011(B).BAT" the batch process is indicated such that the ICS6011J(W).EXE is executed after the execution of the command for the setting of the RS-232C communication parameters. 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.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
2 CROSS ASSEMBLER ASM6011
2.1 ASM6011 Outline
C011XXX .DAT
Error message
C011XXX .PRN
C011XXXL .HEX
C011XXXH .HEX
Error message
Assembly listing file
Object file
Fig. 2.1.1 ASM6011 execution flow
The format of the source file and its operating method are same as for the E0C62 Family. Refer to the "E0C62 Family Development Tool Reference Manual" for details.
2.2 E0C6011 Restrictions
Note the following when generating a program by the E0C6011:
s ROM area
The capacity of the E0C6011 ROM is 1, 536 steps (0000H to 05FFH). Therefore, the specification range of the memory setting pseudo-instructions and PSET instruction is restricted.
Memory configuration: Bank: Only bank 0, Page: 6 pages (0 to 5H), each 256 steps Significant specification range: ORG pseudo-instruction: PAGE pseudo-instruction: BANK pseudo-instruction: PSET instruction: X, 0A0H 0000H to 05FFH 00H to 05H Only 0H 00H to 05H A0H is loaded into the IX register, but an unused area has been specified so that the memory accessible with the IX register (MX) is invalid. B7H is loaded into the IY register, but an unused area has been specified so that the memory accessible with the IY register (MY) is invalid.
s RAM area
The capacity of the E0C6011 RAM is 144 words (000H to 06FH, 080H to 09FH, 4 bits / word). Memory access is invalid when the unused area of the index register is specified.
Example: LD
Y, 0B7H
s Undefined codes
The following instructions have not been defined in the E0C6011 instruction sets. PUSH POP LD LD XP XP XP, r r, XP PUSH POP LD LD YP YP YP, r r, YP
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
2 CROSS ASSEMBLER ASM6011
2.3 ASM6011 Quick Reference
s Starting command and input / output files
Execution file: Starting command: Option: .shp s h p -N Input file: Output file: ASM6011.EXE
C011XXXL.HEX (Object file, low-order) C011XXXH.HEX (Object file, high-order) C011XXX.PRN (Assembly listing file)
s Display example
E0C6011 CROSS ASSEMBLER. -- Ver 1.00 EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE PPPPPPPP PPPPPPPPPP PPP PPP PPP PPP PPPPPPPPPP PPPPPPPP PPP PPP PPP PPP SSSSSSS SSS SSSS SSS SSS SSS SSSSSS SSSS SSS SSS SSS SSSS SSS SSSSSSS OOOOOOOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOOOOOOO NNN NNN NNNN NNN NNNNN NNN NNNNNN NNN NNN NNN NNN NNN NNNNNN NNN NNNNN NNN NNNN NNN NNN NNN NN
(C) COPYRIGHT 1999 SEIKO EPSON CORP. SOURCE FILE NAME IS " C011XXX.DAT " THIS SOFTWARE MAKES NEXT FILES. C011XXXH.HEX C011XXXL.HEX C011XXX .PRN .. .. .. HIGH BYTE OBJECT FILE. LOW BYTE OBJECT FILE. ASSEMBLY LIST FILE. . . . (1) . . . (2)
When ASM6011 is started, the start-up message is displayed. At (1), select whether or not the auto-pageset function will be used. Use ............ Y Not use ......... N If the assembly listing file output is specified, message (2) is displayed. At this stage, cross-reference table generation may be selected. Generating ...... Y Not generating ... N When the above operation is completed, ASM6011 assembles the source file. To suspend execution, press the "CTRL" and "C" keys together at stage (1) or (2).
s Operators
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
2 CROSS ASSEMBLER ASM6011
s Pseudo-instructions
Pseudo-instruction Meaning Example of Use
EQU SET DW ORG PAGE SECTION END MACRO LOCAL ENDM
(Equation) (Set) (Define Word) (Origin) (Page) (Section) (End) (Macro) (Local) (End Macro)
To allocate data to label To allocate data to label (data can be changed) To define ROM data To define location counter To define boundary of page To define boundary of section To terminate assembly To define macro To make local specification of label during macro definition To end macro definition
ABC BCD ABC ABC ABC BCD
EQU EQU SET SET DW DW ORG ORG PAGE PAGE SECTION END
CHECK LOCAL LOOP
MACRO LOOP CP JP ENDM CHECK
DATA MX, DATA NZ, LOOP
s Error messages
Error message Explanation An unrecoverable syntax error 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.
(Syntax Error) (Undefined Error) (Missing Label) (Operand Error) (Phase Error) (Range Error)
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
3 FUNCTION OPTION GENERATOR FOG6011
3.1 FOG6011 Outline
With the 4-bit single-chip E0C6011 microcomputers, the customer may select 12 hardware options. 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 system. The Function Option Generator FOG6011 is a software tool for generating data files used to generate mask patterns. It enables the customer to interactively select and specify pertinent items for each hardware option. From the data file created with FOG6011, the E0C6011 mask pattern is automatically generated by a general purpose computer. The HEX file for the evaluation board (EVA6011) hardware option ROM is simultaneously generated with the data file.
Option list generation
Start FOG6011
Set function option
C011XXXF .HEX
C011XXXF .DOC
EVA6011 Seiko Epson
EPROM
The operating method is same as for the E0C62 Family. Refer to the "E0C62 Family Development Tool Reference Manual" for details.
Floppy disk
Fig. 3.1.1 FOG6011 execution flow
3.2 E0C6011 Option List
Multiple specifications are available in each option item as indicated in the Option List. Using "3.3 Option Specifications and Selection Message" as reference, select the specifications that meet the target system. Be sure to record the specifications for unused ports too, according to the instructions provided.
1. DEVICE TYPE
s 1. E0C6011 s 2. E0C6011 LCD 3 V LCD 4.5 V
2. OSC1 SYSTEM CLOCK SELECT
3. INTERRUPT NOISE REJECTOR K00-K03
s 1. Use s 2. Not Use
4. INPUT PORT PULL DOWN RESISTOR
· K00 · K01 · K02 · K03 ............................. ............................. ............................. ............................. s s s s 1. With Resistor 1. With Resistor 1. With Resistor 1. With Resistor s s s s 2. Gate Direct 2. Gate Direct 2. Gate Direct 2. Gate Direct
5. R00 SPECIFICATION
· R00 OUTPUT SPECIFICATION .... s 1. Complementary · R00 OUTPUT TYPE ............... s 1. DC Output s 2. Pch-OpenDrain s 2. Buzzer Output
6. R01 SPECIFICATION
· R01 OUTPUT SPECIFICATION .... s 1. Complementary s 2. Pch-OpenDrain
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
3 FUNCTION OPTION GENERATOR FOG6011
7. R02 SPECIFICATION
· R02 OUTPUT SPECIFICATION .... s 1. Complementary · R02 OUTPUT TYPE ............... s 1. DC Output s 2. FOSC / 2 s 3. FOSC / 4 s 4. FOSC / 8 s 5. FOSC / 16 s 6. FOSC / 32 s 7. FOSC / 64 s 8. FOSC / 128 s 9. FOSC / 256 s 2. Pch-OpenDrain
8. R03 SPECIFICATION
· R03 OUTPUT SPECIFICATION .... s 1. Complementary s 2. Pch-OpenDrain · R03 OUTPUT TYPE ............... s 1. DC Output s 2. Buzzer Output (R00 control) s 3. Buzzer Output (R03 control)
9. I / O PORT SPECIFICATION
· P00 ............................. · P01 ............................. · P02 ............................. · P03 ............................. · P10 ............................. · P11 ............................. · P12 ............................. · P13 ............................. s s s s s s s s 1. Complementary 1. Complementary 1. Complementary 1. Complementary 1. Complementary 1. Complementary 1. Complementary 1. Complementary s s s s s s s s 2. Pch-OpenDrain 2. Pch-OpenDrain 2. Pch-OpenDrain 2. Pch-OpenDrain 2. Pch-OpenDrain 2. Pch-OpenDrain 2. Pch-OpenDrain 2. Pch-OpenDrain
10. I / O PORT PULL DOWN RESISTOR
· P00 ............................. · P01 ............................. · P02 ............................. · P03 ............................. · P10 ............................. · P11 ............................. · P12 ............................. · P13 ............................. s s s s s s s s 1. With Resistor 1. With Resistor 1. With Resistor 1. With Resistor 1. With Resistor 1. With Resistor 1. With Resistor 1. With Resistor s s s s s s s s 2. Gate Direct 2. Gate Direct 2. Gate Direct 2. Gate Direct 2. Gate Direct 2. Gate Direct 2. Gate Direct 2. Gate Direct
11. LCD COMMON DUTY AND BIAS
12. SEGMENT MEMORY ADDRESS
s 1. 40H-6FH s 2. C0H-EFH
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
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. There are two models: 3-V LCD type and 4.5-V LCD type.
2 OSC1 system clock
The E0C6011 has a CR oscillation circuit with resistor and capacitor built-in. Four frequencies are available.
3 Interrupt noise rejector
Select whether noise rejector will be supplemented to the input interruptor of K00-K03. When "Use" is selected, the entry signal will pass the noise rejector, and occurrence of interrupt errors due to noise or chattering can be avoided. Note, however, that because the noise rejector performs entry signal sampling at 4 kHz, "Not Use" should be selected when high speed response is required.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
3 FUNCTION OPTION GENERATOR FOG6011
4 Input port pull down resistor
Select whether input ports (K00-K03) will each be supplemented with pull down resistors or not. When "Gate Direct" is selected, see to it that entry floating state does not occur. Select "With Resistor" for unused ports. Moreover, the input port status is changed from high level (VDD) to low (VSS) with pull down resistors, a delay of approximately 1 msec in waveform rise time will occur depending on the pull down resistor and entry load time constant. Because of this, when input reading is to be conducted, ensure the appropriate wait time with the program. The configuration of the pull down resistor circuit is shown in Figure 3.3.1.
Data bus Read signal
Fig. 3.3.1 Configuration of pull down resistor
5 R00 specification
OPTION NO.5
Select the output specification and the output type for the R00 terminal.
1. COMPLEMENTARY 2. PCH-OPENDRAIN
· Output specification Either complementary output or Pch open drain output may be selected. The output circuit configuration is shown in Figure 3.3.2. · Output type When DC output is selected, R00 becomes a regular output port. When buzzer output is selected, by writing "1" to the R00 register, buzzer drive signal is output from the R00 terminal. When DC output is selected, the R03 terminal output type (see Option 8, "R03 specification") selection is limited to DC output only. Refer to Figure 3.3.5 for buzzer output waveform.
Output register Complementary Pch open drain
Fig. 3.3.2 Configuration of output circuit
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
3 FUNCTION OPTION GENERATOR FOG6011
6 R01 specification
Select the output specification for the R01 terminal. Either complementary output or Pch open drain output may be selected. The circuit configuration is the same as that of the output port R00 (Figure 3.3.2).
7 R02 specification
OPTION NO.7
Select the output specification and the output type for the R02 terminal.
1. COMPLEMENTARY 2. PCH-OPENDRAIN
VDD R02 output R02 register 0 1 0 VSS
Fig. 3.3.3 Output waveform at R02 DC output selection
Specified frequency
VDD R02 output R02 register 0 1 0 VSS
Fig. 3.3.4 Output waveform at R02 FOUT output selection
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
3 FUNCTION OPTION GENERATOR FOG6011
8 R03 specification
OPTION NO.8
Select the output specification and the output type for the R03 terminal.
1. COMPLEMENTARY 2. PCH-OPENDRAIN
· Output specification Either complementary output or Pch open drain output may be selected. The circuit configuration is the same as that of the output port R00 (Figure 3.3.2). · Output type Either DC output or buzzer output (buzzer inverted output) may be selected. When DC output is selected, R03 becomes a regular output port. When buzzer output is selected, inverted waveform of R00 buzzer output is generated from the R03 terminal. When "BZ OUTPUT (R03)" is selected, the R03 outputs the buzzer inverted signal when "1" is written to the R03 register. When "BZ OUTPUT (R00)" is selected, the R03 buzzer output can be controlled by the R00 register as well as the R00 buzzer output. The buzzer output for R03 may not be selected when the output type of the R00 terminal (see Option 5, "R00 specification") is not set to buzzer output. Moreover, at this point, when the R00 output type is reselected after selecting buzzer output, the R00 output type is fixed at buzzer output. The buzzer output waveform is shown in Figure 3.3.5.
R00 / R03 register
R00 buzzer output
R03 buzzer inverted output
Fig. 3.3.5 Buzzer output waveform
9 I / O port specification
Select the output specification to be used during I / O ports (P00-P03 and P10-P13) output mode selection. Either complementary output or Pch open drain output may be selected. The circuit configuration of the output driver is the same as that of output ports (Figure 3.3.2). Select complementary output for unused ports. The I / O ports can control the input / output direction according to the IOC bit (07EH·D0 and 0FEH·D0) at "1" and "0" settings, it is set to output port and input port, respectively. The pull down resistor of this port is turned on by the read signal and is normally turned off to minimize leak current. Because of this, when the port is set for input, take care that a floating state does not occur in the terminal. The I / O port circuit configuration is shown in Figure 3.3.6.
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
3 FUNCTION OPTION GENERATOR FOG6011
1. COMPLEMENTARY 2. PCH-OPENDRAIN
Data bus
Read signal
Register
I / O control register VSS
Fig. 3.3.6 Circuit configuration of I / O port
10 I / O port pull down resistor
Select whether I / O ports (P00-P03, P10-P13) will each be supplemented with pull down resistors or not. When "Gate Direct" is selected, see to it that entry floating state does not occur. Select "With Resistor" for unused ports. Moreover, when the I / O port is set to the input mode and a low-level voltage (VSS) is input, an erroneous input results if the time constant of the capacitive load of the input line and the built-in pull-down resistor load is greater than the read-out time. When the input data is being read, the time that the input line is pulled down is equivalent to 0.5 cycles of the CPU system clock. Hence, the electric potential of the terminals must settle within 0.5 cycles. If this condition cannot be met, some measure must be devised, such as arranging a pull-down resistor externally, or performing multiple read-outs.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
3 FUNCTION OPTION GENERATOR FOG6011
11 LCD specification
OPTION NO.11
Select the specification (drive duty) for the LCD drive circuit. · Drive duty Select a drive duty. When 1 / 2 duty is selected, up to 76 segments of LCD panel can be driven with 2 COM terminals and 38 SEG terminals. When 1 / 3 duty is selected, up to 114 segments can be driven with 3 COM terminals, and when 1 / 4 duty is selected, up to 152 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. Refer to Table 3.3.1 for common duty selection. Figures 3.3.7 and 3.3.8 show the drive waveforms of 1 / 3 bias driving and 1 / 2 bias driving, respectively.
(for 3-V LCD model)
Table 3.3.1 Common duty selection standard
Number of segments 1-76 77-114 115-152 Common duty 1 / 2 1 / 3 1 / 4
VDD VL1 VL2 VL3
1 / 4 duty drive waveform
1 / 3 duty drive waveform
1 / 2 duty drive waveform
Fig. 3.3.7 Drive waveform from COM terminals (1 / 3 bias)
VDD VL1, VL2 VL3 VDD VL1, VL2 VL3 VDD VL1, VL2 VL3
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
3 FUNCTION OPTION GENERATOR FOG6011
C1 0.1µF C2 C3 0.1µF 0.1µF
Note: VL1 and VSS are shorted internally. 3 V LCD Panel 1 / 4, 1 / 3 or 1 / 2 duty, 1 / 2 bias
C1 0.1µF C2 0.1µF
Note: VL1 and VSS are shorted internally.
Fig. 3.3.9 External elements for LCD power supply circuit
12 Segment memory address
Select the segment memory area. When "40H-6FH" is selected for the segment memory area, it is possible to read and write from / to this area because a RAM is assigned to this area. When "C0H-EFH" is selected, this segment memory area becomes a write-only area.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
3 FUNCTION OPTION GENERATOR FOG6011
3.4 FOG6011 Quick Reference
s Starting command and input / output files
Execution file: Starting command: Input file: Output file: FOG6011.EXE FOG6011
indicates the Return key.
C011XXXF.DOC (Function option document file, when modifying) C011XXXF.DOC (Function option document file) C011XXXF.HEX (Function option HEX file)
s Display example
E0C6011 FUNCTION OPTION GENERATOR. -- Ver 2.00 PPPPPPPP PPPPPPPPPP PPP PPP PPP PPP PPPPPPPPPP PPPPPPPP PPP PPP PPP PPP SSSSSSS SSS SSSS SSS SSS SSS SSSSSS SSSS SSS SSS SSS SSSS SSS SSSSSSS OOOOOOOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOOOOOOO EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE NNN NNN NNNN NNN NNNNN NNN NNNNNN NNN NNN NNN NNN NNN NNNNNN NNN NNNNN NNN NNNN NNN NNN NNN NN
Start-up message When FOG6011 is started, the start-up message is displayed. For "STRIKE ANY KEY.", press any key to advance the program execution. To suspend execution, press the "CTRL" and "C" keys together: the sequence returns to the DOS command level.
(C) COPYRIGHT 1994 SEIKO EPSON CORP. THIS SOFTWARE MAKES NEXT FILES. C011XXXF.HEX C011XXXF.DOC .. .. FUNCTION OPTION HEX FILE. FUNCTION OPTION DOCUMENT FILE.
STRIKE ANY KEY.
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
3 FUNCTION OPTION GENERATOR FOG6011
(Modifying function option settings)
In step (1), if no modifiable source exists, the following message is displayed and the sequence returns to the operation selection menu.
SOURCE FILE(S) FUNCTION OPTION DOCUMENT FILE IS NOT FOUND.
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.
OPTION
Option selection The selections for each option correspond one to one to the option list. Enter the selection number. The value in parentheses ( ) indicates the default value, and is set when only the RETURN key " " is pressed. In return, the confirmation is displayed. When you wish to modify previously set function options in the new setting process, enter "B " to return 1 step back to the previous function option setting operation. EPROM selection When setting function options setting is completed, the following message is output to ask the operator whether to generate the HEX file. (1) When debugging the program with EVA6011, HEX file is needed, so enter "Y ". If "N " is entered, no HEX file is generated and only document file is generated. (2) For the option ROM selection menu displayed when "Y " is entered in Step (1), select the EPROM to be used for setting EVA6011 options. When a series of operations are complete, the sequence returns to the operation selection menu.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
3 FUNCTION OPTION GENERATOR FOG6011
3.5 Sample File
s Example of function option document file
SELECTED
SELECTED SELECTED SELECTED SELECTED
SELECTED SELECTED
SELECTED
SELECTED SELECTED
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
3 FUNCTION OPTION GENERATOR FOG6011
SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED
SELECTED
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
4 SEGMENT OPTION GENERATOR SOG6011
SEGMENT OPTION GENERATOR
SOG6011
4.1 SOG6011 Outline
With the 4-bit single-chip E0C6011 microcomputers, the customer may select the LCD segment options. 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 system. The Segment Option Generator SOG6011 is a software tool for generating data file used to generate mask patterns. From the data file created with SOG6011, the E0C6011 mask pattern is automatically generated by a general purpose computer. The HEX file for the evaluation board (EVA6011) segment option ROM is simultaneously generated with the data file.
C011XXX .SEG
Error message Error message
C011XXXS .HEX Segment option HEX file for EVA6011 use
C011XXXS .DOC Segment option document file
Fig. 4.1.1 SOG6011 execution flow
The operating method is same as for the E0C62 Family. Refer to the "E0C62 Family Development Tool Reference Manual" for details.
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
4 SEGMENT OPTION GENERATOR SOG6011
4.2 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.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
4 SEGMENT OPTION GENERATOR SOG6011
4.3 Segment Ports Output Specifications
For the output specification of the segment output ports SEG0-SEG37, segment output and DC output can be selected in units of two terminals. When used for liquid crystal panel drives, select segment output when used as regular output port, select DC output. When DC output is selected, either complementary output or Pch open drain output may further be selected. However, for segment output ports that will not be used, select segment output. Refer to the "E0C62 Family Development Tool Reference Manual" for the segment option source file creation.
s When segment output is selected
The segment output port has a segment decoder built-in, and the data bit of the optional address in the segment memory area (040H-06FH or 0C0H-0EFH) can be allocated to the optional segment. With this, up to 152 segments (114 segments when 1 / 3 duty is selected or 76 segments when 1 / 2 duty is selected) of liquid crystal panel could be driven. The segment memory may be allocated only one segment and multiple setting is not possible. The allocated segment displays when the bit for this segment memory is set to "1", and goes out when bit is set to "0". Segment allocation is set to H for high address (4-6 or C-E), 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 C00 C01 C02 C03 1 C10 C11 C12 C13 · When 1 / 3 duty is selected 0 C00 C01 C02 -1 C10 C11 C12 -· When 1 / 2 duty is selected 0 C00 C01 -- -1 C10 C11 -- --
s When DC output is selected
The DC output can be selected in units of two terminals and up to 38 terminals may be allocated for DC output. Also, either complementary output or Pch open drain output is likewise selected in units of two terminals. When the bit for the selected segment memory is set to "1", the segment output port goes high (VDD), and goes low (VSS) when set to "0". Segment allocation is the same as when segment output is selected but for the while the segment memory allocated to 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. 34 E00 -- -- -- C 35 E10 -- -- -- C 36 E20 -- -- -- P 37 E30 -- -- -- P
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
4 SEGMENT OPTION GENERATOR SOG6011
4.4 SOG6011 Quick Reference
s Starting command and input / output files
-H: Specifies the segment option document file for input file of SOG6011. C011XXX.SEG (Segment option source file) C011XXXS.DOC (Segment option document file, when -H option use) C011XXXS.DOC (Segment option document file) C011XXXS.HEX (Segment option HEX file)
s Display example
E0C6011 SEGMENT OPTION GENERATOR. -- Ver 2.00 PPPPPPPP PPPPPPPPPP PPP PPP PPP PPP PPPPPPPPPP PPPPPPPP PPP PPP PPP PPP SSSSSSS SSS SSSS SSS SSS SSS SSSSSS SSSS SSS SSS SSS SSSS SSS SSSSSSS OOOOOOOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOOOOOOO NNN NNN NNNN NNN NNNNN NNN NNNNNN NNN NNN NNN NNN NNN NNNNNN NNN NNNNN NNN NNNN NNN NNN NNN NN EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE
Start-up message When SOG6011 is started, the start-up message is displayed. For "STRIKE ANY KEY.", press any key to advance the program execution. To suspend execution, press the "CTRL" and "C" keys together: the sequence returns to the DOS command level.
(C) COPYRIGHT 1999 SEIKO EPSON CORP. SEGMENT OPTION SOURCE FILE NAME IS " C011XXX.SEG " THIS SOFTWARE MAKES NEXT FILES. C011XXXS.HEX C011XXXS.DOC .. .. SEGMENT OPTION HEX FILE. SEGMENT OPTION DOCUMENT FILE.
STRIKE ANY KEY.
SOURCE FILE(S) C0110A0 PLEASE INPUT PLEASE INPUT PLEASE INPUT (ONE LINE IS C0110B0 C0110C0 . . (1)
SOURCE FILE(S) SEGMENT OPTION SOURCE FILE IS NOT FOUND. SOURCE FILE(S) SEGMENT OPTION DOCUMENT FILE IS NOT FOUND. . . (6) -H option use . . (5) -H option not use
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
4 SEGMENT OPTION GENERATOR SOG6011
MAKING FILE IS COMPLETED.
EPROM selection When selecting file is completed, the following message is output to ask the operator whether to generate the HEX file. (1) When debugging the program with EVA6011, HEX file is needed, so enter "Y ". If "N " is entered, no HEX file is generated and only document file is generated. (2) For the option ROM selection menu displayed when "Y " is entered in Step (1), select the EPROM to be used for setting EVA6011 options. When a series of operations are complete, the SOG6011 generates files. If no error is committed while setting segment options, "MAKING FILE IS COMPLETED" will be displayed and the SOG6011 program will be terminated.
s Error messages
Error message Explanation The data was written in an invalid format. The segment number outside the specificable range was specified. The segment memory address or data bit outside the specificable range was specified. The same data (SEG port No., segment memory address, or data bit) was specified more then once. The output specifications were not set in units of two ports.
(Syntax Error) (Segment No. Select Error) (RAM Address Select Error) (Duprication Error)
Out Port Set Error
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
4 SEGMENT OPTION GENERATOR SOG6011
4.5 Sample Files
s Example of segment option source file
C0110A0.SEG, VER.2.00 EVA6011 LCD SEGMENT DECODE TABLE 0 C00 C01 C02 C03 S 1 C10 C11 C12 C13 S 2 C20 C21 C22 C23 S 3 C30 C31 C32 C33 S 4 C40 C41 C42 C43 S 5 C50 C51 C52 C53 S 6 C60 C61 C62 C63 S 7 C70 C71 C72 C73 S 8 C80 C81 C82 C83 S 9 C90 C91 C92 C93 S 10 CA0 CA1 CA2 CA3 S 11 CB0 CB1 CB2 CB3 S 12 CC0 CC1 CC2 CC3 S 13 CD0 CD1 CD2 CD3 S 14 CE0 CE1 CE2 CE3 S 15 CF0 CF1 CF2 CF3 S 16 D00 D01 D02 D03 S 17 D10 D11 D12 D13 S 18 D20 D21 D22 D23 S 19 D30 D31 D32 D33 S 20 D40 D41 D42 D43 S 21 D50 D51 D52 D53 S 22 D60 D61 D62 D63 S 23 D70 D71 D72 D73 S 24 D80 D81 D82 D83 S 25 D90 D91 D92 D93 S 26 DA0 DA1 DA2 DA3 S 27 DB0 DB1 DB2 DB3 S 28 DC0 DC1 DC2 DC3 S 29 DD0 DD1 DD2 DD3 S 30 DE0 DE1 DE2 DE3 S 31 DF0 DF1 DF2 DF3 S 32 E00 E01 E02 E03 S 33 E10 E11 E12 E13 S 34 E20 E21 E22 E23 S 35 E30 E31 E32 E33 S 36 E40 -- -- -- C 37 E50 -- -- -- C
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
4 SEGMENT OPTION GENERATOR SOG6011
s Example of segment option document file
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
5 ICE CONTROL SOFTWARE ICS6011
5.1 ICS6011 Outline
The In-circuit Emulator ICE62R (ICE6200) connects the target board produced by the user via the EVA6011 and performs real time target system evaluation and debugging by passing through the RS-232C from the host computer and controlling it. The operation on the host computer side and ICE62R (ICE6200) control is done through the ICE Control Software ICS6011. The ICS6011 has a set of numerous and highly functional emulation commands which provide sophisticated break function, on-the-fly data display, history display, etc., and so perform a higher level of debugging.
Host computer
PC-9801 Series IBM PC / AT
ICE62R (ICE6200)
ICE6200
RS-232C
EVA6011
Target board
Fig. 5.1.1 Debugging system using ICE62R (ICE6200)
The functions of the ICE62R (ICE6200) and commands are same as for the E0C62 Family. Refer to the "E0C62 Family Development Tool Reference Manual" for details.
5.2 ICS6011 Restrictions
Take the following precautions when using the ICS6011.
s ROM Area
The ROM area is limited to a maximum address of 5FFH. Assigning data above the 5FFH address causes an error.
s RAM Area
The RAM area is limited to a maximum address of 0FFH. Assigning data above the 0FFH address causes an error. Furthermore, as the following addresses are in the unused area, designation of this area with the ICE commands produces an error. Unused area: 0A0H to 0EFH (When segment memory is assigned from 040H to 06FH) 0A0H to 0BFH (When segment memory is assigned from 0C0H to 0EFH) 071H, 072H, 074H, 076H, 077H, 07BH, 07FH, 0F0H to 0F5H, 0F7H to 0FCH Refer to the "E0C6011 Technical Manual" for details.
s Undefined Code
The instructions below are not specified for the E0C6011 and so cannot be used. PUSH PUSH XP YP POP POP XP YP LD LD XP, r YP, r LD LD r, XP r, YP
s OPTLD Command
In the ICS6011, OPTLD command can be used. This command is used to load HEX files (function option data and segment option data for LCD) in the EVA6011 memory with the ICE62R (ICE6200). Load of function option data: Load of segment option data:
E0C6011 DEVELOPMENT TOOL MANUAL
#OPTLD, 1, C011XXX #OPTLD, 2, C011XXX
EPSON
5 ICE CONTROL SOFTWARE ICS6011
OPTLD
Format
Function
(1) Load function option HEX file in the EVA6011 function 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 EVA6011 segment option data memory. It is HEX file output by the segment option generator and has intel HEX format.
Examples
#OPTLD, 1, C011XXX #OPTLD, 2, C011XXX
... C011XXXF.HEX file is loaded in the function option data memory. ... C011XXXS.HEX file is loaded in the segment option data memory.
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
5 ICE CONTROL SOFTWARE ICS6011
5.3 ICS6011 Quick Reference
s Starting command and input / output files
Execution file: Starting command: Input file: ICS6011.BAT ICS6011B.BAT (ICS6011J.EXE) (ICS6011W.EXE)
indicates the Return key.
. . . for MS-DOS . . . for PC-DOS . . . for MS-DOS . . . for PC-DOS
ICS6011 (ICS6011J) ICS6011B (ICS6011W) C011XXXL.HEX C011XXXH.HEX C011XXXD.HEX C011XXXC.HEX C011XXXL.HEX C011XXXH.HEX C011XXXD.HEX C011XXXC.HEX
(Object file, low-order) (Object file, high-order) (Data RAM file) (Control file) (Object file, low-order) (Object file, high-order) (Data RAM file) (Control file)
Output file:
s Display example
E0C6011 ICE CONTROL SOFTWARE. -- Ver 3.01 EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE PPPPPPPP PPPPPPPPPP PPP PPP PPP PPP PPPPPPPPPP PPPPPPPP PPP PPP PPP PPP SSSSSSS SSS SSSS SSS SSS SSS SSSSSS SSSS SSS SSS SSS SSSS SSS SSSSSSS OOOOOOOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOOOOOOO NNN NNN NNNN NNN NNNNN NNN NNNNNN NNN NNN NNN NNN NNN NNNNNN NNN NNNNN NNN NNNN NNN NNN NNN NN
(C) COPYRIGHT 1991 SEIKO EPSON CORP. ICE POWER ON RESET DIAGNOSTIC TEST OK #
Start-up message When ICS6011 is started, the start-up message is displayed, and a self-test is automatically performed. ICS6011 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 ICS6011 program is terminated by entering the Q (Quit) command.
Confirm that the cables connected properly, then operate the ICS6011.
Recover procedure
s Error messages
Error message Meaning COMMUNICATION ERROR ICE62R (ICE6200) is disconnected OR ICE NOT READY or power is OFF. TARGET DOWN (1) Evaluation board is disconnected. (Check at power ON) TARGET DOWN (2) Evaluation board is disconnected. (Check at command execution) UNDEFINED PROGRAM Undefined code is detected in the CODE EXIST program loaded from ROM or FD. COMMAND ERROR A miss occurs by command input. (No response after power on) The ICE-to-HOST cable is disconnected on the host side. Switch OFF the host power supply, connect cable, and reapply power. Or switch ON power to ICE62R (ICE6200). Switch OFF power to ICE, and connect the evaluation board. Then, apply power to ICE62R (ICE6200). Switch OFF power to ICE, and connect the evaluation board. Then, apply power to ICE62R (ICE6200). Convert ROM and FD data with the cross assembler, then restart the ICE62R (ICE6200). Reenter the proper command. Switch OFF the host power supply, connect cable, and reapply power.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
5 ICE CONTROL SOFTWARE ICS6011
s Command list
Item No. Function Command Format Outline of Operation
Assemble Disassemble Dump Fill Set Run Mode Trace
#A, a #L, a1, a2 #DP, a1, a2 #DD, a1, a2 #FP, a1, a2, d #FD, a1, a2, d #G, a #TIM #OTF #T, a, n #U, a, n #BA, a #BAR, a #BD #BDR #BR #BRR #BM #BMR #BRES #BC #BE #BSYN #BT #BRKSEL, REM #MP, a1, a2, a3 #MD, a1, a2, a3
Break
Data Set Change CPU Internal Registers
#SP, a #SD, a #DR #SR #I #DXY #SXY
Assemble command mnemonic code and store at address "a" Contents of addresses a1 to a2 are disassembled and displayed Contents of program area a1 to a2 are displayed Content of data area a1 to a2 are displayed Data d is set in addresses a1 to a2 (program area) Data d is set in addresses a1 to a2 (data area) Program is executed from the "a" address Execution time and step counter selection On-the-fly display selection Executes program while displaying results of step instruction 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 EVA6011 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 condition displayed Enter break enable mode Enter break disable mode Set break stop / trace modes Set BA condition clear / remain modes Contents of program area addresses a1 to a2 are moved to addresses a3 and after Contents of data area addresses a1 to a2 are moved to addresses a3 and after Data from program area address "a" are written to memory Data from data area address "a" are written to memory Display EVA6011 CPU internal registers Set EVA6011 CPU internal registers Reset EVA6011 CPU Display X, Y, MX and MY Set data for X and Y display and MX, MY
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
5 ICE CONTROL SOFTWARE ICS6011
Item No.
Function
Command Format
Outline of Operation
History
#H, p1, p2 #HB #HG #HP #HPS, a #HC, S / C / E #HA, a1, a2 #HAR, a1, a2 #HAD #HS, a #HSW, a #HSR, a #RF, file #RFD, file #VF, file #VFD, file #WF, file #WFD, file #CL, file #CS, file #OPTLD, 1, file #OPTLD, 2, file #CVD #CVR #RP #VP #ROM #Q #HELP #CHK
Coverage ROM Access
Terminate ICE Command Display Self Diagnosis
Display history data for pointer 1 and pointer 2 Display upstream history data Display 21 line history data Display history pointer Set history pointer Sets up the history information acquisition before (S), before / after (C) and after (E) Sets up the history information acquisition from program area a1 to a2 Sets up the prohibition of the history information acquisition from 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" Move program file to memory Move data file to memory Compare program file and contents of memory Compare data file and contents of memory Save contents of memory to program file Save contents of memory to data file Load ICE62R (ICE6200) set condition from file Save ICE62R (ICE6200) set condition to file Load function option data from file Load segment option data from file Indicates coverage information Clears coverage information Move contents of ROM to program memory Compare contents of ROM with contents of program memory Set ROM type Terminate ICE and return to operating system control Display ICE62R (ICE6200) instruction Report results of ICE62R (ICE6200) self diagnostic test means press the RETURN key.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
6 MASK DATA CHECKER MDC6011
6.1 MDC6011 Outline
The Mask Data Checker MDC6011 is a software tool which checks the program data (C011XXXH.HEX and 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.
Object files Function option document file C011XXXF .DOC Segment option document file C011XXXS .DOC
C011XXXH .HEX
C011XXXL .HEX
MDC6011 Mask Data Checker execution (pack)
File for submission
C6011XXX .PAn
SEIKO EPSON
MDC6011 Mask Data Checker execution (unpack)
C011XXXH .PAn
C011XXXL .PAn
C011XXXF .PAn Unpacked files
C011XXXS .PAn
Fig. 6.1.1 MDC6011 execution flow
The operating method is same as for the E0C62 Family. Refer to the "E0C62 Family Development Tool Reference Manual" for details.
6.2 MDC6011 Quick Reference
s Starting command and input / output files
Execution file: Starting command: Input file: MDC6011.EXE MDC6011 C011XXXL.HEX C011XXXH.HEX C011XXXF.DOC C011XXXS.DOC C6011XXX.PAn C6011XXX.PAn C011XXXL.PAn C011XXXH.PAn C011XXXF.PAn C011XXXS.PAn (Object file, low-order) (Object file, high-order) (Function option document file) (Segment option document file) (Packed file) (Packed file) (Object file, low-order) (Object file, high-order) (Function option document file) (Segment option document file)
EPSON indicates the Return key.
When packing When unpacking When packing When unpacking
Output file:
E0C6011 DEVELOPMENT TOOL MANUAL
6 MASK DATA CHECKER MDC6011
s Display examples
E0C6011 PACK / UNPACK PROGRAM Ver 2.00 EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE EEE EEE EEEEEEEEEE EEEEEEEEEE PPPPPPPP PPPPPPPPPP PPP PPP PPP PPP PPPPPPPPPP PPPPPPPP PPP PPP PPP PPP SSSSSSS SSS SSSS SSS SSS SSS SSSSSS SSSS SSS SSS SSS SSSS SSS SSSSSSS OOOOOOOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOO OOOOOOOO NNN NNN NNNN NNN NNNNN NNN NNNNNN NNN NNN NNN NNN NNN NNNNNN NNN NNNNN NNN NNNN NNN NNN NNN NN
Start-up message When MDC6011 is started, the start-up message and operation menu are displayed. Here, the user is prompted to select operation options.
Packing of data (1) Select "1.PACK" in the operation menu. (2) Enter the file name. After submitting the data to Seiko Epson and there is a need to re-submit the data, increase the numeric value of "n" by one when the input is made. (Example: When re-submitting data after "C6011XXX.PA0" has been submitted, the pack file name should be entered as "C6011XXX.PA1".) With this, the mask file (C6011XXX.PAn) is generated, and the MDC6011 program will be terminated. Submit this file to Seiko Epson.
Unpacking of data (1) Select "2.UNPACK" in the operation menu. (2) Enter the packed file name. With this, the mask data file (C6011XXX.PAn) is restored to the original file format, and the MDC6011 program will be terminated. Since the extension of the file name remains as "PAn", it must be renamed back to its original form ("HEX" and "DOC") in order to re-debug or modify the restored file.
C0110A0H.PA0 C0110A0L.PA0 C0110A0F.PA0 C0110A0S.PA0
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
6 MASK DATA CHECKER MDC6011
s Error messages Program data error
Error Message Explanation
1. HEX DATA ERROR : NOT COLON. 2. HEX DATA ERROR : DATA LENGTH. (NOT 00-20h) 3. HEX DATA ERROR : ADDRESS. 4. HEX DATA 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 ROM. The record type of 1 line is not 00. The data is not in the range between 00H and 0FFH.
6. HEX DATA ERROR : TOO MANY DATA IN ONE LINE. There are too many data in 1 line. 7. HEX DATA ERROR : CHECK SUM. The checksum is not correct. 8. HEX DATA ERROR : END MARK. The end mark is not : 00000001FF. 9. HEX DATA ERROR : DUPLICATE. There is duplicate definition of data in the same address.
Function option data error
Error Message Explanation
OPTION OPTION OPTION OPTION
DATA DATA DATA DATA
ERROR ERROR ERROR ERROR
START MARK. OPTION NUMBER. SELECT NUMBER. END MARK.
Segment option data error
Error Message Explanation
SEGMENT SEGMENT SEGMENT SEGMENT SEGMENT
DATA DATA DATA DATA DATA
ERROR ERROR ERROR ERROR ERROR
START MARK. DATA. SEGMENT NUMBER. SPEC. END MARK.
File error
Error Message Explanation
The file is not found or the file number set in CONFIG.SYS is less than 10. The packed input format for the file name is wrong. The unpacked input format for the file name is wrong.
System error
Error Message Explanation
1. DIRECTORY FULL. 2. DISK WRITE ERROR.
The directory is full. Writing on the disk is failed.
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
APPENDIX A. E0C6011 INSTRUCTION SET
APPENDIX A.
Classification
E0C6011 INSTRUCTION SET
Operation
Operation Code Flag Mnemonic Operand B A 9 8 7 6 5 4 3 2 1 0 I D Z C Clock
Branch
PSET p s C, s Z, s JPBA CALL s CALZ s RET RETS RETD l
instructions JP
System control
NOP5 NOP7 SLP
instructions HALT Index operation instructions LD INC X Y X, x Y, y
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
APPENDIX A. E0C6011 INSTRUCTION SET
Classification
Operation Code Flag MneClock monic Operand B A 9 8 7 6 5 4 3 2 1 0 I D Z C
Operation
Index operation instructions Data transfer instructions
XH-i3~i0 XL-i3~i0 YH-i3~i0 YL-i3~i0 r i3~i0 r q A M(n3~n0) B M(n3~n0) M(n3~n0) A M(n3~n0) B M(X) i3~i0, X X+1 r q, X X+1 M(Y) i3~i0, Y Y+1 r q, Y Y+1 M(X) l 3~ l 0, M(X+1) l 7~ l 4, X X+2 F F i3~i0 F F i3~i0 C 1 C 0 Z 1 Z 0 D 1 (Decimal Adjuster ON) D 0 (Decimal Adjuster OFF) I 1 (Enables Interrupt) I 0 (Disables Interrupt) SP SP+1 SP SP-1 SP SP-1, M(SP) r SP SP-1, M(SP) XH SP SP-1, M(SP) XL SP SP-1, M(SP) YH SP SP-1, M(SP) YL SP SP-1, M(SP) F r M(SP), SP SP+1 XH M(SP), SP SP+1 XL M(SP), SP SP+1
Flag operation
SET RST RCF SZF RZF SDF RDF EI DI
instructions SCF
Stack operation
INC DEC
instructions PUSH r
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
APPENDIX A. E0C6011 INSTRUCTION SET
Classification
Operation Code Flag MneClock monic Operand B A 9 8 7 6 5 4 3 2 1 0 I D Z C
Operation
Stack operation instructions
YH M(SP), SP SP+1 YL M(SP), SP SP+1 F M(SP), SP SP+1 SPH r SPL r r SPH r SPL r r+i3~i0 r r+q r r+i3~i0+C r r+q+C r r-q r r-i3~i0-C r r-q-C r r i3~i0 r r q r r i3~i0 r r q r r i3~i0 r r q r-i3~i0 r-q r i3~i0 r q d3 d2, d2 d1, d1 d0, d0 C, C d3 d3 C, d2 d3, d1 d2, d0 d1, C d0 M(n3~n0) M(n3~n0)+1 M(n3~n0) M(n3~n0)-1 M(X) M(X)+r+C, X X+1 M(Y) M(Y)+r+C, Y Y+1 M(X) M(X)-r-C, X X+1 M(Y) M(Y)-r-C, Y Y+1 r r
Arithmetic instructions
ADD ADC SUB SBC AND OR XOR CP FAN RLC RRC INC DEC
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
APPENDIX A. E0C6011 INSTRUCTION SET
Abbreviations used in the explanations have the following meanings.
Symbols associated with registers and memory
A B X A register B register XHL register (low order eight bits of index register IX) Y YHL register (low order eight bits of index register IY) XH XH register (high order four bits of XHL register) XL XL register (low order four bits of XHL register) YH YH register (high order four bits of YHL register) YL YL register (low order four bits of YHL register) SP Stack pointer SP SPH High-order four bits of stack pointer SP SPL Low-order four bits of stack pointer SP MX, M(X) Data memory whose address is specified with index register IX MY, M(Y) Data memory whose address is specified with index register IY Mn, M(n) Data memory address 000H-00FH (address specified with immediate data n of 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 counter
NBP NPP PCB PCP PCS PCSH PCSL New bank pointer New page pointer Program counter bank Program counter page Program counter step Four high order bits of PCS Four low order bits of PCS
Symbols associated with flags
Associated with immediate data
p s l i Five-bit immediate data or label 00H-1FH Eight-bit immediate data or label 00H-0FFH Eight-bit immediate data 00H-0FFH Four-bit immediate data 00H-0FH
Associated with arithmetic and other operations
+ 5 Add Subtract Logical AND Logical OR Exclusive-OR Add-subtract instruction for decimal operation when the D flag is set
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
NAME MSB
APPENDIX
LSB NAME MSB
E0C6011 DEVELOPMENT TOOL MANUAL
LSB NAME MSB
B. E0C6011 RAM MAP
EPSON
LSB NAME MSB
R03 R02 R01 R00
P03 P02 P01 P00
TMRST - - IOC0
LSB NAME MSB
APPENDIX B. E0C6011 RAM MAP
P13 P12 P11 P10
CLKFO1 CLKFO0 - LCDON
APPENDIX C. E0C6011 I / O MEMORY MAP
APPENDIX
Address D3 TM3 070H R K03 073H R EIK03 075H R / W CSDC 078H R / W 0 079H R 0 07AH R R03 07CH R / W P03 07DH R / W TMRST 07EH W BZFQ 0F6H R / W P13 0FDH R / W 0 0FEH R CLKFQ1 CLKFQ0 0FFH R / W 1 Initial value at initial reset 2 Not set in the circuit 3 Always "0" being read 0 P12 0 R 0 P02 R02 IK0 IT2 EIT2 EIK02 K02 D2 TM2
C. E0C6011 I / O MEMORY MAP
Register
EIK01
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
APPENDIX D. TROUBLESHOOTING
APPENDIX
D. TROUBLESHOOTING
Problem Remedy measures
ICE62R (ICE6200)
Nothing appears on the screen, or nothing works, after activation.
SOG6011
You can not do a real-time run in break-trace mode. Output from the EVA is impossible when data is written to the I / O memory for Buzzer and Fout output with the ICE command. An R error occurs although the address is correctly set in the segment source file.
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
APPENDIX D. TROUBLESHOOTING
Problem
Remedy measures
ASM6011
An R error occurs although the final page is passed.
MDC6011
Activation is impossible.
EVA6011
The EVA6011 does not work when it is used independently.
Target segment does not light.
EPSON
E0C6011 DEVELOPMENT TOOL MANUAL
International Sales Operations
AMERICA
EPSON ELECTRONICS AMERICA, INC. - HEADQUARTERS 1960 E. Grand Avenue EI Segundo, CA 90245, U.S.A. Phone: +1-310-955-5300 Fax: +1-310-955-5400
- HONG KONG, CHINA EPSON HONG KONG LTD.
20 / F., Harbour Centre, 25 Harbour Road Wanchai, HONG KONG Phone: +852-2585-4600 Fax: +852-2827-4346 Telex: 65542 EPSCO HX
- SALES OFFICES West
150 River Oaks Parkway San Jose, CA 95134, U.S.A. Phone: +1-408-922-0200 Fax: +1-408-922-0238
- CHINA SHANGHAI EPSON ELECTRONICS CO., LTD.
4F, Bldg., 27, No. 69, Gui Jing Road Caohejing, Shanghai, CHINA Phone: 21-6485-5552 Fax: 21-6485-0775
Central
1450 East American Lane, Suite 1550 Schaumburg, IL 60173, U.S.A. Phone: +1-847-517-7667 Fax: +1-847-517-7601 101 Virginia Street, Suite 290 Crystal Lake, IL 60014, U.S.A. Phone: +1-815-455-7630 Fax: +1-815-455-7633
- TAIWAN EPSON TAIWAN TECHNOLOGY & TRADING LTD.
10F, No. 287, Nanking East Road, Sec. 3 Taipei, TAIWAN Phone: 02-2717-7360 Fax: 02-2712-9164 Telex: 24444 EPSONTB
Northeast
301 Edgewater Place, Suite 120 Wakefield, MA 01880, U.S.A. Phone: +1-781-246-3600 Fax: +1-781-246-5443
HSINCHU OFFICE
13F-3, No. 295, Kuang-Fu Road, Sec. 2 HsinChu 300, TAIWAN Phone: 03-573-9900 Fax: 03-573-9169
Southeast
3010 Royal Blvd. South, Suite 170 Alpharetta, GA 30005, U.S.A. Phone: +1-877-EEA-0020 Fax: +1-770-777-2637 1700 Spinnaker Drive Alpharetta, GA 30005, U.S.A. Phone: +1-770-754-4872 Fax: +1-770-753-0601
- SINGAPORE EPSON SINGAPORE PTE., LTD.
No. 1 Temasek Avenue, #36-00 Millenia Tower, SINGAPORE 039192 Phone: +65-337-7911 Fax: +65-334-2716
EUROPE
EPSON EUROPE ELECTRONICS GmbH - HEADQUARTERS Riesstrasse 15 80992 Muenchen, GERMANY Phone: +49-(0)89-14005-0
- KOREA SEIKO EPSON CORPORATION KOREA OFFICE
50F, KLI 63 Bldg., 60 Yoido-Dong Youngdeungpo-Ku, Seoul, 150-010, KOREA Phone: 02-784-6027 Fax: 02-767-3677
Fax: +49-(0)89-14005-110
- GERMANY SALES OFFICE
Altstadtstrasse 176 51379 Leverkusen, GERMANY Phone: +49-(0)217-15045-0 Fax: +49-(0)217-15045-10
- JAPAN SEIKO EPSON CORPORATION ELECTRONIC DEVICES MARKETING DIVISION Electronic Device Marketing Department IC Marketing & Engineering Group
421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5816 Fax: +81-(0)42-587-5624
- UNITED KINGDOM UK BRANCH OFFICE
2.4 Doncastle House, Doncastle Road Bracknell, Berkshire RG12 8PE, ENGLAND Phone: +44-(0)1344-381700 Fax: +44-(0)1344-381701
ED International Marketing Department I
(Europe & U.S.A.) 421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5812 Fax: +81-(0)42-587-5564
- FRANCE FRENCH BRANCH OFFICE
ED International Marketing Department II
(Asia) 421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5814 Fax: +81-(0)42-587-5110
ELECTRONIC DEVICES MARKETING DIVISION
s Electronic devices information on Epson WWW server
http://www.epson.co.jp
Issue JUNE 1999, Printed in Japan M A