ECU Interface Base Package

External and on-target bypassing

The ECU Interface Base Package provides real-time access to production ECUs during RCP, HIL, and field test.

Application Areas

For rapid control prototyping (RCP), hardware-in-the-loop (HIL), function-in-the-loop (FIL), vehicle-in-the loop (VIL), and ECU (electronic control unit) field tests, real-time access to ECUs is crucial. For a guaranteed real-time access, the existing ECU code has to be prepared to allow additional functionalities to be mapped to it. These functionalities can be executed by using external real-time hardware or even directly on the original ECU (on-target). When developing new ECU software functionalities, an incremental development based on existing ECU hardware and software is common. The dSPACE tool chain for ECU interfacing allows new functionalities to be mapped into the existing ECU by using the external or the on-target bypassing approach. When testing a production ECU with a HIL system, internal states of the ECU can be captured synchronously to become part of the running real-time test. Furthermore, very complex, unavailable, or unaccessible sensors can be simulated. Even partial or complete ECU software tests (FIL in the laboratory and VIL in the vehicle) are possible by directly connecting a plant or environment simulation that runs on real-time hardware to the ECU without the need to connect the full I/O. During a field test, the functionality of an ECU is tested in a real environment. In case an error is detected in the ECU software (e.g., incorrect internal variable value), it is possible to quickly fix it by using on-target bypassing. Afterwards, the test-drive can continue. To cover all these scenarios, dSPACE provides a comprehensive ECU interface software tool chain which is based on the ECU Interface Base Package. 

Key Benefits

The dSPACE ECU Interface Software allows for interfacing to existing ECUs without knowledge of the original implementation details. It differentiates between preparing the ECU software for ECU interfacing and implementing new functionality as well as external and on-target bypassing. The ECU Interface Base Package, which contains the ECU Interface Manager for software preparation and the RTI Bypass Blockset for function implementation, enables the access to ECUs that have been already prepared for ECU interfacing with external dSPACE hardware. An optional Binary Code Management Module lets you prepare the binary code of a microcontroller for ECU interfacing. The optional On-Target Module together with the target compiler enables the RTI Bypass Blockset to build an application of a new model-based function for the microcontroller. Therefore, it merges the new function code with existing ECU code to run completely on the target ECU, without extra hardware. For optimization, it allows you to use fragmented memory areas and even free up space by overwriting unused functions. This way, you can use the limited ECU resources more efficiently. To increase efficiency even further or if there is a strong focus on production, you can use the certified production code generator TargetLink.

Module Description
ECU Interface Base Package
  • Contains the ECU Interface Manager for software preparation and the RTI Bypass Blockset
  • Supports external ECU interfacing on the following dSPACE systems:
    • Non-SCALEXIO systems, i.e., systems for which the real-time application is implemented with RTI and the RTI Bypass Blockset
    • SCALEXIO systems, i.e., systems, for which the real-time application is implemented with ConfigurationDesk
  • Supports on-target ECU bypassing, i.e., applications implemented with RTI and the RTI Bypass Blockset that are executed on the target ECU
  • Import, analysis and examination of binary ECU code
  • Provides dSPACE ECU Services that support the DCI-GSI2 and generic XCP for ECU Interfacing
Binary Code Management Module (target-specific)
  • Optional module for the ECU Interface Base Package
  • Insertion of dSPACE ECU Services on a binary code basis for external and on-target ECU interfacing
  • Available for Infineon TriCore (including the latest AURIX 2G/TC3xx), NXP (Freescale) MPC5xxx, STMicroelectronics SPC5xxx, and Renesas V850/RH850
On-Target Module (target-specific)
  • Optional module for the ECU Interface Base Package
  • Implementation of Simulink and TargetLink bypass functions on a specific target ECU with existing dSPACE ECU services
  • Requires an additional HighTec compiler (target-specific)
  • Available for Infi neon TriCore (including the latest AURIX 2G/TC3xx), NXP (Freescale) MPC5xxx, STMicroelectronics SPC5xxx, Renesas V850/RH850, and ARM Cortex R4/R5
Compiler (target-specific)

Depending on the microcontroller, one of the following C compilers is required:

  • HighTec compiler (target-specific): For Infineon TriCore (including the latest AURIX 2G/TC3xx), NXP (Freescale) MPC5xxx, STMicroelectronics SPC5xxx, and Renesas V850/RH850
  • GNU compiler collection: For ARM Cortex R4/R5

  • ECU Interface Base Package Product Information, PDF, English, 1009 KB
Documentation Contact Information

Drive innovation forward. Always on the pulse of technology development.

Subscribe to our expert knowledge. Learn from our successful project examples. Keep up to date on simulation and validation. Subscribe to/manage dSPACE direct and aerospace & defense now.

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.