AN050
GD32 USBFS&USBHS Firmware Library User Guide
39
};
The functions of each function are shown in the following
Table 5-15. DFU user interface
Table 5-15
. DFU user interface functions
Function name
Functional description
flash_if_init
Memory medium interface initialization
flash_if_deinit
Memory medium interface deinitialization
flash_if_erase
Memory medium erase operation
flash_if_write
Memory medium write operation
flash_if_read
Memory medium read operation
flash_if_checkaddr
Memory medium address legal check
FLASH_IF_STRING
Interface string
DFU Routine operation guide
Download the DFU rountine to EVAL board, a newly added device is visible in device manager.
Figure 5-13. DFU device class
Open GD32-All-In-One-Programmer software, if device is successfully connected to host,
DFU interface would display connected state and display connected device type. The
software function is mainly consist of download, upload and option byte operation.