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 :
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 !
Thank you for help
you might check this article first : http://www.keil.com/support/docs/3913.htm
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
=> 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 ?