uTasker / uTasker-Kinetis

uTasker V1.4.11 based open source version for Kinetis and STM32 parts
60 stars 35 forks source link

External watchdog #4

Closed huyrua291996 closed 6 years ago

huyrua291996 commented 6 years ago

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

uTasker commented 6 years ago

Hi This is not code from this project and it sounds as though your application is simply not running after it is jumped to. Regards Mark