I write bootloader code
My board uses the external watchdog
And when the function
void JumpToUserApplication(uint32_t userStartup)
{
/ set up stack pointer / asm("ldr r1,[r0,#0]");
asm("mov sp,r1");
/ jump to application reset vector /
//asm("ADDS r0,r0,#0x04 ");
asm("ldr r0,[r0,#4]");
asm("blx r0");
}
is running, the board always reset because the external watchdog
Can you give me some advise
Thanks
I write bootloader code My board uses the external watchdog And when the function void JumpToUserApplication(uint32_t userStartup) { / set up stack pointer /
asm("ldr r1,[r0,#0]"); asm("mov sp,r1"); / jump to application reset vector / //asm("ADDS r0,r0,#0x04 "); asm("ldr r0,[r0,#4]"); asm("blx r0"); } is running, the board always reset because the external watchdog Can you give me some advise Thanks