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

RTX51Tiny process restart

Is there a recommended method for restarting an RTX51Tiny process in case of hoseup - something less drastic than restarting the entire processor (e.g. via a watchdog)? I have several interlocking processes that may lose synchronization, and want to be able to restart them as a last resort, say from a monitor process or long-duration timer interrupt.

Parents
  • It is possible that the host can drop off in the middle of a tranmission, in which case I have to reset the protocols and go back to waiting for contact initiation.

    Well, that's not a hose-up. That's just a plain vanilla protocol time-out. How exactly that has to be handled depends on the details of the protocol, and potentially on the reasons for the time-out.

    Other than that, the only possible comment is that well, all the trivial things have long since been done by others, so guess what's left for you ;-)

Reply
  • It is possible that the host can drop off in the middle of a tranmission, in which case I have to reset the protocols and go back to waiting for contact initiation.

    Well, that's not a hose-up. That's just a plain vanilla protocol time-out. How exactly that has to be handled depends on the details of the protocol, and potentially on the reasons for the time-out.

    Other than that, the only possible comment is that well, all the trivial things have long since been done by others, so guess what's left for you ;-)

Children