SEARCH
TOOLBOX
LANGUAGES
modified on 10 April 2012 at 19:46 ••• 3,829 views

Lincoln NVIC Vector Table Relocation Example

From Manuals

Revision as of 19:46, 10 April 2012 by Support (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Compatibility Lincoln 60, Lincoln 60E

This example demonstrates how to relocate the vector table. The Vector Table will be remapped to the new address VTOR_OFFSET. In ROM mode: Vector Table will be initialized at 0x00000000. In RAM mode: Vector Table will be initialized at 0x10000000. So, the vector table will be copied from the init address to new address. The first UART, which is connected to the COM1 on the Lincoln microcontroller board, is configured for 115,200 bits per second, and 8-n-1 mode. When the program is started a message will be printed to the terminal.