This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex M3 bootloader vs. LPC24xx bootloader

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?

Parents
  • John,

    One major difference between an ARM7 device and a Cortex-M3 is the content of the vector table: when you jump to application in an ARM7, you can expect code inside the vector table, so you can jump to its beginning and know you are correct. The vector table of a Cortex-M3 needs to be dereferenced in order to retrieve the entry point to the application.

Reply
  • John,

    One major difference between an ARM7 device and a Cortex-M3 is the content of the vector table: when you jump to application in an ARM7, you can expect code inside the vector table, so you can jump to its beginning and know you are correct. The vector table of a Cortex-M3 needs to be dereferenced in order to retrieve the entry point to the application.

Children