Safety & Security
MISRA C:2012 ensures automotive software safety
First published in 1998, MISRA C provided some badly needed guidance to engineers, who often had limited experience in software engineering, at a time when software reliability was becoming a critical issue. In the beginning it was a modest initiative within the UK motor industry, but it rapidly developed into a de-facto standard in software quality.
Today, MISRA C:2004 is in use in nearly every area of the automotive industry where software is being developed. It is also present in safety critical applications in almost every industry throughout the world; defence, aerospace, railways, nuclear and process industries as well as commercial applications. In fact everywhere robust code is a critical necessity.
So, with MISRA C now the most widely used coding standard for the C language, why did MISRA decide to develop a new version? There were several reasons: support for C99, responding to user feedback and an acknowledgement that improvements could be made.
So what are the key differences compared to the previous version?
- The language: C has continued to evolve and support is now provided for C99 as well as the C90 standard.
- Rule classification: The addition of a new Mandatory rule class
- Rule compliance and enforceability: enhancements to ensure, that wherever possible, rules are amenable to automatic enforcement.
- Improved rule definition: More rigorous definitions with comprehensive explanations and rationales.
Support for C99
The C language shows no signs of relinquishing its popularity and continues to be heavily used in safety critical software development where reliability is a prime concern.
Back in 2004 there were few compilers and tools that supported C99 and therefore a decision was made to retain a commitment to C90, albeit a conservative approach.
Today the world has moved on, and despite reservations about the wisdom of certain developments in C99, it was decided at the outset of the project, that MISRA C:2012 should no longer stipulate conformance to C90.
- No news
- Wireless charging - a more cost-effective approach
- Continental goes Silicon Valley, grabs Google guru
- In-vehicle infotainment steps up to USB3, adds wireless charging
- Audi makes the leap to 48V supply
- Infineon closes technology gap through International Rectifier takeover
- Next-gen HiFi competition takes place in the car
- Tesla, Panasonic sign Gigafactory agreement
- Tools out of the 3D printer conquer car production
- Audi, BMW, Daimler drive open source measurement data management
- Vehicle-to-Vehicle: snapshot of the NHTSA report
- BMW invoke fast battery chargers to spark EV sales
- Volvo opens proving ground for next-gen car technology
- Automotive/industrial buck controller maintains efficiency at high conversion ratios
- HMI design tool supports OpenGL ES 3.0
- Voltage regulators connect directly to car battery
- Making cars safer through technology innovation
- Supplying DC input power for HEV testing
- NSR Noise Suppressors: Wirewound Resistors
- Virtual Hardware “In-the-Loop”: Earlier Testing for Automotive Applications
- Open Standards and Product Differentiation
- Camera Solutions with Micrel Power Management and Networking
- Deterministic Real-Time Ethernet Platform