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
  • You want to make sure you are in the proper state before making the jump.

    You want to be in Privileged Thread Mode running on the the Master Stack.  IF you are running from an RTX thread, you are likely running on the User Stack.

    It is best to disable the SysTick Timer before the jump too.  You may want to consider disabling all individual interrupts.

Reply
  • You want to make sure you are in the proper state before making the jump.

    You want to be in Privileged Thread Mode running on the the Master Stack.  IF you are running from an RTX thread, you are likely running on the User Stack.

    It is best to disable the SysTick Timer before the jump too.  You may want to consider disabling all individual interrupts.

Children
No data