牛卧堂MCU技术交流

标题: [Mini58] FMC AP2AP [打印本页]

作者: admin    时间: 2022-3-15 15:05
标题: [Mini58] FMC AP2AP
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





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