Getting Started
Getting Started
Getting Started
To get started with OpenECU, please follow this guide in selecting which third-party tools to use
with OpenECU and how to configure those tools with OpenECU (installation, licensing, environment
variables).
OpenECU developer software and ECUs are compatible with a third-party tools such as MATLAB, C
compilers and calibration tools. Carefully consider which tools are appropriate for you.
These can be installed after OpenECU but will then require some additional manual setup to work
correctly with OpenECU. If installed first, the OpenECU installer will update those tools as necessary.
3. Install OpenECU
4. License OpenECU
OpenECU software employs the same license manager as some third-party tools, and the setup may
be familiar to you. OpenECU licenses are issued by Pi.
Environment variables help OpenECU locate third party tools. If these are not correctly set, then
application builds may fail.
Each package comes with a simple example of construct an application and program the ECU.
Following the example will quickly determine whether tools have been correctly installed, licensed
and configured.
If you have used OpenECU before then some features in a newer version of OpenECU may have
changed, become deprecated or have been removed completely. Reading the release notes will tell
you what features of you application may be affected.
The searchable OpenECU User Guide (C-API) or OpenECU User Guide (Sim-API) provides
comprehensive reference information for hardware and software, examples and guidance. Please
consult the user guide for detailed help on all aspects of OpenECU.
Contact OpenECU support if you are unsure which tools to purchase or use.
OpenECU has been tested against the tool versions listed in the OpenECU Compatibility with Third
Party Tools document. If you are purchasing a new tool then you may find the vendor offers you the latest
version of their tool, rather than the version OpenECU has been tested against. It is important to request
a version of the tool that matches those tested against OpenECU, otherwise incompatibilities may arise.
Operating system
• Microsoft Windows
Modeling tools
A modeling tool allows the user to diagrammatically describe their application logic and control. That
tool generates source code which OpenECU automatically builds into an application using a compiler
•(next section).MATLAB/Simulink
Mathworks OpenECU supports the following modeling tools.
Note
Mathworks by default only gives the "latest" versions of its tools as downloads from their website,
which may not be the qualified version.
Because of this, you will need to install MATLAB using a ISO image for [Rxxxx]. That will install
the General Release for [Rxxx] without any updates.
Once installed, you will then need to manually update to [Rxxxx] [specific update] using the
installation package on MathWorks.com Only a License Administrator can download the ISO
and the update files.
mathworks.com/matlabcentral/answers/101103 [https://www.mathworks.com/matlabcentral/
answers/101103]
mathworks.com/matlabcentral/answers/456448 [https://www.mathworks.com/matlabcentral/
answers/456448]
Compilers
A compiler translates C source code (either written by hand or generated by a modeling tool) into
machine code that runs directly on the ECU.
All OpenECU targets use Freescale PowerPC microcontrollers. The M560 and M580 use an MPC5746C
for the primary microcontroller and SPC560P34 for the secondary microcontroller.
See the Technicical Specification for your target for more information.
Copyright 2021, 2
Getting started
OpenECU requires a tool to program (or “Flash”) the ECU with the application code from compilation.
Once programmed, the ECU will execute the application. Interaction with the executing application
requires a data logging or calibration tool to read and write information in the application.
These tools have been tested for reprogramming, data logging, and calibration capabilities. Some of
them have many other features which have not been tested with OpenECU.
• Pi Snoop
• ATI Vision
• ETAS INCA
• Vector CANape
Note
OpenECU developer software may not function correctly on encrypted drives. OpenECU
developer software must be able to create files on the host file system. If using an encrypted
drive, be sure that permission settings will allow OpenECU to create files. OpenECU cannot
provide support for issues with encrypted drives.
4. Configure licenses
Most of the third party tools include a license manager of some sort. Pi do not manage licenses for
these tools, they are issued by the third party vendor. Pi cannot provide support for licensing issues
with third party tools.
OpenECU developer software includes a license manager. Licenses are managed and issued by Pi.
Once OpenECU has been installed, please contact OpenECU support for a license by following the
instructions given in the HOSTID document or OpenECU Developer Software Installation and Release
Note, “License setup” for more detailed instructions.
See OpenECU Developer Software Installation and Release Note for more information on installing the
compiler and setting up the Windows environment.
Note
The environment variables must end with a trailing “\” character and not contain spaces. If the
install location for the compiler includes spaces then use the short DOS 8.3 format for the directory
name, e.g.:
D:\Progra~1\diab\5_9_6_7\win32\bin\
As well as introducing basic concepts about OpenECU, such as applications, programming ECUs and
calibration, following the quick start example will show up any issues.
The release notes detail what new features have been added and what fixes and improvements have
been made. The changes that are not backwards compatible are clearly marked, as are changes which
require a firmware upgrade to an ECU to become operational. The release notes also highlight which
features have been marked deprecated (will be removed in a future version of OpenECU) and which
features have been marked end-of-life (have been completely removed).
Copyright 2021, 5
Appendix A. Contact information
If you have questions, or are experiencing issues with OpenECU please see the websites:
If you still have questions after searching through the FAQ, or want to discuss sales or proposals, you
can contact main office:
Tel
+1 734 656 0140
Fax
+1 734 656 0141