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 jump to 0x0. just enable the watchdog and don't service it. this is the safest option. why not call your extra external code from a RTX task? what's wrong with that?
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.
Thanks for fast reply, The watchdog solution is perfect solution for the first question, thanks, Regarding the second question, I cannot call external code from RTX code because external code will erase the RTX code and upgrade the firmware.
By the way I am using LPC2478 processor,