The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


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*)

 

 

CMOS 4-BIT SINGLE CHIP MICROCOMPUTER S5U1C6S3N2D Manual (Dev


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



MF863-04
CMOS 4-BIT SINGLE CHIP MICROCOMPUTER
S5U1C6S3N2D Manual
(Development Software Tool S1C6S3N2)
NOTICE
part this material reproduced duplicated form means without written permission Seiko Epson. Seiko Epson reserves right make changes this material without notice. Seiko Epson does assume liability kind arising inaccuracies contained this material application product circuit and, further, there representation that this material applicable products requiring high level reliability, such medical products. Moreover, license intellectual property rights granted implication otherwise, there representation warranty that anything made accordance with this material will free from patent copyright infringement third party. This material portions thereof contain technology subject relating strategic products under control Foreign Exchange Foreign Trade Japan require export license from Ministry International Trade Industry other approval from another government agency.
MS-DOS, Windows, Windows Windows Windows registered trademarks Microsoft Corporation, U.S.A. PC-DOS, PC/AT, PS/2, VGA, registered trademarks International Business Machines Corporation, U.S.A. PC-9800 Series registered trademarks Corporation. other product names mentioned herein trademarks and/or registered trademarks their respective owners.
SEIKO EPSON CORPORATION 2001 rights reserved.
information product number change
Starting April 2001, product number will changed listed below. order from April 2001 please product number. further information, please contact Epson sales representative.
Configuration product number
Devices 60N01 0A01
Packing specification Specification Package form; QFP) Model number Model name microcomputer, digital products) Product classification (S1: semiconductor)
Development tools 60R08 S5U1
Packing specification Version Version Tool type (D1: Development Tool Corresponding model number (60R08: S1C60R08) Tool classification microcomputer use) Product classification (S5U1: development tool semiconductor products)
details about tool types, tables below. some manuals, tool types represented digit.) Actual versions written manuals.
Comparison table between previous number
S1C60 Family processors
Previous E0C6001 E0C6002 E0C6003 E0C6004 E0C6005 E0C6006 E0C6007 E0C6008 E0C6009 E0C6011 E0C6013 E0C6014 E0C60R08 S1C60N01 S1C60N02 S1C60N03 S1C60N04 S1C60N05 S1C60N06 S1C60N07 S1C60N08 S1C60N09 S1C60N11 S1C60N13 S1C60140 S1C60R08
S1C62 Family processors
Previous E0C621A E0C6215 E0C621C E0C6S27 E0C6S37 E0C623A E0C623E E0C6S32 E0C6233 E0C6235 E0C623B E0C6244 E0C624A E0C6S46 S1C621A0 S1C62150 S1C621C0 S1C6S2N7 S1C6S3N7 S1C6N3A0 S1C6N3E0 S1C6S3N2 S1C62N33 S1C62N35 S1C6N3B0 S1C62440 S1C624A0 S1C6S460 Previous E0C6247 E0C6248 E0C6S48 E0C624C E0C6251 E0C6256 E0C6292 E0C6262 E0C6266 E0C6274 E0C6281 E0C6282 E0C62M2 E0C62T3 S1C62470 S1C62480 S1C6S480 S1C624C0 S1C62N51 S1C62560 S1C62920 S1C62N62 S1C62660 S1C62740 S1C62N81 S1C62N82 S1C62M20 S1C62T30
Comparison table between previous number development tools
Development tools S1C60/62 Family
Previous ASM62 DEV6001 DEV6002 DEV6003 DEV6004 DEV6005 DEV6006 DEV6007 DEV6008 DEV6009 DEV6011 DEV60R08 DEV621A DEV621C DEV623B DEV6244 DEV624A DEV624C DEV6248 DEV6247 S5U1C62000A S5U1C60N01D S5U1C60N02D S5U1C60N03D S5U1C60N04D S5U1C60N05D S5U1C60N06D S5U1C60N07D S5U1C60N08D S5U1C60N09D S5U1C60N11D S5U1C60R08D S5U1C621A0D S5U1C621C0D S5U1C623B0D S5U1C62440D S5U1C624A0D S5U1C624C0D S5U1C62480D S5U1C62470D Previous DEV6262 DEV6266 DEV6274 DEV6292 DEV62M2 DEV6233 DEV6235 DEV6251 DEV6256 DEV6281 DEV6282 DEV6S27 DEV6S32 DEV6S37 EVA6008 EVA6011 EVA621AR EVA621C EVA6237 EVA623A S5U1C62620D S5U1C62660D S5U1C62740D S5U1C62920D S5U1C62M20D S5U1C62N33D S5U1C62N35D S5U1C62N51D S5U1C62560D S5U1C62N81D S5U1C62N82D S5U1C6S2N7D S5U1C6S3N2D S5U1C6S3N7D S5U1C60N08E S5U1C60N11E S5U1C621A0E2 S5U1C621C0E S5U1C62N37E S5U1C623A0E Previous EVA623B EVA623E EVA6247 EVA6248 EVA6251R EVA6256 EVA6262 EVA6266 EVA6274 EVA6281 EVA6282 EVA62M1 EVA62T3 EVA6S27 EVA6S32R ICE62R KIT6003 KIT6004 KIT6007 S5U1C623B0E S5U1C623E0E S5U1C62470E S5U1C62480E S5U1C62N51E1 S5U1C62N56E S5U1C62620E S5U1C62660E S5U1C62740E S5U1C62N81E S5U1C62N82E S5U1C62M10E S5U1C62T30E S5U1C6S2N7E S5U1C6S3N2E2 S5U1C62000H S5U1C60N03K S5U1C60N04K S5U1C60N07K
CONTENTS
PREFACE
This manual mainly explains outline development support tool 4-bit Single Chip Microcomputer S1C6S3N2. Refer "S1C62 Family Development Tool Reference Manual" details (common models) each development support tool. Manuals hardware development tools separate, should also refer below manuals. Development tools
S1C62 Family Development Tool Reference Manual S5U1C6S3N2E2 Manual (Evaluation Board S1C60N09/6S3N2/62N33) S5U1C62000H Manual (S1C60/62 Family In-Circuit Emulator) S1C6S3N2 Technical Manual S1C6200/6200A Core Manual
Device (S1C6S3N2) Instructions
this manual, "ICE" "evaluation board" indicate S5U1C62000H S5U1C6S3N2E2, respectively.
CONTENTS
COMPOSITION DEVELOPMENT SUPPORT TOOL
Configuration S5U1C6S3N2D Developmental Environment Development Flow Installation
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
DMS6200 Outline DMS6200 Quick Reference
CROSS ASSEMBLER ASM6S32
ASM6S32 Outline S1C6S3N2 Restrictions ASM6S32 Quick Reference
FUNCTION OPTION GENERATOR FOG6S32
FOG6S32 Outline S1C6S3N2 Option List Option Specifications Selection Message FOG6S32 Quick Reference Sample File
SEGMENT OPTION GENERATOR SOG6S32
SOG6S32 Outline Option List Segment Ports Output Specifications SOG6S32 Quick Reference Sample Files
CONTROL SOFTWARE ICS6S32
ICS6S32 Outline ICS6S32 Restrictions ICS6S32 Quick Reference
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
CONTENTS
MASK DATA CHECKER MDC6S32
MDC6S32 Outline MDC6S32 Quick Reference
APPENDIX S1C6S3N2 INSTRUCTION TROUBLESHOOTING DEBUGGING DUTY DRIVE EVALUATION BOARD
White
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
COMPOSITION DEVELOPMENT SUPPORT TOOL
COMPOSITION DEVELOPMENT SUPPORT TOOL
Here will explain composition software development support tools, developmental envilonment generate execution disk.
Configuration S5U1C6S3N2D
below software included product S1C6S3N2 development support tool S5U1C6S3N2D. Development Tool Management System DMS6200 Menu selection each software start-up software Cross Assembler ASM6S32 Cross assembler program preparation Function Option Generator FOG6S32 Function option data preparation program Segment Option Generator SOG6S32 Segment option data preparation program Control Software ICS6S32 control program Mask Data Checker MDC6S32 Mask data preparation program
Developmental Environment
software product development support tool S5U1C6S3N2D operates following host systems: PC/AT least PC-DOS Ver. 2.0) When developing S1C6S3N2, above-mentioned host computer, editor, P-ROM writer, printer, etc. must prepared user addition development tool which normally supported Seiko Epson.
Host computer (IBM PC/AT)
S1C6S3N2 Development Tool
S5U1C62000A Software tools
S5U1C6S3N2D
PC-DOS Editor RS-232C DMS6200 ASM6S32 FOG6S32 SOG6S32 ICS6S32 MDC6S32 Target board Hardware tools Evaluation Board S5U1C6S3N2E2
S5U1C62000H
P-ROM writer Printer
prepared user
Fig. 1.2.1 System configuration
Note
S5U1C6S3N2D system requires host computer with capacity about 140K bytes. Since (S5U1C62000H) connected host computer with RS-232C serial interface, adapter board asynchronous communication will required depending host computer used.
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
COMPOSITION DEVELOPMENT SUPPORT TOOL
Development Flow
Figure 1.3.1 shows development flow through S5U1C6S3N2D.
Determination software specifications Flow chart generation coding Development support tool selection menu Development Tool Management System DMS6200 Determination hardware specifications Function option list generation Segment option list generation Creation target board
Coding sheet
Function option list
Segment option list
Source file generation using editor
Source file generation using editor
CS32XXX .DAT
Program source file Function Option Generator FOG6S32 execution
CS32XXX .SEG
Segment option source file
Cross Assembler ASM6S32 execution
Segment Option Generator SOG6S32 execution
CS32XXX .PRN
Assembly list
CS32XXXL Object file .HEX CS32XXXH .HEX CS32XXXF .DOC CS32XXXS .DOC
Function option document file
Segment option document file
Function
CS32XXXF option .HEX file
Segment
CS32XXXF option .HEX file
Function option (one)
Segment option (one)
Debugging with Control Software ICS6S32 Debugging completion
Target board S5U1C62000H Evaluation Board S5U1C6S3N2E2
Mask Data Checker MDC6S32 execution
C6S32XXX File submission .PAn
Fig. 1.3.1 S5U1C6S3N2D development flow
SEIKO EPSON
Concerning file names
input-output file name each development support tool commonly "CS32XXX". principle each file should produced this manner. Seiko Epson will designate "XXX" each customer.
Reference Manual
S1C6S3N2 Technical Manual (Hardware) S1C6S3N2 Technical Manual (Software) S1C6200/6200A Core Manual S1C62 Family Development Tool Reference Manual
S5U1C6S3N2D Manual (this manual) S5U1C6S3N2E2 Manual S5U1C62000H Manual
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
COMPOSITION DEVELOPMENT SUPPORT TOOL
Installation
S5U1C6S3N2D tools included CD-ROM S5U1C62000A (S1C60/62 Family Assembler Package), they installed your hard disk using installer (Setup.exe) CD-ROM. Refer "S5U1C62000A Manual" install S5U1C6S3N2D tools.
Note
DMS6200 configures menu from files that located current directory. Therefore, move development tools from directory which DMS6200 exists. invoke editor (DOS version) other programs from DMS6200, copy those executable files directory which DMS6200 exists.
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
DMS6200 Outline
DMS6200 (Development Tool Management System) software which selects S5U1C6S3N2D software development support tool program such editor menu form starts this various software frequently executed during debugging effectively activated.
DMS6200 Menu selections
Fig. 2.1.1 DMS6200 execution flow
ASM6S32
FOG6S32
SOG6S32
ICS6S32
MDC6S32
Editor etc.
Refer "S1C62 Family Development Tool Reference Manual" detailes operation.
DMS6200 Quick Reference
Starting command
Execution file: DMS6200.EXE Starting command: DMS6200 indicates Return key.
Display examples
E0C6200 Development tool Management System. EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE PPPPPPPP PPPPPPPPPP PPPPPPPPPP PPPPPPPP SSSSSSS SSSS SSSSSS SSSS SSSS SSSSSSS OOOOOOOO OOOOOOOO NNNN NNNNN NNNNNN NNNNNN NNNNN NNNN
Copyright 1990 SEIKO EPSON CORP. STRIKE KEY.
Start message When DMS6200 started, following message displayed. "STRIKE KEY.", press advance program execution. suspend execution, press "CTRL" keys together: sequence returns command level.
DMS6200 Version ASM6S32 .EXE FOG6S32 .EXE ICS6S32B.BAT ICS6S32W.EXE MDC6S32 .EXE SOG6S32 .EXE
Copyright(C) SEIKO EPSON CORP. 1990.
Input Number
Menu screen list executable files will appear this menu screen. Input number development support tool wish start then press "RETURN" key. return this point, press "ESC" key. Source file selection screen starting ASM6S32, select source file this screen. When source file selected number, edit line enclosed will appear; enter option parameter necessary. Press "RETURN" when input completed. When starting, press "RETURN" twice particularly support tools which require source files. return this point, press "ESC" key.
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
DMS6200 Version CS32XXX .DAT CS32XXX .PRN CS32XXX .SEG C6S32XXX.PA0
Copyright(C) SEIKO EPSON CORP. 1990.
Input Number
Edit [ASM6S32 CS32XXX
EPSON
CROSS ASSEMBLER ASM6S32
CROSS ASSEMBLER ASM6S32
ASM6S32 Outline
ASM6S32 cross assembler assembler program generating machine code used S1C6S3N2 4-bit, single-chip microcomputers. Cross Assembler ASM6S32 will assemble program source files which have been input user's editor will generate object file Intel-Hex format assembly list file. this assembler, program modularization been made possible through macro definition functions programming independent page structure been made possible through auto page function. addition, consideration also been given precise error checks program capacity (ROM capacity) overflows, undefined codes like, debugging such things label tables assembly list files cross reference table supplements.
A>EDLIN CS32XXX.DAT Create source file
CS32XXX .DAT
A>ASM6S32 CS32XXX Execute cross assembler
Error message
CS32XXX .PRN
CS32XXXL .HEX
CS32XXXH .HEX
Error message
Assembly listing file
Object file
Fig. 3.1.1 ASM6S32 execution flow
format source file operating method same S1C62 Family. Refer "S1C62 Family Development Tool Reference Manual" details.
S1C6S3N2 Restrictions
Note following when generating program S1C6S3N2:
area
capacity S1C6S3N2 steps (0000H 07FFH). Therefore, specification range memory setting pseudo-instructions PSET instruction restricted.
Memory configuration: Bank: Only bank Page: pages 7H), each steps Significant specification range: pseudo-instruction: PAGE pseudo-instruction: BANK pseudo-instruction: PSET instruction: X,0A0H 0000H 07FFH Only loaded into register, unused area been specified that memory accessible with register (MX) invalid. loaded into register, unused area been specified that memory accessible with register (MY) invalid.
area
capacity S1C6S3N2 words (000H 06FH, 080H 09FH bits/ word). Memory access invalid when unused area index register specified.
Example:
Y,0C7H
Undefined codes
following instructions have been defined S1C6S3N2 instruction sets.
PUSH
XP,r r,XP
PUSH
YP,r r,YP
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
CROSS ASSEMBLER ASM6S32
ASM6S32 Quick Reference
Starting command input/output files
Execution file: Starting command: Option: .shp Input file: Output file: ASM6S32.EXE
indicates blank. indicates Return key. parameter enclosed omitted.
ASM6S32_ [drive-name:] source-file-name [.shp]_ [-N] Specifies file drives. Specifies drive from which source file input. (A-P, Specifies drive which object file output. (A-P, Specifies drive which assembly listing file output. (A-P, Current drive, File generated code (FFH) undefined area program memory created. CS32XXX.DAT (Source file)
CS32XXXL.HEX (Object file, low-order) CS32XXXH.HEX (Object file, high-order) CS32XXX.PRN (Assembly listing file)
Display example
E0C6S32 CROSS ASSEMBLER. 2.00 EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE PPPPPPPP PPPPPPPPPP PPPPPPPPPP PPPPPPPP SSSSSSS SSSS SSSSSS SSSS SSSS SSSSSSS OOOOOOOO OOOOOOOO NNNN NNNNN NNNNNN NNNNNN NNNNN NNNN
COPYRIGHT 1989 SEIKO EPSON CORP. SOURCE FILE NAME CS32XXX.DAT THIS SOFTWARE MAKES NEXT FILES. CS32XXXH.HEX CS32XXXL.HEX CS32XXX .PRN HIGH BYTE OBJECT FILE. BYTE OBJECT FILE. ASSEMBLY LIST FILE.
NEED AUTO PAGE SET? (Y/N) NEED CROSS REFERENCE TABLE? (Y/N)
When ASM6S32 started, start-up message displayed. (1), select whether auto-pageset function will used. assembly listing file output specified, message displayed. this stage, cross-reference table generation selected. Generating generating When above operation completed, ASM6S32 assembles source file. suspend execution, press "CTRL" keys together stage (2).
Operators
Arithmetic operators Monadic positive Monadic negative Addition Subtraction Multiplication Division a_MOD_b Remainder a_SHL_b Shifts bits left a_SHR_b Shifts bits right HIGH_a Separates high-order eight bits from LOW_a Separates low-order eight bits from Logical operators a_AND_b Logical product a_OR_b Logical a_XOR_b Exclusive logical Logical negation NOT_a Relational operators True when equal a_EQ_b True when equal a_NE_b True when less than a_LT_b True when less than equal a_LE_b True when greater than a_GT_b True when greater than equal a_GE_b
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
CROSS ASSEMBLER ASM6S32
Pseudo-instructions
Pseudo-instruction Meaning Example
PAGE SECTION MACRO LOCAL ENDM
(Equation) (Set) (Define Word) (Origin) (Page) (Section) (End) (Macro) (Local) (End Macro)
allocate data label allocate data label (data changed) define data define location counter define boundary page define boundary section terminate assembly define macro make local specification label during macro definition macro definition
PAGE PAGE SECTION
ABC+1 0001H 0002H 'AB' 0FFBH 100H
CHECK LOCAL LOOP
MACRO LOOP ENDM CHECK
DATA MX,DATA NZ,LOOP
Error messages
Error message Explanation unrecoverable syntax error encountered. label symbol operand been defined. label field been omitted. syntax error encountered operand, operand could evaluated. same label symbol defined more than once. location counter value exceeded upper limit program memory, location exceeding upper limit specified. value greater than that which number significant digits operand will accommodate specified. Memory areas overlapped because "PAGE" "ORG" pseudoinstruction both. source file name longer than characters. specified source file found. space left directory specified disk. file could written disk. number defined labels symbols exceeded label table
(Syntax Error) (Undefined Error) (Missing Label) (Operand Error) (Phase Error) (Range Error)
(Warning)
FILE NAME ERROR FILE PRESENT DIRECTORY FULL FATAL DISK WRITE ERROR LABEL TABLE OVERFLOW
capacity (4000). CROSS REFERENCE TABLE OVERFLOW label/symbol reference count exceeded cross-reference table capacity (only when cross-reference table generated).
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
FUNCTION OPTION GENERATOR FOG6S32
FUNCTION OPTION GENERATOR
FOG6S32
Option list generation
FOG6S32 Outline
With 4-bit single-chip S1C6S3N2 microcomputers, customer select hardware options. modifying mask patterns S1C6S3N2 according selected options, system customized meet specifications target system. Function Option Generator FOG6S32 software tool generating data files used generate mask patterns. enables customer interactively select specify pertinent items each hardware option. From data file created with FOG6S32, S1C6S3N2 mask pattern automatically generated general purpose computer. file evaluation board (S5U1C6S3N2E2) hardware option simultaneously generated with data file.
Start FOG6S32
function option
CS32XXXF .HEX
CS32XXXF .DOC
Evaluation board Seiko Epson
EPROM
operating method same S1C62 Family. Refer "S1C62 Family Development Tool Reference Manual" details.
Floppy disk
Fig. 4.1.1 FOG6S32 execution flow
S1C6S3N2 Option List
Multiple specifications available each option item indicated Option List. Using "4.3 Option Specifications Selection Message" reference, select specifications that meet target system. sure record specifications unused ports too, according instructions provided.
DEVICE TYPE
E0C6S32 (S1C6S3N2) E0C6SA32 (S1C6S3A2) E0C6SL32 (S1C6S3L2) E0C6SB32 (S1C6S3B2) Ceramic
OSC3 OSCILLATION CIRCUIT (only S1C6S3A2)
MULTIPLE ENTRY RESET
COMBINATION TIME DETECTION K00, K00, K01, K00, K01, K02, Gate Direct Gate Direct Gate Direct Gate Direct Gate Direct
WATCH TIMER
INTERRUPT NOISE REJECT
K00-K03
INPUT PORT WITH PULL DOWN RESISTOR
With Resistor With Resistor With Resistor With Resistor With Resistor
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
FUNCTION OPTION GENERATOR FOG6S32
R00-R03 SPECIFICATION
Complementary Complementary Complementary Complementary Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain
SPECIFICATION
OUTPUT SPECIFICATION Complementary OUTPUT TYPE Output Pch-OpenDrain Buzzer Output Pch-OpenDrain Pch-OpenDrain
SPECIFICATION
OUTPUT SPECIFICATION Complementary
10.R12 SPECIFICATION
OUTPUT SPECIFICATION Complementary OUTPUT TYPE Output FOUT 32768 (HZ) FOUT 16384 (HZ) FOUT 8192 (HZ) FOUT 4096 (HZ) FOUT 2048 (HZ) FOUT 1024 (HZ) FOUT (HZ) FOUT (HZ)
11.R13 SPECIFICATION
OUTPUT SPECIFICATION Complementary Pch-OpenDrain OUTPUT TYPE Output Buzzer Inverted Output (R13 control) Buzzer Inverted Output (R10 control)
PORT OUTPUT SPECIFICATION
Complementary Complementary Complementary Complementary Complementary Complementary Complementary Complementary Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain Pch-OpenDrain (HZ)
13.EVENT COUNTER SPECIFICATION
NOISE REJECT INPUT TERMINAL 2048 (HZ)
14.LCD SPECIFICATION
DUTY Duty Duty Duty POWER SOURCE Internal BIAS Bias Bias REGISTER SWITCHING OFF/NORMAL
15.SEGMENT MEMORY ADDRESS
40-6F (R/W) C0-EF
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
FUNCTION OPTION GENERATOR FOG6S32
Option Specifications Selection Message
Screen that selected function options S1C6S3N2 shown below, their specifications also described.
Device type
OPTION NO.1 DEVICE TYPE E0C6S32 E0C6SA32 E0C6SL32 E0C6SB32
PLEASE SELECT NO.(1) E0C6SL32 SELECTED
Select chip specification. There four models: "E0C6S32" (S1C6S3N2) supply voltage), "E0C6SL32" (S1C6S3L2), "E0C6SB32" (S1C6S3B2) (1.5 supply voltage, lowpower specification) "E0C6SA32" (S1C6S3A2) (Twin Clock specification). When "E0C6S32", "E0C6SL32" "E0C6SB32" selected, oscillation circuit OSC3 fixed oscillation. However, used.
OSC3 oscillation circuit
OPTION NO.2 OSC3 OSCILLATION CIRCUIT OSCILLATION CIRCUIT CERAMIC OSCILLATION CIRCUIT PLEASE SELECT NO.(1) OSCILLATION CIRCUIT SELECTED
above selection only possible with 6S3A2.
Select oscillation circuit that uses OSC3 OSC4. minimize external components, oscillation circuit would suitable; obtain stable oscillation frequency, ceramic oscillation circuit would suitable. When oscillation circuit selected, only resistor needed external component since capacitie built-in. other hand, when ceramic oscillation circuit selected, ceramic oscillator, gate capacity drain capacity needed external components. Although when ceramic oscillation circuit selected, fixed MHz, when oscillation circuit selected, frequency modified certain extent depending resistance external component. reset function time detection circuit when through entered.
Multiple entry reset
OPTION NO.3 MULTIPLE ENTRY RESET -KEY COMBINATION K00,K01 K00,K01,K02 K00,K01,K02,K03
PLEASE SELECT NO.(1) TIME DETECTION CIRCUIT
combination When "Not Use" combination, reset function activated even through entered. When "Use K00, K01" set, system reset immediately inputs high same time. Similarly, system reset soon through inputs through inputs high. Time detection circuit When "Use" time detection circuit, simultaneous high input time authorized. system reset when signal input more than sec. time detection circuit used, system reset when high signal input more than msec. Even "Not Use" combination, time detection selection required. system reset circuit shown Figure 4.3.1.
PLEASE SELECT NO.(1) COMBINATION TIME DETECTION CIRCUIT K00,K01 SELECTED SELECTED
OSC1 OSC2
Oscillation circuit Mask option
Oscillation detection circuit
RESET
Fig. 4.3.1 System reset circuit
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
FUNCTION OPTION GENERATOR FOG6S32
Watchdog timer
OPTION NO.4 WATCH TIMER PLEASE SELECT NO.(1) SELECTED
Select whether watchdog timer built-in detect runaways will used not. When watchdog timer reset program within second cycles, initially reset.
Interrupt noise reject
OPTION NO.5 INTERRUPT NOISE REJECT -K00-K03
PLEASE SELECT NO.(1)
Select whether noise rejector will supplemented input interruptor K00-K03 K10. When "Use" selected, entry signal will pass noise rejector, occurrence interrupt errors noise chattering avoided. Note, however, that because noise rejector performs entry signal sampling kHz, "Not Use" should selected when high speed response required.
PLEASE SELECT NO.(1) K00-K03 SELECTED SELECTED
Input ports pull down resistor
OPTION NO.6 INPUT PORT WITH PULL DOWN RESISTOR -K00 WITH RESISTOR GATE DIRECT
PLEASE SELECT NO.(1) WITH RESISTOR GATE DIRECT
PLEASE SELECT NO.(1) WITH RESISTOR GATE DIRECT
PLEASE SELECT NO.(1) WITH RESISTOR GATE DIRECT
Select whether input ports (K00-K03 K10) will each supplemented with pull down resistors not. When "Gate Direct" selected, that entry floating state does occur. Select "With Resistor" pull down resistor unused ports. Moreover, input port status changed from high level (VDD) (VSS) with pull down resistors, delay approximately msec waveform rise time will occur depending pull down resistor entry load time constant. Because this, when input reading conducted, ensure appropriate wait time with program. configuration pull down resistor circuit shown Figure 4.3.2.
PLEASE SELECT NO.(1) WITH RESISTOR GATE DIRECT
SELECTED SELECTED SELECTED SELECTED SELECTED
Data Read signal
PLEASE SELECT NO.(1) GATE GATE GATE GATE GATE DIRECT DIRECT DIRECT DIRECT DIRECT
Fig. 4.3.2 Configuration pull down resistor
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
FUNCTION OPTION GENERATOR FOG6S32
R00-R03 specification
OPTION NO.7 R00-R03 SPEC. -R00 OUTPUT SPEC. COMPLEMENTARY PCH-OPENDRAIN
PLEASE SELECT NO.(1) OUTPUT SPEC. COMPLEMENTARY PCH-OPENDRAIN
PLEASE SELECT NO.(1) OUTPUT SPEC. COMPLEMENTARY PCH-OPENDRAIN
Select output specification output ports (R00-R03). Either complementary output open drain output selected. When output port used matrix configuration, select open drain output. unused output ports, select complementary output. output circuit configuration shown Figure 4.3.3.
PLEASE SELECT NO.(1) OUTPUT SPEC. COMPLEMENTARY PCH-OPENDRAIN
Output register Complementary
PLEASE SELECT NO.(1)
open drain
OUTPUT OUTPUT OUTPUT OUTPUT
SPEC. SPEC. SPEC. SPEC.
COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY
SELECTED SELECTED SELECTED SELECTED
Fig. 4.3.3 Configuration output circuit
specification
OPTION NO.8
Select output specification output type terminal.
COMPLEMENTARY PCH-OPENDRAIN
SPEC. -R10 OUTPUT SPEC.
Output specification Either complementary output open drain output selected. Output type When output selected, becomes regular output port. When buzzer output selected, writing register, buzzer drive (oscillation output) signal output from terminal. When output selected, terminal output type (see Option "R13 specification") selection limited output only. circuit configuration same that output ports (R00-R03 shown Figure 4.3.3). Refer Figure 4.3.6 buzzer output waveform.
PLEASE SELECT NO.(1) OUTPUT TYPE D.C. BUZZER
PLEASE SELECT NO.(1) OUTPUT SPEC. OUTPUT TYPE COMPLEMENTARY SELECTED BUZZER SELECTED
specification
OPTION NO.9 SPEC. -R11 OUTPUT SPEC. COMPLEMENTARY PCH-OPENDRAIN
Select output specification terminal. Either complementary output open drain output selected. circuit configuration same that output ports (R00-R03 shown Figure 4.3.3).
PLEASE SELECT NO.(1) OUTPUT SPEC. COMPLEMENTARY SELECTED
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
FUNCTION OPTION GENERATOR FOG6S32
specification
OPTION NO.10
Select output specification output type terminal.
COMPLEMENTARY PCH-OPENDRAIN
SPEC. -R12 OUTPUT SPEC.
Output specification Either complementary output open drain output selected. Output type Either output FOUT output selected. When output selected, becomes regular output port. When register "1", terminal output goes high (VDD), goes (VSS) when "0". Output waveform shown Figure 4.3.4. When FOUT selected, clock with frequency output from terminal. When FOUT (R12 register) "1", duty VDD-VSS amplitude square wave generated specified frequency. When "0", FOUT terminal goes (VSS). FOUT frequency selected from among types, ranging from 32,768 FOUT output normally utilized provide clock other devices since hazard occurs square wave breaks, great caution must observed when using Output waveform shown Figure 4.3.5.
PLEASE SELECT NO.(1) OUTPUT TYPE D.C. FOUT 32768 (HZ) FOUT 16384 (HZ) FOUT 8192 (HZ) FOUT 4096 (HZ) FOUT 2048 (HZ) FOUT 1024 (HZ) FOUT (HZ) FOUT (HZ)
PLEASE SELECT NO.(1) OUTPUT SPEC. OUTPUT TYPE COMPLEMENTARY SELECTED D.C. SELECTED
output register
Fig. 4.3.4 Output waveform output selection
Specified frequency
output register
Fig. 4.3.5 Output waveform FOUT output selection
specification
OPTION NO.11
Select output specification output type terminal.
COMPLEMENTARY PCH-OPENDRAIN
SPEC. -R13 OUTPUT SPEC.
Output specification Either complementary output open drain output selected. Output type Either output output (buzzer inverted output) selected. When output selected, becomes regular output port. When "NBZ selected, inverted waveform buzzer output generated from terminal. control bits become buzzer inverted output when written registers, respectively. buzzer inverted output selected when output type terminal (see Option "R10 specification") buzzer. Moreover, this point, when output type terminal reselected after selecting buzzer inverted output, output type fixed buzzer output. Buzzer output waveform shown Figure 4.3.6.
PLEASE SELECT NO.(1) OUTPUT TYPE D.C. CONTROLLED CONTROLLED
PLEASE SELECT NO.(1) OUTPUT SPEC. OUTPUT TYPE COMPLEMENTARY SELECTED D.C. SELECTED
R10/R13 register
buzzer output
buzzer inverted output
Fig. 4.3.6 Buzzer output waveform
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
FUNCTION OPTION GENERATOR FOG6S32
port specification
OPTION NO.12 PORT OUTPUT SPEC. -P00 COMPLEMENTARY PCH-OPENDRAIN
PLEASE SELECT NO.(1) COMPLEMENTARY PCH-OPENDRAIN
Select output specification used during ports (P00-P03 P10-P13) output mode selection. Either complementary output open drain output selected. circuit configuration output driver same that output ports (R00-R03 shown Figure 4.3.3). Select complementary output unused ports. ports control input/output direction according address, bit, bit); settings, output port input port, respectively. pull down resistor this port turned read signal normally turned minimize leak current. Because this, when port input, take care that floating state does occur terminal. port circuit configuration shown Figure 4.3.7.
PLEASE SELECT NO.(1) COMPLEMENTARY PCH-OPENDRAIN
PLEASE SELECT NO.(1) COMPLEMENTARY PCH-OPENDRAIN
PLEASE SELECT NO.(1) COMPLEMENTARY PCH-OPENDRAIN
PLEASE SELECT NO.(1) COMPLEMENTARY PCH-OPENDRAIN
PLEASE SELECT NO.(1) COMPLEMENTARY PCH-OPENDRAIN
Data
Read signal
Register
PLEASE SELECT NO.(1) COMPLEMENTARY PCH-OPENDRAIN
control register
PLEASE SELECT NO.(1) COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED
Fig. 4.3.7 Circuit configuration port
Event counter specification
OPTION NO.13
Select noise rejector input terminal event counter.
2048 (HZ) (HZ)
EVENT COUNTER SPEC. -NOISE REJECT
PLEASE SELECT NO.(1)
PLEASE SELECT NO.(1) SELECTED SELECTED
Noise reject event counter equipment with built-in noise rejector prevent operational errors caused noise chattering (K03) terminal. noise rejector bypassed when "Not Use" selected. When using noise rejector, either 2048 selected sampling frequency. Select frequency suitable signal input. Input terminal Either selected. phase input signal different from K03.
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
FUNCTION OPTION GENERATOR FOG6S32
specification
OPTION NO.14 SPEC. -DUTY DUTY DUTY DUTY
PLEASE SELECT NO.(1) POWER SOURCE INTERNAL VL1=VSS(INTERNAL CONNECTION) VL2=VSS(INTERNAL CONNECTION) VL3=VSS(INTERNAL CONNECTION)
PLEASE SELECT NO.(1) BIAS BIAS BIAS
PLEASE SELECT NO.(1) REGISTER SWITCHING PLEASE SELECT NO.(1) DUTY POWER SOURCE BIAS REGISTER SWITCHING DUTY SELECTED VL1=VSS(INTERNAL CONNECTION) BIAS SELECTED SELECTED OFF/NORMAL
SELECTED
Select specification (duty, power source, bias, register function) drive circuit. Duty Table 4.3.1 Common duty selection standard Select drive duty. Number segments Common duty When duty selected, segments panel 1-76 driven with terminals terminals. When duty 77-114 selected, segments driven with terminals, 115-152 when duty selected, segments with terminals. When duty selected, COM0 COM1 terminals effective output COM2 COM3 terminals always output signal. When duty selected, COM0 COM2 terminals effective COM3 terminal always outputs signal. Refer Table 4.3.1 common duty selection. Figures 4.3.8 4.3.9 show drive waveforms bias driving bias driving, respectively.
COM0 COM0 COM0
COM1
COM1
COM1
COM2
COM2
COM2
COM3
COM3
COM3
duty drive waveform
duty drive waveform
duty drive waveform
Fig. 4.3.8 Drive waveform from terminals (1/3 bias)
COM0 VL1, COM0 VL1, COM0 VL1,
COM1
COM1
COM1
COM2
COM2
COM2
COM3
COM3
COM3
duty drive waveform
duty drive waveform
duty drive waveform
Fig. 4.3.9 Drive waveform from terminals (1/2 bias)
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
FUNCTION OPTION GENERATOR FOG6S32
bias
Internal S1C6S3N2 S1C6S3A2 S1C6S3L2 S1C6S3B2
power source power source, either "internal" generate internally) "external" supply from outside selected. tables left show voltage panel which used according selection voltage model. Figure 4.3.10 shows external elements when system voltage regulator used.
bias
Internal S1C6S3N2 S1C6S3A2 S1C6S3L2
Combinations that marked with cannot selected.
When selected
S1C6S3N2/6S3A2
panel 1/4, 1/3, duty, bias Note: shorted inside Note: shorted inside
When selected
S1C6S3N2/6S3A2
panel 1/4, 1/3, duty, bias
bias Select drive bias. drive bias, either bias (drives with levels, VDD, VL1, VL3) bias (drives with levels, VDD, VL3) selected. selecting bias, external elements minimized. However, limited when system voltage regulator used. Furthermore, when bias selected, sure short between terminal terminal outside (See Figure 4.3.10.) evaluation board cannot output bias waveform. aware that waveform fixed bias. register function (LCD drive switching) Only selectable. segments without changing display memory writing CSDC register. possible writing CSDC register.
When selected
S1C6S3A2
panel 1/4, 1/3, duty, bias Note: shorted inside
When selected
S1C6S3L2
panel 1/4, 1/3, duty, bias Note: shorted inside
Fig. 4.3.10 External elements when system voltage regulator used
Segment memory address
OPTION NO.15 SEGMENT MEMORY ADDRESS PLEASE SELECT NO.(1) SELECTED
Select segment memory area. When "40-6F" selected segment memory area, possible read write from/to this area because assigned this area. When "C0-EF" selected, this segment memory area becomes write-only area.
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
FUNCTION OPTION GENERATOR FOG6S32
FOG6S32 Quick Reference
Starting command input/output files
Execution file: Starting command: Input file: Output file: FOG6S32.EXE FOG6S32
indicates Return key.
CS32XXXF.DOC (Function option document file, when modifying) CS32XXXF.DOC (Function option document file) CS32XXXF.HEX (Function option file)
Display example
E0C6S32 FUNCTION OPTION GENERATOR. 3.13 PPPPPPPP PPPPPPPPPP PPPPPPPPPP PPPPPPPP SSSSSSS SSSS SSSSSS SSSS SSSS SSSSSSS OOOOOOOO OOOOOOOO EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE NNNN NNNNN NNNNNN NNNNNN NNNNN NNNN
Start-up message When FOG6S32 started, start-up message displayed. "STRIKE KEY.", press advance program execution. suspend execution, press "CTRL" keys together: sequence returns command level.
COPYRIGHT 1994
SEIKO EPSON CORP.
THIS SOFTWARE MAKES NEXT FILES. CS32XXXF.HEX CS32XXXF.DOC FUNCTION OPTION FILE. FUNCTION OPTION DOCUMENT FILE.
STRIKE KEY.
E0C6S32 USER'S OPTION SETTING. 3.13 CURRENT DATE 95/06/13 PLEASE INPUT DATE 95/06/15
Date input Enter 2-digit year, month, month delimiting them with slash ("/"). When modifying date, press RETURN continue. Operation selection menu Enter number from select subsequent operation. function options. modify document file. terminate FOG6S32. Setting function options Select operation selection menu. Enter file name. Enter customer's company name. Enter comment. (Within characters lines) Next, start function option setting from option case function option document file with same name file name specified current drive exists, user asked whether overwrition desired. Enter accordingly.
OPERATION SELECT MENU INPUT FILE EDIT FILE RETURN PLEASE SELECT NO.?
OPERATION SELECT MENU INPUT FILE EDIT FILE RETURN PLEASE SELECT NO.? PLEASE INPUT FILE NAME? CS320A0 PLEASE INPUT USER'S NAME? SEIKO EPSON CORP. PLEASE INPUT COMMENT (ONE LINE CHR)? FUJIMI PLANT FUJIMI SUWA-GUN NAGANO-KEN 399-0200 JAPAN 0266-61-1211 0266-61-1273 PLEASE EXISTS PLEASE PLEASE INPUT FILE NAME? CS320A0 OVERWRITE(Y/N)? INPUT FILE NAME? CS320B0 INPUT USER'S NAME?
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
FUNCTION OPTION GENERATOR FOG6S32
OPERATION SELECT MENU INPUT FILE EDIT FILE RETURN PLEASE SELECT NO.? SOURCE FILE(S) CS320A0 CS320B0 CS320C0
PLEASE INPUT FILE NAME? CS320A0 PLEASE INPUT USER'S NAME? PLEASE INPUT COMMENT (ONE LINE CHR)? PLEASE INPUT EDIT NO.?
(Modifying function option settings)
PLEASE INPUT EDIT NO.?
step (1), modifiable source exists, following message displayed sequence returns operation selection menu.
SOURCE FILE(S) FUNCTION OPTION DOCUMENT FILE FOUND.
Modifying function option settings Select operation selection menu. Will display files current drive. Enter file name. Enter customer's company name. Enter comment. Previously entered data used pressing RETURN (4). Enter number function option modified. When selection option complete, system prompts entry another function option number. Repeat selection until options modified selected. Enter option setting. Then, move confirmation procedure file generation.
step (2), function option document file current drive, following message displayed, prompting entry other file name.
PLEASE INPUT FILE NAME? CS320N0 FUNCTION OPTION DOCUMENT FILE FOUND. PLEASE INPUT FILE NAME?
OPTION
NO.3
MULTIPLE ENTRY RESET -KEY COMBINATION K00,K01 K00,K01,K02 K00,K01,K02,K03
PLEASE SELECT
NO.(1) K00,K01 SELECTED
COMBINATION
Option selection selections each option correspond option list. Enter selection number. value parentheses indicates default value, when only RETURN pressed. return, confirmation displayed. When wish modify previously function options setting process, enter return step back previous function option setting operation. EPROM selection When setting function options setting completed, following message output operator whether generate file. When debugging program with evaluation board, file needed, enter entered, file generated only document file generated. option selection menu displayed when entered Step (1), select EPROM used setting evaluation board options. When series operations complete, sequence returns operation selection menu.
OPTION SETTING. MAKE FILE (Y/N) OPTION EPROM SELECT MENU 27C64 27C128 27C256 27C512
PLEASE SELECT NO.? 27C128 SELECTED
MAKING FILE(S) COMPLETED. OPERATION SELECT MENU INPUT FILE EDIT FILE RETURN PLEASE SELECT NO.?
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
FUNCTION OPTION GENERATOR FOG6S32
Sample File
Example function option document file
E0C6S32 FUNCTION OPTION DOCUMENT FILE NAME USER'S NAME INPUT DATE CS320A2F.DOC SEIKO EPSON CORP. 1995/06/13 3.13
OPTION NO.1 DEVICE TYPE E0C6S3L2 OPT0101 -SELECTED
OPTION NO.2 OSC3 OSCILLATION CIRCUIT OSCILLATION CIRCUIT -OPT0201 OPTION NO.3 MULTIPLE ENTRY RESET COMBINATION K00,K01 TIME DETECTION CIRCUIT -OPT0301 OPT0302 OPTION NO.4 WATCH TIMER -OPT0401 OPTION NO.5 INTERRUPT NOISE REJECTOR K00-K03 -OPT0501 OPT0502 OPTION NO.6 INPUT PORT WITH PULL DOWN RESISTOR GATE DIRECT GATE DIRECT GATE DIRECT GATE DIRECT GATE DIRECT -OPT0601 OPT0602 OPT0603 OPT0604 OPT0605 OPTION NO.7 R00-R03 SPEC. OUTPUT SPEC. COMPLEMENTARY OUTPUT SPEC. COMPLEMENTARY OUTPUT SPEC. COMPLEMENTARY OUTPUT SPEC. COMPLEMENTARY -OPT0701 OPT0702 OPT0703 OPT0704
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
SELECTED
SELECTED SELECTED
SELECTED
SELECTED SELECTED
SELECTED SELECTED SELECTED SELECTED SELECTED
SELECTED SELECTED SELECTED SELECTED
EPSON
FUNCTION OPTION GENERATOR FOG6S32
OPTION NO.8 SPEC. OUTPUT SPEC. OUTPUT TYPE OPT0801 OPT0802 OPTION NO.9 SPEC. OUTPUT SPEC. OPT0901 OPTION NO.10 SPEC. OUTPUT SPEC. OUTPUT TYPE OPT1001 OPT1002 OPT1003 OPTION NO.11 SPEC. OUTPUT SPEC. OUTPUT TYPE OPT1101 OPT1102 OPTION NO.12 PORT OUTPUT SPEC. OPT1201 OPT1202 OPT1203 OPT1204 OPT1205 OPT1206 OPT1207 OPT1208 OPTION NO.13 EVENT COUNTER SPEC. NOISE REJECT OPT1301 OPT1302 OPTION NO.14 SPEC. DUTY POWER SOURCE BIAS REGISTER SWITCHING OPT1401 OPT1402 OPT1403 OPT1404
COMPLEMENTARY OUTPUT
SELECTED SELECTED
COMPLEMENTARY
SELECTED
COMPLEMENTARY FOUT (HZ)
SELECTED SELECTED
COMPLEMENTARY -NBZ CONTROLLED
SELECTED SELECTED
COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY COMPLEMENTARY
SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED SELECTED
-K03
SELECTED SELECTED
DUTY -VSS=VL1 INTERNAL CONNECTION BIAS (3.0V LCD) -LCD
SELECTED SELECTED SELECTED SELECTED
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
FUNCTION OPTION GENERATOR FOG6S32
OPTION NO.15 SEGMENT MEMORY ADDRESS C0-EF OPT1501 SEIKO EPSON'S AREA OPTION NO.16 OPT1601 OPT1602 OPT1603 OPT1604 OPT1605 OPT1606 OPT1607 OPT1608 OPTION NO.17 OPT1701 OPT1702 OPT1703 OPT1704 OPT1705 OPT1706 OPT1707 OPT1708 OPTION NO.19 OPT1901 OPTION NO.20 OPT2001 OPT2002 OPTION NO.21 OPT2101 OPT2102 OPTION NO.22 OPT2201 OPTION NO.23 OPT2301 \\END
SELECTED
Note
mark used instead "\\END" depending used. (The code 5CH.)
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
SEGMENT OPTION GENERATOR SOG6S32
SEGMENT OPTION GENERATOR
SOG6S32
SOG6S32 Outline
With 4-bit single-chip S1C6S3N2 microcomputers, customer select segment options. modifying mask patterns S1C6S3N2 according selected options, system customized meet specifications target system. Segment Option Generator SOG6S32 software tool generating data file used generate mask patterns. From data file created with SOG6S32, S1C6S3N2 mask pattern automatically generated general purpose computer. file evaluation board (S5U1C6S3N2E2) segment option simultaneously generated with data file.
A>EDLIN CS32XXX.SEG Segment source file generation
CS32XXX .SEG
A>SOG6S32 Execute segment option generator
Error message Error message
CS32XXXS .HEX Segment option file evaluation board
CS32XXXS .DOC Segment option document file
Fig. 5.1.1 SOG6S32 execution flow
operating method same S1C62 Family. Refer "S1C62 Family Development Tool Reference Manual" details.
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
SEGMENT OPTION GENERATOR SOG6S32
Option List
TERMINAL NAME SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 Legend: COM0 ADDRESS COM1 COM2 COM3 OUTPUT SPECIFICATION output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output output <OUTPUT SPECIFICATION> Complementary output open drain output
<ADDRESS> High order address, order address Data
Note: Even there unused areas, (hyphens) such that there blank columns. When output selected, display memory COM0 column becomes effective.
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
SEGMENT OPTION GENERATOR SOG6S32
Segment Ports Output Specifications
output specification segment output ports SEG0-SEG37, segment output output selected units terminals. When used liquid crystal panel drives, select segment output; when used regular output port, select output. When output selected, either complementary output open drain output further selected. However, segment output ports that will used, select segment output. Refer "S1C62 Family Development Tool Reference Manual" segment option source file creation.
When segment output selected
segment output port segment decoder built-in, data optional address segment memory area (040H-06FH 0C0H-0EFH) allocated optional segment. With this, segments (114 segments when duty selected segments when duty selected) liquid crystal panel could driven. segment memory allocated only segment multiple setting possible. allocated segment displays when this segment memory "1", goes when "0". Segment allocation high address (4-6 C-E), address (0-F), data (0-3) recorded their respective column option list. segment ports that will used, write (hyphen) columns COM0-COM3. Examples When duty selected When duty selected When duty selected
When output selected
output selected units terminals terminals allocated output. Also, either complementary output open drain output likewise selected units terminals. When selected segment memory "1", segment output port goes high (VDD), goes (VSS) when "0". Segment allocation same when segment output selected while segment memory allocated COM1-COM3 becomes ineffective. Write three hyphens ("-") COM1-COM3 columns option list. Example When complementary output SEG34 SEG35, open drain output SEG36 SEG37.
Note
Only complementary output enabled output ports evaluation board. Therefore, complementary output enabled even open drain output selected. Respond adding external circuits required.
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
SEGMENT OPTION GENERATOR SOG6S32
SOG6S32 Quick Reference
Starting command input/output files
Execution file: Starting command: Option: Input file: Output file: SOG6S32.EXE SOG6S32_ [-H]
indicates blank. indicates Return key. parameter enclosed omitted.
Specifies segment option document file input file SOG6S32. CS32XXX.SEG (Segment option source file) CS32XXXS.DOC (Segment option document file, when option use) CS32XXXS.DOC (Segment option document file) CS32XXXS.HEX (Segment option file)
Display example
E0C6S32 SEGMENT OPTION GENERATOR. 3.20 PPPPPPPP PPPPPPPPPP PPPPPPPPPP PPPPPPPP SSSSSSS SSSS SSSSSS SSSS SSSS SSSSSSS OOOOOOOO OOOOOOOO NNNN NNNNN NNNNNN NNNNNN NNNNN NNNN EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE
Start-up message When SOG6S32 started, start-up message displayed. "STRIKE KEY.", press advance program execution. suspend execution, press "CTRL" keys together: sequence returns command level.
COPYRIGHT 1990
SEIKO EPSON CORP.
SEGMENT OPTION SOURCE FILE NAME CS32XXX.SEG THIS SOFTWARE MAKES NEXT FILES. CS32XXXS.HEX CS32XXXS.DOC SEGMENT OPTION FILE. SEGMENT OPTION DOCUMENT FILE.
STRIKE KEY.
E0C6S32 USER'S OPTION SETTING. 3.20 CURRENT DATE 95/04/17 PLEASE INPUT DATE 95/04/19
Date input Enter 2-digit year, month, month delimiting them with slash ("/"). When modifying date, press RETURN continue. Input file selection Will display files current drive. Enter file name. Enter customer's company name. Enter comment. (Within characters lines) Then, move confirmation procedure file generation. step (1), modifiable source exists, error message will displayed program will terminated. step (2), specified file name found current drive, error message displayed, prompting entry other file name.
SOURCE FILE(S) CS320A0 PLEASE INPUT PLEASE INPUT PLEASE INPUT (ONE LINE CS320B0 CS320C0 JAPAN
SEGMENT OPTION FILE NAME? CS320A0 USER'S NAME? SEIKO EPSON CORP. COMMENT CHR)? FUJIMI PLANT FUJIMI SUWA-GUN NAGANO-KEN 399-0200 0266-61-1211 0266-61-1273
SOURCE FILE(S) SEGMENT OPTION SOURCE FILE FOUND. SOURCE FILE(S) SEGMENT OPTION DOCUMENT FILE FOUND. option option
PLEASE INPUT SEGMENT OPTION SOURCE FILE NAME? CS320N0 SEGMENT OPTION SOURCE FILE FOUND. option PLEASE INPUT SEGMENT OPTION DOCUMENT FILE NAME? CS320N0 SEGMENT OPTION DOCUMENT FILE FOUND. option
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
SEGMENT OPTION GENERATOR SOG6S32
OPTION SETTING. MAKE FILE (Y/N) OPTION EPROM SELECT MENU 27C64 27C128 27C256 27C512 SELECTED
PLEASE SELECT NO.? 27C128
MAKING FILE COMPLETED.
EPROM selection When selecting file completed, following message output operator whether generate file. When debugging program with evaluation board, file needed, enter entered, file generated only document file generated. option selection menu displayed when entered Step (1), select EPROM used setting evaluation board options. When series operations complete, SOG6S32 generates files. error committed while setting segment options, "MAKING FILE COMPLETED" will displayed SOG6S32 program will terminated.
Error messages
Error message Explanation data written invalid format. segment number outside specificable range specified. segment memory address data outside specificable range specified. same data (SEG port No., segment memory address, data bit) specified more then once. output specifications were units ports.
(Syntax Error) (Segment Select Error) (RAM Address Select Error) (Duprication Error)
Port Error
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
SEGMENT OPTION GENERATOR SOG6S32
Sample Files
Example segment option source file
CS320A2.SEG, VER.3.20 SEGMENT DECODE TABLE
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
SEGMENT OPTION GENERATOR SOG6S32
Example segment option document file
E0C6S32 SEGMENT OPTION DOCUMENT FILE NAME USER'S NAME INPUT DATE CS320A2S.DOC SEIKO EPSON CORP. 95/04/17 3.20
OPTION NO.16 SEGMENT DECODE TABLE COM0 COM1 COM2 COM3 SPEC
\\END
Note
mark used instead "\\END" depending used. (The code 5CH.)
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
CONTROL SOFTWARE ICS6S32
CONTROL SOFTWARE ICS6S32
ICS6S32 Outline
In-Circuit Emulator (S5U1C62000H) connects target board produced user evaluation board (S5U1C6S3N2E2 performs real time target system evaluation debugging passing through RS-232C from host computer controlling operation host computer side (S5U1C62000H) control done through Control Software ICS6S32. ICS6S32 numerous highly functional emulation commands which provide sophisticated break function, on-the-fly data display, history display, etc., perform higher level debugging.
Host computer (IBM PC/AT)
Target board RS-232C S5U1C62000H Evaluation Board S5U1C6S3N2E2
Fig. 6.1.1 Debugging system using
functions commands same S1C62 Family. Refer "S1C62 Family Development Tool Reference Manual" details.
ICS6S32 Restrictions
Take following precautions when using ICS6S32.
Area
area limited maximum address 7FFH. Assigning data above 7FFH address causes error.
Area
area limited maximum address 0FFH. However, following addresses unused area, designation this area with commands produces error. Unused area: 0A0H 0EFH (When segment memory assigned from 040H 06FH) 0A0H 0BFH (When segment memory assigned from 0C0H 0EFH) 0F0H 0F5H, 0FFH (Area from 0F6H 0FEH memory) Refer "S1C6S3N2 Technical Manual" details.
Undefined Code
instructions below specified S1C6S3N2 cannot used. PUSH PUSH XP,r YP,r r,XP r,YP
OPTLD Command
ICS6S32, OPTLD command used. This command used load files (function option data segment option data LCD) evaluation board memory with ICE. Load function option data: Load segment option data: #OPTLD,1,CS32XXX #OPTLD,2,CS32XXX
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
CONTROL SOFTWARE ICS6S32
OPTLD
Format
READ HEXA DATA FILE #OPTLD,1,<file name> #OPTLD,2,<file name>
.(1) .(2)
Function
Load function option file evaluation board function option data memory. file output function option generator intel format. Load segment option file evaluation board segment option data memory. file output segment option generator intel format.
Examples
#OPTLD,1,CS32XXX #OPTLD,2,CS32XXX #SD,DF |0:1 |0:/ #SD,DF |1:3 |0:/
CS32XXXF.HEX file loaded function option data memory. CS32XXXS.HEX file loaded segment option data memory. OSC3 oscillation turned
Switching from OSC1 OSC3. reset. (Switches clock OSC1 when OSC3 oscillation set.)
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
CONTROL SOFTWARE ICS6S32
ICS6S32 Quick Reference
Starting command input/output files
Execution file: Starting command: Input file: ICS6S32B.BAT (ICS6S32W.EXE) ICS6S32B (ICS6S32W) CS32XXXL.HEX CS32XXXH.HEX CS32XXXD.HEX CS32XXXC.HEX CS32XXXL.HEX CS32XXXH.HEX CS32XXXD.HEX CS32XXXC.HEX (Object file, low-order) (Object file, high-order) (Data file) (Control file) (Object file, low-order) (Object file, high-order) (Data file) (Control file)
indicates Return key.
Output file:
Display example
E0C6S32 CONTROL SOFTWARE. 3.01 EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE PPPPPPPP PPPPPPPPPP PPPPPPPPPP PPPPPPPP SSSSSSS SSSS SSSSSS SSSS SSSS SSSSSSS OOOOOOOO OOOOOOOO NNNN NNNNN NNNNNN NNNNNN NNNNN NNNN
COPYRIGHT 1991 SEIKO EPSON CORP. POWER RESET DIAGNOSTIC TEST
Start-up message When ICS6S32 started, start-up message displayed, self-test automatically performed. ICS6S32 commands awaited when program properly loaded mark displayed. Debugging done entering command after mark. ICS6S32 program terminated entering (Quit) command.
Note
Confirm that cables connected properly, then operate ICS6S32.
Recover procedure
Error messages
Error message Meaning COMMUNICATION ERROR disconnected power READY OFF. TARGET DOWN Evaluation board disconnected. (Check power TARGET DOWN Evaluation board disconnected. (Check command execution) UNDEFINED PROGRAM Undefined code detected CODE EXIST program loaded from COMMAND ERROR miss occurs command input. response after power ICE-to-HOST cable disconnected host side. Switch host power supply, connect cable, reapply power. switch power ICE. Switch power ICE, connect evaluation board. Then, apply power ICE. Switch power ICE, connect evaluation board. Then, apply power ICE. Convert data with cross assembler, then restart ICE. Reenter proper command. Switch host power supply, connect cable, reapply power.
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
CONTROL SOFTWARE ICS6S32
commands
Item Function Command Format Outline Operation
Assemble Disassemble Dump Fill 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 #BDR #BRR #BMR #BRES #BSYN #BRKSEL,REM #MP,a1,a2,a3 #MD,a1,a2,a3
Break
Move
Data Change Internal Registers
#SP,a #SD,a #DXY #SXY
Assemble command mnemonic code store address Contents addresses disassembled displayed Contents program area displayed Content data area displayed Data addresses (program area) Data addresses (data area) Program executed from address Execution time step counter selection On-the-fly display selection Executes program while displaying results step instruction from address Displays only final step #T,a,n Sets Break program address Breakpoint canceled Break condition data Breakpoint canceled Break condition evaluation board internal registers Breakpoint canceled Combined break conditions program data address registers Cancel combined break conditions program data address registers break conditions canceled Break condition displayed Enter break enable mode Enter break disable mode break stop/trace modes condition clear/remain modes Contents program area addresses moved addresses after Contents data area addresses moved addresses after Data from program area address written memory Data from data area address written memory Display evaluation board internal registers evaluation board internal registers Reset evaluation board Display data display
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
CONTROL SOFTWARE ICS6S32
Item
Function
Command Format
Outline Operation
History
#H,p1,p2 #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 #ROM #HELP #CHK
File
Coverage Access
Terminate Command Display Self Diagnosis
Display history data pointer pointer Display upstream history data Display line history data Display history pointer history pointer Sets history information acquisition before (S), before/after after Sets history information acquisition from program area Sets prohibition history information acquisition from program area Indicates history acquisition program area Retrieves indicates history information which executed program address Retrieves indicates history information which wrote read data area address Move program file memory Move data file memory Compare program file contents memory Compare data file contents memory Save contents memory program file Save contents memory data file Load condition from file Save condition file Load function option data from file Load segment option data from file Indicates coverage information Clears coverage information Move contents program memory Compare contents with contents program memory type Terminate return operating system control Display instruction Report results self diagnostic test means press RETURN key.
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
MASK DATA CHECKER MDC6S32
MASK DATA CHECKER MDC6S32
MDC6S32 Outline
Mask Data Checker MDC6S32 software tool which checks program data (CS32XXXH.HEX CS32XXXL.HEX) option data (CS32XXXF.DOC CS32XXXS.DOC) created user creates data file (C6S32XXX.PAn) generating mask patterns. user must send file generated through this software tool Seiko Epson. Moreover, MDC6S32 capability restore generated data file (C6S32XXX.PA0) original file format.
Object files Function option document file CS32XXXF .DOC Segment option document file CS32XXXS .DOC
CS32XXXH .HEX
CS32XXXL .HEX
MDC6S32 Mask Data Checker execution (pack)
File submission
C6S32XXX .PAn
SEIKO EPSON
MDC6S32 Mask Data Checker execution (unpack)
CS32XXXH .PAn
CS32XXXL .PAn
CS32XXXF .PAn Unpacked files
CS32XXXS .PAn
Fig. 7.1.1 MDC6S32 execution flow
operating method same S1C62 Family. Refer "S1C62 Family Development Tool Reference Manual" details.
MDC6S32 Quick Reference
Starting command input/output files
Execution file: Starting command: Input file: MDC6S32.EXE MDC6S32 CS32XXXL.HEX (Object file, low-order) CS32XXXH.HEX (Object file, high-order) CS32XXXF.DOC (Function option document file) CS32XXXS.DOC (Segment option document file) C6S32XXX.PAn (Packed file) C6S32XXX.PAn CS32XXXL.PAn CS32XXXH.PAn CS32XXXF.PAn CS32XXXS.PAn (Packed file) (Object file, low-order) (Object file, high-order) (Function option document file) (Segment option document file)
indicates Return key.
When packing When unpacking When packing When unpacking
Output file:
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
MASK DATA CHECKER MDC6S32
Display examples
E0C6S32 PACK UNPACK PROGRAM 1.00 EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE EEEEEEEEEE PPPPPPPP PPPPPPPPPP PPPPPPPPPP PPPPPPPP SSSSSSS SSSS SSSSSS SSSS SSSS SSSSSSS OOOOOOOO OOOOOOOO NNNN NNNNN NNNNNN NNNNNN NNNNN NNNN
Start-up message When MDC6S32 started, start-up message operation menu displayed. Here, user prompted select operation options.
COPYRIGHT 1990 SEIKO EPSON CORP. OPERATION MENU PACK UNPACK PLEASE SELECT NO.? OPERATION MENU PACK UNPACK PLEASE SELECT NO.? CS32XXXH.HEX CS32XXXL.HEX C6S32XXX.PAn (PACK FILE) CS32XXXF.DOC CS32XXXS.DOC PLEASE INPUT PACK FILE NAME (C6S32XXX.PAn) C6S320A0.PA0
CS320A0H.HEX CS320A0L.HEX C6S320A0.PA0 CS320A0F.DOC CS320A0S.DOC
Packing data Select operation menu. Enter file name. After submitting data Seiko Epson there need re-submit data, increase numeric value when input made. (Example: When re-submitting data after "C6S32XXX.PA0" been submitted, pack file name should entered "C6S32XXX.PA1".) With this, mask file (C6S32XXX.PAn) generated, MDC6S32 program will terminated. Submit this file Seiko Epson.
Note
Don't data generated with option Cross Assembler (ASM6S32) program data. program data generated with option Cross Assembler packed, undefined program area filled with code. this case, following message displayed.
WARNING: FILLED <file_name> FILE WITH FFH.
OPERATION MENU PACK UNPACK PLEASE SELECT NO.? PLEASE INPUT PACKED FILE NAME (C6S32XXX.PAn) +-C6S320A0.PA0 +-C6S320A0.PA0
Unpacking data Select operation menu. Enter packed file name. With this, mask data file (C6S32XXX.PAn) restored original file format, MDC6S32 program will terminated. Since extension file name remains "PAn", must renamed back original form ("HEX" "DOC") order re-debug modify restored file.
CS320A0H.PA0 CS320A0L.PA0 CS320A0F.PA0 CS320A0S.PA0
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
MASK DATA CHECKER MDC6S32
Error messages Program data error
Error Message Explanation
DATA DATA DATA DATA DATA DATA DATA DATA DATA
ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR
COLON. DATA LENGTH. (NOT 00-20h) ADDRESS. RECORD TYPE. (NOT DATA. (NOT 00-FFh) MANY DATA LINE. CHECK SUM. MARK. DUPLICATE.
There colon. data length line 00-20H range. address beyond valid range program ROM. record type line data range between 0FFH. There many data line. checksum correct. mark 00000001FF. There duplicate definition data 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. MARK.
start mark "\OPTION". (during unpacking) option number correct. option selection number correct. mark "\\END" (packing) "\END" (unpacking).*
Segment option data error
Error Message Explanation
SEGMENT SEGMENT SEGMENT SEGMENT
DATA DATA DATA DATA
ERROR ERROR ERROR ERROR
START MARK. DATA. SEGMENT NUMBER. SPEC.
start mark "\SEGMENT". (during unpacking) segment data correct. correct. output specification terminal correct. mark "\\END" (packing) "\END" (unpacking).*
SEGMENT DATA ERROR MARK.
File error
Error Message Explanation
<File_name> FILE FOUND. PACK FILE NAME (File_name) ERROR. PACKED FILE NAME (File_name) ERROR.
file found file number CONFIG.SYS less than packed input format file name wrong. unpacked input format file name wrong.
System error
Error Message Explanation
DIRECTORY FULL. DISK WRITE ERROR.
directory full. Writing disk failed.
sometimes appears depending personal computer being used.
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
APPENDIX S1C6S3N2 INSTRUCTION
APPENDIX
Branch PSET JPBA CALL CALZ RETS RETD System control Index operation instructions NOP5 NOP7
S1C6S3N2 INSTRUCTION
Operation
Operation Code Flag MneClassification monic Operand Clock
p3~p0 NBP, NPP, s7~s0 NBP, NPP, s7~s0 NBP, NPP, s7~s0 NBP, NPP, s7~s0 NBP, NPP, s7~s0 NBP, NPP, PCSH PCSL M(SP-1) PCP, M(SP-2) PCSH, M(SP-3) PCSL+1 SP-3, NPP, s7~s0 M(SP-1) PCP, M(SP-2) PCSH, M(SP-3) PCSL+1 SP-3, s7~s0 PCSL M(SP), PCSH M(SP+1), M(SP+2) SP+3 PCSL M(SP), PCSH M(SP+1), M(SP+2) SP+3, PC+1 PCSL M(SP), PCSH M(SP+1), M(SP+2) SP+3, M(X) M(X+1) operation clock cycles) operation clock cycles) Halt (stop clock) x7~x4, x3~x0 y7~y4, y3~y0 XH+i3~i0+C XL+i3~i0+C YH+i3~i0+C YL+i3~i0+C
instructions
instructions HALT
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
APPENDIX S1C6S3N2 INSTRUCTION
Operation Code Flag MneClassification monic Operand Clock
Operation
Index operation instructions Data transfer instructions
XH-i3~i0 XL-i3~i0 YH-i3~i0 YL-i3~i0 i3~i0 M(n3~n0) M(n3~n0) M(n3~n0) M(n3~n0) M(X) i3~i0, M(Y) i3~i0, M(X) M(X+1) i3~i0 i3~i0 (Decimal Adjuster (Decimal Adjuster OFF) (Enables Interrupt) (Disables Interrupt) SP+1 SP-1 SP-1, M(SP) SP-1, M(SP) SP-1, M(SP) SP-1, M(SP) SP-1, M(SP) SP-1, M(SP) M(SP), SP+1 M(SP), SP+1 M(SP), SP+1
LDPX LDPY LBPX
Flag operation
instructions
Stack operation
instructions PUSH
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
APPENDIX S1C6S3N2 INSTRUCTION
Operation Code Flag MneClassification monic Operand Clock
Operation
Stack operation instructions
M(SP), SP+1 M(SP), SP+1 M(SP), SP+1 r+i3~i0 r+i3~i0+C r+q+C r-i3~i0-C r-q-C i3~i0 i3~i0 i3~i0 r-i3~i0 i3~i0 M(n3~n0) M(n3~n0)+1 M(n3~n0) M(n3~n0)-1 M(X) M(X)+r+C, M(Y) M(Y)+r+C, M(X) M(X)-r-C, M(Y) M(Y)-r-C,
SPH, SPL,
Arithmetic instructions
ACPX ACPY SCPX SCPY
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
APPENDIX S1C6S3N2 INSTRUCTION
Abbreviations used explanations have following meanings.
Symbols associated with registers memory
register register register (low order eight bits index register register (low order eight bits index register register (high order four bits register) register (low order four bits register) register (high order four bits register) register (low order four bits register) Stack pointer High-order four bits stack pointer Low-order four bits stack pointer M(X) Data memory whose address specified with index register M(Y) Data memory whose address specified with index register M(n) Data memory address 000H-00FH (address specified with immediate data 00H-0FH) M(SP) Data memory whose address specified with stack pointer Two-bit register code two-bit immediate data; according contents these bits, they indicate registers (data memory whose addresses specified with index registers Register specified
Symbols associated with program counter
PCSH PCSL bank pointer page pointer Program counter bank Program counter page Program counter step Four high order bits Four order bits
Symbols associated with flags
Flag register Carry flag Zero flag Decimal flag Interrupt flag Flag reset Flag Flag reset
Associated with immediate data
Five-bit immediate data label 00H-1FH Eight-bit immediate data label 00H-0FFH Eight-bit immediate data 00H-0FFH Four-bit immediate data 00H-0FH
Associated with arithmetic other operations
Subtract Logical Logical Exclusive-OR Add-subtract instruction decimal operation when flag
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
APPENDIX TROUBLESHOOTING
APPENDIX
Tool
TROUBLESHOOTING
Problem Remedy measures
S5U1C62000H
Nothing appears screen, nothing works, after activation.
fuse immediately after activation.
<ILLEGAL VERSION ICE6200> appears screen immediately after activation. <ILLEGAL VERSION PARAMETER FILE> appears screen immediately after activation. Immediate values (10) (11) cannot entered correctly with command.
Check following remedy necessary: RS-232C cable connected correctly? RS-232C driver installed? MODE.COM disk? execution file correct? PC-DOS ICS6S32W.EXE version correct? PC-DOS Ver. later switches that baud rate main unit correctly? fuse off? Check following remedy necessary: connectors connected evaluation board correctly? target board power short-circuiting? wrong version being used. latest version. wrong version ICS6S32P.PAR being used. latest version. registers reserved entry Write when entering (10) (11). Example: Data register loaded into register. Immediate value loaded into register. This message output when address following which data written unused. does indicates problem. Data correctly areas other than readonly area. Since stops temporarily when breaking conditions met, executing real-time performed. Output possible only real-time mode.
<UNUSED AREA> displayed command.
SOG6S32
real-time break-trace mode. Output from evaluation board impossible when data written memory Buzzer Fout output with command. error occurs although address correctly segment source file.
Check following remedy necessary: Does address symbol capital letters? output ports every terminals?
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
APPENDIX TROUBLESHOOTING
Tool
Problem
Remedy measures
ASM6S32
error occurs although final page passed.
MDC6S32
Activation impossible.
Evaluation evaluation board does work when used independently. board
S5U1C6S3N2E2
Target segment does light.
cross assembler designed output error" every time page changed. pseudo-instruction memory, such PAGE, change page. "Memory setting pseudo-instructions" cross assembler manual. Check following remedy necessary: number files more environment file CONFIG.SYS? Check following remedy necessary: EPROM F.HEX S.HEX been replaced EPROM target? EPROM F.HEX S.HEX installed correctly? appropriate voltage being supplied? more) program ROMs installed correctly? data written from address 4000H? (When 27C256 used program ROM) EN/DIS switch evaluation board Check following remedy necessary: EPROM with access time less being used S.HEX. VADJ inside evaluation board cover been turned lower setting?
EPSON
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
APPENDIX DEBUGGING DUTY DRIVE EVA6S3N2
APPENDIX
DEBUGGING DUTY
DRIVE EVALUATION BOARD
evaluation board (S5U1C6S3N2E2) used debug S1C6S3N2 systems. However, evaluation board cannot output duty signal drive LCD. When debugging S1C6S3N2 system that uses duty drive, should done with following procedure. duty function option using FOG6S32. Assign segments using SOG6S32. Since only COM0 COM1 signals used duty drive, assign addresses used COM0 COM1.
SEGMENT DECODE TABLE ;SEG COM0 COM1 COM2 COM3 -RAM addresses that used duty drive
SPEC
Debug with evaluation board check whether segment assignment correct not. aware that drive waveform different corresponding COM2 goes
Creating Mask Data
Edit function option data (option using FOG6S32 change duty setting duty setting. unnecessary change segment assignment SOG6S32.
Note: evaluation board does support bias drive method. drive waveform bias waveform.
S5U1C6S3N2D MANUAL (DEVELOPMENT SOFTWARE TOOL S1C6S3N2)
EPSON
International Sales Operations
AMERICA
EPSON ELECTRONICS AMERICA, INC. HEADQUARTERS River Oaks Parkway Jose, 95134, U.S.A. Phone: +1-408-922-0200 Fax: +1-408-922-0238
ASIA
EPSON (CHINA) CO., LTD.
28F, Beijing Silver Tower North DongSanHuan ChaoYang District, Beijing, CHINA Phone: 64106655 Fax: 64107319
SHANGHAI BRANCH
Bldg., Jing Road Caohejing, Shanghai, CHINA Phone: 21-6485-5552 Fax: 21-6485-0775
SALES OFFICES West
1960 Grand Avenue Segundo, 90245, U.S.A. Phone: +1-310-955-5300 Fax: +1-310-955-5400
EPSON HONG KONG LTD.
20/F., Harbour Centre, Harbour Road Wanchai, Hong Kong Phone: +852-2585-4600 Fax: +852-2827-4346 Telex: 65542 EPSCO
Central
Virginia Street, Suite Crystal Lake, 60014, U.S.A. Phone: +1-815-455-7630 Fax: +1-815-455-7633
EPSON TAIWAN TECHNOLOGY TRADING LTD.
10F, 287, Nanking East Road, Sec. Taipei Phone: 02-2717-7360 Fax: 02-2712-9164 Telex: 24444 EPSONTB
Northeast
Edgewater Place, Suite Wakefield, 01880, U.S.A. Phone: +1-781-246-3600 Fax: +1-781-246-5443
HSINCHU OFFICE Southeast
3010 Royal Blvd. South, Suite Alpharetta, 30005, U.S.A. Phone: +1-877-EEA-0020 Fax: +1-770-777-2637 13F-3, 295, Kuang-Fu Road, Sec. HsinChu Phone: 03-573-9900 Fax: 03-573-9169
EPSON SINGAPORE PTE., LTD.
EUROPE
EPSON EUROPE ELECTRONICS GmbH HEADQUARTERS Riesstrasse 80992 Munich, GERMANY Phone: +49-(0)89-14005-0 Fax: +49-(0)89-14005-110
Temasek Avenue, #36-00 Millenia Tower, SINGAPORE 039192 Phone: +65-337-7911 Fax: +65-334-2716
SEIKO EPSON CORPORATION KOREA OFFICE
50F, Bldg., Yoido-dong Youngdeungpo-Ku, Seoul, 150-763, KOREA Phone: 02-784-6027 Fax: 02-767-3677
SALES OFFICE
Altstadtstrasse 51379 Leverkusen, GERMANY Phone: +49-(0)2171-5045-0 Fax: +49-(0)2171-5045-10
SEIKO EPSON CORPORATION ELECTRONIC DEVICES MARKETING DIVISION Electronic Device Marketing Department Marketing Engineering Group
421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5816 Fax: +81-(0)42-587-5624
BRANCH OFFICE
Unit 2.4, Doncastle House, Doncastle Road Bracknell, Berkshire RG12 8PE, ENGLAND Phone: +44-(0)1344-381700 Fax: +44-(0)1344-381701
International Marketing Department Europe U.S.A. FRENCH BRANCH OFFICE
Avenue Atlantique, Conquerants Z.A. Courtaboeuf F-91976 Ulis Cedex, FRANCE Phone: +33-(0)1-64862350 Fax: +33-(0)1-64862355 421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5812 Fax: +81-(0)42-587-5564
International Marketing Department Asia
421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5814 Fax: +81-(0)42-587-5110
BARCELONA BRANCH OFFICE Barcelona Design Center
Edificio Prima Sant Cugat Avda. Alcalde Barrils num. 64-68 E-08190 Sant Cugat SPAIN Phone: +34-93-544-2490 Fax: +34-93-544-2491
pursuit "Saving" Technology, Epson electronic devices. lineup semiconductors, liquid crystal displays quartz devices assists creating products customers' dreams. Epson energy savings.
S5U1C6S3N2D Manual
(Development Software Tool S1C6S3N2)
ELECTRONIC DEVICES MARKETING DIVISION
EPSON Electronic Devices Website
http://www.epson.co.jp/device/
First issue November, 1995 Printed April, 2001 Japan

Other recent searches


SRA-2000+ - SRA-2000+   SRA-2000+ Datasheet
Q67007-A9335 - Q67007-A9335   Q67007-A9335 Datasheet
AN2523 - AN2523   AN2523 Datasheet
2SD2124 - 2SD2124   2SD2124 Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive