Hello,
I am tasked with porting my LPC2478 bootloader to a LPC1768. I have read the documentation and I'm fully aware of the differences in boot behavior but I just can't get it right - here is the problem: Once my bootloader jumps to applicaton, the processor treats (as far as I could tell) the beginning of the vector table as code - not fetching the initial SP and the reset vector (=execution start address) followed by a jump to that address. It goes on, until an STM instruction is executed to internal flash - after which it is all over. This is only my second day really working with an LPC1768 - can you clarify what I'm doing wrong?
OK, I got it. You just need to program the stack pointer and the initial PC for the application by hand, just like the processor does after reset.
Whew, what a relief.