In certain specialized applications,the control circuits are encapsulated or installed in dispersed locations,and the on-site updating via a programmer is impractical.This paper proposes a remote firmware upgrading solution for STM32 control circuits by utilizing IAP(In Application Programming).The proposed approach integrates IAPtechnology,the RS-485 communication protocol and the Ymodem transfer protocol to ensure real-time program updating and reliable data transmission.The eperimental results show that this design scheme achieves high success rate in online upgrading and excellent integrity file transfering.
关键词
远程程序升级/嵌入式系统/控制电路/STM32/IAP
Key words
Remote program upgrading/Embedded system/Control circuit/STM32/IAP