Epson S5U1C62N51E1 User Manual

Page 1
CMOS 4-BIT SINGLE CHIP MICROCOMPUTER
S5U1C62N51E1 Manual
(Evaluation Board for S1C60N01/60N02/60N05/62N51/6S3N7)
Rev.1.0
Page 2
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 Law of Japan and may require an export license from the Ministry of Economy, Trade and Industry or other approval from another government agency.
All other product names mentioned herein are trademarks and/or registered trademarks of their respective companies.
©SEIKO EPSON CORPORATION 2008, All rights reserved.
Page 3
The information of the product number change
Starting April 1, 2001, the product number will be changed as listed below. To order from April 1, 2001 please use the new product number. For further information, please contact Epson sales representative.
Configuration of product number
Devices
S1 C 60N01 F 0A01
Development tools
S5U1
1: For details about tool types, see the tables below. (In some manuals, tool types are represented by one digit.)2: Actual versions are not written in the manuals.
C 60R08 D1 1
00
Packing specification Specification Package (D: die form; F: QFP) Model number Model name (C: microcomputer, digital products) Product classification (S1: semiconductor)
00
Packing specification Version (1: Version 1 Tool type (D1: Development Tool ∗1) Corresponding model number (60R08: for S1C60R08) Tool classification (C: microcomputer use) Product classification (S5U1: development tool for semiconductor products)
2
)
Comparison table between new and previous number
S1C60 Family processors
Previous No.
E0C6001 E0C6002 E0C6003 E0C6004 E0C6005 E0C6006 E0C6007 E0C6008 E0C6009 E0C6011 E0C6013 E0C6014 E0C60R08
New No. S1C60N01 S1C60N02 S1C60N03 S1C60N04 S1C60N05 S1C60N06 S1C60N07 S1C60N08 S1C60N09 S1C60N11 S1C60N13 S1C60140 S1C60R08
S1C62 Family processors
Previous No.
E0C621A E0C6215 E0C621C E0C6S27 E0C6S37 E0C623A E0C623E E0C6S32 E0C6233 E0C6235 E0C623B E0C6244 E0C624A E0C6S46
New No. S1C621A0 S1C62150 S1C621C0 S1C6S2N7 S1C6S3N7 S1C6N3A0 S1C6N3E0 S1C6S3N2 S1C62N33 S1C62N35 S1C6N3B0 S1C62440 S1C624A0 S1C6S460
Previous No.
E0C6247 E0C6248 E0C6S48 E0C624C E0C6251 E0C6256 E0C6292 E0C6262 E0C6266 E0C6274 E0C6281 E0C6282 E0C62M2 E0C62T3
New No. S1C62470 S1C62480 S1C6S480 S1C624C0 S1C62N51 S1C62560 S1C62920 S1C62N62 S1C62660 S1C62740 S1C62N81 S1C62N82 S1C62M20 S1C62T30
Comparison table between new and previous number of development tools
Development tools for the S1C60/62 Family
Previous No.
ASM62 DEV6001 DEV6002 DEV6003 DEV6004 DEV6005 DEV6006 DEV6007 DEV6008 DEV6009 DEV6011 DEV60R08 DEV621A DEV621C DEV623B DEV6244 DEV624A DEV624C DEV6248 DEV6247
New No. S5U1C62000A S5U1C60N01D S5U1C60N02D S5U1C60N03D S5U1C60N04D S5U1C60N05D S5U1C60N06D S5U1C60N07D S5U1C60N08D S5U1C60N09D S5U1C60N11D S5U1C60R08D S5U1C621A0D S5U1C621C0D S5U1C623B0D S5U1C62440D S5U1C624A0D S5U1C624C0D S5U1C62480D S5U1C62470D
Previous No.
DEV6262 DEV6266 DEV6274 DEV6292 DEV62M2 DEV6233 DEV6235 DEV6251 DEV6256 DEV6281 DEV6282 DEV6S27 DEV6S32 DEV6S37 EVA6008 EVA6011 EVA621AR EVA621C EVA6237 EVA623A
New No. S5U1C62620D S5U1C62660D S5U1C62740D S5U1C62920D S5U1C62M20D S5U1C62N33D S5U1C62N35D S5U1C62N51D S5U1C62560D S5U1C62N81D S5U1C62N82D S5U1C6S2N7D S5U1C6S3N2D S5U1C6S3N7D S5U1C60N08E S5U1C60N11E S5U1C621A0E2 S5U1C621C0E S5U1C62N37E S5U1C623A0E
Previous No.
EVA623B EVA623E EVA6247 EVA6248 EVA6251R EVA6256 EVA6262 EVA6266 EVA6274 EVA6281 EVA6282 EVA62M1 EVA62T3 EVA6S27 EVA6S32R ICE62R KIT6003 KIT6004 KIT6007
New No. S5U1C623B0E S5U1C623E0E S5U1C62470E S5U1C62480E S5U1C62N51E1 S5U1C62N56E S5U1C62620E S5U1C62660E S5U1C62740E S5U1C62N81E S5U1C62N82E S5U1C62M10E S5U1C62T30E S5U1C6S2N7E S5U1C6S3N2E2 S5U1C62000H S5U1C60N03K S5U1C60N04K S5U1C60N07K
Page 4
S5U1C62N51E1 Manual
This manual describes how to operate the S5U1C62N51E1, a debugging tool for the S1C62N51, S1C6S3N7, S1C60N01, S1C60N02 and S1C60N05 4-bit single-chip microcomputer.
Refer to the Technical Manual of each model for details of the S1C62N51, S1C6S3N7, S1C60N01, S1C60N02 and S1C60N0, and the "S5U1C62000A Manual" and the "S5U1C62xxxD Manual" for the development procedure and other information.
(Evaluation Board for S1C60N01/60N02/60N05/62N51/6S3N7)
Table of Contents
1. INTRODUCTION..................................................................................... 1
1.1 S5U1C62N51E1 Outline........................................................................................... 1
1.2 S5U1C62N51E1 Components ................................................................................. 1
2. PRODUCT SPECIFICATIONS................................................................ 2
3. NAMES AND FUNCTIONS OF PARTS .................................................. 3
3.1 Basic Functions ........................................................................................................ 3
3.2 Functions of Parts..................................................................................................... 3
3.2.1 Front panel..................................................................................................................... 3
3.2.2 Rear panel ..................................................................................................................... 3
3.2.3 Board (under top cover) ................................................................................................ 4
3.3 S5U1C62N51E1 I/O and LCD Connectors .............................................................. 6
4. CABLE CONNECTION........................................................................... 7
4.1 Connection to ICE .................................................................................................... 7
4.2 Power Cable Connection .......................................................................................... 7
4.3 Connection to Target System ................................................................................... 7
5. OPERATION METHOD OF S5U1C62N51E1 ......................................... 8
5.1 Preparation ............................................................................................................... 8
5.1.1 Creation of target system .............................................................................................. 8
5.1.2 Creation and installation of ROMs ................................................................................ 8
5.2 Independent Use of S5U1C62N51E1 ...................................................................... 9
5.2.1 Power on/off ................................................................................................................... 9
5.2.2 Debugging ..................................................................................................................... 9
5.3 Operation When ICE is Connected .......................................................................... 9
5.3.1 Power on/off ................................................................................................................... 9
5.3.2 Debugging ..................................................................................................................... 9
6. PRECAUTIONS ..................................................................................... 10
6.1 Precautions for Operation........................................................................................ 10
6.2 Differences from Actual IC....................................................................................... 10
S5U1C62N51E1 MANUAL (Rev.1.0) EPSON i
Page 5

