找回密码
 立即注册

QQ登录

只需一步,快速开始

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

[Mini58] FMC AP2AP

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2022-3-15 15:05:58 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
  • Application: Jump between two independent applications
  • BSP Version: Mini58 Series CMSIS BSP v3.00.003
  • Hardware: NuTiny-EVB-MINI58-LQFP48 V1.0 board
The NuMicro Mini58TM series is equipped with 16K/32K bytes APROM for application. This example shows two independent applications located on different address of APROM can jump to each other.

In this example, the R/O (Read-Only) base of application 1 is 0x0, while the R/O base of application 2 is 0x4000. By Arm ® CortexTM-M0 architecture, the interrupt vector table must be located at memory address 0x0 for CPU to trap the exceptions. In case of application 2 whose execution address is 0x4000, an exception can make CPU fetch the unexpected interrupt vector because address 0x0 is not the code area of application 2. To solve this issue, NuMicro Mini58TM FMC supports “Vector Remap” command, which can remap one APROM page to memory address 0x0. In this way, application 2 runs at address 0x4000 can have interrupts trapped by CPU.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1220171140
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

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

本版积分规则

新唐MCU