Jump to content

Redundant Microcontroller Programming

Recommended Posts


I want to build a code for two TIVA lauchpads so as to form a redundant pair. If Launchpad 1 fails, then the logic should shift to Launchpad 2 where both launchpads have the same logic. How do I go about it? Any insights would be helpful.

Link to post
Share on other sites

A shortcut might be to use the TI Hercules series processors, sporting an ARM Cortex-R series chip with dual-core lock-step execution for safety purposes.  That requires a specific workflow using their HALCoGen software to generate a CCS project and then utilizing CCS to do your programming, and HALCoGen provides the peripheral driver library, but it might solve your design problem neatly.  They do have several reasonably-priced LaunchPads for sale including a more recent ARM Cortex-R5F based board with a lot of pins.  I've personally tinkered with the original Hercules TMS570LS0432 based launchpad myself.

Link to post
Share on other sites

I once did a medical grade project, the designer chose to have very extensive redundancy.

- Three different brand micro controllers were used

- Code was written non-shared

- Every task was handled by two controllers redundantly

All of this to avoid silicon bugs, programming bugs, quality issues, etc.


If you want to have a "spare" kind of redundancy - one fails, other takes over, replace first while online - you should still use an additional arbitrating control. Depending on where you can still afford redundancy.

If you have a certain indicator LED that is vital for your function, consider putting in two LEDs; one to each controller.

If you have some kind of actuator (e.g.: motor), have some majority voting in place. Or consider using open-drain control, so if either controller fails, the other still drives the line.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...