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

JUMP Problem when using RTX RTOS

Hi all ,

Using Uvision4 & LPC1768 & RTX RTOS ,
I want to jump to 0x10000 of the flash.
Before running RTX , there is no problem but after using os_sys_init(APP_TaskStart) , when trying to jump , there is a hardfault . How could I jump while RTX is running ?

By the way , Is there a way to disable RTX ?

Parents
  • OS or not shouldn't matter. A jump to address 0x10000 is just a jump. Basically every function call you make is also a jump (except that you then often want to return).

    So maybe you aren't telling us everything. Like if this is a boot loader + application, where you want/need to redefine the interrupt vector table or reinitialize the stack or heap or something.

    Please give some actual context to what that jump really represent for the software architecture of your program.

Reply
  • OS or not shouldn't matter. A jump to address 0x10000 is just a jump. Basically every function call you make is also a jump (except that you then often want to return).

    So maybe you aren't telling us everything. Like if this is a boot loader + application, where you want/need to redefine the interrupt vector table or reinitialize the stack or heap or something.

    Please give some actual context to what that jump really represent for the software architecture of your program.

Children
No data