7 years, 6 months ago.

Reliability. Reinitializing key control registers.

Creating reliable embedded applications is of course a big topic. One of the recommendations you often see, from respectable sources, is that you should periodically reinitialize key control registers to help guard against random bit flips (from cosmic rays or other sources).

Is there a good way to do this with the mbed os 5 drivers? The normal way to handle this would be to create initialization functions that can be called at startup and can be recalled at any point to reinitialize the control registers to the correct state.

Do mbed drivers generally have init functions that can be called again to safely reinitialize a module?

Should objects be destroyed and recreated periodically? This makes me worry about subtle memory issues over time.

Some other approach?

Do you think it is even worth worrying about this re initialization issue?

Graham

Be the first to answer this question.