background image

Rev. 1.30 

11 of 34

November 13, 2020

e-Link32/e-Link32 Pro User’s Guide

1  Overview

1  Overview

PA0

1

PA1

2

PA2

3

PA3

4

PA4

5

PA5

6

PA6

7

PA7

8

VDD3

3_

1

9

V

SS3
3_

1

10

LDOOUT

13

LDOIN

14

VSSLDO

15

nRST

16

VBAT

17

PC13_XTAL32KIN

18

PC14_XTAL32KOUT

19

PC15_RTCOUT

20

PB14_XTALIN

21

PB15_XTALOUT

22

PD1/VDD33_2

23

PD2VSS33_2

24

PB

12

/U

SB

D

M

11

PB

13

/U

SB

D

P

12

PA8

_B

OOT

0

25

PA9

_B

OOT

1

26

PA

10

27

TR

AC
ES

W

O_

PA

11

28

SW
CL

K

_P

A

12

29

SW

DI

O_

PA1

3

30

PA

14

31

PA

15

32

VDD3

3_

3

35

V

SS3
3_

3

36

PB0

33

PB1

34

PB2

37

PB3

38

PB4

39

PB5

40

PB6

41

PB7

42

PB8

43

PB9

44

PB10

45

PB11

46

VDDA

47

VSSA

48

H

T32

F16

5x

U1

H

T3

2F1

65

4_

LQ

FP

48

1

2

3

4

5

6

7

8

9

10

J2

SW
D

-10

P

VDD_

elin

k3

2

GN
D

W_
RS

T

W_
SWD
IO

W_
SWC
LK

1 2 3 4 5

J3

IC

E S

WD

SWC
LK

SWD
IO

1

R1

3

47

0

GN
D

GN
D

SWD
IO

SWC
LK

D

C5

V

5V
D-

D+

ID
G

1

2

3

4

5

6

7

8

9

J1

U

SB

 M

IN

I B

Eart

h_

2

Eart

h_

2

GN
D

GN
D

1

C1

0.

1uF

1

C1

6

47

pF

1

C1

5

47

pF

GN
D

U

SB

D

M

_e

lin

k

US

BDP

_eli

nk

C8

10

uF

XTALIN

XTALOUT

GN
D

LED1

LED2

LED3

W_RST

W_
SWD
IO

W_
SWC
LK

U

SB

D

M

_e

lin

k

US

BDP

_eli

nk

D

IR1

D

IR2

MO
SI

M

ISO

SC

K

DIR1

DIR2

MO
SI

M

ISO

SC

K

nRST_CTRL

GN
D

W_
RS

T

Fl

ash

_C

S

Fl

ash

_M

IS

O

Fl

ash

_M

O

SI

Fl

ash

_SC

K

VDD_

elin

k3

2

VDD_

elin

k3

2

VDD_

elin

k3

2

VDD_

elin

k3

2

V

D

D

_T

arg

etB

oa

rd

VDD_

elin

k3

2

VDD_

elin

k3

2

VDD_

elin

k3

2

1

C1

4

10

uF

1

C1

9

10

uF

PA9

_B

OOT

1

UR1_TX

UR1_RX

CS

1

SO

2

WP

3

GN
D

4

SI

5

SC

LK

6

HOL

D

7

V

CC

8

U8

M

X25

L80

06

E

FLA
SH

GN
D

GN
D

Fl

ash

_C

S

Fl

ash

_M

ISO

Fl

ash

_M

O

SI

Fl

ash

_SC

K

PA1

0_

IAP

VDD_

elin

k3

2

VDD_

elin

k3

2

VDD_

elin

k3

2

PA

14

SWO

Sh

ort B

OOT

1 to

 

GN
D

 and

 R

eset 

MC
U

, c

an

 b

oo

t to 

Bo

ot

loa

de

r

GND

The

 L

ev

el S

hift

 V

CCB 

De

faul

t U

se T

arg

etBo

ard P

ow

er

D

on'

t c

