MISRA-C Version 2
Text from Hitex UK Press Release, 15th September 2004.
When MISRA-C was launched in 1998 it was the UK automotive coding guidelines for C in vehicles.The original guidelines were an easy-to-read, 128 rules for writing C so that it was safer. Now it is used worldwide in virtually every embedded field from aerospace to mining. Many development tools support it and many compiler vendors have changed their library source to be MISRA-C compliant!
Like most first versions it was not perfect though. For the last four years a core team of software engineers has been working with the SAE, JSAE, JAMA, ISO-C panels and many experts in the embedded and software engineering industry (not just the automotive industry) as well as the software tools industry, to produce the second version.
Now, the second edition has arrived in the shape of "MISRA-C:2004".
What have we (Hitex UK is one of the principal authors) changed? In MISRA-C2, we have attempted to refine the document in a number of ways:
We have replaced general blanket rules with specific targeted rules.
We have replaced "as appropriate" rules with definitive do / do not rules.
We have introduced rules for arithmetic operations, which provide a sound base for simple and robust statements.
We have 121 mandatory and 20 advisory rules.
We have removed 15 rules, which did not make sense.
We have split complex rules into component parts.
We have attempted to remain compatible with MISRA-C1, to prevent MISRA-C1 code needing to be modified to conform to MISRA-C2.
If you wish to purchase the guidelines they are available from Hitex UK at £25, please go to their webshop at:
© www.AutoEMC.net 2004 TOP OF PAGE HOME