Hello everyone.
First of all please forgive me my bad English.
I'm quite new to programming microcontrollers never the less i'd like to run a boot loader, that loads an application on LPC11u68.
Let's say I want to locate demos_switch_blinky in flash at 0x2000 and want to execute it by running a boot loader. Am I right to store 0x2000 in VTOR-register, update sp and finally branch there? Like this:
ldr r0, =0xE000ED08 /*VTOR*/
ldr r1, =0x20000 /*base adress of application in flash*/
str r1, [r0]
ldr r0, [r1]
mov sp, r0
ldr r0, [r1, #4]
bx r0
But how can I locate an application at a certain address in flash with lpcxpresso explicitly?
many thanks for any help in advance