Monthly Archives: December 2019

Using exceptions in C++ embedded software

For several years I have been the lead developer of RepRapFirmware, which is firmware for 3D printers running ARM Cortex processors. Until recently I saw no compelling reason to use exceptions, so I compiled the firmware with gcc options -fno-exceptions … Continue reading

Posted in Embedded software | Tagged , , , , | 6 Comments

Dangerous failures

Sometimes, equipment that is supposed to be designed with safety in mind turns out to be unsafe. Here’s an example I came across a few years ago: a mains-powered smoke alarm installed in a top-floor flat:

Posted in Electronics | Tagged , | 1 Comment