找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M480] Using IAP to Upgrade APROM and SPI Flash

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2022-1-17 15:00:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式


  • Application: This sample code uses IAP bootloader program to upgrade APROM and SPI Flash program.
  • BSP Version: M480 Series BSP CMSIS V3.03.000
  • Hardware: NuMaker-M487KM v1.0
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
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU