STM32-MCU Remote Programming Method in Real-world Experimental Environment Based on LabVIEW
The process of remote programming of STM32 microcontroller units(MCUs)poses a unique challenge in the realm of remote reality experiments.In this paper,a LabVIEW-based 1-N client/server architecture using TCP/IP is pro-posed to solve the problem of reliable transmission of HEX files and information interaction during the programming process.The server utilizes the official ST-LINK interface function to implement the actual programming process of STM32 MCU in IAP mode.Through this architecture,IAP HEX programming of multiple STM32 devices can be achieved,enabling the re-mote transmission and programming of MCU firmware required for remote real-world experiments.The results of experi-ments demonstrate that this approach is effective in enriching the content of remote reality experiments.