Table of Contents

Advertisement

Quick Links

e-Link32/e-Link32 Pro
User's Guide
Revision: V1.30
Date: November 13, 2020

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the e-Link32 and is the answer not in the manual?

Questions and answers

Summary of Contents for Holtek e-Link32

  • Page 1 Pro User’s Guide Revision: V1.30 Date: November 13, 2020...
  • Page 2: Table Of Contents

    Pro for Keil Installation ................13 e-Link32/e-Link32 Pro with Keil4 Setup and Use ..............20 e-Link32 Pro with Keil5 Setup and Use (No Support e-Link32) ........... 22 3 IAR Setup and Use ....................24 e-Link32/e-Link32 Pro for IAR Installation ................24 e-Link32/e-Link32 Pro with IAR EWARM Setup and Use ............
  • Page 3 Power Supply ..........................8 Table 3. Power Configuration – MCU with Independent IO Power Supply ..........8 Table 4. Power Configuration – Target Board Power Supply Provided by e-Link32/e-Link32 Pro .... 8 Table 5. Power Supply Switch – J4 ......................9 Rev.
  • Page 4 Figure 10. Holtek e-Link32 USB Driver Installation Path ................ 15 Figure 11. Holtek e-Link32 USB Driver Installation Completion.............. 16 Figure 12. Holtek e-Link32 Keil Plugin Old Version Uninstallation ............16 Figure 13. Holtek e-Link32 Keil Plugin Installation Introduction .............. 17 Figure 14.
  • Page 5 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 ................. 33 Figure 44. IAR e-Link32 Pro Debugger Function Table ................33 Rev. 1.30 5 of 34...
  • Page 6: Overview

    Pro User’s Guide Overview The purpose of this user’s guide is to familiarise users with the Holtek e-Link32/e-Link32 Pro Debug Adapter. The guide includes information on how to setup and use the e-Link32/e-Link32 Pro with the Keil MDK-ARM and IAR EWARM.
  • Page 7: Hardware Description

    NC (VCOM_TXD (Note) Reset Note: The serial communication function is only available for the e-Link32 Pro, Pin7 and Pin8 are NC pins for the e-Link32. Hardware Configuration 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.
  • Page 8: Table 2. Power Configuration - Swd/Reset/Uart Interface Voltage Determined By The Target Board Power Supply

    The VDD power supply on the SWD interface is supplied with 3.3V by the e-Link32/e-Link32 Pro. In this case, the e-Link32/e-Link32 Pro and the target board MCU will both operate at 3.3V. Users must take care to ensure that the target board can operate at 3.3V and that the current does not exceed the e-Link32/e-Link32 Pro allowed current.
  • Page 9: Dynamically Switching Power Configuration

    Description SWD/RESET/UART interface voltage determined by the target board power supply Target board power supply provided by the e-Link32/e-Link32 Pro e-Link32/e-Link32 Pro Schematic Diagram This section shows the entire e-Link32 and e-Link32 Pro circuit diagrams. ▄ e-Link32 v1.0 ▄ e-Link32 Pro v1.0 (HT32F1654) ▄...
  • Page 10: Figure 3. E-Link32 V1.0 (Ht32F1654)

    Pro User’s Guide Figure 3. e-Link32 v1.0 Rev. 1.30 10 of 34 November 13, 2020...
  • Page 11: Figure 4. E-Link32 V1.0 (Ht32F52341)

    VSSA LDOIN VDDA LED1 VSSLDO PB11 W_RST LED2 nRST PB10 LED3 VBAT PC13_XTAL32KIN DIR3 PC14_XTAL32KOUT UR1_TX PC15_RTCOUT XTALIN UR1_RX PB14_XTALIN XTALOUT DIR2 PB15_XTALOUT DIR1 PD1/VDD33_2 nRST_CTRL PD2VSS33_2 Figure 4. e-Link32 v1.0 (HT32F1654) Rev. 1.30 11 of 34 November 13, 2020...
  • Page 12: Figure 5. E-Link32 Pro V1.0

    Pro User’s Guide CLDO VSSA VDD_1 VDDA LED1 VSS_1 W_RST LED2 nRST LED3 PB10_XTAL32KIN DIR3 PB11_XTAL32KOUT UR1_TX PB12_RTCOUT XTALIN UR1_RX PB13_XTALIN XTALOUT DIR2 PB14_XTALOUT DIR1 PB15 nRST_CTRL Figure 5. e-Link32 Pro v1.0 (HT32F52341) Rev. 1.30 12 of 34 November 13, 2020...
  • Page 13: Mdk_Arm (Keil) Setup And Use

    Pro User’s Guide MDK_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 Boot program and press the “Yes” ▀ button to continue.
  • Page 14: Figure 7. Ht32_Setup_Keil_Vxx.exe Installation Path

    Pro User’s Guide The default installation 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 Installation Path Press the “Install” button to start the installation.
  • Page 15: Figure 9. Holtek E-Link32 Usb Driver Installation Introduction

    “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 Files (x86)\ ▀ Holtek HT32 Series\e-Link32 USB Driver”. Select the desired installation path and press the “Next”...
  • Page 16: Figure 11. Holtek E-Link32 Usb Driver Installation Completion

    Keil Plugin installation process. Figure 11. Holtek e-Link32 USB Driver Installation Completion If the Holtek e-Link32 Keil Plugin has already been installed, users will be prompted to uninstall ▀ any older versions. Press the “Yes” button to continue.
  • Page 17: Figure 13. Holtek E-Link32 Keil Plugin Installation Introduction

    Pro User’s Guide Once the uninstallation has finished in the previous step, a Holtek e-Link32 Keil Plugin ▀ installation 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/Keil5. The default ▀...
  • Page 18: Figure 15. Holtek Ht32 Keil Support Package Installation Introduction

    Pro User’s Guide Once the installation has finished, press the “Finish” button to enter the next Holtek HT32 Keil ▀ Support Package 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 Keil4/Keil5.
  • Page 19: Figure 17. Keil Installation Completion

    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-Link32/e-Link32 Pro. ▀ If the e-Link32 is connected, a connection device named “Holtek e-Link32 Debug Interface” will ▀...
  • Page 20: E-Link32/E-Link32 Pro With Keil4 Setup And Use

    Pro User’s Guide If the e-Link32 Pro is connected, a connection device 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 was successful.
  • Page 21: Figure 21. Keil4 E-Link32 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-Link32 Setting Window The e-Link32 Pro setting window is shown below: Select SW mode as the Port type. Figure 22. Keil4 e-Link32 Pro Setting Window Rev.
  • Page 22: E-Link32 Pro With Keil5 Setup And Use (No Support E-Link32)

    “Add” button. Figure 23. Keil4 - Flash Download Setup e-Link32 Pro with Keil5 Setup and Use (No Support e-Link32) Open the Keil uVision5 project, click “Options for Target”, and select “CMSIS-DAP Debugger” ▀...
  • Page 23: Figure 25. Keil5 Debugger Setup

    Pro User’s Guide After the bebugger is selected, click 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”...
  • Page 24: Iar Setup And Use

    Pro User’s Guide IAR 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 and press the “Yes” ▀ button to continue.
  • Page 25: Figure 28. Ht32_Setup_Iar_Vxx.exe Installation Path

    Pro User’s Guide The default installation 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 Path Press the “Install” button to start the installation.
  • Page 26: Figure 30. Holtek E-Link32 Usb Driver Installation Introduction

    “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 (x86)\ ▀ Holtek HT32 Series\e-Link32 USB Driver”. Select the desired installation path and press the “Next”...
  • Page 27: Figure 32. Holtek E-Link32 Usb Driver Installation Completion

    IAR Plugin installation process. Figure 32. Holtek e-Link32 USB Driver Installation Completion If the Holtek e-Link32 IAR Plugin has already been installed, users are prompted to uninstall any ▀ older versions. Press the “Yes” button to continue.
  • Page 28: Figure 34. Holtek E-Link32 Iar Plugin Installation Introduction

    Pro User’s Guide Once the uninstallation has finished in the previous step, a Holtek e-Link32 IAR 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 Files\Holtek HT32 Series\e-Link32 ▀...
  • Page 29: Figure 36. Holtek Ht32 Iar Support Package Installation Introduction

    Pro User’s Guide Once the installation has finished, press the “Finish” button to enter the next Holtek HT32 IAR ▀ Support Package installation process, then press the “Next” button to continue. Figure 36. Holtek HT32 IAR Support Package Installation Introduction Once the installation has finished, press the “Finish”...
  • Page 30: E-Link32/E-Link32 Pro With Iar Ewarm Setup And Use

    Pro User’s Guide If the e-Link32 Pro is connected, a connection device 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.
  • Page 31: Figure 40. Iar Debugger Selection

    Pro User’s Guide Click “Debugger” to select “RDI” for e-Link32 or select “CMSIS DAP” for e-Link32 Pro. ▀ Figure 40. IAR Debugger Selection Rev. 1.30 31 of 34 November 13, 2020...
  • Page 32: Figure 41. Iar E-Link32 Debugger Setup

    Pro User’s Guide Setting the selected debugger. ▀ Check wheather “e-Link32_rdi.dll” is selected in “Manufacturer RDI driver” for e-Link32 RDI. Figure 41. IAR e-Link32 Debugger Setup Rev. 1.30 32 of 34 November 13, 2020...
  • Page 33: Figure 42. Iar E-Link32 Pro Debugger Setup

    Pro User’s Guide Switch 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. Figure 43. IAR e-Link32 Debugger Function Table Figure 44.
  • Page 34 However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used 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 application that may present a risk to human life due to malfunction or otherwise.

This manual is also suitable for:

E-link32 pro

Table of Contents