User Tools

Site Tools


manual:ports:arm7_lpc2000

This is an old revision of the document!


ARM7 LPC2000

Vector table location

The bootloader itself occupies the location where normally the user program's vector table is located. The vector table in the user program therefore needs to be relocated. The bootloader implementation is such that the user program's vector table must be located at address 0x00002000 instead of the standard 0x00000000.

The vector table relocation can be achieved by changing the ROM start address in the linker descriptor file. Refer to the demo program for an example.

Reserved RAM

When the bootloader detects a valid user program, it copies the user program's vector table from 0x00002000 in internal flash to 0x40000000 in RAM and configures the ARM7 CPU to make use of this RAM vector table.

For the user program this means that the first 64 in RAM cannot be used. This area can be reserved in the linker descriptor file. Refer to the demo program for an example.

manual/ports/arm7_lpc2000.1322300415.txt.gz ยท Last modified: 2019/09/24 22:14 (external edit)