Content originally posted in LPCWare by nil on Mon Feb 02 09:45:31 MST 2015 Hi , I also have the same problem.At the time of jump my controller going to reset.If you any solution please help me.
and i try this code found in doc an10866 but run BL again
__asm void boot_jump( uint32_t address ){
LDR SP, [R0];Load new stack pointer address
LDR PC, [R0, #4];Load new program counter address
}
void execute_user_code(void)
{
/* Change the Vector Table to the USER_FLASH_START
in case the user application uses interrupts */
SCB->VTOR = FLASH_PROG_AREA_START & 0x1FFFFF80;
boot_jump(FLASH_PROG_AREA_START);
}
FLASH_PROG_AREA_START is 0x6000
in debug mode : user_code_entry is 0x27D but jump to 0x27C!!!!!!