on

figu

re P

D

1/

PD

as O

ut

put

 or

 En

abl

In

tern

al P

ull R

esisto

r

Blu

e

D

1
Bu

sy

Re

d

D

2
Err

VDD_

elin

k3

2

LE

D

1

LE

D

2

3

2

1

4

V

in

V

out

GN
D

TA

B

LM

11

17

U

3

LM

11

17

-33

D

C5

V

I/O1

1

GN
D

2

I/O2

3

I/O3

4

V

CC

5

I/O4

6

U2

TE

SD

S5

V

0A

US

BDP

_eli

nk

U

SB

D

M

_e

lin

k

Green

D3

US

B

LE

D

3

2

1

3

R2

2

10

0 (

Fit 1

-2)

V

CC

A

1

GN
D

2

A

3

B

4

DI

R

5

V

CC

B

6

U4

SN

74

LV

C1

T4

5

V

CC

B

V

CC

B

VDD_

elin

k3

2

VDD_

elin

k3

2

V

CC

B

V

D

D

_T

arg

etB

oa

rd

VDD_

elin

k3

2

1

R1

2

0 (

N

C)

1

R1

1

0

DAP

_T

X

DAP

_R

X

GN
D

GN
D

V

CC

B

V

CC

B

VDD_

elin

k3

2

VDD_

elin

k3

2

V

CC

B

GN
D

1

2

S1

RE

SE

T/IAP

DAP

_T

X

DAP

_R

X

SWO

PA

14

U

R1

_R

X

U

R1

_T

X

D

IR3

DIR3

1

R1

9

10

k

V

CC

B

LE

D

Fil

ter 

CA
P.

Pow
er

ESD 

Prot
ect

or

VDD_

elin

k3

2

VDD_

elin

k3

2

VDD_

elin

k3

2

SWD 

10

 P

in 

Co

nn

ec

tor

Lev

el 

Sheft

Pow
er 

Mo
de O
pti

on

Butt
on O
pti

on

nR

ST

_CT

RL

Re

d

D4

 (N

C)

Pow

er

GN
D

1

R2

3

10

k

GN
D

1

C2

4

0.

1uF

VDD_

elin

k3

2

GN
D

GN
D

1

2

3

4

5

J4

Pow

er S

W

1

C1

3

0.

1uF

1

C1

8

0.

1uF

V

CC

A

1

GN
D

2

A

3

B

4

DI

R

5

V

CC

B

6

U5

SN

74

LV

C1

T4

5

V

CC

A

1

GN
D

2

A

3

B

4

DI

R

5

V

CC

B

6

U6

SN

74

LV

C1

T4

5

V

CC

A

1

GN
D

2

A

3

B

4

DI

R

5

V

CC

B

6

U9

SN

74

LV

C1

T4

5

V

CC

A

1

GN
D

2

A

3

B

4

DI

R

5

V

CC

B

6

U7

SN

74

LV

C1

T4

5

1

R2

7

10

k

1

C2

3

0.

1uF

1

C2

5

0.

1uF

1

C2

6

0.

1uF

1

R1

6

10

k

1

R1

5

10

k

1

R1

0

10

K

1

R9

10

0K

1

C2

2

0.

1uF

1

C2

1

0.

01u

F

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

GN
D

1

2

C2

0.

1uF

2

1

R1

4

10

K

1

2

C3

0.

1uF

1

2

C4

0.

1uF

1

2

C5

0.

1uF

1

2

C6

0.

1uF

1

2

C7

0.

1uF

2

1

R2

1

10

K

1

R2

8

1M

1

R2

27

1

R3

27

1

R6

47

0

1

R7

47

0

1

R8

47

0

1

R5

47

0 (

N

C)

1

R2

4

10

0

1

R2

5

10

0

1

R2

6

10

0

1

R1

10

0

1

R4

10

0

1

R2

0

10

0

I/O1

1

I/O2

2

GN
D

3

Q1

TE

SDA5
V0

A_

SO

T2

