Revision: V1.00
Date:
November 30, 2011
Table of Contents
1 Overview................................................................................................................... 5
Introduction............................................................................................................................. 5
Hardware Description............................................................................................................. 6
Rev. 1.00
2 of 23
Table of Contents
List of Tables
Table 1. e-Link32 Specifications............................................................................................................... 6
List of Tables
Rev. 1.00
3 of 23
List of Figures
Rev. 1.00
4 of 23
List of Figures
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Overview
The purpose of this quick start guide is to familiarize users with Holtek e-Link32 Debug Adapter.
The guide includes information on how to setup the e-Link32 with Keil MDK-ARM and IAR
EWARM.
The Holtek e-Link32 connects your target board (via Serial Wire) to PCs USB port. User can
program and debug the embedded programs on the target board. The supported MCUs are HT32
Series Microcontrollers.
The e-Link32 provides the following key features.
Supports HT32 Series MCUs
Serial Wire Debug interface
Integrates with Keil & IAR IDE
USB powered
10-pin Cortex Debug Connector
Three LEDs that display the USB, ERROR and RUN status
One RESET button
Rev. 1.00
5 of 23
Overview
Introduction
Hardware Description
The e-Link32 supports Serial Wire Mode interface. There are only two pins, SWCLK (Serial Wire
Clock) and SWDIO (Serial Wire Debug Data Input/Output), are used for the communication. The
following illustration shows the target connector.
2 4 6 8 10
Overview
1 3 5 7 9
Figure 2. ARM SWD 10-Pin Connector
Pin#
Description
Pin#
Description
3.3V
SWDIO
GND
SWCLK
GND
TRACESWO
NC
NC
GND
10
Reset
2 MHz
Keil MDK-ARM
Flash Programming
4 Sec
IAR EWARM
Flash Programming
Rev. 1.00
5 Sec
6 of 23
3. The default installation path is C:\Program Files\Holtek HT32 Series\e-Link32 USB Driver.
Select the Browse button to change the path and select the Next button to continue when the
path has been chosen.
Rev. 1.00
7 of 23
1. Obtain the latest version of the e-Link32 USB driver from the CD-ROM supplied by Holtek. The
required filename is similar to e-Link32_USB_Driver_Vnnn.exe where nnn represents the
version number.
2. Double-click on e-Link32_USB_Driver_Vnnn.exe and press the Next button on the dialog
below to continue.
4. Press the Install button to start the installation when the Ready to Install screen appears.
Rev. 1.00
8 of 23
5. Once the installation has finished, a completion page will appear as shown below. Press the
Finish button to complete the installation process.
Rev. 1.00
9 of 23
Rev. 1.00
10 of 23
1. Obtain the latest version of the e-Link32 Keil plugin from the CD-ROM supplied by Holtek. The
required filename is similar to e-Link32_Keil_Plugin_Vnnn.exe where nnn represents the
version number.
2. Double-click on e-Link32_Keil_Plugin_Vnnn.exe and press the Next button on the dialog
below to continue.
3. The default installation path is C:\Keil. Select the Browse button to change the path and
select the Next button to continue when the path has been chosen.
4. Press the Install button to start the installation when the Ready to Install screen appears.
Rev. 1.00
11 of 23
5. Once the installation has finished, a completion page will appear as shown below. Press the
Finish button to complete the installation process.
Rev. 1.00
12 of 23
7. Open the dialog Options for Target Utilities, and select Holtek e-Link32 Debugger.
8. Click the button Settings to open the Flash Download Setup dialog. Check the Programming
Algorithm settings.
Rev. 1.00
13 of 23
Rev. 1.00
14 of 23
Rev. 1.00
15 of 23
1. Obtain the latest version of the e-Link32 IAR plugin from the CD-ROM supplied by Holtek. The
required filename is similar to e-Link32_IAR_Plugin_Vnnn.exe where nnn represents the
version number.
2. Double-click on e-Link32_IAR_Plugin_Vnnn.exe and press the Next button on the dialog
below to continue.
3. The default installation path is C:\Program Files\Holtek HT32 Series\e-Link32 IAR Pulgin.
Select the Browse button to change the path and select the Next button to continue when the
path has been chosen.
Rev. 1.00
16 of 23
4. Press the Install button to start the installation when the Ready to Install screen appears.
Rev. 1.00
17 of 23
5. Once the installation has finished, a completion page will appear as shown below. Press the
Finish button to complete the installation process.
Rev. 1.00
18 of 23
6. Open the IAR EWARM project, and configure the debugging mode in the dialog
OptionsDebugger. In the Setup tab, choose RDI from the drop-down list named Driver.
Rev. 1.00
19 of 23
7. Select RDI in the Category list to display the RDI option page. Check the Manufacturer
RDI driver setting as e-Link32_rdi.dll.
Rev. 1.00
20 of 23
9. Click the Configure to open the e-Link32 RDI Configuration dialog. Check the e-Link32
RDI settings.
Rev. 1.00
21 of 23
Rev. 1.00
22 of 23
Rev. 1.00
23 of 23