Debug Management - Holtek HT32 Manualline

Mcu
Hide thumbs Also See for HT32:
Table of Contents

Advertisement

The BOOT pin status is sampled during a power-on reset or a system reset. Once the logic value on
these pins has been determined, the first 4 words of the vector will be remapped to the corresponding
source according to the boot mode.

Debug Management

The host/target interface is composed of hardware connecting the host PC to the application circuit
board. This interface consists of three parts, a hardware debug tool, an SWD connector and a cable
which connects the host PC to the debugging tool.
The connection between the host PC and the development board is shown below.
The debug tool, e-Link32 Lite, has been embedded into the HT32 development board, therefore the
development board can be connected to the PC directly using a USB cable.
SWD Port - Serial Wire Debug
The HT32 series core includes an integrated Serial Wire Debug Port (SW-DP) interface. This port
is an Arm
Pins and Debug Port Pins
The number of the available pins varies with different HT32 MCU packages. Refer to the pin
assignment diagram in the corresponding datasheet for more detailed information.
1. Serial Wire Debug, SWD, pin assignment
The SWD pin assignment of most HT32 packages are the same.
Pin Name
2. SWD pin assignment
After a reset (SYSRESETn or PORESETn), these pins will be assigned as the dedicated pins
immediately for use by the host PC which runs the debug software.
The MCU can use the SWD pins as General-Purpose Input/Output (GPIO) pins. Refer to the
GPIO and AFIO sections in the corresponding datasheet for more detailed information.
AN0630EN V1.00
HT32 MCU Hardware Development Guideline
Host PC
®
standard CoreSight™ debug port with two pins, which are clock and data pins.
SWD
SWD Port
Type
Debug Assignment
SWDIO
I/O
Serial wire data input/output
SWCLK
I
8 / 12
SWD connector
Debugging tool
Development board
Pin Assignment
Serial wire clock
Power
PA13
PA12
December 15, 2022

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32 and is the answer not in the manual?

This manual is also suitable for:

Ht32f52352

Table of Contents