牛卧堂MCU技术交流

标题: [M480] Using IAP to Upgrade APROM and SPI Flash [打印本页]

作者: admin    时间: 2022-1-17 15:00
标题: [M480] Using IAP to Upgrade APROM and SPI Flash


IAP (In-Application Programming) bootloader allows the M480 microcontrollers to update the program in other Flash address block. When using IAP, the M480 will point to the address of the bootloader program by vector table, and the program in other Flash address is able to be updated. When the upgrade is completed, the vector table will be redirected to the new program address to execute it.

After the APP in APROM is updated, the IAP allows APP to be called each other with system reset or without any reset. Some APPs do not need to be switched with system reset. At this time, as long as the stack pointer R13 is modified and the vector table is remapped, the APP will be switched and executed.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0913151930





欢迎光临 牛卧堂MCU技术交流 (http://www.nuvoton-mcu.com/) Powered by Discuz! X3.2