Vehicle Networks & Communication

COM Debugging Guide

Trace AUTOSAR COM behavior from software component interfaces to CAN communication, separating signal interpretation, configuration, routing, and system integration faults.

Engineering model

How COM fits together

AUTOSAR COM provides signal-oriented communication services between software components and lower communication layers. Debugging therefore requires tracing the same signal through the RTE, COM configuration, PDU Router, and CAN, while checking the ARXML, DBC, and requirements against observed behavior. The key question is whether the defect is in the software value, the configured communication path, the CAN representation, or a network gateway transformation.

Core concepts

The parts of a practical COM setup

01

Signal ownership and interpretation

COM transports signal values, but the producing software component, the RTE interface, the COM configuration, and the DBC each describe different parts of the path. A useful investigation keeps the application value separate from its encoded CAN representation.

02

PDU routing path

PduR connects upper and lower communication layers. Its configured route determines whether a PDU can leave or enter the expected path, making it central when a signal is correct in software but absent or incorrect on CAN.

03

Configuration consistency

ARXML, DBC, and requirements provide related but non-identical views of communication behavior. Debugging depends on checking identifiers, signal definitions, direction, and expected behavior across these inputs rather than trusting one artifact in isolation.

04

Gateway behavior

A network gateway can receive communication on one CAN network and transmit it on another, potentially routing or modifying messages. A gateway investigation must compare the source message, the configured route, and the destination message.

Build a traceable COM signal path

Start with the complete path rather than with the first implausible value seen on CAN.

  1. 01

    Define the expected behavior

    Use the requirements to state which software component produces or consumes the signal, the expected value, and the intended CAN communication behavior.

  2. 02

    Locate the software interface

    Use the RTE model to identify the application-facing interface and determine whether the observed value is already incorrect before COM processing.

  3. 03

    Check COM configuration

    Confirm that the signal belongs to the intended communication structure and that its configured direction and association match the intended behavior.

  4. 04

    Follow the PDU route

    Check that PduR connects the relevant upper and lower communication layers and that the route leads to the expected CAN path.

  5. 05

    Compare the CAN result

    Use the DBC to decode the transmitted message and compare the decoded signal with the software-side value and the requirement.

Separate value faults from path faults

The same visible symptom can result from an incorrect value, a missing route, or a mismatch between communication descriptions.

ObservationLikely investigation focusReasoning
The software-side value is already implausibleRTE interface and producing software componentThe communication stack may be transporting an input that was incorrect before COM processing.
The software-side value is correct but CAN is incorrectCOM configuration and DBC interpretationThe value may be associated with the wrong communication definition or represented differently than expected.
The signal is absent from CANPduR route and lower communication pathA missing or incorrect route can prevent the expected PDU from reaching CAN.
The source CAN message is correct but the destination is wrongNetwork gateway route and gateway transformationThe fault may be between the source and destination CAN networks rather than in the original signal producer.

Treat each observation as evidence about a boundary. A mismatch appearing for the first time between two boundaries narrows the investigation; a mismatch already present at the first boundary points toward the producing side or its requirement interpretation.

Check the configuration chain

Configuration defects often arise because related artifacts describe the same communication behavior with different identifiers or assumptions.

  • Compare the ARXML communication model with the intended software component interface and the relevant COM configuration.
  • Check that the DBC message and signal definitions correspond to the CAN communication being investigated.
  • Use the requirements to determine the intended direction, value behavior, and system expectation instead of inferring intent from an observed trace.
  • Confirm that the PduR route connects the configured upper and lower communication layers for the intended path.
  • When a gateway is involved, compare the source and destination CAN definitions independently; do not assume that a matching signal name proves an equivalent message.

Investigate incorrect CAN signal values

An implausible or unexpected decoded value should be reduced to a comparison between the requirement, software value, configured communication, and DBC result.

  1. 01

    State the discrepancy precisely

    Capture the expected value from the requirements, the value at the software-facing interface, and the value decoded from CAN.

  2. 02

    Check the producing side

    Determine whether the RTE-facing value already differs from the requirement or system state.

  3. 03

    Check the COM association

    Verify that the software signal is connected to the intended communication definition and not to a different configured signal or PDU.

  4. 04

    Check the CAN interpretation

    Revisit the DBC message and signal definition used to decode the observed CAN communication.

  5. 05

    Repeat under a controlled condition

    Test a condition with a known expected value and compare all available observations again, recording whether the discrepancy moves or remains at the same boundary.

Avoid correcting the DBC merely because the decoded value looks wrong. First establish whether the DBC disagrees with the requirements and ARXML, or whether the implementation is producing a value that the DBC is correctly decoding.

