AN2659 Application note STM8 in-application programming (IAP) using a customized user-bootloader Introduction This application note is intended for STM8 firmware and system designers who need to implement an in-application programming (IAP) feature in the product th...
1、编译firmware时,从axf文件转换成bin文件并对bin文件进行加密处理; 2、通过PC机软件“固件升级”功能把加密后的bin文件下载到SPI Flash中; 3、ARM接收完毕新的固件并校验后设置固件升级信息,然后复位系统; 4、在ARM系统中,前4KB包含IAP(在线编程)程序。IAP在启动时首先检查固件升级信息区,如果有升级内容则根据信息...