1. INTRODUCTION

1.1 S5U1C62N51E1 Outline

The S5U1C62N51E1 is a development tool for the S1C62N51, 6S3N7, 60N01, 60N02 and 60N05. Almost the same functions that the S1C62N51/ 6S3N7/60N01/60N02/60N05 CPU has can be implemented by writing application program and option data created by the option generator into EPROM, and installing it in the S5U1C62N51E1.
In addition, the S5U1C62N51E1 can interface with the in-circuit emulator ICE (S5U1C62000H), and so perform a higher level of debugging.

1.2 S5U1C62N51E1 Components

When unpacking the S5U1C62N51E1, check that the following goods are present:
EVA6251R
E0C6251R EVALUATION BOARD
The name 'EVA6251R' on the development tool
is the old name of the product.
1. INTRODUCTION
(1) S5U1C62N51E1 main unit.......................................................................... 1
(2) LCD connection cable and connector (60-pin flat type) ............................ 1 set
(3) I/O connection cable and connector (50-pin flat type) ............................... 1 set
(4) Power cable (3-pin) ..................................................................................... 1 set
(5) Fuse (3 A) ..................................................................................................... 1
(6) S5U1C62N51E1 Manual (Evaluation Board
for S1C60N01/60N02/60N05/62N51/6S3N7) (this manual) ..................... 1
(7) Warranty registration card ........................................................................... 1
(8) Warranty certificate ..................................................................................... 1
(9) Notes on use................................................................................................. 1
Manual
Warranty registration card
EVA6251R
E0C6251R EVALUATION BOARD
EPSON
LCD EMU.
Warranty certificate
Notes on use
I/O #1 I/O #0
LCD #1 LCD #0
I/O connection cable and connector
LCD connection cable and connector
Power cable Fuse
Fig. 1.2.1 S5U1C62N51E1 package
S5U1C62N51E1 MANUAL (Rev.1.0) EPSON 1
Page 6

