打印
[DemoCode下载]

[M480] Using IAP to Upgrade APROM and SPI Flash

[复制链接]
298|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
奔跑的牛|  楼主 | 2022-1-17 15:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
AD, AN, pi


  • 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

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

认证:新唐科技
简介:新唐科技晶圆代工(源自于华邦电子六英寸晶圆厂)座落于台湾新竹科学园区内,月产能为45,000片,自1992年起,拥有超过20年晶圆代工服务经验,于2008年自华邦电子分割后,完全专注于晶圆代工。新唐晶圆代工厂目前提供0.35微米以上工艺,包括一般逻辑(Generic Logic)、混合信号(Mixed Signal)、高压(High Voltage)、超高压(Ultra High Voltage)、电源管理(Power Management)、Mask ROM (Flat Cell)、嵌入式记忆体(embedded Logic Non-Volatile Memory)与客制化工艺(如:IGBT, MOSFET, TVS, BioChip, Pressure Sensor, and Light Sensor)等。

253

主题

785

帖子

45

粉丝