CANoe.J1939Development & Test Tool CANoe.J1939
Simulation, Development and Test of J1939 Systems
SAE J1939 is a communication protocol based on CAN for real-time data exchange between control units in the area of commercial vehicles. It originates from the international Society of Automotive Engineers (SAE) and operates on the physical layer with high-speed CAN per ISO 11898. J1939 is a multimaster system with decentralized network management and primarily connection-less communication.
Using CANoe.J1939 from the very beginning allows the developer to use the same tool through the entire development process, from planning to realization. The models created in the design phase and checked by simulation are continually reused in other forms. It is possible to use the models to verify the implementation and later for functional end-of-line testing.
It is not necessary for the user to become familiar with the J1939 protocol, instead concentrate on the actual task of creating a simulation or data analysis. This significantly increases the quality of the development process and the efficiency of data analysis.
- Integrated configuration, analysis, simulation and test tool for electronic components in commercial vehicles from a single source
- Extended CAPL interface for modeling J1939 systems
- Fast device development by use of databases with predefined standard objects
- Comfortable programming interface reduces the familiarization with the J1939 specification
|CANoe.J1939 expands the standard functionality of CANoe with:|
|•||Support of the transport protocols BAM, CMDT and Fast Packet|
|•||Support for CAN FD (according to J1939-17 and J1939-22)|
|•||Graphic display of the network nodes (scanner)|
|•||Protocol-specific display, checks, interpretation, filters and search functions in the Trace window|
|•||J1939 Filter in the measurement setup|
|•||Rapid simulation of ECUs|
|•||Diagnostic Trouble Code Monitor (DTC Monitor)|
|•||OBD Inspection and Maintenance Monitor|
|•||Diagnostic Memory window|
|•||J1939-82 Compliance Test (revision 2015)|
|•||GNSS Simulator and GNSS Monitor|
|•||Support of J1939 AUTOSAR 4.2.2 System Descriptions|
Because of its simulation capabilities, CANoe .J1939 is well-suited to the development, design and verification of J1939 networks. Its practical application as a diagnostic and debugging tool is just as feasible as its use in simulating the rest of the bus during startup or assembly. Especially the J1939-82 Compliance Test Unit (2015) supports the user in preparing integration and module tests.
Since the SAE J1939 specification is the basis for other networks such as
- NMEA 2000®,
- ISO 11783,
- ISO 11992 (Truck & Trailer),
- FMS (Fleet Management System) and
- GB/T 27930,
the Option can be used in those applications as well. In combination with further CANoe options it offers a uniform approach to systems that extend across bus boundaries with a common time base.
CANoe .J1939 allows the user to monitor communication on the symbolic level in a trace window, where the parameter groups transmitted are displayed. All relevant information is output in separate columns, such as the parameter group number, priority, source and destination addresses as well as protocol interpretation in text form.
Individual subject areas such as transport protocols, network management and diagnostics are color coded. In particular, highlighting of protocol violations help to assure J1939-conformant communication.
Additional functions such as the topic-based analysis filter, context search and the column filters of the trace window make it easier to find specific parameter groups.
Trace Window: Protocol-specific Information
Trace Window: Analysis Filter
CANoe .J1939 makes simulation and analysis of network data of control unit networks possible by using the J1939 communication protocol.
The system environment is modeled by means of system variables and graphic interactive control panels. The different network nodes are simulated by the J1939 Interaction Layer based on the communication relationships in the data-base.
In addition, various J1939 libraries are available for the CAPL programming language, which extend CAPL with additional functions.
Compliance Test | Revision 2015
To cover the test scenarios defined in the new J1939-82 Compliance document (release 2015), a test unit is provided, which is created using vTESTstudio and a specialized window. All data relevant for test execution are conveniently managed directly in the window J1939.CT_Configurator provided for this purpose.
Detailed and exact test protocols provide a clear overview of the test procedure and results, which considerably simplifies subsequent error analysis.
The following components are available for easy handling of the diagnostic protocol defined in J1939:
- DTC Monitor
The DTC Monitor offers a simple interface to the J1939 diagnostic protocol. Without programming error codes (DTC – Diagnostic Trouble Codes) and diagnostic messages can be displayed or queried on demand. A button can be used to jump from a selected error code to the respective position in the Trace window.
In addition, working with Freeze Frames (extended information from fault memory) is supported. This makes the DTC Monitor very useful for emission related or powertrain diagnostics. The results can readily be exported to other applications using the Clipboard.
- Diagnostic Memory Access
The Diagnostic Memory Access Window (DiagMemAcc) gives the user direct access to the memory areas of an ECU. This memory may be an error memory or program code, for example. Addressing is performed with the help of parameter numbers (Suspect Parameter Numbers) or an address. The window is based on the diagnostic ser-vices DM14, DM15, DM16 and DM18. Authentication is realized with a manufacturer-specific Seed & Key DLL or a Seed & Key procedure can be implemented in CAPL. The support of diagnostic service DM13 (Start/Stop broadcast) also enables temporary reduction of the network load.
- OBD I/M Monitor
The “OBD Inspection and Maintenance Monitor” supports the ECU developer and integrator in emissions-related tests. It is used to initiate internal ECU tests and display their results. The Monitor is based on the diagnostic services DM5, DM7, DM8, DM10, DM21, DM26 and DM30.
For OEM-specific diagnostic protocols, the Diagnostic Feature Set (KWP2000 and UDS) is available. This enables support of networks with dynamic ECU addresses as well.
The Option J1939 aids in development, analysis and testing of the transfer of safety-critical data in compliance with the SAE J1939 standard.
The Trace Window monitors the transfer of safety-critical data.
The testing of communication as per SAE 1939-76 is also supported by the Test Feature Set. By carrying out a background test, wrong checksums, invalid counter values and violations of the time intervals during a test can be detected.
Messages can be configured in the database in such a way that they are automatically sent safeguarded using the J1939 Interaction Layer. For this purpose, when a message is sent, either a dedicated Safety Header Message as per SAE 1939-76 is placed in front or the checksum and counter contained in the message are calculated.
Functions which simplify the calculation, setting and querying of checksums are also available in CAPL.
Option .J1939 supports the transport protocols
- CMDT and
- Fast Packet.
With the use of this protocols CANoe. J1939 can reassemble the individual fragments. Communication is monitored for errors during measurement and, if necessary, warnings are output. Protocol interpretation is limited to the channel the user configured as J1939. Gateway solutions with various protocols can thus be monitored easily. Display of 29 and 11 bit CAN identifiers is supported at the same time.
CANoe.J1939 supports J1939 based on CAN FD according to standards J1939-17 and J1939-22.
CAN FD enables transmission rates of the user data of 2000 kBaud with a length of up to 64 bytes. This increases the throughput compared to classical CAN (250 or 500 kBaud, 8 bytes), so that either the bus load can be reduced or the number of participants can be increased.
FD.TPs, Multi-PGs and Contained-PGs (C-PGs) are clearly visualized in Trace Windows. Protocol violations are detected and displayed. Protocol specific properties can be additionally analyzed in Detailed View.
For each individual parameter group it can be defined whether it is transmitted with FD.TP as well as a Contained-PG with Multi-PG or as a single CAN (FD) frame.
Transmission strategies such as threshold and/or delay of Multi-PGs, maximum delay for individual C-PGs as well as Type of Service and Trailer Format values of individual parameter groups can be configured in the DBC and later adjusted at runtime via the CAPL functions. If required, assurance data can be defined and analyzed. Various possibilities for fault injection are also available.
J1939 parameter groups and signals are described in a database, which already contains predefined standard objects that serve as examples. The user can expand the database using the CANdb++ editor (included with delivery). This makes it possible to define application-specific parameter groups (Proprietary PGs), for example.
The CANdb++ Editor was specially extended for use in the J1939 environment with dialogs and additional views to make creation and verification considerably easier for the user. Parameter groups and signals thus defined can be selected symbolically in the entire program.
Don't feel like reading? Then take a look at the videos.
Learn to know in a step-by-step tool demonstration how to analyse the J1939 data traffic in the Trace Window of CANoe .J1939.
CANoe .J1939 Seminars
CANoe .J1939 provides a variety of possibilities for simulating, developing and testing J1939 systems.
But only those who are familiar with these options can fully tap the potential and save time and money.
Take advantage of our training and education offers in order to make even more efficient use of CANoe .J1939 in your day-to-day work!