3-3

GN
D

U

se P

B8

 to 

ide

nt

ify

 H

/W

 T

ype

Flo

atin

g :

 St

arter K
it

Gn

d  

    :

 e

lin

k3

2 P

ro

Figure 4.  e-Link32 v1.0  (HT32F1654)

Summary of Contents for e-Link32

Page 1: ...e Link32 e Link32 Pro User s Guide Revision V1 30 Date November 13 2020...

Page 2: ...ly Switching Power Configuration 9 e Link32 e Link32 Pro Schematic Diagram 9 2 MDK_ARM KEIL Setup and Use 13 e Link32 e Link32 Pro for Keil Installation 13 e Link32 e Link32 Pro with Keil4 Setup and U...

Page 3: ...n Connector Pins 7 Table 2 Power Configuration SWD RESET UART Interface Voltage determined by the Target Board Power Supply 8 Table 3 Power Configuration MCU with Independent IO Power Supply 8 Table 4...

Page 4: ...pport Package Installation Path 18 Figure 17 Keil Installation Completion 19 Figure 18 e Link32 Device Name 19 Figure 19 e Link32 Pro Device Name 20 Figure 20 Keil4 Debugger Selection 20 Figure 21 Kei...

Page 5: ...User s Guide List of Figures Figure 40 IAR Debugger Selection 31 Figure 41 IAR e Link32 Debugger Setup 32 Figure 42 IAR e Link32 Pro Debugger Setup 33 Figure 43 IAR e Link32 Debugger Function Table 3...

Page 6: ...e Link32 e Link32 Pro connects the target board via Serial Wire to the PC s USB port Users can then program and debug their embedded programs on the target board The e Link32 e Link32 Pro provides the...

Page 7: ...iguration As the MCU has a wide operating voltage range the SWD and other interface IO voltages of the MCU may be different from the e Link32 e Link32 Pro which both operate at 3 3V To accommodate thi...

Page 8: ...r to the target board VDD voltage Table 2 Power Configuration SWD RESET UART Interface Voltage determined by the Target Board Power Supply Resistor State Description R19 Exist Factory default 10k resi...

Page 9: ...power configurations Table 5 Power Supply Switch J4 J4 Description SWD RESET UART interface voltage determined by the target board power supply Target board power supply provided by the e Link32 e Lin...

Page 10: ...U6 SN74AVC1T45 1 5 3 4 6 2 VCCA DIR A B VCCB GND R6 470R C1 4 7nF R24 100R C21 0 01uF b e c Q2 MMBT9012 MMBT8550 1 2 3 C19 10uF R20 100R Y1 12 000MHZ R7 470R D3 Green led R25 100R J2 1 2 3 4 5 6 7 8 9...

Page 11: ...ootloader GND The Level Shift VCCB Default Use TargetBoard Power Don t configure PD1 PD2 as Output or Enable Internal Pull Resistor Blue D1 Busy Red D2 Err VDD_elink32 LED1 LED2 3 2 1 4 Vin Vout GND T...

Page 12: ...NC 1 R11 0 DAP_TX DAP_RX GND GND VCCB VCCB VDD_elink32 VDD_elink32 VCCB GND 1 2 S1 RESET IAP DAP_TX DAP_RX SWO PA14 UR1_RX UR1_TX DIR3 DIR3 1 R19 10k VCCB LED Filter CAP Power ESD Protector VDD_elink...

Page 13: ..._ARM KEIL Setup and Use e Link32 e Link32 Pro for Keil Installation The following steps show how to install the e Link32 e Link32 Pro for Keil Double click HT32_Setup_Keil_vxx exe to open the Keil Boo...

Page 14: ...nstallation path of the Keil Boot program is C Program Files x86 HT32_Setup_ Keil Select the desired installation path and press the Next button to continue Figure 7 HT32_Setup_Keil_vxx exe Installati...

Page 15: ...he Next button to install the Holtek e Link32 USB Driver Figure 9 Holtek e Link32 USB Driver Installation Introduction The default installation path of the Holtek e Link32 USB Driver is C Program File...

