AeroCoder
Open the tools

DO-178C HANDBOOK · CONTENTS

DO-178C HANDBOOK

/

Tools & Other Supplements

Tool Qualification (DO-330)

When a tool needs qualifying, criteria 1–3, TQL-1 to TQL-5 and the qualification data.

Desk summary

  • 01A tool needs qualifying only when it eliminates, reduces or automates a DO-178C process and nobody verifies its output as Section 6 would require (DO-178C §12.2).
  • 02DO-178C sorts tools by impact, not by life cycle phase: Criterion 1 can insert an error, Criterion 2 is a verification tool whose result also lets you drop other processes, Criterion 3 can only fail to detect an error.
  • 03Criterion plus software level gives a Tool Qualification Level, TQL-1 (most rigour) to TQL-5 (least). DO-330 then says what to do at each TQL.
  • 04Qualification is never a stand-alone approval: it is granted inside a certification project, for a specific use, version and operational environment.
  • 05DO-330 splits the work between the tool user (Tool Operational Requirements, installation, validation in context) and the tool developer (the tool’s own life cycle). Vendor qualification kits cover the developer side; the user side is still yours.
  • 06On model-based projects, the code generator is the classic Criterion 1 tool; model checkers, model coverage tools and code-to-model inspectors are Criterion 3 or, when they replace several activities, Criterion 2.

Intuition

Think of it like a calibrated torque wrench

A mechanic does not re-measure every bolt with a second instrument; the wrench is trusted because it has been calibrated. If nobody calibrated it, someone has to check every bolt by hand. Tool qualification is the calibration certificate for a software tool. You need it only when you plan to skip the hand-check: if you review or test the tool’s output anyway, the tool does not need a certificate, because its mistakes would be caught downstream.

Do I need to qualify this tool?

Projects use dozens of tools: requirements managers, modelling environments, code generators, compilers, static analysers, test harnesses, coverage analysers, configuration management systems. Most of them never need qualifying. The question to ask is not “is this tool important?” but “which DO-178C activity am I not doing by hand because I trust this tool?” If the answer is “none, because we verify its output”, there is nothing to qualify.

Worked example

Same tool, two answers

A team uses a MISRA-style coding-rule checker. Project 1 still performs a full manual source code review against the coding standard and uses the checker only to find issues early: no credit, no qualification. Project 2 removes the coding-standard portion of its code review checklist and relies on the checker’s report instead: the checker now automates part of the Table A-5 “conformance to standards” activity without its output being independently verified, so it must be qualified (normally Criterion 3).

The three criteria and the TQL table

DO-178B had two tool types, development tools and verification tools, and people tended to classify by life cycle phase rather than by what could actually go wrong. DO-178C §12.2.2 replaces them with three impact-based criteria:

Criterion 1

The tool’s output becomes part of the airborne software, so a tool bug can insert an error. Examples: code generators, configuration-file or parameter-data generators, and (if you took credit for them) compilers and linkers. Roughly the old “development tool”.

Criterion 2

The tool automates verification and could therefore miss an error, and its result is used to justify reducing or eliminating other verification processes or development processes that could affect the airborne software. New in DO-178C. Example: a static analyser whose proof of absence of overflow is used both to replace part of code review and to drop overflow-protection logic from the design.

Criterion 3

Within its intended use, the tool can only fail to detect an error. Examples: structural coverage analysers, test harnesses that compare expected and actual results, coding-standard checkers, trace checkers. Roughly the old “verification tool”.

Tool Qualification Level by criterion and software level (DO-178C §12.2.2; cross-checked with DO-330 and AMC 20-115D)

Software levelCriterion 1Criterion 2Criterion 3
ATQL-1TQL-4TQL-5
BTQL-2TQL-4TQL-5
CTQL-3TQL-5TQL-5
DTQL-4TQL-5TQL-5

Intuition

Why Criterion 2 exists

Think of Criterion 2 as a “super verification tool”. An ordinary verifier knocks out objectives from one Annex A table. A tool that proves absence of run-time errors and is also used to remove defensive design, or to cut testing, is carrying more of the safety argument. DO-178C asks for more insight into how such a tool was built (TQL-4 rather than TQL-5 at levels A and B) but not the full development-tool rigour of Criterion 1.

How DO-178B tool qualification maps to DO-178C TQLs (per DO-330 Annex D and AMC 20-115D)

