HT32 Holtek Microcontroller Development Environment Setup Tutorial
Preface
I’ve recently been preparing for the Holtek Cup competition. While studying Holtek’s official PPTs and datasheets, I decided to write this development-environment setup guide for Holtek MCUs.
The competition board is the ESK32-30501, which uses the HT32F52352 MCU.
Holtek Cup official site: https://url.zeruns.com/S7xu8
Holtek HT32F52352 teaching slides: https://url.zeruns.com/r5Jt0 Extraction code: m9kj
Electronics / MCU technical discussion group: 2169025065
Preparation
First install Keil MDK-ARM; I won’t detail that here—search online or follow Holtek’s guide. Holtek provides a Keil license valid for Holtek Arm® Cortex-M0+ MCUs; tutorial link: https://url.zeruns.com/kwuFg
All required software and firmware libraries are packed here: https://url.zeruns.com/HT32 Extraction code: 55bv
Purchase links for required items:
ESK32 board: https://s.click.taobao.com/ndAFyKu
DAPLINK: https://s.click.taobao.com/Lt4FyKu
Dupont wires: https://s.click.taobao.com/QVTFyKu
Environment Setup
Install the flash tool HT32 ICP Tool: run e-Link32_Pro_ICP_Tool_v030.exe from the downloaded archive, click “Next” until finished. This also installs the e-Link32 driver. Launch HT32 ICP Tool, connect the board, select the MCU model in the lower-right corner, click Read, and verify communication.
Download the tool from Holtek: https://url.zeruns.com/GEWtC
Install the HT32 Keil support package: double-click Holtek.HT32_DFP.latest.pack inside HT32_STD_5xxxx_FWLib_V1.3.4_6737.zip, click “Next” until finished.
For other Holtek MCUs or newer versions, visit: https://url.zeruns.com/HT32F52352
Install HT32 Virtual COM driver: run HT32_VCP_Driver_v121b.exe, click “Next” until finished. This driver provides the virtual serial port for e-Link32.
Install HT32init: run HT32init_V109beta.exe, click “Next” until finished. It’s a graphical configuration tool similar to STM32CubeMX that generates initialization code.
Environment Check
Installation is now complete. Connect the Holtek board to your PC via USB. Right-click “This PC” → Properties → Device Manager and verify the devices shown.
![]()
Launch Keil µVision5; it may auto-detect the new pack. If not, click the button shown.
Programming Test
Finally, create a project to verify one-click download. If creating from scratch is difficult, modify an official example—located in the HT32_STD_5xxxx_FWLib_V1.3.4_6737.zip library.
Library usage guide:
The ESK32-30501 board has two LEDs on PC14 and PC15 for testing.
Edit the GPIO/Output example in the firmware library as shown in the red boxes, then compile and download to light the LEDs.
Result:
Pre-modified project with SysTick-based delay: https://url.zeruns.com/CCJv2 Extraction code: 7p2r
Recommended Reading
- Cost-effective & cheap VPS/cloud server recommendations: https://blog.zeruns.com/archives/383.html
- How to build a personal blog: https://blog.zeruns.com/archives/218.html
- Minecraft server setup tutorial: https://blog.zeruns.com/tag/mc/
- STM32 reading SHT3x temperature & humidity sensor: https://blog.zeruns.com/archives/700.html
- Replace Keil with VSCode for STM32 and 51 development: https://blog.zeruns.com/archives/690.html



















