Content originally posted in LPCWare by chiong.lai on Tue Jun 03 23:26:29 MST 2014
Hello,
I have implemented a bootloader, a main app for M4 and another main app for M0 to be run on lpc4337, all from internal flash bank A. When the device is power up or reset, it will first run the bootloader at address 0x1A000000. My issue is when I want to jump from bootloader to M4 main app at 0x1A010000, it stopped running (most likely the ISR). From my understanding, I need to setup the VTOR, SP and PC for the proper jump to my M4 main app. Can anyone please provide some guidance?
Removing the bootloader and replace it with M4 main app at address 0x1A000000 works (both M4 and M0) running well.
Regards,
CC