Investigate missing or misrouted gateway communication

Gateway issues require separate checks for reception, routing, transformation, and transmission on the destination CAN network.

  • Verify that the source CAN message is present and carries the expected signal value.
  • Confirm that the gateway configuration identifies the intended source and destination CAN networks.
  • Check the PduR and COM relationships used by the gateway-related communication path.
  • Compare the destination message against its own DBC definition rather than decoding it with the source definition by assumption.
  • If the destination message is present but modified, compare the source and destination requirements before deciding whether the change is incorrect.
Gateway observationWhat it establishesWhat remains unproven
Source message is absentThe fault is upstream of destination transmissionWhether the gateway route itself is configured correctly
Source message is present; destination message is absentThe issue is after source reception or before destination transmissionWhether the source and destination definitions are compatible
Destination message is present with an unexpected valueThe destination path is activeWhether the gateway or the destination decoding caused the discrepancy
Destination message matches the expected valueThe observed path behaved correctly for that test conditionWhether other conditions or signals have the same behavior

Use a disciplined debug record

A compact evidence record prevents configuration changes from obscuring the original failure and makes integration support more useful.

  1. 01

    Record the input set

    List the ARXML, DBC, and requirements versions or revisions used for the investigation.

  2. 02

    Record each boundary

    Capture the relevant RTE-facing value, COM observation, PduR route result, source CAN message, and destination CAN message when a gateway is involved.

  3. 03

    Mark the first mismatch

    Identify the earliest boundary where observed behavior diverges from the expected behavior.

  4. 04

    Change one cause at a time

    When configuring or implementing a correction, keep the test condition and comparison points stable.

  5. 05

    Retest the original symptom

    Confirm whether the same incorrect CAN signal value or CAN gateway issue remains, and note any new discrepancy separately.

This record supports both debugging and integration support because it distinguishes an observed failure from an unverified assumption about the communication path.

Validate the correction

A correction is credible only when the complete path behaves as required, not merely when one observation looks plausible.

  • Retest the software-facing value and the CAN value for the same condition.
  • Check both directions when the communication path supports production and consumption.
  • For gateway behavior, inspect the source and destination CAN networks independently.
  • Compare the result with the requirements and the relevant ARXML and DBC definitions.
  • Preserve evidence for the original failure and the corrected behavior in the integration record.

Engineering pitfalls

Common mistakes

  1. Starting from the CAN trace only

    A CAN trace shows the network representation, not necessarily the value at the RTE or COM boundary. Trace the value backward before changing the DBC or CAN-facing configuration.

  2. Treating ARXML and DBC as interchangeable

    ARXML models AUTOSAR configuration and DBC defines CAN messages and signals. Compare their intended relationships; do not assume one artifact validates the other automatically.

  3. Assuming a missing signal is a value defect

    An absent signal may indicate a PduR or gateway path problem rather than an incorrect application value. First establish whether the expected PDU was transmitted at all.

  4. Using signal names as identity

    A matching name does not prove that source and destination CAN definitions, communication direction, or gateway behavior are equivalent.

  5. Changing several configuration inputs at once

    Multiple simultaneous changes remove the boundary evidence needed to locate the first mismatch. Isolate changes and retest the original condition.

  6. Treating one successful observation as proof

    A correct value under one condition does not prove that the complete COM path or gateway route is correct. Repeat the comparison against the stated requirements.

FAQ

COM questions

What is the first boundary to check when a CAN signal value is incorrect?
Check the value at the software-facing RTE interface and compare it with the requirements. Then compare that observation with COM processing and the CAN value to locate the first mismatch.
How can an engineer distinguish a COM problem from a PduR problem?
Establish whether the signal and its communication structure are correct in COM, then check whether PduR provides the intended connection between the upper and lower communication layers. A correct software-side value with no expected CAN communication makes the route a primary investigation point.
Why should the DBC be checked during COM debugging?
The DBC defines how CAN messages and signals are interpreted. Comparing it with the ARXML and requirements helps determine whether an unexpected value is an implementation issue or a decoding-definition mismatch.
What evidence is needed for a CAN gateway issue?
Compare the source CAN message, the configured gateway path, and the destination CAN message. Record whether the message is missing, routed to the wrong network, or present with an unexpected value.
Can a correct CAN value prove that COM is configured correctly?
No. It proves only that the observed condition produced the expected CAN result. The software-side value, COM relationship, PduR route, and requirements still need to be consistent for the investigated path.

Engineering support

Discuss a COM Project

Need focused COM debugging support? Get help tracing signal paths, reviewing ARXML and DBC consistency, and isolating CAN integration faults.