We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
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.