2. PRODUCT SPECIFICATIONS

2. PRODUCT SPECIFICATIONS
The components specifications of the S5U1C62N51E1 are listed below.
S5U1C62N51E1
Dimensions: Weight: About 2.04 kg (main unit only) Color: Cygnus white Power supply: 5 V (±10%) DC, 3 A or more (from external power supply)
Board: Main board × 1
Operating conditions: Operating temperature 5°C to 40°C
LCD connection cable
S5U1C62N51E1 connector: J3372-P302VE or equivalent Cable connector: 7960-6500SC Cable: 60-pin flat cable × 1 Interface: CMOS interface (5 V) Length: About 50 cm
203 mm (width) × 275 mm (depth) × 65 mm (height) (Including rubber feet)
When connected to the ICE, power is supplied by the ICE. Sub board × 1
Storage temperature -20°C to +60°C Operating humidity 35% to 80% Storage humidity 20% to 90% Resistance to vibration Operating 0.25G Max.
Transportation 2G Max.
Resistance to impulse Operating 1G Max.
Standby 2G Max.
I/O cable
S5U1C62N51E1 connector: J3433-P302VE or equivalent Cable connector: 7950-6500SC Cable: 50-pin flat cable × 1 Interface: CMOS interface (5 V) Length: About 50 cm
Power cable
S5U1C62N51E1 connector: MOLEX 5276-03A or equivalent Cable connector: MOLEX 5196-03 Other side connector: (According to power supply specifications) Cable length: About 80 cm Capacity: 5 V DC, 3 A or more
2 EPSON S5U1C62N51E1 MANUAL (Rev.1.0)
Page 7

3. NAMES AND FUNCTIONS OF PARTS

3. NAMES AND FUNCTIONS OF PARTS
This section describes the names and functions of the parts of the S5U1C62N51E1.

3.1 Basic Functions

The S5U1C62N51E1 has the following basic functions:
Program execution (Run function)
Install the EPROM containing the application program and execute the program.
Interface with ICE
The S5U1C62N51E1 can interface with the ICE so that a higher level debugging environment may be estab-
lished.
Setting hardware options by installing function option and segment option ROMs
Hardware options, i.e., I/O ports and segments, can be specified by writing option data for the function option
created by the function option generator and the segment option created by the segment option generator into
EPROM, and installing the EPROM. Note: Be sure to use option data created by the function and segment option generators compatible with the
S5U1C62N51E1 to make the EPROMs. Data created by the old function and segment option generators cannot be used.

3.2 Functions of Parts

3.2.1 Front panel

EVA6251R
E0C6251R EVALUATION BOARD
••••••••••••••••••••••••••••
••••••••••••••••••••••••••••
EPSON
••••••••••••••••••••••
••••••••••••••••••••••
LCDEMU
•••••••••••••••••••••••••••••••••
•••••••••••••••••••••••••••••••••
Position of pin 1
Fig. 3.2.1.1 Front panel

3.2.2 Rear panel

+5V GND
••••••••••••••••••••••••••••
••••••••••••••••••••••••••••
••••••••••••••••••••••••••••
••••••••••••••••••••••••••••
DC IN
OI
POWER SW
Position of pin 1
Fig. 3.2.2.1 Rear panel
Note: Be sure to disconnect external power source before
connection with ICE, because power is supplied from ICE when you connect S5U1C62N51E1 to ICE.
#1
I/O
#0
I/O
#1
D
LC
#0
D
LC
F1 F5
Connectors
• I/O #0, I/O #1
Connector for the I/O cable. The I/O cable is used to connect the S5U1C62N51E1 to the target system. I/O #1 cannot be used.
• LCD #0, LCD #1
Connector for the LCD cable. The LCD cable is used to connect the S5U1C62N51E1 to the target system. LCD #1 cannot be used (reserved connector).
• LCDEMU
Connector for the LCD emulator cable.
Switch
•POWER SW
This is a switch to turn on (I) or off (O) the external power supply to S5U1C62N51E1. (Please turn off the POWER switch when ICE is connected.)
Connectors
• DC IN 5 V
This is a connector with external power supply source. The external power supply should be in direct current of 5 V for 3 A or more.
• F1, F5
Connectors for the ICE interface cable.
S5U1C62N51E1 MANUAL (Rev.1.0) EPSON 3
Page 8
3. NAMES AND FUNCTIONS OF PARTS

3.2.3 Board (under top cover)

