Length: 2 Days
Print Friendly, PDF & Email

C Programming and Coding Standards for Safety-Critical Systems

C programming is one of the oldest of the programming languages still in use today — C programming and coding standards language is also one of the most powerful.

C was originally designed as a system implementation language within Bell Labs and has since become one of the most popular programming languages in existence. It’s been used for developing operating systems, compilers, debuggers, and many other applications that involve low-level computer hardware interaction.

The power of the modern C programming and coding standards language comes from a number of different technical features.

The benefits of C programming and coding standards for safety-critical systems are considerable, such as:

  • Low overhead — No need for a huge Java Virtual Machine or other operating system component.
  • Standalone executable – This can be built with libraries linked in or an executable that uses dynamic libraries loaded at runtime. Both have their advantages and it is rare to have a language where you can pick and choose this.
  • Plays well with others — There is usually a way to call C modules from another program or incorporate its API into your code.
  • Suitable for real-time environments –Demanding usages where you have only so many microseconds to get the job done or the device fails. Don’t try this on an environment that requires garbage collection.
  • Writing concurrent programs – It’s possible to do this successfully with C programming with Posix threads or some of the newer standardized language elements.
  • Addresses devices directly — A huge proportion of device driver software is written in C because it does not require garbage collection like Java. You can address IO ports directlyand even absolute memory addresses, thus there is no need at all to use Assembly Language for drivers. The importance of this cannot be overemphasized.

Analysts refer to C programming as a “portable assembler,” and is used for low-level programming that can be compiled with different compilers. C’s efficiency makes it easy to write efficient code, which in turn improves runtime performance.

Its versatility enables programmers to take advantage of many libraries like OpenCV (computer vision), SQLite (database management system), and GTK+ (windowing toolkit).

Additionally, the C programming language is open-source, which means that the code is publicly available and each programmer can modify it to suit their needs. This also enables programmers to create libraries for public use based on particular preferences or problems they want to be solved.

C’s simple design leaves room for optimization opportunities: every detail of structured programming language.

C Programming and Coding Standards Course by Tonex

C Programming and Coding Standards for Safety-Critical Systems is a 2-day practical course for software engineers and programmers.  C is widely used in the development of software for embedded systems, safety-critical and hard-real-time systems.

Many reasons for the popularity of C in the embedded realm including easy access to hardware, low memory requirements, and efficient run-time performance.

Course Topics

C Safety Tools and Techniques

  • C coding hazards, root causes, and the methods
  • Analysis of C safety coding requirements and design
  • C safety modeling
  • Proven C programming practices
  • Critical C issues with potential insecure or unsafe software
  • Steps to safer C code

Analyzing Safety Critical C Applications

  • C Coding Safety Definitions and Concepts
  • Overview of Key C Safety Programming Rues
  • C Language Safety Life Cycle

C Safety Design Requirements

  • Coding Standards Improve C Safety
  • Compliance Checking
  • Qualifying the C Standard Library for use in safety-critical ISO 26262 applications
  • C Programming Safety Rules
  • Advisory
  • Required
  • Mandatory

C Coding Safety Industry Standards

  • MISRA C Developed by the Motor Industry Software Reliability Association
  • Rules for Developing Safety Critical Code in C
  • C-language guidelines to improve the safety and security of the application

Overview of C Static and Dynamic Analysis

  • Static and Dynamic Analysis Tools for C
  • C Safety Programming and Coding Cheat Sheet and Checklis

Workshop

  • Software Failure Modes, Effects and Diagnostics Analysis Statistics
  • Safety critical systems in C language
  • Analyzing SIL-2 Level Safety Requirements for C (embedded ECU + RTOS)
  • C development, the MISRA C standard supports
  • Overview of 158 MISRA C rules and 17 directives for a total of 175 guidelines. Amendment 2 to MISRA C:2012
  • Enforcing MISRA C Compliance with Static Analysis

 

C Programming and Coding Standards

Request More Information

Please enter contact information followed by your questions, comments and/or request(s):
  • Please complete the following form and a Tonex Training Specialist will contact you as soon as is possible.

    * Indicates required fields

  • This field is for validation purposes and should be left unchanged.

Request More Information

  • Please complete the following form and a Tonex Training Specialist will contact you as soon as is possible.

    * Indicates required fields

  • This field is for validation purposes and should be left unchanged.