需要确认注册邮箱后才能开通博客,立即确认我的邮箱
文章 搜索 高级搜索 ?3? ?3?
  • 滤波器new!
  • LED驱动 new!
  • 新能源 new!
  • PLL
  • PCIE协议
  • 可穿戴
  • LSI
  • FCI
文章 论坛 博客 小组 研讨会
EDN电子技术论坛>博客 >yueleilei博客 >MISRA C

yueleilei的博客——yueleilei's Blog

博主:yueleilei???? ???? ????
介绍: 82年生人。
在小公司做硬件工程师。
现在用Eagle进行原理图和PCB设计。

文章(201)???? 访问(389077)???? 评论(209)???? 投票(224)???? 订阅本博??

博文列表查看方式: ???

MISRA C
发布时间:2011-07-16 22:50:53
技术类别:嵌入式
需要确认注册邮箱后才能下载,立即确认我的邮箱

A?brief history of MISRA?C

MISRA was originally established as a collaboration between vehicle manufacturers, component suppliers and engineering consultancies, and seeks to promote best practice in developing safety-related electronic systems in road vehicles and other embedded systems. To this end MISRA publishes documents that provide accessible information for engineers and management, and holds events to permit the exchange of experiences between practitioners.

As part of these activities, MISRA C was first published in 1998. The intention was to provide a "restricted subset of a standardized structured language" as required in the 1994 MISRA Guidelines for automotive systems being developed to meet the requirements of Safety Integrity Level (SIL) 2 and above.

Since its launch in 1998, the uptake and usage of MISRA C has far exceeded the authors's original expectations. MISRA C was originally developed to support the language requirements of the 1994 MISRA Guidelines, as noted above. Since that time, however, MISRA C has been adopted and used across a wide variety of industries and applications including the rail, aerospace, military and medical sectors. Furthermore, a significant number of tools are available that support enforcing the MISRA C rules. In Japan, a Japanese translation of MISRA C has been published by JSAE, and the MISRA C Study Group have produced a book (in Japanese) giving detailed explanations of the rules and additional code examples.

MISRA?C2

A considerable amount of feedback on MISRA C was received and it was recognized that a revision was appropriate, in particular to address the following:

  • Ensuring that the language used is consistent with the standard language
  • Replacing generalized rules for Undefined Behaviour with specific rules targeted at Undefined Behaviour only
  • Ensuring "one rule, one issue"; i.e. complex rules are split into atomic rules for ease of compliance
  • Adding to and improving the code examples
  • Removing the option for tool-less use.

In updating MISRA C, the aim was to avoid new material and to ensure backwards compatibility with the earlier version (MISRA?C1 / MISRA C:1998) where possible.

The second version of MISRA C is known as MISRA C:2004 and is titled "Guidelines for the use of the C language in critical systems."

In July 2007 an Exemplar Suite was released. This is a set of code examples that demonstrate conforming and non-conforming code for the majority of the MISRA?C?rules. This Exemplar Suite is of value to users both in understanding the rules and also in evaluating the performance of rule-checking tools, although in this respect it must be understood that the Exemplar Suite is not a conformance testing suite.

In July 2007 a Technical Corrigendum was also issued, giving updates based on some of the most commonly-asked questions and also issues identified during the development of the Exemplar Suite. When MISRA?C2 was reprinted in June 2008, the opportunity was taken to incorporate the text of the Technical Corrigendum.

Future directions

Work towards MISRA?C3, expected to be published late 2011, is currently ongoing. As well as introducing additional rules to further enhance rule coverage of C?language issues, MISRA?C3 will also provide support for C99 language issues.

标签:??
分享到:? 新浪微博 ?? 微信 ??


打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮

1.扫描左侧二维码
2.点击右上角的分享按钮
3.选择分享给朋友
qq空间 ?? 腾讯微博 ?? 人人网 ?? 百度搜藏 ??
??????有[ 0 ]名读者喜欢此文
阅读(955)?? 评论(0)?? 收藏??I?? 打印??I?? 推荐到小组??I?? 转发到我的博客 (0)
对不起,您还没有登录,请先登录注册
上一篇:单片机C语言-最小系统 .

下一篇:ISO(POSIX)的 typedef

最近到访博主
胖螃蟹
牛人有话说 - MISRA C
美国的游客 (您将以游客身份发表,请登录 | ?注册)
?
你还可以输入1000
验证码:
分享: 新浪微博?? qq空间?? qq微博?? 人人网?? 百度搜藏??
?
有 [ 0 ] 名读者发表评论 - MISRA C
转发到我的博客
评论?@yueleilei's Blog?的“MISRA C”
AbriefhistoryofMISRACMISRAwasoriginallyestablishedasacollaborationbetweenvehiclemanufacturers,componentsuppliersandengineeringconsultancies,andseeksto...
你还可以输入30000
同时评论给?yueleilei
????
快速回复
?
你还可以输入1000
????
引用回复
引用评论?
?
你还可以输入1000
????
博主资料

硬件设计

个人文章分类
文章存档
最新评论
阅读排行
yueleilei的好友
yueleilei的小组???? 加入小组
PADS(PowerPCB)答疑区
成员325名
创建者:cocappjj 连接器 成员13名
创建者:yueleilei arduino 成员15名
创建者:yueleilei 成员28名
创建者:yueleilei <汽车电子硬件设计>书友会 成员435名
创建者:yulzhu ORCAD硬件设计仿真 成员2235名
创建者:wang1jin MAKE 成员153名
创建者:邵子扬 layout技术小组 成员259名
创建者:飞侠
展开
最新网络博文
TQ210 WINCE 大分辨率不启动的问题
决战在即:量子点与OLED谁主沉浮?
基于HDRS平台的太阳能发电设备远程故...
例说FPGA连载4:FPGA语言与厂商介绍
加速创新,努比亚突破摩尔定律
? 更多博文>>
返回博客首页
有问题请反馈