Hello !
I wrote a RTX bootloader at 0x0 using LAN Ethernet (for updating) and uart (for debuging) to jump to the USER application at 0x00080000 address.
I try the following with my boot :
https://github.com/UltimateHackingKeyboard/bootloader/tree/master/apps/led_demo/MK64F12/mdk/led_demo_freedom_a000
I changed the scatter file from 0x0000a000 to 0x00080000 and The jump works !
I copy the bootloader and modify it to get my USER APP.
The problem is that the bootloader jump again and again
If I use the bootloader from the github source the jump works !
https://github.com/UltimateHackingKeyboard/bootloader/tree/master/targets/MK64F12/mdk/freedom_bootloader
Thank you for help
you might check this article first : http://www.keil.com/support/docs/3913.htm
Hi !
I read this article before write the jump function.
I modified the bootloader but There is a HardFault after the jump...
My sources programs are in the following link
https://drive.google.com/open?id=13T5lvo5zAy4W6icKHSAMxPKaFmfpnz8Z
=> The bootloader jump to the blinky application succefully
=> The Kinetis example Bootloader jump to my User App succefully
=> My bootloader don't jump to the User App (with hardfault)
I suspect a bad linker in the scatter file of the User APP..
Does anyone have an idea ?