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
  • Thanks my friends ,

    Finally I used watchdog reset to get rid of this problem
    At the first line of the bootloader I check one address of the flash .
    If it is 0xFF then I go to the bootloader program and if is something else (0xAA) go to the application.
    At the start of programming , the mentioned flash address is set to 0xFF .
    if the bootloader has been able to completely program the application , at the final transmission , the mentioned flash address is set to 0xAA .

    Thanks again

Reply
  • Thanks my friends ,

    Finally I used watchdog reset to get rid of this problem
    At the first line of the bootloader I check one address of the flash .
    If it is 0xFF then I go to the bootloader program and if is something else (0xAA) go to the application.
    At the start of programming , the mentioned flash address is set to 0xFF .
    if the bootloader has been able to completely program the application , at the final transmission , the mentioned flash address is set to 0xAA .

    Thanks again

Children
No data