This manual describes the in-circuit programming (ICP) and in-system programming (ISP) techniques for GD32F1 series MCUs and provides detailed programming steps and usage methods.
This document explains how to program and manage flash memory in GD32F1 series microcontrollers. It covers features like page erase, mass erase, word/half-word programming, and protection mechanisms. The manual details boot modes, memory organization by product line, and USART-based bootloader operations.
It includes tables for flash module organization across different product lines (Basic, Mainstream, Connectivity, Value) and describes how to configure boot sources using BOOT1 and BOOT0 pins or option bytes.
| Flash Memory Size | Up to 3072 KB |
|---|---|
| Read Access | 32 bits per cycle with zero wait state |
| Programming | Word (32 bits) or Half-word (16 bits) |
| Boot Modes | Main Flash Memory, System Memory, On-chip SRAM |
| Bootloader Interface | USART and USB |
Set the OB_RDPT option byte and perform a power-on reset to reload the new OB_RDPT option byte.
The USART protocol is used to activate the embedded bootloader for reprogramming the Flash memory.