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

How to exit the RTX kernel? Is there a function call for this?

I am using RL-RTX V3.20 in a project. I would like to exit the RTX kernel, but I cannot find the library function for this. Anybody can help?

Parents
  • Don't talk about "reset" together with "jump to address 0".

    Jumping to the start address of a processor has nothing at all to do with any reset. All you will manage to do is once more run the startup code, but the processor will remember all state information when jumping to the startup address. That means that enabled interrupt handlers will still be enabled. The startup code is written on the assumption that it will only be run by a processor coming out of reset...

    As Tamir notes, the normal way to soft-reset a processor is to force a watchdog reset, unless the processor has a dedicated bit or command that can be used to internally force a reset. If the processor has neither an internal bit/instruction nor a watchdog, then you will have to use an output pin to drive the external reset signal if you want a reset.

Reply
  • Don't talk about "reset" together with "jump to address 0".

    Jumping to the start address of a processor has nothing at all to do with any reset. All you will manage to do is once more run the startup code, but the processor will remember all state information when jumping to the startup address. That means that enabled interrupt handlers will still be enabled. The startup code is written on the assumption that it will only be run by a processor coming out of reset...

    As Tamir notes, the normal way to soft-reset a processor is to force a watchdog reset, unless the processor has a dedicated bit or command that can be used to internally force a reset. If the processor has neither an internal bit/instruction nor a watchdog, then you will have to use an output pin to drive the external reset signal if you want a reset.

Children
No data