GigaDevice GD32F1 Series MCU Programming Flash Memory Manual

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.


GigaDevice GD32F1 Series MCU Programming Flash Memory Manual - cover page
Brand
GigaDevice
Category
microcontrollers
Document type
Programming Manual
Language
English
Pages
18
File format
PDF
File size
231 KB
Published
17 October, 2023
Updated
17 October, 2023
MD5 checksum
56F03531B5D8C592FDF80D2E76BE5A9E

About this manual

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.

What's inside

  • Introduction
  • Main Features
  • Function Description
  • On-chip Flash Memory
  • Flash Memory Characteristics
  • In-Circuit Programming (ICP)
  • In-System Programming (ISP)
  • USART Protocol of Bootloader
  • Reading Flash Memory
  • Programming Flash Memory

Specifications

Flash Memory SizeUp to 3072 KB
Read Access32 bits per cycle with zero wait state
ProgrammingWord (32 bits) or Half-word (16 bits)
Boot ModesMain Flash Memory, System Memory, On-chip SRAM
Bootloader InterfaceUSART and USB

Frequently asked questions

How do you enable read protection?

Set the OB_RDPT option byte and perform a power-on reset to reload the new OB_RDPT option byte.

What is the USART protocol used for bootloader communication?

The USART protocol is used to activate the embedded bootloader for reprogramming the Flash memory.

Download PDF (231 KB)

More GigaDevice Manuals


View all GigaDevice manuals →