DO-178B tool typeDO-178B levelDO-178C equivalent
Development toolA / B / C / DTQL-1 / TQL-2 / TQL-3 / TQL-4
Verification toolanyTQL-5 (Criterion 3, or Criterion 2 at C/D)
Criterion 2 tool (no DO-178B equivalent)A or BTQL-4

What DO-330 asks for at each TQL

DO-330 (Software Tool Qualification Considerations) is a stand-alone document written for tool developers who may know little about avionics. It mirrors DO-178C’s structure but swaps in tool vocabulary: Tool Operational Requirements (TOR) play the role of system requirements, tool requirements play HLRs, low-level tool requirements play LLRs, and the tool operational environment (workstation, OS, interfacing tools, manual steps) replaces the target computer. Its objectives sit in Annex A tables numbered T-0 to T-10.

Principal DO-330 data items (who usually produces them)

Data itemWhat it isTypical ownerNeeded at
TQP — Tool Qualification PlanHow qualification will be achieved: TQL, credit, roles, processesUser (or developer-TQP referenced by user)TQL-1–4; TQL-5 may be covered in the PSAC
TOR — Tool Operational RequirementsWhat the tool must do in this project’s process: inputs, outputs, options, environment, user instructionsUserAll TQLs
Tool plans and standards (development, verification, CM, QA)The tool developer’s own life cycle plansDeveloperTQL-1–4
Tool requirements, design, source and executableThe tool’s own engineering dataDeveloperTQL-1–4 (depth varies)
Tool verification cases, procedures and resultsEvidence that the tool meets its requirements and the TORDeveloper (TOR tests often by user)All TQLs (TOR-level only at TQL-5)
Tool Configuration Index / environment indexExact version, options and environment qualifiedBothAll TQLs
Tool installation reportEvidence the tool is correctly installed in the operational environmentUserAll TQLs
TAS — Tool Accomplishment SummaryCompliance summary, open problems and deviationsUser (or developer-TAS referenced)TQL-1–4; TQL-5 summarised in SAS
  • —TQL-5: no insight into the tool’s internals. You define the TOR, show the tool meets them in its operational environment, control its configuration and record the result. This is essentially what DO-178B required for verification tools, but stated as explicit objectives.
  • —TQL-4: adds tool requirements, an architecture view and requirements-based testing of the tool against them, plus robustness to error conditions.
  • —TQL-3 to TQL-1: progressively a full life cycle — low-level requirements, design, code reviews, and structural coverage of the tool’s own code: statement coverage at TQL-3, adding decision coverage at TQL-2 and MC/DC at TQL-1. DO-330 frames the coverage as a way to find unintended tool functionality, and does not require the source-to-object analysis that level A airborne software needs.

Note

Determinism, restated

DO-178B said only deterministic tools could be qualified, which some read as “byte-identical output every time”. DO-330 drops the word. For most tools it is enough to show that any variation in output is still correct and does not affect its use. For a tool whose output becomes part of the airborne software (Criterion 1), the same input in the same environment must still give the same output.

Tool user vs tool developer

Who does what under DO-330

Tool user (applicant side)

▸Establishes the qualification need, the criterion and the TQL (Table T-0).
▸Writes the TOR for this project’s use, including which options and settings are used.
▸Installs the tool in the operational environment and records it.
▸Validates that the TOR are sufficient and correct, and that the tool really meets the life cycle process needs.
▸Describes the tool in the PSAC/SAS and handles the liaison with the authority (Table T-10).

Tool developer (vendor or in-house team)

▸Plans and runs the tool’s life cycle (Tables T-1 to T-9).
▸Produces tool requirements, design, code and verification evidence to the TQL.
▸Identifies and verifies interfaces with external components (OS calls, third-party libraries).
▸Maintains problem reporting and notifies users of known defects.
▸Optionally packages a developer-TOR, developer-TQP, configuration index and developer-TAS for users to reference.

Pitfall

The qualification kit is not the qualification

Commercial qualification kits (developer-TOR, test suites, a template TQP and TAS) are valuable, but they describe the vendor’s generic intended use. Findings arise when a project drops the kit into its data without tailoring: the TOR do not mention the options actually used, the kit’s tests were never re-run on the project workstation, or the tool version in the SECI differs from the kit’s. The user-side objectives in T-0 and T-10 still have to be met by the applicant.

Reuse, COTS tools and multifunction tools

