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
  • "Well, when you have multiple processors trying to communicate, sometimes things can go askew."

    This is precisely why protocol stacks are expensive!

    It has been said that only, say, 10% of the development work goes into handling the case where everything goes right - the other 95% goes into handling all the possible failure conditions!

    "I could put tests into every point where I wait for a reply"

    There is no "could" about it - you must have those tests!

    "or I could just set a long duration (say 10 second) timer and have the timer ISR reset the protocol handler"

    Well, if you're happy that your comms keeps locking up for 10s at a time...

Reply
  • "Well, when you have multiple processors trying to communicate, sometimes things can go askew."

    This is precisely why protocol stacks are expensive!

    It has been said that only, say, 10% of the development work goes into handling the case where everything goes right - the other 95% goes into handling all the possible failure conditions!

    "I could put tests into every point where I wait for a reply"

    There is no "could" about it - you must have those tests!

    "or I could just set a long duration (say 10 second) timer and have the timer ISR reset the protocol handler"

    Well, if you're happy that your comms keeps locking up for 10s at a time...

Children
No data