5 ms·
Is there any coding standards like in aviation (DO-178) for cars?
by y04nn 11y ago
Is there any coding standards like in aviation (DO-178) for cars?
- reportingsjr 11y agoYes. Check out MISRA: https://en.wikipedia.org/wiki/Motor_Industry_Software_Reliability_Association https://en.wikipedia.org/wiki/Motor_Industry_Software_Reliab...
- deleted 11y ago[deleted]
- airplane 11y agoI don't know too much about vehicle side of things but my understanding is the following: MISRA is not on the same level as DO-178. DO-178 covers a lot of ground, from testing, documentation, requirements, that sort of thing, and it's made by a government agency which enforces it during certification, where every single hardware and software component in the aircraft related to flight operations is certified individually. So you will actually have engineers from the FAA sit down and look at code coverage, how requirements are written, how they map to tests, see if the tests cover a lot of cases in your requirements, see if the code implements the requirements, that sort of thing. MISRA on the other hand are treated like guidelines that car manufacturers generally want you to meet when you deliver them a vehicle component. There is the Federal Motor Vehicle Safety Standards you have to meet on a vehicle as a whole, but I do not know if they have to prove that they meet the following during a formal certification process. http://www.nhtsa.gov/cars/rules/import/FMVSS/ http://www.nhtsa.gov/cars/rules/import/FMVSS/ So as far as I know, there's big approval process at the end for vehicles, while there's a formal certification process for all components in an aircraft, as well as a big approval process at the end for aircraft. Someone please correct and fill in the blanks for the vehicle side of things.
- cju 11y agoThe scope is not the same as DO-178 but the nearest would be the Function Safety norm ISO 26262.
- kwhitefoot 11y agoYes, MISRA, but it doesn't help if it isn't followed which seemed to be what was discovered when the Toyota code was examined. And as there is no way to see the source or replicate the build process no one can easily tell if the guidelines have been followed.
- Tempest1981 11y agoMore on the Toyota software issue: https://news.ycombinator.com/item?id=9643204 https://news.ycombinator.com/item?id=9643204 Toyotas Unintended Acceleration and the Big Bowl of “Spaghetti” Code (2013) (safetyresearch.net) http://www.safetyresearch.net/blog/articles/toyota-unintended-acceleration-and-big-bowl-%E2%80%9Cspaghetti%E2%80%9D-code http://www.safetyresearch.net/blog/articles/toyota-unintende...