GigaDevice GD32G5
Jump to navigation
Jump to search
The GigaDevice GD32G5 series are 32-bit general-purpose microcontrollers based on the ARM Cortex-M33 processor.
Flash Banks
Internal Flash
Flash Bank | Base address | Size | J-Link Support |
---|---|---|---|
Internal Flash | 0x08000000 | Up to 512 KB | ![]() |
Option Bytes 0 | 0x1FFF7800 | 48 B | ![]() |
Option Bytes 1 | 0x1FFFF800 | 48 B | ![]() |
OTP Bytes | 0x1FFF7000 | 2 KB | ![]() |
The option bytes are written via different addresses than the read addresses from the datasheet listed in the table above. The J-Link Flash Loader remaps those addresses transparently so they are still used for programming.
Note:
Writing 0xCC to the option byte at 0x1FFF7800 is an irreversible operation as this will make all option bytes including itself read-only.
Writing 0xCC to the option byte at 0x1FFF7800 is an irreversible operation as this will make all option bytes including itself read-only.
Watchdog Handling
- The device has two watchdogs: FWDGT (free watchdog) and WWDGT (window watchdog).
- Both watchdogs are fed during flash programming.
Device Specific Handling
Connect
- On Connect, protection level is checked. For further information regarding this, please click here.
Reset
- The device uses normal Cortex-M reset, no special handling necessary, like described here.
Evaluation Boards
Example Application
- GigaDevice GD32G553Q-EVAL binary counter