background image

Rev. 1.30 

12 of 34

November 13, 2020

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

1  Overview

1

2

3

4

5

6

7

8

9

10

J2

SW

D

-10

P

VDD_

elin

k32

GND

W_
RS

T

W_
SWDIO

W_
SWCLK

1 2 3 4 5

J3

ICE SWD

SWCLK

SWDIO

1

R13

470

GND

GND

SWDIO

SWCLK

DC5V

5V

D-

D+

ID

G

1

2

3

4

5

6

7

8

9

J1

USB M

INI B

Earth_

2

Earth_

2

GND

GND

1

C1

0.1u

F

1

C16

47pF

1

C15

47pF

GND

USBDM_

elink

USBDP_

elink

C8

10uF

XTALIN

XTALOUT

GND

LED1

LED2

LED3

W_RST

W_
SWDIO

W_
SWCLK

USBDM_

elink

USBDP_

elink

DIR1

DIR2

M

OSI

M

ISO

SCK

DIR1

DIR2

M

OSI

M

ISO

SCK

nRST_CTRL

GND

W_
RS

T

Flash_

CS

Flash_

M

ISO

Flash_

M

OSI

Flash_

SCK

VDD_

elin

k32

VDD_

elin

k3

2

VDD_

elin

k32

VDD_

elin

k32

VDD_T

arg

etBo
ard

VDD_

elin

k32

VDD_

elin

k32

VDD_

elin

k32

1

C14

10uF

1

C19

10uF

PA9_
BOOT1

UR1_TX

UR1_RX

CS

1

SO

2

WP

3

GND

4

SI

5

SCLK

6

H

O

LD

7

VCC

8

U8

M

X25
L8

006E

FLASH

GND

GND

Flash_

CS

Flash_

M

ISO

Flash_

M

OSI

Flash_

SCK

PA10
_IAP

VDD_

elin

k32

VDD_

elin

k32

VDD_

elin

k3

2

PA14

SWO

Sho
rt BOOT1

 to 

GND and

 Reset 

M

CU, can

 b

oo

t to 

Boo
tlo

ad

er

GND

Th

e L

ev

el Sh

ift 

VCCB 

Defau

lt Use T

arg

etBo
ard

 Po

wer

Don
't con

fig

ure

 P

D

1/PD2 

as O

utpu

t o

r En
ab

le 

In

ter

nal Pu
ll Resistor

Blu

e

D1

Bu

sy

Red

D2

Err

VDD_

elin

k32

LED1

LED2

3

2

1

4

Vin

Vout

GND

TAB

LM

111
7

U3

LM

111
7-33

DC5V

I/O1

1

GND

2

I/O2

3

I/O3

4

VCC

5

I/O4

6

U2

TESDS5

V0A

USBDP_

elink

USBDM_

elink

Green

D3

USB

LED3

2

1

3

R22 100

 (Fit 1

-2)

VCCA

1

GND

2

A

3

B

4

DIR

5

VCCB

6

U4

SN74

LVC1
T45

VCCB

VCCB

VDD_

elin

k32

VDD_

elin

k32

VCCB

VDD_T

arg

etBo
ard

VDD_

elin

k3

2

1

R12

0 (NC)

1

R11

0

DAP_

TX

DAP_

RX

GND

GND

VCCB

VCCB

VDD_

elin

k32

VDD_

elin

k32

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_

elin

k32

VDD_

elin

k32

VDD_

elin

k32

SWD 10 Pin Connector

Level Sheft

Power Mode Option

Button Option

nRST_

CTRL

Red

D4

 (NC)

Po

wer

GND

1

R23

10k

GND

1

C24

0.1u

F

VDD_

elin

k32

GND

GND

1

2

3

4

5

J4

Po

wer SW

1

C13

0.1u

F

1

C18

0.1u

F

VCCA

1

GND

2

A

3

B

4

DIR

5

VCCB

6

U5

SN74

LVC1
T45

VCCA

1

GND

2

A

3

B

4

DIR

5

VCCB

6

U6

SN74

LVC1
T45

VCCA

1

GND

2

A

3

B

4

DIR

5

VCCB

6

U9

SN74

LVC1
T45

VCCA

1

GND

2

A

3

B

4

DIR

5

VCCB

6

U7

SN74

LVC1
T45

1

R27

10k

1

C23

0.1u

F

1

C25

0.1u

F

1

C26

0.1u

F

1

R16

10k

1

R15

10k

1

R10

10K

1

R9

100K

1

C22

0.1u

F

1

C21

0.0

1uF

GND

GND

GND

GND

GND

GND

GND

GND

GND

GND

GND

GND

GND

1

2

C2

0.1u

F

2

1

R14

10K

1

2

C3

0.1u

F

1

2

C4

0.1u

F

1

2

C5

0.1u

F

1

2

C6

0.1u

F

1

2

C7

0.1u

F

2

1

R21

10K

1

R28

1M

1

R2

27

1

R3

27

1

R6

470

1

R7

470

1

R8

470

1

R5

470
 (NC)

1

R2

4

100

1

R2

5

100

1

R2

6

100

1

R1

100

1

R4

100

1

R2

0

100

I/O1

1

I/O2

2

GND

3

Q1

TESDA5

V0A_

SOT23

-3

GND

Use 
PB8
 to id

en

tif

y H/W T

yp

e

Flo

ating
 : Starter Kit

Gnd
      : elink

32

 Pro

PA0

1

PA

1

2

PA

2

3

PA

3

4

PA

4

5

PA

5

6

PA

6

7

PA

7

8

PC4

9

PC5

10

CLDO

13

VDD_1

14

VSS_1

15

nRST

16

PB9

17

PB10_XTAL32KIN

18

PB11_XTAL32KOUT

19

PB12_RTCOUT

20

PB13_XTALIN

21

PB14_XTALOUT

22

PB15

23

PC0

24

USBDM

11

USBDP

12

PA8

25

PA9_
BOOT

26

PA10

27

PA11

28

SW

CL

K

_P

A12

29

SWDIO_P

A13

30

PA14

31

PA15

32

VDD_2

35

VSS_2

36

PB0

33

PB1

34

PB2

37

PB3

38

PB4

39

PB5

40

PC1

41

PC2

42

PC3

43

PB6

44

PB7

45

PB8

46

VDDA

47

VSSA

48

HT32

F5

2341

U1

Figure 5.  e-Link32 Pro v1.0 (HT32F52341)

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: