Abstract:The problem that the program upgrade of domestic microcontroller terminal equipment needs to be disassembled, and a solution based on GD32 network online updating firmware is proposed, which allows the application software of terminal devices to be upgraded using a handheld controller, so as to achieve the purpose of updating the firmware program without emulator.The scheme discusses in detail the composition of the online update system,the principles of application programming techniques, and the design and implementation of the functions of the upper computer program, handheld controller and terminal equipment module, and gives the usage steps and methods of each module.The terminal equipment software using a multi-partition operation to ensure that the system remains functional even in the event of an exception during the upgrade process, preventing the module from becoming unusable.This greatly enhances the maintainability and fault tolerance of the online update system. The handheld controller is easy to upgrade and carry in the field, and maintenance is simple, convenient, and fast. Through experimental testing, it is discovered that the online firmware program for updating is successful, thereby resolving the difficulty of disassembling products in the field and updating the program with the emulator.