One of DO-330’s design goals was to let qualification credit travel between projects. DO-330 §11.2 considers four cases: tool and environment unchanged; same tool in a new environment; changed tool in the same environment; changed tool in a new environment. The more that changes, the more re-verification (and change impact analysis) is needed. Packaging the tool for reuse — clean TOR, automated qualification test suite, clear environment definition — is what makes reuse cheap.

  • —COTS tools (§11.3): at TQL-5 a COTS tool is straightforward because no internal data is needed. At TQL-1 to TQL-4 the developer’s life cycle data must exist and be made available; without it, qualification at those levels is not realistic.
  • —Multifunction tools (§11.1): each function gets its own TQL. Either develop the whole tool to the highest TQL or show that lower-TQL functions are protected from or disabled relative to the higher ones.
  • —Service history for tools (§11.4) and alternative methods (§11.5) are possible but must be justified and agreed with the authority early.
  • —Transition from DO-178B: AMC 20-115D/AC 20-115D let DO-178B-qualified development tools continue if their old level covers the new TQL; DO-178B verification tools map to TQL-5 and can continue, but a Criterion 2 tool at TQL-4 needs DO-330 qualification.

Tools in model-based development

Model-based development

Typical classifications on a DO-331 project

A model-based tool chain makes the criteria very concrete. The automatic code generator writes code that flies: Criterion 1, so TQL-1 at level A if you want credit for not reviewing or testing its output against the model. Most programs instead keep the generator unqualified and verify the generated code (source-to-model review, often automated by a code inspector tool, plus testing and coverage). The model coverage analyser, model standard checker and test harness are Criterion 3. A source-code-to-model inspector or an abstract-interpretation code prover can be Criterion 3 or Criterion 2 depending on how much credit is claimed. See Mapping Tools to Objectives and Code Generation.

Example tool list from a model-based reference project (helicopter flight control, level A)

Tool categoryUse on the projectCriterion claimedWhy
Modelling and simulation environmentBuilds the design modelsNone (no credit)Model is verified by review, simulation and analysis
Automatic C code generatorGenerates source code from the design modelNone (no credit)Generated code is verified per DO-331 §6; compiler is likewise unqualified
Model standard checkerChecks models against the Software Model Standard3Automates part of model review
Model coverage analyserModel coverage per DO-331 MB.6.73Could miss uncovered model elements
Source-to-model code inspectorAutomates source-code review against the model2Replaces manual code review and supports independence claims
Bug-finder / coding-rule checkerCoding standard and defect checks2Used against DO-331 and DO-333 code objectives
Abstract-interpretation code proverProves absence of run-time errors2Credit under DO-333 for source-code verification
Test management toolRuns requirements-based tests, compares results3Could pass a failing test

Practitioner tip

Say why a tool is NOT qualified

List every tool in the PSAC, including the ones you will not qualify, and give the reason (“output verified by review per Section 6”, “no credit taken”). The reference project’s PSAC does exactly this for its modeller, code generator and compiler. It lets the authority agree early and avoids a late discovery that a tool should have been qualified.

Common findings

Tool qualification self-check

0/9

What the auditor looks for

What the reviewer will ask

Show me the tool list in the PSAC. For this tool, which objective does it satisfy, and what would catch it if it were wrong? Where are the TOR, and do they cover the options you used? Which version is on the engineers’ machines today, and how do you know? What open problems does the vendor list, and did you assess them? A team that cannot explain what the tool actually does — “a fool with a tool is still a fool” — will not convince anyone.

Self-check

A level B project uses a static analyser to prove absence of divide-by-zero and overflow. It uses the result to remove part of the manual code review AND to delete the run-time overflow checks the design had specified. What TQL applies?

Sources & further reading

  • DO-178C §12.2 (tool qualification need, criteria and TQL)
  • DO-330, Software Tool Qualification Considerations (2011) — §10 data, §11 additional considerations, Annex A Tables T-0 to T-10
  • Rierson, Developing Safety-Critical Software (2013), ch. 13
  • FAA AC 20-115D (2017) and EASA AMC 20-115D — transition of DO-178B tool qualification to DO-330
  • FAA Order 8110.49A
  • DO-331 §MB.6 and DO-333 §FM.6 (credit claimed with model and formal-analysis tools)
  • Model-based DO-178C/DO-331 reference project: PSAC tool table and DO_06 tool qualification folders

← Previous

MBD Pitfalls & Auditor Findings

Model-Based Development (DO-331)

Next →

Object-Oriented Technology (DO-332)

Tools & Other Supplements

On this page

Do I need to qualify this tool?The three criteria and the TQL tableWhat DO-330 asks for at each TQLTool user vs tool developerReuse, COTS tools and multifunction toolsTools in model-based developmentCommon findings