Page 16: ...appear Press the Finish button to enter the next Keil Plugin installation process Figure 11 Holtek e Link32 USB Driver Installation Completion If the Holtek e Link32 Keil Plugin has already been inst...

Page 17: ...lation window will appear Press the Next button to continue Figure 13 Holtek e Link32 Keil Plugin Installation Introduction The Keil Plugin installation path is subject according to that of Keil4 Keil...

Page 18: ...installation process then press the Next button to continue Figure 15 Holtek HT32 Keil Support Package Installation Introduction The Keil Support Package installation path is subject to that of the K...

Page 19: ...d be selected to restart the computer Figure 17 Keil Installation Completion Connect the e Link32 e Link32 Pro to the PC s USB port Open the PC s Device Manager to check the connection status of the e...

Page 20: ...er window and the corresponding Virtual COM Port will also be found confirming that the installation was successful Figure 19 e Link32 Pro Device Name e Link32 e Link32 Pro with Keil4 Setup and Use Op...

Page 21: ...tings button on the right side to open the corresponding setting window Confirm that the setting is successful when the device ID is read The e Link32 setting window is shown below Figure 21 Keil4 e L...

Page 22: ...ogramming Algorithm if there is no content or the content is not correct then press the Add button Figure 23 Keil4 Flash Download Setup e Link32 Pro with Keil5 Setup and Use No Support e Link32 Open t...

Page 23: ...ick the Settings button on the right side to select the SW options Confirm that the setting is successful when the device ID is read Figure 25 Keil5 Debugger Setup Click Flash Download to check Progra...

Page 24: ...AR Setup and Use e Link32 e Link32 Pro for IAR Installation The following steps show how to install the e Link32 e Link32 Pro for IAR Double click HT32_Setup_IAR_vxx exe to open the IAR Boot program a...

Page 25: ...llation path of the IAR Boot program is C Program Files x86 HT32_Setup_ IAR Select the desired installation path and press the Next button to continue Figure 28 HT32_Setup_IAR_vxx exe Installation Pat...

Page 26: ...xt button to install the Holtek e Link32 USB Driver Figure 30 Holtek e Link32 USB Driver Installation Introduction The default installation path of the Holtek e Link32 USB Driver is C Program Files x8...

Page 27: ...appear Press the Finish button to enter the next IAR Plugin installation process Figure 32 Holtek e Link32 USB Driver Installation Completion If the Holtek e Link32 IAR Plugin has already been install...

Page 28: ...Plugin installation window will appear Press the Next button to continue Figure 34 Holtek e Link32 IAR Plugin Installation Introduction The default installation path of the IAR Plugin is C Program Fil...

Page 29: ...ltek HT32 IAR Support Package Installation Introduction Once the installation has finished press the Finish button Connect the e Link32 e Link32 Pro to the PC s USB port Open the PC s Device Manager t...

Page 30: ...ce named HID compliant device will ap pear on the Device Manager window and the corresponding Virtual COM Port will also be found confirming that the installation has been successful Figure 38 e Link3...

Page 31: ...ev 1 30 31 of 34 November 13 2020 e Link32 e Link32 Pro User s Guide 3 IAR Setup and Use Click Debugger to select RDI for e Link32 or select CMSIS DAP for e Link32 Pro Figure 40 IAR Debugger Selection...

Page 32: ...ber 13 2020 e Link32 e Link32 Pro User s Guide 3 IAR Setup and Use Setting the selected debugger Check wheather e Link32_rdi dll is selected in Manufacturer RDI driver for e Link32 RDI Figure 41 IAR e...

Page 33: ...Interface option to SWD mode for e Link32 Pro CMSIS DAP Figure 42 IAR e Link32 Pro Debugger Setup Once the settings have finished the corresponding debugger options will appear on the function table F...

Page 34: ...ed solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification nor recommends the use of its products for...

Reviews: