HYCON HY12S65 User manual

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp.
www.hycontek.com APD-HYIDE011-V02_EN
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com APD-HYIDE011-V02_EN
page2
Table of Contents
1................................................................................................................................4HY-IDE STRUCTURE
2..............................................................................................................5HY-IDE USB CONTROL BOARD
2.1..................................................................................................................................................5Diagram
2.2..................................................................................................................................6Circuit Description
3..................................................................................................................................7HY-IDE ICE BOARD
3.1..................................................................................................................................................7Diagram
3.2..................................................................................................................................8Circuit Description
3.3...................................................................................................................................................17Circuit
4................................................................................................................18SIMPLE ERROR DETECTION
4.1...........................................................................................................18ICE cannot connect to software
4.2..........................................................................................................21Program Memory Loading Error
5...............................................................................................................................23REVISION HISTORY
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
Attention:
1. HYCON Technology Corp. reserves the right to change the content of this datasheet without further
notice. For most up-to-date information, please constantly visit our website:
http://www.hycontek.com .
2. HYCON Technology Corp. is not responsible for problems caused by figures or application circuits
narrated herein whose related industrial properties belong to third parties.
3. Specifications of any HYCON Technology Corp. products detailed or contained herein stipulate the
performance, characteristics, and functions of the specified products in the independent state. We
does not guarantee of the performance, characteristics, and functions of the specified products as
placed in the customer’s products or equipment. Constant and sufficient verification and evaluation
is highly advised.
4. Please note the operating conditions of input voltage, output voltage and load current and ensure
the IC internal power consumption does not exceed that of package tolerance. HYCON Technology
Corp. assumes no responsibility for equipment failures that resulted from using products at values
that exceed, even momentarily, rated values listed in products specifications of HYCON products
specified herein.
5. Notwithstanding this product has built-in ESD protection circuit, please do not exert excessive static
electricity to protection circuit.
6. Products specified or contained herein cannot be employed in applications which require extremely
high levels of reliability, such as device or equipment affecting the human body, health/medical
equipments, security systems, or any apparatus installed in aircrafts and other vehicles.
7. Despite the fact that HYCON Technology Corp. endeavors to enhance product quality as well as
reliability in every possible way, failure or malfunction of semiconductor products may happen.
Hence, users are strongly recommended to comply with safety design including redundancy and
fire-precaution equipments to prevent any accidents and fires that may follow.
8. Use of the information described herein for other purposes and/or reproduction or copying without
the permission of HYCON Technology Corp. is strictly prohibited.
APD-HYIDE011-V02_EN
page3
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
1. HY-IDE Structure
HY-IDE (HYCON - Integrated Development Environment) is composed by USB Control
Board, ICE Board and Target Board that can emulate function and performance of HY12P
series products. Through PC connection, HY-IDE can carry out emulation, debugging,
program…etc. function as illustrated in Figure 1.
The actual connection way of HY-IDE boards to HY-IDE software can be referred to below
Figure1-1
PS2
Figure 1
Figure 1-1
APD-HYIDE011-V02_EN
page4
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
2. HY-IDE USB Control Board
2.1. Diagram
HY-IDE USB control board is the bridge that connects PC and HY-IDE ICE Board.
Users can emulate HY11P Series products’ function and implement programming OTP
products in the engineering stage by the control board, as shown in Figure 2.
Figure 2
APD-HYIDE011-V02_EN
page5
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com APD-HYIDE011-V02_EN
page6
2.2. Circuit Description
Ports description of Figure 2:
J4 : Adapter 9V input
The internal is negative and the external is positive, providing programming power
source (must be connected while OTP programming).
U7 : USB connector to PC port
Download program for emulation debug function
Download programming program for HY12P Series products
J1 : HY-ICE Board control port
PIN 1 ICESDO connects to ICE_SDO of HY12S65
PIN 2 ICESDI connects to ICE_SDI of HY12S65
PIN 3 ICESCS connects to ICE_CS of HY12S65
PIN 4 VDD connects to ICE_VCC of HY12S65
PIN 5 ICESCK connects to ICE_SCK of HY12S65
PIN 6 V SS connects to ICE_VSS of HY12S65
J5 : HY12P series programming control port
PIN 1 VPP (6V) connects to VPP of the IC
PIN 2 ICECK connects to PSCK of the IC
PIN 3 ICESDI connects to PSDI of the IC
PIN 4 ICESDO connects to PSDO of the IC
PIN 5 VDD (3V) connects to VDD of the IC
PIN 6 VSS connects to VSS of the IC
S1 : IC Programming key
S2 : IC Blank Check key
D4 :Two color LED;
Red LED: OTP programming, Blank Check…failure signal.
Green LED: OTP programming, Blank Check…success signal.
Green LED: USB/Adapter power-on signal.
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
3. HY-IDE ICE Board
3.1. Diagram
HY-IDE ICE Board is the chip board of HY12S65. Its main function is to implement
emulation of HY12P Series Products. This ICE chip can directly emulate HY12P6X Series.
HY-IDE ICE Board DK02 is shown in below Figure 3.
S5 Switch Remarks
VIN ON VIN~3V
VDD_bat ON VDD_bat~3V
VDD_i ON VDD_i~3V
Power Select
ICESDO 1
2
35
6VSS
ICESCK
ICEC
ICESDI
VDD
S5
VDD_bat
VIN
VDD_i
SRAM SRAM
J14
Y1
R27
HY12S65
R39
C16
C15
U5
U8U7
ON
21
J11
VIN
VDD_bat
U4
4
J2
2
3
1
EXT
3V
2
1J1
1
JP1
VBAT
1
JP2
VSSBAT
2
1
Batt
GS2612
U1
21 20 18 18 17 16 15 14 13 12 11 10 987654321
24C02
R28
R29
C17
R30
R31
C24
C9
C12
C13
R36
C11
C10
C14
C5
C4
J8
2
3
1
J9
2
3
1
SW4 SW1 SW2 SW3
SW8 SW5 SW6 SW7
BUZZER1
BZ
1
2
3
4
5
6
7
8
9
RS1
P4 P1 P2 P3
ON
S4
11 9 7 5 3
12 10 8 6 4 2
1
JP4
2
1J15
R32
S3
U9
ON
S1
ON
S2
Protection
Circuit
6
5
4
3
2
1
J5
R33
C7
R34
J3
2
3
1
R22
R23
R24R25
R26
C6
R35
R7
R51
Figure 3
APD-HYIDE011-V02_EN
page7
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com APD-HYIDE011-V02_EN
page8
3.2. Circuit Description
Below is the description of Figure 3 connector:
J14: Connects to J1 PS2 communication port of HY-IDE USB Control Board. PC
gives commands to HY12S65 through Control Board. It can download program to
SRAM and can perform single execution, Free RUN…etc. debugging functions.
S5: ICE board power selection (voltage from USB Control Board)
VIN -When switched to ON, it represents VIN~3V voltage.
VDD_bat - when switched to ON, it represents VDD_bat~3V voltage.
VDD_i - when switched to ON, it represents VDD_i~3V voltage.
Setup Ways of Power Selection:
PC can supply power to ICE Board via USB or from external power sources.
When it is powered by USB, the switches of S5 VIN and VDD_bat must turn to ON
When it is powered by external power source, it must be connected though
HY-IDE ICE Board Batt (JP1/JP2) and the switch of VDD_bat and VDD_i must be
turned to OFF.
J11: Can set up whether to short VIN and VDD_bat
U7 & U8: SRAM
J1 & J2: Program capacity selection of IC emulation chip
HY12S65 ROM Size is16k Word (32K Byte), thus when HY12S65 is chosen, J8
PIN 1-2 and J9 PIN 1-2 must be shorted
When using HY12P series that has 8K Word (16K Byte) ROM Size or under, J8
PIN 2-3 and J9 PIN 2-3 must be shorted
Y1, R39, C15 and C16 : connects to external crystal and peripheral capacitors
and resistors
C24: VDD power input regulated capacitor is recommended to keep in between
1uF to 10uF
C13: VLCD power output regulated capacitor is recommended to keep in
between 1uF ~ 4.7uF
C4, C5, C10, C11, C12, C13 and C14: Analog power regulated capacitor
In order to enhance the operation performance of ADC, the regulated capacitor is
suggested to locate as closer to the pin as possible.
C4:REFO-AGND capacitor: 100nF
C5:AGND capacitor: 100nF
C10:VGG capacitor: 1uF
C11:VDDA capacitor: 1uF
C12:CA & CB capacitor: 100nF
C13:VLCD capacitor: 1uF
C14:ACM capacitor: 100nF
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
Power system:
ICE power system can be supply by 3V regulated power of HY-IDE USB
Control Board or by external input power (the external power input cannot
exceed 3.6V as the datasheet specified). When ICE emulates, it only need to
connect U7 USB of HY-IDE USB Control Board to PC end to supply ICE power.
USB power and external power will be introduced in below:
USB power:
When using USB power supply, VDD_bat and VDD_i switch of HY-IDE ICE
Board S5 must be turned to ON so that ICE can be powered by 3V USB
regulated voltage.
To measure IC consumption current, the switch must configure VIN and
VDD_bat to ON and power by USB regulated 3V and measure the current
consumption from J1 of HY-IDE ICE Board.
External Power:
Users must be careful when using external power, the VIN, VDD_bat and
VDD_i option of S5 switch of HY-IDE ICE Board must be switched to OFF status
first.External power can be input from JP1 VBAT positive end, VSSBAT negative
end of HY-IDE ICE Board and S3 is the power on/off control.
J2: power select (whether the system power passes through Regulator
(U1))
J2 PIN 1-2 short means, inputting VBAT external power input to U1,
supplying the whole system regulated 3V power from VDD_i (to change
output voltage, R40, R41 & R42, its equation is:
)
42 4140
1(240.1VOUT
R
RR
V
).
J2 PIN 2-3 short means, VBAT power directly input to VDD_i (the
external power input cannot exceed 3.6V as the datasheet specified).
J1: Can connect to current meter, testing the whole VDD_i current
consumption. It must be shorted if current meter was not connected,
VDD_bat voltage will equals to that of VDD_i, as shown in Figure 4.
Users must pay attention that VDD_bat voltage will equal to VDD_i
voltage when J1 short. If using external power, then VIN, VDD_bat and
VDD_i options of S5 switch must be switched to OFF status to continue
the following operations as to prevent hardware damage resulted from
power backflow of HY-IDE USB Control Board, showing in Figure 4.
APD-HYIDE011-V02_EN
page9
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
D1
1N4001 Batt
COM1
3ON1 5
OFF1 1
COM2
4ON2 6
OFF2 2
S3
JP1
VBAT
JP2
VSSBAT
R40
100K
R41
42.2K
R42
100K
C2
10uF
C3
10uF
C1
0.1uF
GS2612
EN
1
IN
2
OUT
3
ADJ
4GND 5
GND 6
GND 7
GND 8
U1
*. POWER NET
APD-HYIDE011-V02_EN
page10
VDD_bat
VDD
EXT
3V
1
2
3
J2
VDD Sel
1
2
J1
Current test VIN
Figure 4
RST Circuit:Please refer to Figure 5 in below.
Figure 5
JP4: SPI communication port, as shown in Figure 6.
PIN1 VDD
PIN2 PT1.2 (SDI)
PIN3 PT1.6 (SCK)
PIN4 PT1.5 (SDO)
PIN5 PT1.1 (CS)
PIN6 VSS
1 2
3 4
5 6
7 8
910
11 12
JP
4
SPI
SDI(PT1.2)
SCK(PT1.6)
SDO(PT1.5)
SCS(PT1.1)
KEY3
KEY5
KEY4
KEY2
Figure 6
RS1:UART communication port (RS232). Commonly use 9-PIN female header,
as shown in Figure 7.
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
Photo RS232
IV+
APD-HYIDE011-V02_EN
page11
VDD
R9
RX
TX
R10
VDD
1
6
2
7
3
8
4
9
5
RS1
D5
R11
D2
PC_TXD
PC_RXD
IGND
IGND
Q1
R44
R43
D3
IV-
R45
IV-
Q2
D4 R46
P
1C4
N
2E3
U2
D6
D7
D8
D9
C18
IGND
C19
IV-
IV+
P1
C
4
N2
E
3
U3
1N4148
1N4148
1N4148
1N4148
10uF
10uF
1N4148
1N4148
1N4148
500R
500R
1N4148
500R
10k
500R
6.8k
270R
PC817
PC817
Figure 7
BUZZER1:Buzzer, connects to JUMP as PT1.7 signal as Figure 8 illustrated.
BUZZER1
BZ
Figure 8
U9:EEPROM 24C02, as described in Figure 9.
R37 R38
C8
EEPROM
A0
1
A1
2
A2
3
VSS
4SDA 5
SCL 6
WP 7
VDD 8
U9
VD
D
IIC_SDA
IIC_SCL
0.1uF 10k
24C02
Figure 9
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
J10, JP3:LCD pin, as shown in Figure 10.
SEG21
24 SEG20
23 SEG19
22 SEG18
21 SEG17
20 SEG16
19 SEG15
18 SEG14
17 SEG13
16 SEG12
15 SEG11
14 SEG10
13 SEG9
12 SEG8
11 SEG7
10 SEG6
9SEG5
8SEG4
7SEG3
6SEG2
5
COM0
1
COM1
2
COM2/SEG0
3
COM3/SEG1
4
LCD_20*4
J10
LCD_20*4
APD-HYIDE011-V02_EN
page12
COM0
COM1
COM2
COM3
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
1 2
3 4
5 6
7 8
910
11 12
13 14
15 16
18
20
JP3
LCD
17
19
COM0COM1 COM2COM3 SEG0SEG1 SEG2SEG3 SEG4SEG5 SEG6SEG7 SEG8SEG9 SEG10SEG11 SEG12SEG13 SEG14
Figure 10
The LCD specification of HY-IDE ICE Board is molded by HYCON, LCD symbols
and pins are depicted in Figure 11 and Figure 12.
LCD detailed specifications are as follows:
Operation voltage:3.0V
Visible angle:60。
Operation frequency:60Hz
Bias:1/3 bias
Waveform:1/4 duty
Pin:90 degree
SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17
COM1 1A 1E 2A 2E 3A 3E 4A 4E 5A 5E 6A 6E S1 S5 S10 S9
S11
S12
S13
S18
COM2 1B 1F 2B 2F 3B 3F 4B 4F 5B 5F 6B 6F S2 S6 S14 S19
COM3 1C 1G 2C 2G 3C 3G 4C 4G 5C 5G 6C 6G S3 S7 S15 S20
COM4 1D 1H 2D 2H 3D 3H 4D 4H 5D 5H 6D S17 S4 S8 S16 S21
Figure 11
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
TARE
ZERO
A
m
K
MV
g
70mm
27mm
2.54mm
17.78mm
0.812mm
121
8.89mm
PIN1234567891011
I/O COM1 COM2 COM3 COM4 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7
PIN12131415161718192021
I/O SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17
Figure 12
APD-HYIDE011-V02_EN
page13
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
Y1, C15 and C16: connects to external Crystal oscillation circuit, as shown in
Figure 13.
HY-IDE ICE Board already connects to Y1-4MHZ oscillator for user application.
Y1
R39
C16
C15
15pF
1M
15pF
4Mhz
XOUT
XIN
Figure 13
SW1, SW2, SW3, SW4, SW5, SW6, SW7 & SW8:Can use KEY1~KEY6 to carry
out 8 sets key scan, as shown in Figure 14.
APD-HYIDE011-V02_EN
page14
Function1
SW1 Hz%1
SW2 SW
SW3
HOLD1
SW6
RANGE1
SW5
REL1
SW4
MAX/MIN1
SW7 BACKLIGHT1
SW8
KEY1
KEY2
KEY5
KEY6
KEY4
KEY3
PT1.0(IN)
PT1.1(IN)
PT1.2(IN)
PT1.5(IN/OUT)
PT1.6(IN/OUT)
PT3.7(IN/OUT) or PT2.7(IN/OUT)
Figure 14
S4:Function switch pin for PT2.4~PT2.7, as shown in Figure 15.
Figure 15
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
S1 and S2:Divided by resistors (R1~R4、R12~R15), using comparator to form 16
sets key scan.
APD-HYIDE011-V02_EN
page15
R4
R12
R13
R14
R15
R1
R2
R3
20K
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
S1
CMP0
20K
20K
20K
20K
20K
20K
20K
CMP2
CMP0
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
S2
CMP1
9
C
MP 1
PT2.4
PT2.5
PT2.6
Figure 16
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
Digital Multi-meter (DMM) application measurement circuit: shown in Figure 17
(the diagram is circled in red as in Figure 3).
APD-HYIDE011-V02_EN
page16
VPP/RST
82
SEG11
2
SEG12
3
SEG13
4
SEG14
5
PT3.7/CMPO
6
PT3.6/CNT
7
PT2.3/TMCKI
8
PT2.2/PWM/PFD
9
PB4 58
PB3 59
PB2 60
PB1 61
PB0 62
FTP 63
FTN 64
RLU 65
RLD 66
PA6 67
PA5 68
PA4 69
PA3 70
PA2 71
PA1 72
PA0 73
AGND 75
ACM
76
PT2.0/XTO
11
VLCD
84
COM0
85
COM2
87
COM3
88
NC
89
NC
90
SEG9
100
HY12S65_LQFP100
PT3.5/PB5 57
PT2.4/CMP0 56
PT2.5/CMP1 55
PT2.6/CMP2 54
PT2.7/CMP3 53
PT1.0/INT0/PSCK 52
PT1.4/TX 48
PT1.5/SDO 47
PT1.6/SCK 46
VGG
78
CA
79
CB
80
VSS
81
COM1
86
SEG0
91
SEG1
92
SEG2
93
SEG3
94
ICE_DA3
24
ICE_DA4
25
ICE_DA7 28
ICE_ADR0 29
ICE_ADR1 30
ICE_ADR2 31
ICE_ADR3 32
ICE_ADR4 33
ICE_ADR5 34
ICE_ADR6 35
ICE_ADR7 36
ICE_ADR8 37
ICE_ADR9 38
ICE_ADR10 39
ICE_ADR11 40
ICE_ADR12 41
ICE_ADR13 42
ICE_ADR14 43
ICE_ADR15 44
PT1.7/BZ/PSDO 45
PT2.1/XTI
10
VDDA
77
VDD_ICE
12
VSS
13
ICE_SDI
14
ICE_SDO
15
ICD_SCK
16
ICE_CS
17
ICE_CS0
18
ICD_RD
19
ICE_WE
20
ICE_DA0
21
ICE_DA1
22
ICE_DA2
23
ICE_DA5 26
ICE_DA6 27
PT1.3/RX/TST 49
PT1.2/SDI 50
PT1.1/INT1/PSDI/SCE 51
REFO 74
SEG10
1
VDD
83
SEG4
95
SEG5
96
SEG6
97
SEG7
98
SEG8
99
U4
HY12S65
_DA7
_ADR0
_ADR14
_ADR12
_ADR11
_ADR13
_ADR10
_ADR9
_ADR8
_ADR7
_ADR6
_ADR5
_ADR4
_ADR3
_ADR2
_DA6
_DA5
_DA4
_DA3
_DA2
_DA1
_DA0
_RD
_WE
_SBM-SEL
_ADR1
_CS
_SCS
_SCK
_SDO
_SDI
C5
C4
AGND
P4
Vol/Ohm/Cap/DT
P1
COM
P2
mA/uA
P3
AR31R29R28R27 R30
R34
PB0
R25 PB3
R26 PB1
R22
R23
R24
R33
R32
10M0.7%
J4
JUMP
J6
Vol/Ohm/Cap/DT
JUMP
1
2
3
J3
Current
uA
mA
1.11M0.1%
101K 0.1%
10K 0.1%
1K 0.1%
0.1uF
100
900K
10K
10K
99
0.99
0.01
RLD
PTC1
PTC
B
2
C
1E3
Q3
9013
B
2
C1
E
3
Q4
9013
C17
10M
104
RLU
COM
COM
COM
R51
100K COM
PB1
J7
HZ
JUMP CNT
C7
R35
RLD
1u
1M
XIN
XOUT
BZ
TX
RX
1M
C6
KEY1
KEY2
COM0
COM1
COM2
COM3
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
CNT
CMPO
PB0
PB1
PB1
PB3
PB4
PB5
RLU
PA0
PA1
PA2
PA3
PA4
PA5
PA6
CMP0
CMP1
CMP2
IIC_SDA
IIC_SCL
GND
VDD
RST
AVSS
KEY3
KEY4
KEY5
PB0
PB1
PB1
PB3
PB4
1
2
3
4
5
6
J5
PBx
PB5
CMP3
該
COM
點代表直接拉回
AGND
該
COM
點代表直接拉回
AGND
該
COM
點代表直接拉回
AGND
1uF
27nF
E3
B2
B2
C1
E
3
Q6
9013
C
1
Q5
9013
VDD
J16
Vol/Ohm/Cap/DT
JUMP R7
1M
PTC2
PTC
MOV2
TVR
MOV1
TVR
MOV3
TVR
Figure 17
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com APD-HYIDE011-V02_EN
page17
3.3. Circuit
Please refer to Figure 18 in below.
Figure 18
1 2 3 4 5 6
A
B
C
D
6
54321
D
C
B
A
Title
Number RevisionSize
C
Date: 19-Jun-2012 Sheet of
File: Y:\MyDesign.ddb DrawnBy:
VPP/RST
82
SEG11
2
SEG12
3
SEG13
4
SEG14
5
PT3.7/CMPO
6
PT3.6/CNT
7
PT2.3/TMCKI
8
PT2.2/PWM/PFD
9
PB4 58
PB3 59
PB2 60
PB1 61
PB0 62
FTP 63
FTN 64
RLU 65
RLD 66
PA6 67
PA5 68
PA4 69
PA3 70
PA2 71
PA1 72
PA0 73
AGND 75
ACM
76
PT2.0/XTO
11
VLCD
84
COM0
85
COM2
87
COM3
88
NC
89
NC
90
SEG9
100
HY12S65_LQFP100
PT3.5/PB5 57
PT2.4/CMP0 56
PT2.5/CMP1 55
PT2.6/CMP2 54
PT2.7/CMP3 53
PT1.0/INT0/PSCK 52
PT1.4/TX 48
PT1.5/SDO 47
PT1.6/SCK 46
VGG
78
CA
79
CB
80
VSS
81
COM1
86
SEG0
91
SEG1
92
SEG2
93
SEG3
94
ICE_DA3
24
ICE_DA4
25
ICE_DA7 28
ICE_ADR0 29
ICE_ADR1 30
ICE_ADR2 31
ICE_ADR3 32
ICE_ADR4 33
ICE_ADR5 34
ICE_ADR6 35
ICE_ADR7 36
ICE_ADR8 37
ICE_ADR9 38
ICE_ADR10 39
ICE_ADR11 40
ICE_ADR12 41
ICE_ADR13 42
ICE_ADR14 43
ICE_ADR15 44
PT1.7/BZ/PSDO 45
PT2.1/XTI
10
VDDA
77
VDD_ICE
12
VSS
13
ICE_SDI
14
ICE_SDO
15
ICD_SCK
16
ICE_CS
17
ICE_CS0
18
ICD_RD
19
ICE_WE
20
ICE_DA0
21
ICE_DA1
22
ICE_DA2
23
ICE_DA5 26
ICE_DA6 27
PT1.3/RX/TST 49
PT1.2/SDI 50
PT1.1/INT1/PSDI/SCE 51
REFO 74
SEG10
1
VDD
83
SEG4
95
SEG5
96
SEG6
97
SEG7
98
SEG8
99
U4
HY12S65
_DA7
_ADR0
_ADR14
_ADR14
_ADR12
_ADR11
_ADR11
_ADR13
_ADR13
_ADR10
_ADR10
_ADR10
_ADR9
_ADR9
_ADR9
_ADR8
_ADR8
_ADR8
_ADR7
_ADR7
_ADR6
_ADR6
_ADR5
_ADR5
_ADR4
_ADR4
_ADR3
_ADR3
_ADR2
_ADR2
_ADR1
_ADR0
_DA7
_DA7
_DA6
_DA6
_DA6
_DA5
_DA5
_DA5
_DA4
_DA4
_DA4
_DA3
_DA3
_DA3
_DA2
_DA2
_DA1
_DA1
_DA0
_DA0
_CSRAM_S
_CSSBM
_CSRAM
_RD
_RD
_RD
_WE
_WE
_WE
_VSS_ram
VDD_bat
VDD_bat
_SBM-SEL
_SBM-SEL _CS
SBMMemory
Pr ogra m Memor y
A5
5A6
4A7
3
A8 25
A9 24
A10 21
A11 23
A12
2
A13 26
A14
1
I/O0
11
I/O1
12
I/O2
13
I/O3 15
I/O4 16
I/O5 17
I/O6 18
I/O7 19
CE 20
A0
10
OE 22
A1
9A2
8A3
7A4
6
WE 27
GND
14
VCC 28
U7
62256
C21
0.1uF
1 2
C20
0.1uF
C22
0.1uF
VDD_bat
VDD_bat _VSS_r am
8
9
10
U5C
7400
1
23
U5A
7400
56
4U5B
7400
14 7
11
12
13
U5D
7400
_VSS_ram
_VSS_ram _VSS_ram
_ADR1
VDD_bat
VDD
A5
5A6
4A7
3
A8 25
A9 24
A10 21
A11 23
A12
2
A13 26
A14
1
I/O0
11
I/O1
12
I/O2
13
I/O3 15
I/O4 16
I/O5 17
I/O6 18
I/O7 19
CE 20
A0
10
OE 22
A1
9A2
8A3
7A4
6
WE 27
GND
14
VCC 28
U8
62256
_VSS_ram
_VSS_ram
_VSS_ram
_VSS_ram
1
1
VIN
VDD_bat
VDD_i
_ADR12
_ADR7
_ADR6
_ADR5
_ADR4
_ADR3
_ADR2
_ADR1
_ADR0
_DA2
_DA1
_DA0
_VSS_ram
*. ICE Memory NET
VDD_bat
VDD_bat
1
2
3
4
5
6
S
J14
PS2-6PIN
_VCC_ram
_VSS_ram
_VSS_ram
_SDI
_SDO
_SCK
_SCS
R55
47K
R54
47K
R53
47K
_VCC_ram
1
2
3
6
5
4
S5
PowerSel
VDD_bat
1
2
3
J8
SBMSe l
1
2
3
J9
CSSel
1
2
J11
VDD_Bat
VDD_bat
VIN
_CS
_VSS_ram
C23
1uF
_VSS_ram
VDD_bat
_SCS
_SCK
_SDO
_SDI
_VCC_ram
1
2
3
4
5
6
J13
ICESignal
C5
C4
AGND
P4
Vol/Ohm/Cap/DT
P1
COM
P2
mA/uA
P3
AR31R29R28R27 R30
R34
PB0
R25 PB3
R26 PB1
R22
R23
R24
R33
R32
10M0.7%
J4
JUMP
J6
Vol/Ohm/Cap/DT
JUMP
1
2
3
J3
Current
uA
mA
1.11M0.1%
101K 0.1%
10K 0.1%
1K 0.1%
0.1uF
100
900K
10K
10K
99
0.99
0.01
RLD
PTC1
PTC
B
2
C
1E3
Q3
9013
B
2
C1
E
3
Q4
9013
C17
10M
104
RLU
COM
COM
COM
VDD
R9
RX
TX
R10
VDD
1
6
2
7
3
8
4
9
5
RS1
D5
R11
D2
PC_TXD
PC_RXD
IGND
IGND
Q1
R44
R43
IV+
D3
IV-
R45
IV-
Q2
D4 R46
D6
D7
D8
D9
C18
IGND
C19
IV-
IV+
Photo RS232
P
1
N
2C4
E3
U2
P1
N2
C
4
E
3
U3
1N4148
1N4148
1N4148
1N4148
10uF
10uF
1N4148
1N4148
1N4148
500R
500R
1N4148
500R
10k
500R
6.8k
270R
PC817
PC817
R51
100K COM
PB1
J7
HZ
JUMP CNT
C7
R35
RLD
1u
1M
SEG21
24 SEG20
23 SEG19
22 SEG18
21 SEG17
20 SEG16
19 SEG15
18 SEG14
17 SEG13
16 SEG12
15 SEG11
14 SEG10
13 SEG9
12 SEG8
11 SEG7
10 SEG6
9SEG5
8SEG4
7SEG3
6SEG2
5
COM0
1
COM1
2
COM2/SEG0
3
COM3/SEG1
4
LCD_20*4
J10
LCD_20*4
BUZZER1
BZ
Y1
R39
C16
C15
15pF
1M
15pF
4Mhz
C14
C11
C10
C12
XIN
XOUT
XOUT
XIN
BZ
TX
RX
C13
1M
AVSS AVSS
C6
功能切換
1
2
3
4
8
7
6
5
S4
Function1
SW1 Hz%1
SW2 SW
SW3
HOLD1
SW6
RANGE1
SW5
REL1
SW4
MAX/MIN1
SW7 BACKLIGHT1
SW8
KEY1
KEY2
KEY5
KEY6
KEY4
KEY3
KEY1
KEY2
COM0
COM1
COM2
COM3
COM0
COM1
COM2
COM3
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
CNT
CMPO
PB0
PB1
PB1
PB3
PB4
PB5
RLU
PA0
PA1
PA2
PA3
PA4
PA5
PA6
CMP0
CMP1
CMP2
CMP3
CMP0
CMP1
CMP2
R37 R38
C8
EEPROM
A0
1
A1
2
A2
3
VSS
4SDA 5
SCL 6
WP 7
VDD 8
U9
VDD
IIC_SDA
IIC_SCL
IIC_SDA
IIC_SCL
0.1uF 10k
24C02
1 2
3 4
5 6
7 8
910
11 12
13 14
15 16
17 18
19 20
JP3
LCD
COM0COM1 COM2COM3 SEG0SEG1 SEG2SEG3 SEG4SEG5 SEG6SEG7 SEG8SEG9 SEG1 0SEG11 SEG12SEG13 SEG14
GND
VDD
RST
0.1UF
1UF
1UF
0.1UF
1u
VDD
C9
R36
100k
AVSS
R48
AVSS
KEY3
KEY4
KEY5
PB0
PB1
PB1
PB3
PB4
1
2
3
4
5
6
J5
PBx
PB5
1
2
J12
CNT
CNT
CMPO
D1
1N4001 Batt
COM1
3ON1 5
OFF1 1
COM2
4ON2 6
OFF2 2
S3
JP1
VBAT
JP2
VSSBAT
R40
100K
R41
42.2K
R42
100K
C2
10uF
C3
10uF
C1
0.1uF
GS2612
EN
1
IN
2
OUT
3
ADJ
4GND 5
GND 6
GND 7
GND 8
U1
VDD_bat
VDD
EXT
3V
*. POWER NET
1
2
3
J2
VDD Sel
1
2
J1
Current te st
R49
_VSS_ram
1 2
3 4
5 6
7 8
910
11 12
JP4
SPI
1
2
J15
Power
KEY3
KEY5
KEY4
KEY2
VDD
C24
CMP3
該COM點代表直接拉回AGND
該COM點代表直接拉回AGND
該COM點代表直接拉回AGND
V04 change
R5
R6
OPEN
0
1uF
27nF
KEY6
CMPO
CMP3
R4
R12
R13
R14
R15
R1
R2
R3
20K
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
S1
CMP0
20K
20K
20K
20K
20K
20K
20K
CMP2
CMP01
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
S2
CMP1
CMP1
HY12S65 ICE
V04
A10004
1u
10nPT1.0(IN)
PT1.1(IN)
PT1.2(IN)
PT1.5(IN/OUT)
PT1.6(IN/OUT)
PT3.7(IN/OUT) or PT2.7(IN/OUT)
PT2.7(IN/OUT)
PT2.4
PT2.5
PT2.6
PT2.7
PT2.4
PT2.5
PT2.6
PT3.7(IN/OUT)
SDI(PT1.2)
SCK(PT1.6)
SDO(PT1.5)
SCS(PT1.1)
B2
C1
E
3
Q6
9013
B2
C
1E3
Q5
9013
J16
Vol/Ohm/Cap/DT
JUMP R7
1M
VDD
PTC2
PTC
MOV1
TVR
MOV2
TVR
MOV3
TVR
VIN
VIN
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
4. Simple Error Detection
4.1. ICE cannot connect to software
Simple error correction is described as follows when ICE cannot connect to software:
Hardware configuration, IDE mode error detection:
Options =>Interface Setup =>Interface Mode defaults as USB
IDE Mode is emulation and Debug
APD-HYIDE011-V02_EN
page18
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
Power System Debug:
This action is to testify whether HY-IDE USB Control Board is completely
connected to PC through USB port and the regulated 3V voltage output functions
normally.
Options =>ICE Test => Click CK ALL and confirm VCC voltage is close to 3V.
When Control Board only connects to USB port, the voltage of VPP closes to 5V;
whenAdapter 9V of J4 is connected, VPP voltage will close to 6.3V.
APD-HYIDE011-V02_EN
page19
.

HY12S65
HY-IDE Hardware User Manual
© 2012 HYCON Technology Corp
www.hycontek.com
ICE Power Debug:
When using USB to supply power, a few switches must be inspected to ensure
ICE chip operates normally.
ICE Board S5, switching VIN, VDD_bat to ON
Short ICE Board J2 PIN1-2, J1 and S3 switch turns to ON
Using voltage meter to check whether there is a 3V voltage existed in
between VDD (PIN83)-VSS (PIN81) and also a 3V voltage in between
ICE_VCC (PIN12)-VSS (PIN81).
If there is no such voltage existed, please double check the ”Power system
error detection” and ”ICE power error detection” chapter.
Using external power supply, please check the following switched:
Switching VIN, VDD_bat and VDD_i to “OFF” of the ICE Board S5.
APD-HYIDE011-V02_EN
page20
.
Table of contents
Other HYCON Computer Hardware manuals