The bootloader will install your application by means of the TFTP protocol. There is no need to change your application code. Per default DHCP is used for obtaining the ip-address.
The limitation for the firmware file to be uploaded is given by the RAM available:
MCU | RAM | Firmware size |
---|---|---|
GD32F107RC | 96K | 74K |
GD32F207RG | 256K | 234K |
GD32F207VC | 128K | 106K |
GD32F407RE | 128K | 106K |
GD32F450VI | 512K | 224K |
There is a sample Java UI available for installing the firmware: GD32F-Firmware-Update-UI