[Mini58] FMC AP2AP

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

16 Jun 2020, 14:28

  • 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
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 52 guests