This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bootloader RTX jump RTX app

Hello !

I am working on bootloader application using RTX on mdk 5.

The bootloader load the user application using Ethernet communication and proceed to the jump after a reset.

When i use an simple blinky example and modify the BCA, the jump WORKS WELL !

BUT If I use an RTX application, the jump don't works.

I used the bootloader's vendor (without RTX) the jump to my RTX application works..

I suspect that RTX application erased some thing at initialization

Some one already seen that before

Board used : FRDM K64F

IDE : mdk 5

Parents
  • ScottH gave you the code you need, you left out the:

    __set_CONTROL(0x00000000);

    This is needed if you are jumping from a thread in your bootloader. If your in a thread, the process stack will be used. This instructions sets the main stack as the active stack which is needed when you jump to the reset vector of the application as you want to use the main stack in the Reset Handler.

Reply
  • ScottH gave you the code you need, you left out the:

    __set_CONTROL(0x00000000);

    This is needed if you are jumping from a thread in your bootloader. If your in a thread, the process stack will be used. This instructions sets the main stack as the active stack which is needed when you jump to the reset vector of the application as you want to use the main stack in the Reset Handler.

Children