FUSE1
AD0 SHEXLD HLT/SLP POWER
L.HEX
H.HEX
OSC1XT SVDON
HVLD LFHX
SWRUN OSC1CR
CSDC
F.HEX
Test pinsLEDs
OSC1CR CSDC
LFHX SWRUN
SVDON HVLD
GND OSC1XT
CR-FREQ
ADOUT
OSC1 ADJ VSVD
R/F converter's external part connection pins
TH2
CS
RS
TH1
GND
TH2 TH1
RESET
CS
Socket for mounting
RS
R/F converter's external parts
S.HEX
Front
Fig. 3.2.3.1 Layout on the board
ROM sockets
• L.HEX, H.HEX
These are IC sockets for target program ROMs. Insert the ROM (L.HEX) containing the 8 low-order bits (I7 to I0) of the machine code into the L.HEX socket, and the ROM (H.HEX) containing the 4 high-order bits (IB to I8) into the H.HEX socket.
• F.HEX
This is the IC socket into which the ROM (F.HEX) is inserted. This ROM includes the function options generated by the function option generator (FOG62N51, 6S3N7, 60N01, 60N02, 60N05) for the S5U1C62N51E1.
• S.HEX
This is the IC socket into which the ROM (S.HEX) is inserted. This ROM includes the segment options generated by the segment option generator (SOG62N51, 6S3N7, 60N01, 60N02, 60N05) for the S5U1C62N51E1.
Note: Do not use the option data generated by the function and segment option generators for an Evaluation Board
other than the S5U1C62N51E1. Data created by the old function and segment option generators cannot be used. It will cause a malfunction.
Switch
• RESET switch
This switch resets the CPU and starts the target program from page 01H, step 00H.
Controls
• OSC1 ADJ
This is the control for varying the CR oscillation frequency. This control is effective only when CR oscillation is selected for the OSC1 oscillator type by mask option. The CR oscillation frequency can be checked with an oscilloscope or other instrument by connecting to the test pin "CR-FREQ".
• VSVD
This is the control for varying the power supply voltage in simulation to check SVD operation. (Refer to Section 6.2, "Differences from Actual IC".
FUSE
• FUSE1
This is 3 A tubular fuse for external power supply, and is blown off by current of 3 A or more.
4 EPSON S5U1C62N51E1 MANUAL (Rev.1.0)
Page 9
3. NAMES AND FUNCTIONS OF PARTS
LEDs
POWER
This LED lights when the S5U1C62N51E1 turns on.
•HLT/SLP
This LED lights when the CPU enters HALT or SLEEP status. (The S5U1C62N51E1 does not support SLEEP mode.)
AD0
This LED indicates the status of the address 0 (AD0) signal. It can be used to check whether or not the S5U1C62N51E1 works.
• SHEXLD
This LED lights when segment option data from a personal computer is loaded using the in-circuit emulator ICE. As result, it can differentiate whether the currently specified segment option is due to the ROM (S.HEX) or has been loaded from a personal computer. Refer to the development tool manual for the S1C62N51, 6S3N7, 60N01, 60N02 or 60N05 in regard to the loading of the segment option using the ICE.
Note: Be sure to use S.HEX created by the segment option generator compatible with the S5U1C62N51E1. Data
created by the old segment option generator cannot be used.
• LFHX
This LED lights when function option data from a personal computer is loaded using the in-circuit emulator ICE. As result, it can differentiate whether the currently specified function option is due to the ROM (F.HEX) or has been loaded from a personal computer. Refer to the development tool manual for the S1C62N51, 6S3N7, 60N01, 60N02 or 60N05 in regard to the loading of the function option using the ICE.
Note: Be sure to use F.HEX created by the function option generator compatible with the S5U1C62N51E1. Data
created by the old function option generator cannot be used.
• CSDC, SWRUN
These LEDs indicate the values ("1" or "0") of the following registers. LED lights when "1" is set in the register, and it goes off when "0" is set in the register.
CSDC CSDC register (address 0FBH•D3) SWRUN SWRUN register (address 0F9H•D1) (Available only when S5U1C62N51E1 is set for the S1C6S3N7.)
• OSC1XT
This LED lights when the OSC1 oscillation circuit is set to crystal oscillation by function option.
• OSC1CR
This LED lights when the OSC1 oscillation circuit is set to CR oscillation by function option.
• HVLD, SVDON
These LEDs indicate the values ("1" or "0") of the following registers. LED lights when "1" is set in the register, and it goes off when "0" is set in the register.
HVLD HLMOD register (address 0FAH•D3) SVDON SVDON register (address 0FAH•D0)
In the actual IC, power saving needs to stop the HVLD and SVD functions when they are unnecessary.
Test pins
• RS, TH1, TH2, CS pins (sockets)
These pins (or the socket) are used to connect external parts, such as resistors, thermistors and capacitors, when using the R/F converter When using the connecting pins, pay attention to the stray capacitance of the connecting cable and noise. When using the socket, insert the parts in the correct position (TH1: between pins 1 and 16, TH2: between pins 3 and 14, RS: between pins 5 and 12, CS: between pins 7 and 10). The connecting pins and socket pins have approximatelys 10 pF stray capacitance. Furthermore, the measure­ment results may differ from those of the actual IC because the characteristics of the parts used for R/F conver­sion are different. In particular, pay attention when the software uses an MSB or LSB area in the measurement counter.
(available only when S5U1C62N51E1 is set for the S1C62N51, 60N02 or 60N05)
.
S5U1C62N51E1 MANUAL (Rev.1.0) EPSON 5
Page 10
3. NAMES AND FUNCTIONS OF PARTS
• ADOUT
This pin is used for monitoring the signal (analog waveform) input to the CS pins while the R/F converter is operating. (The R/F converter function is available when the S5U1C62N51E1 is set for S1C62N51, 60N02 or 60N05.) The frequency in each mode can be measured without affecting the R/F conversion accuracy.
•OSC1CR
This pin outputs high level when the CR oscillator is selected for the OSC1 oscillation circuit.
• LFHX
This pin outputs high level when function option data has been loaded from personal computer through the ICE.
• SVDON
This pin outputs high level when the SVDON register (address 0FAH, bit D0) is set to "1" and outputs low level when the register is set to "0".

3.3 S5U1C62N51E1 I/O and LCD Connectors

Table 3.3.1 I/O #0 connector pins Table 3.3.2 LCD #0 connector pins
Pin No.
1 3 5 7
9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
Signal name Signal name
DD
(+5 V)
V V
DD
(+5 V) Cannot be connected K01 K03 Cannot be connected P00 P02 Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected R01 R03 Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected RESET V
SS
(GND) V
SS
(GND)
* R02 and R03 are not available when the S5U1C62N51E1
is set for the S1C60N01.
Pin No.
2 4 6
8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50
VDD (+5V) V
DD
(+5V) K00 K02 Cannot be connected Cannot be connected P01 P03 Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected R00 R02 Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected V
SS
(GND) V
SS
(GND)
Pin No.
1 3 5 7
9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59
Signal name Signal name
COM0 COM2 Cannot be connected Cannot be connected SEG0 SEG2 SEG4 SEG6 SEG8 SEG10 SEG12 SEG14 SEG16 SEG18 SEG20 SEG22 SEG24 Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected
Pin No.
2 4 6
8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60
COM1 COM3 Cannot be connected Cannot be connected SEG1 SEG3 SEG5 SEG7 SEG9 SEG11 SEG13 SEG15 SEG17 SEG19 SEG21 SEG23 SEG25 Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected Cannot be connected
*When set for S1C62N51 or 6S3N7, SEG0 to SEG25 are
available. When set for S1C60N01, 60N02 or 60N05, only SEG0 to SEG19 are available.
6 EPSON S5U1C62N51E1 MANUAL (Rev.1.0)
Page 11

4. CABLE CONNECTION

4. CABLE CONNECTION
This section describes how to connect the power cable to the S5U1C62N51E1, and the S5U1C62N51E1 to the ICE and the target system.
Note: Turn the power of all equipment off before connecting or disconnecting cables.

4.1 Connection to ICE

The S5U1C62N51E1 is connected to the ICE by connecting the two interface cables (F1 and F5). Use S5U1C62N51E1 connectors F1 and F5 with the projections facing outwards. Use ICE connectors F1 and F5 with the projections facing inwards (cable side). Figures 4.1.1 and 4.1.2 show the external view and connection diagram of the ICE interface cable.
S5U1C62N51E1
2 1
:
:
:
:
:
:
:
:
:
:
50 49
ICE side S5U1C62N51E1 side
2 1
:
:
:
:
:
:
:
:
:
:
50 49
ICE
F1
F5
Red mark
Fig. 4.1.1 External view of the ICE interface cable Fig. 4.1.2 Connection diagram
Note: The S5U1C62N51E1 has an external power input connector for +5 V (VDD) and GND (VSS). Leave these
connectors unconnected when the S5U1C62N51E1 is connected to the ICE.

4.2 Power Cable Connection

When using the S5U1C62N51E1 on its own, it must be supplied with power (5 V DC, 3 A or more) from an external source through the power cable. When the S5U1C62N51E1 is connected to the ICE, power is supplied by the ICE; therefore, the power cable is not necessary. Disconnect the power cable if it is already connected. Figure 4.2.1 shows the connection of the power cable pins.
Connect to the external power supply
Fig. 4.2.1 Connection of power cable pins
Black
Red
­Connect to the
power connector of the S5U1C62N51E1
+

4.3 Connection to Target System

The I/O #0 and LCD #0 connectors are used to connect the S5U1C62N51E1 to the target system. The signals output from the LCD #0 connector are
S5U1C62N51E1
I/O #0
I/O cable
I/O
connector
Target system
the same as those of the actual IC at the function level. Therefore, the S5U1C62N51E1 may be connected to the LCD of the target system without any changes.
LCD #0
Front
LCD cable
LCD
connector
Fig. 4.3.1 Connection of target system
S5U1C62N51E1 MANUAL (Rev.1.0) EPSON 7
Page 12

5. OPERATION METHOD OF S5U1C62N51E1

5. OPERATION METHOD OF S5U1C62N51E1

5.1 Preparation

This section describes the common preparation work necessary when the S5U1C62N51E1 is used by itself and when it is connected to the ICE. Before doing the following, be sure to turn the POWER switch of the S5U1C62N51E1 off.

5.1.1 Creation of target system

Mount the LCD panel, keys, and switches on the board to build a target system. Use the I/O connector and LCD connector supplied with the S5U1C62N51E1 to connect the S5U1C62N51E1 to the target system. (For the pin layout of each connector, refer to Section 3.3, "S5U1C62N51E1 I/O and LCD Connectors".)
Note: There is some difference in specifications between the S5U1C62N51E1 and the actual CPU. Refer to Section
6.2, "Differences from Actual IC" when building a target system.

5.1.2 Creation and installation of ROMs

Create the program ROMs, function option ROM and segment option ROM, and insert them into the sockets of the S5U1C62N51E1.
• Program ROMs (two)
The program ROMs contain the application program machine code. Write the HEX files output by the ASM62N51, 6S3N7, 60N01, 60N02, 60N05 cross-assembler for S5U1C62N51E1 into EPROMs to create program ROMs. Since two HEX files containing the high-order section (C251XXXH.HEX*) and the low-order section (C251XXXL.HEX*) of the machine code are output, two ROMs are created. Insert them into the socket H.HEX and L.HEX under the top cover, respectively. These ROMs are not necessary when connecting the S5U1C62N51E1 to the ICE. In addition, it is necessary to write the object data into the EPROM attaching the offset address as Table 5.1.2.1 according to the type of EPROM that is used.
Table 5.1.2.1 Offset address
EPROM type Offset value
27C64 0000H (without offset) 27C128 0000H (without offset) 27C256 4000H 27C512 C000H
• Function option ROM (one)
The function option ROM is used to specify function options, such as I/O ports. Create the option ROM from the function option HEX file (C251XXXF.HEX*) output by the function option generator, and insert it into the F.HEX socket under the top cover. This ROM is effective even when the ICE is connected, however, this ROM is disregarded due to the loading of the data from the ICE.
• Segment option ROM (one)
The segment option ROM is used to specify segment output port. Create the segment ROM from the segment option HEX file (C251XXXS.HEX*) output by the segment option generator, and insert it into the S.HEX socket in the top cover. This ROM is effective even when the ICE is connected, however, this ROM is disregarded due to the loading of the data from the ICE.
• EPROM specifications
Use EPROMs with the following specifications:
Program ROM: 27C64 to 27C512 (250 ns or less access time) Function option ROM: 27C64 to 27C512 (250 ns or less access time) Segment option ROM: 27C64 to 27C512 (250 ns or less access time)
*"C2
51XXX" is an example when set for the S1C62N51.
8 EPSON S5U1C62N51E1 MANUAL (Rev.1.0)
Page 13
5. OPERATION METHOD OF S5U1C62N51E1

5.2 Independent Use of S5U1C62N51E1

This section describes operation when using the S5U1C62N51E1 by itself. The S5U1C62N51E1 may be used independently by connecting a power supply to it. Use a 5 V DC regulator (more than 3 A) as an external power supply. Connect it with the correct polarity (+ and -). (Refer to Section 4.2, "Power Cable Connection".)

5.2.1 Power on/off

Before turning the POWER switch of the S5U1C62N51E1 on, confirm the following: (1) The power cable is connected correctly.
(2) The target system is connected correctly. (3) The ROMs have been installed correctly.
After confirming the above items, turn the POWER switch of the S5U1C62N51E1 on using the following proce­dure:
(1) Turn the regulator on. If the regulator is a variable-voltage type, set the output voltage to 5 V ±10%. (2) Turn the POWER switch of the S5U1C62N51E1 on.

5.2.2 Debugging

When the S5U1C62N51E1 is used alone, it provides the following debugging function. The method of operation is given below.
• Program free run
When the RESET switch (under the top cover) is pressed, the S5U1C62N51E1 enters the program run state, and executes the application program from page 1, step 0.

5.3 Operation When ICE is Connected

This section explains the operation and use of the S5U1C62N51E1 when it is connected to the ICE. Set up the S5U1C62N51E1 as follows when it is connected to the ICE:
(1) Do not connect the power supply. (2) Keep on turning the POWER switch off.

5.3.1 Power on/off

Power to the S5U1C62N51E1 is supplied by the ICE, and the power is switched on and off by pressing the POWER switch of the ICE. Keep the POWER switch of the S5U1C62N51E1 off.

5.3.2 Debugging

Debugging is done with the host computer, and the S5U1C62N51E1 is controlled by the ICE. For the method of operation, refer to the development tool manual for the S1C62N51, 6S3N7, 60N01, 60N02 or 60N05. The S5U1C62N51E1 can control the following two functions:
(1) RESET switch (2) OSC1 CR oscillation frequency adjustment
S5U1C62N51E1 MANUAL (Rev.1.0) EPSON 9
Page 14

6. PRECAUTIONS

6. PRECAUTIONS
Take the following precautions when using the S5U1C62N51E1:

6.1 Precautions for Operation

• Be sure to use the Development Tool that supports the S5U1C62N51E1. Development Tools for the EVA6251, 6S37, 6001, 6002 and 6005 must never been used.
•Turn the power of all equipment off before connecting or disconnecting cables.
•To turn the POWER switch of the S5U1C62N51E1 off, then on again, wait for at least 10 seconds after turning off before turning on.
• When ROMs are inserted into the ROM sockets, lock the lever securely by positioning it horizontally. After the ROMs have been removed from the sockets, lock the lever at the same position above. If the lever is left upright, poor contact may result.
• Confirm that the following ROMs have been installed correctly, then operate the S5U1C62N51E1.
(Top panel) Program ROM 2 L.HEX, H.HEX (Under top cover) Function option ROM 1 F.HEX (Under top cover) Segment option ROM 1 S.HEX
•When developing and debugging the program by connecting the S5U1C62N51E1 to the ICE, the S5U1C62N51E1 reset switch and the target board cannot reset the CPU while the ICE is in monitor status. In this case, reset the CPU by executing the "I" command from the ICE. In Run status, resetting by the S5U1C62N51E1 or target board will be accepted.

6.2 Differences from Actual IC

There are some differences in functions between the S5U1C62N51E1 and the actual IC.
I/O
• The response time has been changed by the differences in logic level, output drive capability, and pull-down resistance. The minimum operating voltage is also different from the actual IC.
•When the segment terminals are set to DC output, the output signals are delivered with 0 V and +5 V ±10%.
LCD
• The output drive capability is different.
• When the S5U1C62N51E1 is set for the S1C62N51, the LCD drive voltages are set at V and V
L3 = 3.0 V.
L1 = 1.0 V, VL2 = 2.0 V
When the S5U1C62N51E1 is set for the S1C6S3N7, 60N01, 60N02 or 60N05, the LCD drive voltages can be selected from the following three types by function option:
1) V
L1 = 1.0 V, VL2 = 2.0 V, VL3 = 3.0 V
2) V
L1 = 1.5 V, VL2 = 3.0 V, VL3 = 4.5 V
3) V
L1 = VL2 = 1.5 V, VL3 = 3.0 V
However, external voltage cannot be supplied from outside of the S5U1C62N51E1 even when "external power" is selected for the LCD power supply. The S5U1C62N51E1 generates the LCD drive voltage inside and outputs it to the LCD panel.
Oscillation circuit
• The type of OSC1 oscillation circuit can be set by function option as follows:
32.768 kHz crystal oscillation or 30 kHz to 90 kHz CR oscillation The CR oscillation clock frequency can be adjusted using the OSC1 ADJ control mounted on the board.
10 EPSON S5U1C62N51E1 MANUAL (Rev.1.0)
Page 15
6. PRECAUTIONS
• The oscillation start and stop times are different from those of the IC. Because the logic level of S5U1C62N51E1 is higher than it of the actual IC.
R/F converter (when set for the S1C62N51, 60N02 or 60N05 is selected by function option)
• The CR oscillation characteristics are different from those of the actual IC because the operating voltage and parts of the oscillation circuit are different.
S5U1C62N51E1 MANUAL (Rev.1.0) EPSON 11
Page 16
International Sales Operations
AMERICA
EPSON ELECTRONICS AMERICA, INC. HEADQUARTERS
2580 Orchard Parkway San Jose , CA 95131,USA Phone: +1-800-228-3964 FAX: +1-408-922-0238
SALES OFFICES Northeast
301 Edgewater Place, Suite 210 Wakefield, MA 01880, U.S.A. Phone: +1-800-922-7667 FAX: +1-781-246-5443
EUROPE
EPSON EUROPE ELECTRONICS GmbH HEADQUARTERS
Riesstrasse 15 Muenchen Bayern, 80992 GERMANY Phone: +49-89-14005-0 FAX: +49-89-14005-110
ASIA
EPSON (CHINA) CO., LTD.
7F, Jinbao Bldg.,No.89 Jinbao St., Dongcheng District, Beijing 100005, China Phone: +86-10-6410-6655 FAX: +86-10-6410-7320
SHANGHAI BRANCH
7F, Block B, Hi-Tech Bldg., 900, Yishan Road, Shanghai 200233, CHINA Phone: +86-21-5423-5522 FAX: +86-21-5423-5512
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
EPSON (CHINA) CO., LTD. SHENZHEN BRANCH
12/F, Dawning Mansion, Keji South 12th Road, Hi- Tech Park, Shenzhen
Phone: +86-755-2699-3828 FAX: +86-755-2699-3838
EPSON TAIWAN TECHNOLOGY & TRADING LTD.
14F, No. 7, Song Ren Road, Taipei 110 Phone: +886-2-8786-6688 FAX: +886-2-8786-6660
EPSON SINGAPORE PTE., LTD.
1 HarbourFront Place, #03-02 HarbourFront Tower One, Singapore 098633 Phone: +65-6586-5500 FAX: +65-6271-3182
SEIKO EPSON CORPORATION KOREA OFFICE
50F, KLI 63 Bldg., 60 Yoido-dong Youngdeungpo-Ku, Seoul, 150-763, KOREA Phone: +82-2-784-6027 FAX: +82-2-767-3677
GUMI OFFICE
2F, Grand B/D, 457-4 Songjeong-dong, Gumi-City, KOREA Phone: +82-54-454-6027 FAX: +82-54-454-6093
SEIKO EPSON CORPORATION SEMICONDUCTOR OPERATIONS DIVISION
IC Sales Dept. IC International Sales Group
421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-42-587-5814 FAX: +81-42-587-5117
Document Code: 411410100
First Issue February 2008 in JAPAN
Loading...