You are on page 1of 140

Product Catalog

ECU Sof tware


ENGLISH
Date: May 2010 · Responsible for the contents: Vector Informatik GmbH, Stuttgart, Germany
All mentioned product names are either registered or unregistered trademarks of their respective owners. The constant worldwide availability of all products or services is not warranted.
No information contained in this catalog may be reproduced without expressed permission, in writing, from Vector Informatik GmbH.
Errors and omissions excepted.
Illustration & Design: SATZTEAM Fotosatz & Neue Medien GmbH, Eberdingen, Germany
Contents
General Information Vector – the Company 1/0
Bus Systems, Embedded Network Protocols,
Standards and appropriate Vector Products 1/2
Application Areas of the Vector Products 1/4
Use of Standardized Basic Software for ECUs 1/6
Projects and Services 1/8
Standard Software Integration Package 1/10

AUTOSAR Solutions for AUTOSAR 2/0


AUTOSAR Prototype Bundle 2/2
MICROSAR 2/6
MICROSAR OS 2/10
MICROSAR COM 2/12
MICROSAR CAN 2/14
MICROSAR FR 2/16
MICROSAR LIN 2/18
MICROSAR IP 2/20
MICROSAR MOST 2/22
MICROSAR MEM 2/24
MICROSAR SYS 2/26
MICROSAR DIAG 2/28
MICROSAR CAL 2/32
MICROSAR EXT 2/34
MICROSAR IO 2/36
MICROSAR RTE 2/38
Identity Manager for AUTOSAR 2/40
DaVinci Developer 2/42
DaVinci Component Tester 2/44
DaVinci Configurator Pro 2/48
DaVinci Configurator Kit 2/50
AUTOSAR Services 2/52

Communication Software Communication Software 3/0


CANbedded 3/2
CANbedded J1939 3/6
CANbedded LIN Communication 3/8
CANbedded Gateway 3/12
CANdesc 3/14
Communication Control Layer (CCL) 3/16
Identity Manager 3/18
GENy 3/20
CANopen Master Source Code 3/22
CANopen Slave Source Code 3/26
CANerator CANopen 3/28
XCP Professional 3/30

Operating Systems Operating Systems 4/0


osCAN 4/2
High Resolution Timer 4/4
TimingAnalyzer 4/6

Flashing Flash Memory Programming 5/0


Flash Bootloader 5/2
Security Component Option 5/4
Data Compression Option 5/5
EEPROM Emulations Modul (EepM) 5/6
Flashing with CCP and XCP 5/8
CANdelaFlash 5/10
CANditoFlash 5/12

Appendix Vector Academy 6/0


Index 6/2
Directions to Vector 6/8
Vector – the Company

1/0 Vector provides OEMs and suppliers of automotive and related


industries a professional and open development platform of tools,
software components and services for creating embedded systems.

Customers worldwide place their trust in the solutions and products


of the independent and self-contained Vector Group.

Reliable Partner with Quality


For many years, our customers have realized what they have in
Vector: a reliable and competent partner for efficient solutions in
electronic networking.

This reliability is based upon the factors below:


> Global unique processes and standards
> All Vector subsidiaries are certified according to ISO 9001:2000
> SPICE level 3 (HIS scope) reached in the area of ECU software
> CMMI maturity level 2 reached in the area of software services

Milestones / Key Data


1988 Founding of Vector Informatik GmbH High Customer Satisfaction
1992 Sale of the first CANalyzer license The delivery quality and delivery time as well as consulting compe-
1994 Vector has more than 25 employees tence from Sales, Support, and Consulting are not just maintained
1996 Sale of the first CANoe and CANape license on a high level, but are constantly being improved.
1997 Founding of Vector CANtech, Detroit/USA The success: our customers judge us on a scale of 1 to 5 (where 1 is
1998 Founding of Vector Japan, Tokyo/Japan, the best grade and 5 the worst) with an average grade of 1.6.
Vector Informatik is DIN EN ISO 9001:1994 certified
1999 Vector has more than 100 employees worldwide Excellent Working Atmosphere
2001 Move to the new company building in Stuttgart, 70 % of our highly-qualified employees work in the development
Founding of Vector Consulting
environment. Teamwork in modern structures ensures a working
2002 Vector Informatik is DIN EN ISO 9001:2000 certified,
atmosphere that in the past few years has been judged “very good”
Founding of Vector France, Paris/France,
Founding of VecScan, Göteborg/Sweden, according to internal surveys. Trainees, interns, and graduating
Vector has more than 250 employees worldwide students also profit from the many opportunities to work actively
2003 Vector has more than 400 employees worldwide with the newest technologies. Employee turnover at Vector, which
2004 Move to the second company building in Stuttgart, has been extremely low for many years, confirms how each person
Founding of customer care center north in Braunschweig at Vector understands his or her work: as mental work with a “fun”
and customer care center south in Munich/Germany factor.
2005 Vector has more than 500 employees worldwide
2006 Founding of office in Regensburg/Germany On Location Worldwide
Vector has more than 600 employees worldwide For Vector, partnership with its customers means understanding their
2007 Vector has more than 700 employees worldwide requirements. In order to be responsive to our partners quickly and to
Start of construction for the third company building be able to act purposefully, we are present worldwide. For optimal
in Stuttgart/Germany
support on location, the Vector Group has established, in addition to
Founding of Vector Korea, Seoul/Rep. of Korea
its own locations, a globe-spanning network of distributors.
2008 Vector has more than 800 employees worldwide
Move to the third company building in Stuttgart
2009 Founding of Vector Great Britain, Birmingham
Founding of Vector Informatik India, Pune
Opening of Representative Office Shanghai, China
VECTOR –XXXXXXXXXXXX
THE COMPANY

1/1

1/1

This catalog provides you an overview of Vector products and Services of the application area ECU Software:

ECU Software
Embedded software like real time operating systems (RTOS) ECUs. Basic software for AUTOSAR. Development services for soft-
and communication modules for e. g. CAN, LIN, FlexRay and Ether- ware components.
net. Software for memory management and for reprogramming of

Please request other catalogs in the application areas Development of Distributed Systems, ECU Testing, ECU Calibration,
Process Management, Vehicle Diagnostics, or request further information about the Vector Solutions for various tasks in automotive
networking: Internet: www.vector.com/catalog/ • E-mail: catalog@vector.com

Development of Distributed Systems Process Management


Tools and Services to design and develop a network of ECUs. Tools and Services to support the process management
Tools to simulate, analyze and test the communication of the net- required to develop complex vehicle electronics. This includes
work. qualification of human resources, coaching, and supplying special
tools that allow the management of complex data, workflows and
ECU Testing projects.
Tools and services that allow the test of ECUs in all develop-
ment phases, check the functionality of prototypes or execute Vehicle Diagnostics
regression and conformity tests. Tools to describe, implement and test the diagnostic func-
tionalities that are required to run diagnostic services on an ECU.
ECU Calibration Diagnostic functionalities are set up during the ECU development,
Tools to access the ECU at run-time. This allows acquiring stored in a consistent database and used during the ECU‘s
and modifying measurement data and parameters, so the ECU lifecycle.
algorithms can be modified and optimized.
Bus Systems, Embedded Network Protocols,
Standards and appropriate Vector Products

1/2 The following table shows an overview of network protocols and bus systems, which can be used for electronic networking of distributed sys-
tems. The 4th column shows the Vector products that are applicable to the appropriate bus system respectively protocol or exchange format.

Bus System Description Application Area Appropriate Vector Product Page


CAN CAN (Controller Area Network) was developed by the Automotive engineer- All Vector Products
Robert Bosch GmbH in the early eighties and was interna- ing, automation
tionally standardized (ISO 11898) in 1994. CAN was specif- engineering
ically developed for the serial data exchange between
electronic control units in automobiles but is also used for
the realization of industrial microcontroller networks.
LIN LIN (Local Interconnect Network) has been developed Automotive engineer- CANalyzer.LIN/CANoe.LIN ●
especially for the cost-efficient communication of ing (body electronics CANalyzer/CANoe Option SCOPE ●
intelligent sensors and actuators in automobiles. bus e.g. networking CANape ●
LIN bus system characteristics: within a seat) CANbedded LIN Communication 3/8
> master/slave architecture Embedded Gateway 3/12
> time-controlled data transmission Flashbootloader 5/2
> single-wire data transmission max. CANister ●
20 kBaud CANlog 3/4 ●
> synchronization mechanism integrated in the GL1000, GL3000/4000/4200 ●
protocol (no expensive quartz needed) MICROSAR LIN 2/18
Multilog ●
Network Designer LIN ●
VN8900 ●
XL-Interface-Family ●
MOST MOST (Media Oriented Systems Transport) has been devel- Automotive engineer- CANalyzer.MOST ●
oped especially for the transmission of multimedia data in ing (multimedia CANoe.MOST ●
automobiles. applications; net- Flash Bootloader 5/2
MOST bus system characteristics: working of infotain- MICROSAR MOST 2/22
> optical data transmission up to 25 Mbit/s ment devices e. g. Multilog ●
> ring structure of the bus system tuner, DVD changer, VN2610 – USB-Interface for MOST ●
> usage of the standardized XML Function Catalog etc.)
> plug&play capability
FlexRay FlexRay has been designed as a bus system for all security- Automotive engineer- CANalyzer.FlexRay ●
relevant applications as well as for transmission of large ing (e. g. security- CANape ●
amount of data in automobiles. relevant applications, CANoe.FlexRay ●
FlexRay bus system characteristics: brake-by-wire, high- Flash Bootloader 5/2
> data transmission up to 10 Mbit/s speed backbone for FlexCard Cyclone II SE/E-Ray ●
> redundant implementation of all networks other bus systems) FRstress ●
> deterministic transmission behavior MICROSAR FR 2/16
As an exchange format for tools for the configuration of Multilog ●
bus communication (design, parameterization) with Network Designer FlexRay ●
FlexRay, the XML based FIBEX format (Field bus Exchange) VN3300, VN3600 and VN7600
is predominantly used. FlexRay-Interfaces ●
Protocol resp.
Description Application Area Appropriate Vector Product Page
Exchange Format
AUTOSAR The goal of the development partnership, founded by Automotive ECUs, AUTOSAR Prototype Bundle 2/2
leading automotive OEMs and suppliers, is the definition of basic software AUTOSAR Services 2/52
an open reference architecture for ECU-specific software. AUTOSAR Basic Software Modules 2/6
As one of the first premium members of the AUTOSAR con- AUTOSAR Tools 2/42
sortium, Vector has been participating for a long time now
directly in the development of AUTOSAR and can offer a uni-
versal tool chain of design and development tools available
today. Vector also offers base software for AUTOSAR-based
ECUs.
CANaerospace CANaerospace was developed by a private company work- Avionics and space CANoe/CANalyzer.CANaerospace ●
ing in the field of aerospace technology. technology
CANaerospace is also called “AGATE databus” from the
NASA-AGATE Consortium.
BUS SYSTEMS, EMBEDDED NETWORK PROTOCOLS, STANDARDS AND APPROPRIATE VECTOR PRODUCTS

Protocol resp.
Description Application Area Appropriate Vector Product Page
Exchange Format
J1939/ J1939 is a communication protocol based on CAN for real- Commercial vehicle CANoe.J1939 ●
ISO11783 time data exchange between electronic control units engineering, CANalyzer.J1939 ●
(ECUs) in the area of commercial vehicles. railway engineering, CANoe.ISO11783 ●
It describes the information exchanged between the ECUs agricultural CANbedded J1939 3/6
in such a system. ISO11783 is a further development for engineering CANape ●
agricultural engineering.
NMEA 2000 NMEA 2000® is a communication protocol based on J1939 Marine engineering CANoe.NMEA2000 ●
from the National Marine Electronics Association (NMEA) CANalyzer.NMEA2000 ●
for the realtime data exchange between electronic control CANbedded J1939 3/6
1/3
units in maritime electronics.
J1587/ SAE J1708 defines a serial, bidirectional network for use in Commercial vehicles CANoe/CANalyzer.J1587 ●
J1708 the commercial vehicle industry. The SAE J1587 Standard engineering
regulates communication and standardized data exchange
between different ECU based on SAE J1708 networks.
CANopen The CANopen profile family specifies standardized commu- Automation CANoe.CANopen ●
nication mechanisms and device functionalities. engineering, CANalyzer.CANopen ●
CANopen is maintained by “CAN in Automation” (CiA), and CAN embedded CANerator CANopen 3/28
can be implemented free of license. ProCANopen ●
CANeds ●
CANopen Master Source Code 3/22
CANopen Slave Source Code 3/26
J2534 The SAE J2534 standard defines the re-programming of Vehicle ECUs, PassThru XL Library ●
ECUs via a PassThru interface. The purpose of this standard Diagnostics, PassThru
is to provide a unified communication capability via a re-programming
standardized PC interface basically intended for flashing
but also for diagnostics and other purposes.
Ethernet/IP Ethernet-based networks and the protocols built upon Car2x, vehicles engi- CANoe.IP ●
them are used in IT networks for decades. In the meantime neering, automation CANalyzer.IP ●
they continue to grow in importance in the embedded engineering, factory MICROSAR IP 2/20
environment. The main focus is on transmission of periodic automation
signals and real-time capability.
XCP/CCP XCP is an improved and generalized version of the CAN Cali- Automotive engineer- CANape ●
bration Protocol V2.1. (CCP). XCP can be used also in non- ing, development of XCP software component 3/30
CAN networks (e.g. FlexRay, SPI, SCI). The main benefit of electronic control CANoe Option XCP ●
XCP is the independence concerning the transport layer. units, measurement GL1000, GL3000/4000/4200 ●
and calibration
KWP2000/ Keyword Protocol 2000 (KWP2000; ISO 14230) and “Unified Diagnostics of vehicle CANape ●
UDS Diagnostic Services” (UDS; ISO 14229) are standardized electronic control CANdelaStudio ●
diagnostic protocols for electronic control units. units, measurement CANdesc 3/14
The physical access to the ECU is possible via a serial con- and calibration CANoe ●
nection (“K-line” KWP-on-K-Line) or via CAN (KWP-on-CAN, CANdito ●
UDS-on-CAN). CANoe.DiVa ●
CANditoFlash 5/12
Indigo ●
ODX The ODX format (Open Diagnostic Data Exchange) is based Diagnostics of vehicle CANdelaStudio ●
on the ASAM-MCD-2D-Basic working draft. Manufacturers electronic control CANdelaFlash 5/10
of vehicles, electronic control units, and testers can write units CANdito ●
and exchange electronic control unit data in the uniform CANape ●
ODX format, which covers all manufacturers. CANoe ●
CANditoFlash 5/12
Indigo ●
CANoe.DiVa ●
RP1210 The RP1210 specification defines an open interface (API) Commercial vehicles RP1210 API ●
between Windows-based applications and in-vehicle com- engineering, engine
munication networks. This interface offers functionality control
for bus systems – such as CAN and J1708 – as well as for
higher layer protocols such as J1939 and J1587.

X/XX = Product information included in this catalog


● = Product information included in other application area catalogs or on the internet.
Please request further catalogs about the application areas Development of Distributed Systems, ECU Testing,
ECU Calibration, Process Management or Vehicle Diagnostics at:
Internet: www.vector.com/catalog/ • E-mail: catalog@vector.com
Application Areas of the Vector Products

1/4 The following matrix gives you an overview which Vector products support you in your specific application area.
++ = main application area; + = additional application area

Development
ECU Software Process
Vector Product of Distributed ECU Testing Diagnostics ECU Calibration Page
Components Management
Systems
ASAP2 Editor ++ ●
ASAP2 Lib ++ ●
ASAP2 Tool-Set ++ ●
AUTOSAR
Basis Software ++ 2/2
(MICROSAR)
CANalyzer ++ ●
CANape + + ++ ●
Option Adv.
Multimedia + ++ ●
Option GPS + ++ ●
Option Simulink
XCP Server
+ ++ ●
CANbedded ++ 3/2
CANbedded Gateway ++ 3/12
CANbedded J1939 ++ 3/6
CANbedded LIN ++ 3/8
CANdb++ Admin.J1939 ++ ●
CANdbLib ++ ●
CANdelaStudio ++ ●
CANdelaFlash ++ 5/10
CANdesc ++ + 3/14
CANdito + ++ ●
CANditoFlash + ++ 5/12
CANeds ++ ●
CANerator
++ 3/28
CANopen
CANextender ++ ●
CANgraph + ++ ●
CANister ++ ●
CANlog 3 und 4 ++ ●
CANoe + ++ + ●
CANoe.DiVa + ++ ●
CANopen Master
++ 3/22
Source Code
CANopen Slave
++ 3/26
Source Code
APPLICATION AREAS OF THE VECTOR PRODUCTS

Development Steuergeräte-
Steuergeräte- ECU Software Prozess-
Process
Vector Product of Distributed ECU Testing Diagnostics ECU Calibration Software- Seite
Page
Kalibrierung Components management
Management
Systems Komponenten
CANscope ++ ●
CANstressD/DR ++ ●
COMPASS ++ ●
DaVinci
Component Tester ++ 2/44
Configurator Pro ++ 2/48 1/5

Configurator Kit ++ 2/50


Developer ++ 2/42
eASEE.cdm + ++ ●
eASEE.rqm ++ ●
eASEE.pm ++ ●
eASEE.chm ++ ●
eASEE.sdm ++ ●
EEPROM
++ 5/6
Emulations Modul
Flash Bootloader + ++ 5/2
FlexCard Cyclone II ++ ●
FRstress ++ ●
GL1000, GL3000/
4000/4200
++ ●
High Resolution
++ 4/4
Timer
Indigo + ++ ●
Multilog ++ ●
Network Designer
CAN/LIN/FlexRay
++ ●
osCAN ++ 4/2
PassThru XL Library ++ ●
ProCANopen ++ ●
RP1210 API + ++ ●
Test Automation
Editor
++ ●
Timing Analyzer + ++ 4/6
VN2610 USB Inter-
face for MOST
++ ●
VN3300, VN3600,
VN7600 Interfaces ++ ●
for FlexRay
VN8900 ++ ●
VT System ++ ●
VX1000 ++ ●
XL-Interface
family
(e.g. CANcardXL,
++ + ●
CANcaseXL, …)

X/XX = Product information included in this catalog


● = Product information included in other application area catalogs or on the internet.
Please request further catalogs about the application areas Development of Distributed Systems, ECU Testing,
ECU Calibration, Process Management or Vehicle Diagnostics at:
Internet: www.vector.com/catalog/ • E-mail: catalog@vector.com
Use of Standardized Basic Software for ECUs
Supported Hardware Platforms and Vehicle Manufacturer (OEMs)

1/6 Application Areas


Overview of advantages You can obtain basic software from Vector for the following use
> Support of the standards AUTOSAR, ISO, HIS, IEC, OSEK, areas:
SAE, etc. > Hardware drivers for CAN, LIN, FlexRay, Ethernet, Flash,
> Support of numerous automotive OEMs EEPROM, Timer, ADC, PWM, etc.
> Proven algorithms used in production development at all OEMs > Communication software for CAN, LIN, FlexRay, Ethernet and
> Support of many different hardware platforms via a stand- MOST
ardized API > Gateway solutions for CAN, LIN, FlexRay, Ethernet and MOST
> Customization of basic software for your use case > Administration of nonvolatile data (EEPROM, Flash)
> Simple, tool-supported configuration > Diagnostics with error memory module
> Watchdog
You can get mature standardized basic software from Vector for > Flash Bootloader
ECU communication, diagnostics, real-time operating systems, > Operating system
flashing, EEPROM programming and control of IO drivers. This > Calibration protocols XCP and CCP
solution lets you port your application conveniently and quickly > Higher protocols: J1939, CANopen, etc.
onto different hardware platforms and for different OEMs.
Hardware
You get a software package specially tailored to your project. It is For the latest list of supported hardware platforms for automotive
assembled according to the following criteria: software please visit: www.ecu-software.com
> Basic software that is needed (depends on functionality) The list for CANopen can be found on the product pages for the
> Bus system Master and Slave source code: www.canopen-solutions.com
> Hardware
> Vehicle manufacturer or platform
Before delivery, a test is performed based on your specified hard-
ware and compiler combination. If necessary, Vector can also
integrate drivers, e. g. drivers supplied by semi-conductor manu-
facturers.
ECU SOFTWARE

Training
In the framework of our training program, we can offer you
OEM-specific training courses and workshops for our soft-
ware components and Flash Bootloader in our classrooms as
well as at your business site.
For more information on individual training events and dates
please visit: www.vector-academy.com

OEMs and brands from A-Z (1) If your OEM is not included in the list, please contact your Vector 1/7
> Alfa Romeo, Aston Martin, Audi Sales representative. Vector can develop basic software for other
> Bentley, BMW, Brilliance, Bugatti, Buick automotive OEMs and brands upon request. An independent vari-
> Cadillac, Chevrolet, Chrysler, Citroen, Claas ant of the basic software is available for non-OEM-specific com-
> DAF, Dongfeng, Daimler, Daimler Commercial Vehicles munication. ◆
> FAW, FAW-VW, Ferrari, Fiat, Fisker, Ford
> GAC, GMC, GM-Daewoo
> Holden, Honda, Hummer, Hyundai
> Jaguar
> Kia
> Lamborghini, Lancia, Land Rover, Lincoln
> MAN Commercial Vehicles, Maybach, Mazda, Mercedes, Mercury,
Mini, Mitsubishi
> Nanjing MG, Nissan
> Opel
> Peugeot, Pontiac, Porsche, PSA
> Renault
> Saab, SAIC, Saturn, Scania, Seat, Skoda, Smart, Suzuki,
SsangYong
> TATA
> Vauxhall, Volkswagen, Volvo, Volvo AB, VW Commercial Vehicles

(1) Revision level: January 2010


Projects and Services
Individual Support in Developing ECU Software and In-vehicle Networks

1/8 project team. This gives you maximum workload relief and ideal
Overview of Your Advantages transparency.
> Customized support
> Quick implementation of your application ECU Software
> Sustained build-up of your know-how In the development of ECU software, we can offer you the follow-
ing support:
In each phase of your development, you can benefit from our
competence. We support you with our services on your projects. > Consulting and conceptualization
Beginning with the goals you set, we work together with you to > Introduction of new operating systems
create a customized action plan and package. In the process, you > Optimization of existing software architectures
will benefit from our expertise. > Interfacing of basic software to the application in
multiprocessor ECUs
Application Areas > Design of “mixed SIL” systems
You get support from Vector in: > Support in migration of ECUs to FlexRay and to AUTOSAR
> Developing the ECU software
> Developing safety-relevant systems > Software development for:
> Designing in-vehicle networking > Customer-specific components
> An entire ECU
In this context, Vector supports you with: > Systems with safety-relevant content per ISO DIS 26262
> Individual concept development and consulting on technology
> Creating specifications > Integration and testing
> Assuming responsibility for an entire project > Support, on-site or Hotline, for startup and use of Vector
standard components
We support you from prototype development to production devel- > Integration and configuration of embedded standard
opment based on a process that is optimally aligned to your components in your projects
needs. Projects are implemented in close coordination with your > Customer-specific adaptations and extensions to standard
Vector software

Services in the development of Embedded software


ECU SOFTWARE

Contact
We would be glad to support you on your projects. Please feel
free to contact us at: www.vector.com/contact

> OEM or Tier-1 specific integration reviews for standard Vector Besides creating defined work products, one of our primary goals 1/9
components is sustained transfer of the underlying know-how. Multi-day work-
shops and close cooperation in the services framework guarantee
Model-based software development can also be performed. intensive knowledge transfer to your professional teams.

In-Vehicle Networking
In the development of in-vehicle networking, you get the follow-
ing support from Vector:
> Consulting and conceptualization
> Distribution of vehicle functions
> Creation and extension of network architectures
> Optimization of system layout
> Definition of routing concepts for gateways

> Specification and design


> Specification of CAN, LIN and FlexRay based in-vehicle
networks
> Specification of individual communication protocols
> Creation and maintenance of communication relationships
between ECUs
> Specifications for gateway components
> Integration and testing
> Integration of ECUs in the system of networks
> Verification of ECUs and entire networks

Services for the develop-


ment of in-vehicle networks
Standard Software Integration Package
Professional integration support for your ECU project

1/10 Vector supports suppliers of control modules in their development > NM user data access during communication-related events
efforts right from the start. The support is based on the Standard > BusOff implementation
Software Integration Package. This service offers you professional > Specific hardware checks
support in integrating standard software into your project. > Implement communication-related error memory entries (DTC’s
for BusOff, message timeouts)
Overview of Advantages > Error memory handler access with regard to several system
> Time savings as a result of standard features integrated by states like overvoltage/undervoltage, Sleep Mode, BusOff and
Vector clamp state change
> Lets you focus on your application > Integration of transport protocol, diagnostics and DTC Handler
> ECU behavior of first submitted samples is specification- > Integration of proprietary protocols/layers
conformant on the communication bus > EEPROM RAM emulation (HIS-conformant) for verifying
flashability
> Flashing with the OEM-defined tool chain
Application Areas
The “Standard Software Integration Package” from Vector is used
on projects for several OEMs.
The initial focus here is on single-channel CAN controllers.

Functional Features in Detail


> Start up hardware, including CPU clock, PLL and Watchdog
> Start up CAN controller and CAN transceiver
> Configure all standard software components conformant to the
specification
> Assure context-sensitive calling of functions used
> Specific handling of the ignition signal
> Control Sleep/Wakeup
> Start/stop communication depending on the network state

Overview of architecture
ECU SOFTWARE

Other Integration Properties Extensions 1/11


> Integration of standard software according to questionnaire Beyond the normal scope (single-channel CAN controllers), Vector
> Two updates of database over course of project offers you to integrate additional buses such as LIN, MOST and
> Database adaptation for missing attributes, additional CAN FlexRay, multi-channel ECU’s, as well as project-specific software.
identifiers and any other necessary entries ◆
> Adaptation of proprietary configuration files for a consistent
configuration
> Test and release with commercially available tools

Special Functions
We would be glad to handle development and integration
tasks for other contents of your project, such as:
> Project-specific components or
> A functional ECU application.

Scope of Delivery
> Delivery of integrated standard software in complete project
tree, with make support and runtime environment
> Documentation
> Test report
> Local startup
> Hotline/support

Further Information Acronyms


You can obtain further information about the “Standard Soft- DTC – Diagnostic Trouble Code
ware Integration Package” by NM – Network Management
E-mail: SSWintegration@vector-informatik.de HIS – Hersteller Initiative Software
or by telephone: +49 (0)941 20865-210
Solutions for AUTOSAR

The core idea of AUTOSAR is to master the growing complexity of DaVinci – The AUTOSAR Tools from Vector
software in modern vehicles by standardization. The development > DaVinci Developer is the optimal tool for graphic-based defini-
partnership founded by leading automotive OEMs and suppliers tion of AUTOSAR software components and for configuration
set the goal of defining an open reference architecture for ECU and generation of the MICROSAR RTE.
software. Many advantages are realized by standardization and > DaVinci Component Tester lets you conveniently test AUTOSAR
2/0 using clearly specified interfaces between the basic software software components on a PC.
modules to the functional software : e.g. re-usability of the same > DaVinci Configurator Pro is used to create a consistent config-
software for different microcontrollers and functions with a uration of the MICROSAR basic software from Vector and of
simultaneous increase in quality. basic software from third-party suppliers. The proven GENy tool
is used for the communication modules.
Vector, your Trusted Partner for AUTOSAR Projects > DaVinci Configurator Kit optimally supports you in integrating
As one of the first premium members of the AUTOSAR Consortium, modules you have developed (e.g. complex device drivers) in
Vector has been actively involved in the development of new tech- DaVinci Configurator Pro.
nology for a long time. This active participation was recognized by
the AUTOSAR Consortium in awarding Vector the first AUTOSAR MICROSAR – The AUTOSAR Basic Software Modules from Vector
Premium Member Award in 2007. Vector‘s experience with With MICROSAR, Vector offers AUTOSAR-conformant software
AUTOSAR is also reflected in AUTOSAR tools and the basic soft- modules for efficient development of production-mature ECUs.
ware, which is already being used in numerous production pro- They are based on AUTOSAR Release 3.x and cover all aspects of
jects. the AUTOSAR standard.
Practice-based extensions and features implemented in anticipa-
Overview of the Vector AUTOSAR Solution tion of AUTOSAR Release 4.0 complete this solution, e.g. with sup-
Vector supports you in all development phases of projects with port of Ethernet, encrypted communication, FlexRay IsoTp, XCP
tailor-made AUTOSAR solutions for design, development and and J1939.
implementation: In partnership with TTTech Automotive, Vector can already offer
you software modules for end-to-end communication validation
of ISO DIS 26262 Integrity Level D per AUTOSAR 4.0.
Vector Katalog ECU Software EN 11.05.2010 11:32 Uhr Seite 2/1

AUTOSAR

> CANdela Studio let’s you specify the diagnostic functionality of


When choosing the AUTOSAR solution from Vector: your ECUs.
> You benefit from a seamless tool chain: From the design of
your system to the development of your functional soft- Vector can offer you a complete solution for your projects together
ware and integration of the software in your ECU. with numerous other tools for ECU testing as well as measurement
> With MICROSAR you get a complete set of basic software and calibration. 2/1
from a single source, which you can use individually or in
conjunction with third-party components. The Easy Way to Get Started with AUTOSAR
> Vector, together with its partner TTTech Automotive, offers Besides training courses on fundamentals and on specific pro-
you a reliable solution for safety-relevant ECUs per ISO DIS ducts, Vector also offers on-site support in project implementa-
26262. tion and in introducing the AUTOSAR software.
> You do not need to migrate to AUTOSAR all at once. Vector The AUTOSAR Prototype Bundle from Vector gives you a solution
can show you solutions for stepwise migration without loss for prototype development of AUTOSAR systems. It offers a struc-
of quality. tured approach for training in the AUTOSAR methodology and
> You are choosing a future-oriented solution with a reliable gives you an opportunity to evaluate the functionality and per-
partner. formance of the AUTOSAR software.

Further Tools Support for Your Projects


Take advantage of the comprehensive Vector tool chain to develop Vector accompanies you from the early evaluation phase to pro-
your AUTOSAR ECUs and systems. duction projects. Together with you, we can develop a comprehen-
> The eASEE Automotive Solution lets you specify and manage sive solution for your ECU. In the process, it does not matter
in-vehicle electronic systems. This ranges from defining whether you are using Vector products, your own in-house devel-
requirements to designing distributed functions and defining opments or third-party components. We support your projects
components such as sensors, actuators and ECUs. Data commu- with experience and integration know-how.
nication in the networks can also be defined with eASEE.
> Network Designer is used to design a vehicle’s networking
architecture and data communication for the networks.

>> CONTENTS
AUTOSAR Prototype Bundle 2/2 MICROSAR IO 2/36
MICROSAR 2/6 MICROSAR RTE 2/38
MICROSAR OS 2/10 Identity Manager for AUTOSAR 2/40
MICROSAR COM 2/12 DaVinci Developer 2/42
MICROSAR CAN 2/14 DaVinci Component Tester 2/44
MICROSAR FR 2/16 DaVinci Configurator Pro 2/48
MICROSAR LIN 2/18 DaVinci Configurator Kit 2/50
MICROSAR IP 2/20 AUTOSAR Services 2/52
MICROSAR MOST 2/22
MICROSAR MEM 2/24
MICROSAR SYS 2/26
MICROSAR DIAG 2/28
MICROSAR CAL 2/32
MICROSAR EXT 2/34
AUTOSAR Prototype Bundle
The complete bundle for developing prototype ECUs conforming to the AUTOSAR standard

> Efficiency of the basic software


Overview of advantages > Integration of the tools in your development environment
> Complete environment for developing AUTOSAR prototype > Potential uses of AUTOSAR concepts in your application area
ECUs The AUTOSAR Prototype Bundle also provides an optimal founda-
> Production-quality tools and basic software per AUTOSAR tion for initial developments of AUTOSAR-conformant software
Release 3.x components for service providers who focus on the application
2/2
> Enables realistic evaluation of execution time and memory level.
requirements for your ECU project If your focus is on evaluation of the AUTOSAR method and tools,
> Available for many different micro-controllers and the PC you can obtain the AUTOSAR Prototype Bundle with MICROSAR
as runtime platform CANoe Emulation as well. In this case, you would use the PC with
> Quick way to train in AUTOSAR with a detailed sample the CANoe test and development tool from Vector as the runtime
project platform and can work without startup of real hardware. Nonethe-
less, you work with the same methods, tools and basic software as
The AUTOSAR Prototype Bundle is a comprehensive package of in the development of a real ECU.
AUTOSAR basic software and design and configuration tools from
Vector. This package lets you develop entire ECUs with an Functions
AUTOSAR-conformant software architecture. You get an in-depth The AUTOSAR Prototype Bundle contains all of the tools needed to
look into the AUTOSAR world – from the design and configuration configure and generate the MICROSAR basic software:
process to implementation of the actual basic software. The DaVinci Developer tool gives you an easy way to generate
AUTOSAR-conformant ECU applications. Using the graphic editor,
Application Areas you can describe your AUTOSAR software components quickly and
The AUTOSAR Prototype Bundle supports both the automotive clearly and define their interfaces. The software components serve
OEM – in evaluating AUTOSAR processes and methods – and sup- as a basis for the RTE configuration process, which you also
pliers in creating their first AUTOSAR-conformant prototype ECUs. perform with DaVinci Developer.
Since the tools and basic software are at a level of production The DaVinci Configurator Pro tool is used to configure the basic
maturity, you can reliably use the Vector solution to evaluate software modules. You can use the convenient and intuitive user
AUTOSAR with regard to: interface to adapt parameter values for your ECU project. The

AUTOSAR Tools AUTOSAR Basic Software

Additional Tools
AUTOSAR

Training
In the framework of our training program, we can offer vari-
ous training events and workshops for MICROSAR in our
classrooms as well as at your business site.
For more information on individual training events and dates
on the Internet please visit: www.vector-academy.com

GENy tool offers special support in configuring the communica- > Fully compatible with OSEK OS
tion basic software. > Supports Schedule Tables
All tools perform consistency checks, making it easier for you to
design complex AUTOSAR applications. MICROSAR SYS
Also included are tools used to generate input data for DaVinci Contains the AUTOSAR basic software modules
Developer and DaVinci Configurator Pro: You can create network > Communication Manager (COMM) 2/3
communication descriptions for CAN, LIN or FlexRay networks > Cyclic Redundancy Check Routines (CRC)
with Network Designer. It supports you with functions for defin- > ECU Manager (ECUM)
ing signals, distributing signals to messages and importing/ > Development Error Tracer (DET)
exporting network data via standard formats. > Watchdog Manager (WDGM)
The CANdelaStudio tool is used to define diagnostic data for your > Watchdog Interface (WDGIF)
networks and ECUs. You can export this data via standard > Scheduler Module (SCHM)
formats, and use the data in automatic configuration of the
MICROSAR diagnostic basic software. MICROSAR DIAG
Contains the AUTOSAR basic software modules
The included MICROSAR basic software modules efficiently and > Diagnostic Event Manager (DEM)
flexibly implement all basic functions and numerous other func- > Diagnostic Communication Manager (DCM)
tions of AUTOSAR Release 3.x. The modules are bundled in func- > Function Inhibition Manager (FIM)
tionally interrelated MICROSAR products:
MICROSAR MEM
MICROSAR RTE Contains the AUTOSAR basic software modules
> Contains the AUTOSAR RTE (Runtime Environment) > NVRAM Manager (NVM)
> Memory Abstraction Interface (MEMIF)
MICROSAR OS > EEPROM Abstraction (EA)
Contains the AUTOSAR basic software module Operating System (OS) > Flash EEPROM Emulation (FEE)
> Implementation of “Scalability Class” SC1 (SC2-SC4 available as
option if supported by processor)

Designing software components with DaVinci Developer Configuration of the Basic Software with DaVinci Configurator Pro
MICROSAR CAN MICROSAR COM
Contains the AUTOSAR basic software modules Contains the AUTOSAR basic software modules
> CAN Interface (CANIF) > Communication (COM)
> CAN Transport Protocol (CANTP) > Network Management Interface (NM)
> CAN Network Management (CANNM) > PDU Router (PDUR)
2/4 > CAN State Manager (CANSM) > I-PDU Multiplexer (IPDUM) available as option

MICROSAR J1939TP (available as option) MICROSAR IO


Contains the transport protocols Contains the AUTOSAR basic software modules
> BAM – Broadcast Announce Message > IO Hardware Abstraction (IOHW)
> CMDT – Connection Mode Data Transfer
MICROSAR CAL
MICROSAR FR Contains the AUTOSAR basic software modules
Contains the AUTOSAR basic software modules > General Purpose Timer Driver (GPTDRV)
> FlexRay Interface (FRIF) > Watchdog Driver (WDGDRV)
> FlexRay Transport Protocol (FRTP) > Microcontroller Unit Driver (MCUDRV)
> FlexRay Network Management (FRNM) > EEPROM Driver (EEPDRV)
> FlexRay State Manager (FRSM) > Flash Driver (FLSDRV)
> CAN Driver (CANDRV)
MICROSAR LIN > LIN Driver (LINDRV)
Contains the AUTOSAR basic software modules > FlexRay Driver (FRDRV)
> LIN Interface (LINIF) > SPI Driver (SPIDRV)
> LIN Transport Protocol (LINTP, contained in LINIF) > Input Capture Unit Driver (ICUDRV)
> LIN State Manager (LINSM) > Pulse Width Modulation Driver (PWMDRV)
> A/D Conversion Driver (ADCDRV)
> PORT Driver (PORTDRV)
> Digital IO Driver (DIODRV)

Special functions
DaVinci Developer has an import/export interface for
AUTOSAR XML files. This interface lets you exchange design
and configuration data. For example, you might use it to
integrate AUTOSAR software components in an ECU you
have developed in a model-based approach using tools like
MATLAB® Simulink®.

All MICROSAR products conform to:


> “Implementation Conformance Class” ICC3, and
> “Configuration Conformance Class” CCC 2.
AUTOSAR

Contact and Availability


You will find information on the availability of hardware-spe-
cific MICROSAR BSW modules at:
www.microsar.com/availability/
We can also tell you about OEM-specific versions and custom
support for your AUTOSAR projects.
Find your contact person at: www.vector.com/contact

MICROSAR EXT Available Hardware Platforms


Contains the AUTOSAR basic software modules The AUTOSAR Prototype Bundle is available for the most common-
> CAN Transceiver Driver (CANTRCV) ly used 16-bit and 32-bit hardware platforms. Due to the hardware
> FlexRay Transceiver Driver (FRTRCV) dependency of the MICROSAR CAL modules and the MICROSAR OS,
> LIN Transceiver Driver (LINTRCV) binding statements cannot be made without specific processor
> Vector can implement other drivers for external components device numbers. The Vector Sales Team would be glad to provide 2/5
upon request. this information.

Additional Included Features MICROSAR CANoe Emulation


> Sample application As an alternative, Vector also offers the AUTOSAR Prototype Bun-
To simplify getting started with the AUTOSAR Prototype Bundle, dle for CANoe as a PC runtime platform. In this case, emulations of
the bundle includes a sample application in source code, and a the MICROSAR CAL modules and the MICROSAR OS are included.
detailed guide on its use is enclosed. The flash memory of the AUTOSAR ECU is also emulated. The
> Start-up support EEPDRV is not needed in this case, and so it is not provided. ◆
> The AUTOSAR Prototype Bundle includes MICROSAR Coaching.
Vector can offer you comprehensive support in initial start-up
and integration of the AUTOSAR basic software in your applica-
tion. We would be glad to assist you at your business site.

Further Options
The AUTOSAR Prototype Bundles CAN, LIN and FlexRay may be
used with one another in any combination.

Special functions of the MICROSAR CANoe emulation


In conjunction with CANoe, the emulation comprises the
following functions:
> Access to the CAN, LIN or FlexRay bus systems
> Simulation of I/O ports via CANoe panels
> Connection of real sensors and actuators
> Easy debugging of the application by stopping the global
time of the entire emulation when a breakpoint is reached
> Interactive and automated tests of the AUTOSAR ECU
software and execution of remaining bus simulations
> Your own custom extensions are possible, e.g. to emulate
complex device drivers

System requirements for the MICROSAR CANoe emulation


> CANoe 7.0 SP5 or higher
> Microsoft Visual Studio 7.1, 8.0 or 9.0

Functional principle: CANoe as target platform


MICROSAR
The Vector Solution for AUTOSAR ECU Software

independently, because the AUTOSAR architecture follows a con-


Overview of Advantages sistent strategy of hardware abstraction.
> All AUTOSAR basic software from a single source Modules from the MICROSAR OS and MICROSAR CAL packages are
> Many innovative extensions perfectly tuned to one another hardware-dependent. Vector offers these modules for a large
> Reliable foundation for your AUTOSAR ECU software number of different hardware platforms and compilers, e.g. to
> Already being used at leading OEMs and TIER1 suppliers enable quick change-out of the controller device. Based on its
2/6
> Simplifies development of platform-independent ongoing contacts with OEMs, Vector is able to offer a number of
functionalsoftware OEM-specific BSW modules such as the diagnostic modules.
> Available for many hardware platforms and automotive The AUTOSAR architecture’s modular layout benefits you in other
OEMs ways as well; for example, the ability to implement different soft-
> Mature and long-term solution from an AUTOSAR Premium ware components (SWCs) for different functional software units
Member lets you give clear organization to the software structure.

MICROSAR is the AUTOSAR solution for your ECU software. You can configure all necessary MICROSAR BSW modules based on
MICROSAR consists of the MICROSAR RTE and MICROSAR basic your project’s requirements, and after generation you can inte-
software modules (BSW), which cover all aspects of the AUTOSAR grate them with the functional software. This produces a com-
standard. Each AUTOSAR BSW module is assigned to a MICROSAR plete set of ECU software. If the functional software consists of
package. For detailed descriptions of individual packages and the AUTOSAR-conformant SWCs, you will need a run-time environment
MICROSAR RTE, please refer to the separate datasheets. Vector (RTE). The MICROSAR RTE handles communication between the
combines the BSW modules needed in individual “software inte- SWCs and their access to data and services from the BSW modules.
gration packages”. Along with managing the entire flow of information, the
MICROSAR RTE also assures consistency in the exchange of infor-
Application Areas mation.
The BSW modules of the MICROSAR packages assure basic func-
tionality of the ECU. They contain the implementations of Properties
AUTOSAR standard services you will need for your functional soft- Development of the MICROSAR basic software modules is founded
ware. You are able to develop your functional software platform on the Vector development process for standard modules, which is

The MICROSAR packages


contain all modules of
the AUTOSAR standard
AUTOSAR

Contact and Availability


MICROSAR BSW modules are available for a large number of
commonly used microcontrollers and in OEM-specific
variants. You can obtain more information at
www.microsar.com/availability/ or upon request.
Please find your contact person at: www.vector.com/contact

based on SPICE Level 3. All MICROSAR packages offer the follow- AUTOSAR Release 3.x and Extensions
ing features: All MICROSAR basic software modules fundamentally conform to
> Efficient memory utilization and short execution times AUTOSAR Release 3.x. In addition, it is possible to integrate MCAL
> Available for production use drivers of the previous Release 2.1.
> Conformant to AUTOSAR Release 3.x Modules from MICROSAR IP, MICROSAR J1939 and XCP already
> Assistants and timely checks support you in achieving contain important functionality from Release 4.0. Moreover, the 2/7
consistent configuration of your basic software MICROSAR MOST package lets you connect any AUTOSAR ECU to a
> Scalable, adaptable to your specific application MOST ring. All of these extensions are compatible with the rest of
> Optimally integrated into your development process the MICROSAR basic software modules of Release 3.x.
> User-selectable configuration point (pre-compile, link-time
or post-build) Consistent and Simple Configuration
> Communication stack is versatile in its use With AUTOSAR, the work of manually developing or adapting the
> Supports multiple ECUs basic functionality of ECU software is replaced by configuration of
> Optional delivery as source code the BSW modules. The intuitive, user-friendly and well coordi-
nated AUTOSAR tools from Vector (DaVinci) support the user in
Production Use this process. The DaVinci tools require an “ECU Extract of System
The MICROSAR BSW modules are already being used in production Description” file as input. It is also possible to produce a configu-
projects. MICROSAR lets you benefit from Vector’s many years of ration based on commonly used network description files (DBC,
experience in implementing embedded standard software. Before FIBEX, LDF, etc.).
delivery, all MICROSAR Software modules undergo systematic Early in the configuration process, all DaVinci tools check the
integration tests for the specific conditions of your application validity of individual parameters, complex parameter groups and
(hardware platform, compiler, processor device, OEM, with/with- their interrelationships. In case of invalid configurations, the
out RTE, etc.). Upon request, these tests may be extended to tools make recommendations for corrections, if possible. This
cover software modules from third-party producers (e.g. MCAL extension of the AUTOSAR method simplifies integration of the
drivers). In addition, each product includes a sample program. basic software in your ECU and reduces integration time. For more
details on DaVinci tools from Vector, please refer to the relevant
datasheets.

DaVinci tools are used to consistently configure the MICROSAR RTE and MICROSAR BSW modules
> You can configure the MICROSAR BSW modules with DaVinci approaches offers optimal results. Bottom-up is especially well-
Configurator Pro. Vector recommends the proven GENy configu- suited to MICROSAR DIAG and MICROSAR IO, while top-down is
ration tool for configuring the communication-related ideal for the other MICROSAR BSW modules.
MICROSAR modules. GENy is supplied with DaVinci Configurator In the bottom-up approach, the configuration of the interfaces of
Pro. GENy enables cross-module configuration of specific param- the functional software is done by using the basic software. This
2/8 eters and parameter groups. This saves you time compared to involves using DaVinci Developer to automatically generate SWC
step-wise configuration of individual BSW modules; it also service ports (including runnables) based on BSW service ports.
ensures a compatible configuration of interdependent modules. This approach gives you quick training in AUTOSAR, and you can
> The MICROSAR RTE is configured with DaVinci Developer, the create your first functionally-capable ECU in a short period of time.
design tool for SWCs. In the top-down approach, DaVinci Developer is used to connect
the ports of the SWCs via service mapping to the ports of the BSW
Scalability modules – in part automatically. This reduces configuration effort
In addition to fulfilling AUTOSAR requirements, the MICROSAR significantly.
BSW modules also provide a number of functional extensions. The
extended configuration options let you deactivate unnecessary User-Selectable Configuration Point
functions to optimize the MICROSAR code for your application. The configuration point of all MICROSAR basic software modules is
This scalability makes the MICROSAR modules the optimal solution user-selectable. Per AUTOSAR Configuration Conformance Classes
for both small and challenging applications. MICROSAR is already CCC1 to CCC3, you can select the configuration point for each BSW
being implemented in a wide range of ECUs, such as steering module; choices are: pre-compile, link-time or post-build.
angle sensors, door ECUs, engine ECUs, central gateways, etc. GENy offers optimal process support for the post-build configured
MICROSAR may also be used with other operating systems such as communications-related MICROSAR modules. Post-build lets you
Linux or QNX. replace certain parameter values from the communication matrix
without compiling in the ECU. GENy has a special graphic mode
Flexible Development Process that is exclusively used to edit post-build parameters. Afterwards,
With the DaVinci tools it is possible to execute a top-down config- GENy generates platform-specific HEX files, which can be flashed
uration or a bottom-up configuration to integrate the MICROSAR directly to the ECU. The MICROSAR BSW modules check for com-
products in your development process. A combination of the two patibility of the replaced configuration at runtime.

You use DaVinci Configurator Pro to configure the BSW You use DaVinci Developer to create the MICROSAR RTE
modules for your application
AUTOSAR

Multiple ECUs Other Services


To save on logistical costs in AUTOSAR ECUs, the MICROSAR mod- > Consulting on system design
ules (BSW and RTE) can be delivered with the optional Identity > Extension of standard BSW modules per customer wishes
Manager. This option lets you configure multiple ECUs such as > Development of customer-specific software components (SWC)
door ECUs, where the desired variant is initialized at start-up. For > Support in adapting existing functional software
more information, see the separate datasheet on the AUTOSAR > Complete software integration in your ECU – including third- 2/9
Identity Manager. party software
> Migration of existing software to AUTOSAR
Optional Delivery of Source Code > Hotline, special workshops and training courses on the topic of
The MICROSAR modules are also available as source code, upon embedded software and AUTOSAR ◆
request. The source code lets you make pre-compile optimizations
and simplifies testing.

License and Maintenance


Vector offers you flexible licensing – individually tailored to your
requirements. In the framework of a maintenance contract, you
get software updates that keep you current to the latest level of
development.

List of available MICROSAR Packages


> MICROSAR OS – AUTOSAR operating system > MICROSAR CAL – AUTOSAR conform controlling of the
> MICROSAR SYS – Basic ECU functions microcontroller peripherals
> MICROSAR DIAG – Diagnostics > MICROSAR IO – Direct connection of the microcontroller
> MICROSAR MEM – Memory Management peripherals to the application
> MICROSAR COM – Network independent communication > MICROSAR EXT – Controlling external hardware
> MICROSAR CAN – Communication via CAN > XCP – Measurement and calibration of an
> MICROSAR LIN – Communication via LIN AUTOSAR-ECU using XCP incl. transport
> MICROSAR FR – Communication via FlexRay layer for Ethernet, FlexRay and CAN
> MICROSAR IP – Communication via Ethernet > MICROSAR J1939TP – Operation of an AUTOSAR ECU in
> MICROSAR MOST – Communication via MOST J1939 networks (BAM, CMDT)
MICROSAR OS
The Real-Time Operating System for the AUTOSAR Standard

time monitoring and memory protection as well as functionalities


Overview of Advantages that support distributed applications in networks.
> Small, quick and resource-economizing operating system MICROSAR OS is fully conformant to the AUTOSAR OS specification
> Short boot times and supports all scalability classes:
> MICROSAR OS provides an ideal runtime environment for SC1: Real-time operating system implemented per the OSEK/VDX-
embedded software and forms the basis for migration to OS standard and extended to include schedule tables
2/10
AUTOSAR-conformant applications SC2: Real-time operating system with time synchronization and
> Supplied as source code monitoring of the time behavior of individual tasks and interrupt
> Numerous auxiliary functions simplify software develop- service routines
ment SC3: Real-time operating system with memory protection mecha-
> Quality process per SPICE Level 3 nisms on microcontrollers with suitable hardware support
> Graphic configuration tool for easy configuration of the SC4: Combines scalability classes SC2 and SC3
operating system
> TimingAnalyzer for runtime analysis of MICROSAR OS Functions
applications > Synchronization with the global system time
> Available for many 8, 16, 32 and 64 bit microcontrollers Schedule tables can be synchronized with the global system time,
e.g. the time transmitted over the FlexRay bus. This makes syn-
MICROSAR OS is a pre-emptive real-time multitasking operating chronized and simultaneous execution of tasks possible in a dis-
system with optimized properties for use on microcontrollers. tributed system.
Vector’s many years of experience in developing operating sys-
tems and drivers for microcontrollers are bundled into this small, > Memory protection (SC3, SC4)
robust operating system core. Memory protection protects memory areas so that applications
can be reliably integrated. It ensures that the data of other appli-
Properties cations are not destroyed.
MICROSAR-OS is based on the AUTOSAR OS specification, an
extension of the practice-proven OSEK/VDX-OS operating system
standard. This standard was extended to include functions for

MICROSAR OS
Modul
AUTOSAR

Training Contact and Availability


In the framework of our training program we can offer vari- For information on the availability of hardware-specific
ous training courses and workshops on MICROSAR at our MICROSAR BSW modules go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and individual support for your AUTOSAR
please visit: www.vector-academy.com projects.
Find your contact person at: www.vector.com/contact

> Timing Protection (SC2, SC4) Optional Extensions


Timing protection ensures that assumptions made in the early > High Resolution Timer
design phase related to execution times are preserved during run- If resolutions finer than 1ms are needed for the timers, the mech-
time as well. When protection encounters a defective application anisms of the High Resolution Timer are advisable, which imple-
section, this does not have any negative effects on other running ment this precision without simultaneously increasing interrupt
applications. load. Depending on the controller, this may enable resolutions 2/11
into the microseconds range.
> Execution time measurements (SC2, SC4) > High Resolution Synchronization for Schedule Tables
You can use functions of scalability classes 2 and 4 to measure the In some applications, it is necessary to synchronize and trigger
execution times and interrupt disable times of applications. These schedule tables with very high precision using internal or external
measured data can later be used as practice-based values in signal sources. The “High Resolution Synchronization” option
designing and integrating future applications. gives you resolutions in the microsecond range without increasing
interrupt load.
> TimingAnalyzer Design Assistance
TimingAnalyzer design assistance computes the task execution Scope of Delivery
schedule, checks for conformance to execution time restrictions > Operating system core as source code
and represents the schedule tables in a well-organized graphic > Graphic configuration and generation tool for Windows
display. Analysis is performed for every task and every interrupt NT/2000/XP/Vista
with the following information: Priority, period, execution time > Command line based generator (for Windows NT/2000/X/Vista)
and end time. The graphic user interface visualizes system behav- > BSW modules description
ior clearly and concisely. > Description files for DaVinci Configurator Pro
> Documentation and sample programs with makefiles
> TimingAnalyzer ◆

The complete AUTOSAR solution from Vector Additional Services


Vector offers a fully tuned solution for developing AUTOSAR Vector offers you worldwide support related to AUTOSAR:
ECUs with its DaVinci and MICROSAR products. > Training events
You will find information on general properties of BSW mod- > Design consulting
ules from the MICROSAR packages as well as details on func- > Customer-specific implementations
tional features of the individual DaVinci Tools in separate > Hotline
datasheets. > Software maintenance
The extent and form of all services are tailored to your wishes
MICROSAR-OS conforms to AUTOSAR Specification 3.x and needs.
MICROSAR COM
AUTOSAR Basic Software Modules for Communication

For a gateway ECU, you do not need any additional software. The
Overview of Advantages COM and PDUR BSW modules from MICROSAR COM enable routing
> Code and execution time optimized by application-specific of signals and TP or application messages.
configuration
> Very efficient signal access via function macros Functions
> Contains important functionality of AUTOSAR Release 4.0 The BSW modules from MICROSAR COM contain functions defined
2/12
and many other useful extensions in AUTOSAR Release 3.x:
> Extended support for NM coordinators > Services of the COM module organize transmission of messages
> NM module: OSEK NM compatibility is configurable according to their send type (cyclic, event-triggered, etc.). A
> Supports simultaneous operation of AUTOSAR NM and OSEK key task is to implement bus-independent signals of the func-
NM in NM migration projects tional software in PDUs.
> The PDU Router (PDUR) distributes the PDUs to the bus-specific
The basic software modules (BSW) of MICROSAR COM include AUTOSAR communication modules, so that they can transmit
AUTOSAR services for ECU communication. These services can the information. In the opposite direction, the PDUR receives
support any number of communication channels. They are bus-in- the PDUs and routes them to the relevant services of the NM,
dependent and are needed in every communication stack. Per COM or DCM modules or to other networks (gateway).
AUTOSAR architecture, they handle control and full integration in > The Generic Network Management Interface (NM) bundles
the ECU software of bus-specific communication modules from inter-bus network management activities of all of the ECU’s
MICROSAR CAN, MICROSAR FR, MICROSAR LIN, MICROSAR IP and communication channels. As NM coordinator, it synchronizes
MICROSAR MOST. wake-up and sleep of the communication channels.
> Optionally, a user may use an I-PDU Multiplexer (IPDUM) in the
Application Areas communication stack of the ECU software. IPDUM supports
MICROSAR COM lets users develop their functional software by a multiple usage of fixed I-PDUs with variable data contents.
fully bus-independent approach. All necessary tasks for transmit-
ting messages and for cross-bus network management activities
are handled by the configurable BSW modules COM, NM, PDUR and
IPDUM from MICROSAR COM.

MICROSAR COM
Modules
AUTOSAR

Training Contact and Availability


In the framework of our training program, we can offer vari- You will find information on the availability of hardware-spe-
ous training events and workshops for MICROSAR in our cific MICROSAR BSW modules at:
classrooms as well as at your business site. www.microsar.com/availability/
For more information on individual training events and dates We can also tell you about OEM-specific versions and custom
please visit: www.vector-academy.com support for your AUTOSAR projects.
Find your contact person at: www.vector.com/contact

The following functions are optionally available: > NM: Synchronous sleep and wake-up of multiple networks via
> COM: TX deadline monitoring different NM coordinators
> PDUR: TP layer fan-out and zero cost operation > NM: Backup coordinator
> PDUR: Transmit cancellation and change parameter request > NM: Pre-compile optimizations such as use of function macros
> NM: Support of OSEK NM (configurable)
Furthermore, the BSW modules from MICROSAR COM contain the > NM: Mixed operation of OSEK and AUTOSAR-NM on one channel 2/13
following functionalities. Some of them are part of AUTOSAR
Release 4.0 (ASR 4.0): Scope of Delivery
> COM: Indication and timeout flags for signals and signal groups > Software modules as library with C header files, optionally as
> COM: Signal conversion. This conversion may be configured source code
with an A2L ASAP2 database. > Command line based generator (for Windows NT/2000/XP/Vista)
> COM: Invalidity declaration of TX signals in case of RX signal > BSW modules description
timeout > DLLs for configuration with GENy
> COM: Deactivation of the TX confirmation interrupt > Documentation and sample programs with makefiles
> COM: Pre-compile optimizations such as function macros for
very efficient signal access The complete AUTOSAR solution from Vector
> COM, PDUR: Transport of long I-PDUs and signals via CANTP and The AUTOSAR solution from Vector consists of the DaVinci
via J1939 as specified in ASR 4.0. Other TPs are available upon tools, MICROSAR-basic software and the MICROSAR RTE.
request. You will find information on properties of BSW modules from
> COM: Extension by signal callout functions, e. g. to integrate the MICROSAR packages and detailed descriptions of func-
gateways as complex device drivers. tional features of individual DaVinci Tools in the relevant
> PDUR: Generic interface for integrating a TP and bus communi- datasheets.
cation as complex device driver
> PDUR: Intra-ECU communications for TP connections ◆
> PDUR: Optimized routing per ASR 4.0 (e.g. with Burst Transmis-
sion) together with CANTP from MICORSAR CAN

Configuring the COM module with GENy


MICROSAR CAN
AUTOSAR Basic Software Modules for CAN Communication

The MICROSAR CAN package contains the BSW modules defined in Functions
the AUTOSAR architecture for CAN communication: CANIF, CANNM, The BSW modules in MICROSAR CAN contain functions defined in
CANTP, CANSM and CANXCP. AUTOSAR Release 3.x.
The following functions are available as options for the CANIF
Application Areas module:
2/14 MICROSAR CAN is used to handle communication in CAN networks. > Support of an external CAN controller
It is also well-suited as a foundation for calibration with XCP, > Increased number of Full CAN objects by combining multiple
gateways or flashing. CAN controllers on one physical CAN bus (Common CAN)
You can also combine MICROSAR CAN with the separately available > Individual polling of messages in Full CAN objects
MICROSAR J1939TP package to enable operation of an AUTOSAR > Support of multiple Basic CAN objects to further optimize
ECU in a J1939 network. The BAM and CMDT transport protocols acceptance filters
are available for this. > Rx queue for short interrupt execution times

Overview of Advantages In addition, BSW modules from MICROSAR CAN or MICROSAR


> Code and execution time are optimized based on need- J1939TP contain the following extensions. Some of them are from
specific configuration AUTOSAR Release 4.0 (ASR 4.0):
> Inter-module configuration of all communication-specific > CANIF: Double hash search algorithm for filtering the Rx
software modules messages
> Fast wakeup handling at ECU startup > CANNM: Pre-compile optimizations, e.g. for single-channel
> Includes high-performance gateway functionality systems
> CANTP: ISO 15765-2 compatibility is configurable > CANSM: Optimization of the wakeup process by wakeup
> CANNM: OSEK NM compatibility is configurable detection at ECU startup
> Optionally available: J1939 Transport Layer, BAM and CMDT > CANSM: Support of ECU Passive Mode
> CANSM: Extended Callback Interface for the error states
“BusOff Begin” and “BusOff End”

MICROSAR CAN
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program, we can offer vari- You will find information on the availability of hardware-spe-
ous training events and workshops for MICROSAR in our cific MICROSAR BSW modules at:
classrooms as well as at your business site. www.microsar.com/availability/
For more information on individual training events and dates We can also tell you about OEM-specific versions and custom
please visit: www.vector-academy.com support for your AUTOSAR projects.
Find your contact person at: www.vector.com/contact

> CANSM: Checks whether states were successfully set in the CAN
driver (CANDRV) or CAN transceiver driver (CANTRCV). In case of You will find information on properties of BSW modules from
error, an automatic repetition is executed. the MICROSAR packages and detailed descriptions of func-
> CANTP: Supports full duplex communication tional features of individual DaVinci Tools in the relevant
> CANTP: Supports mixed addressing (11 bit CAN ID); typically for datasheets.
CAN/LIN gateway applications 2/15
> CANTP: Optimized routing per ASR 4.0 (e.g. with Burst Trans- Other MICROSAR Products for a Complete CAN Communication
mission) together with the PDUR from MICORSAR COM. Stack
> CANTP: ISO 15765-2 compatibility is configurable Based on the AUTOSAR architecture, a complete communication
> CANTP: Sets BlockSize and STmin at runtime stack for CAN can be formed using MICROSAR CAN together with
> BAM and CMDT: Transport protocols for J1939 networks the BSW modules from the separately available MICROSAR COM,
available as option MICROSAR CAL and MICROSAR EXT packages. To interface
MICROSAR CAN to the application and the hardware, you will still
Scope of Delivery need the following BSW modules:
> Software modules as library with C header files, optionally as > Hardware-specific CAN driver (CANDRV) from MICROSAR CAL
source code > Hardware-specific transceiver control (CANTRCV) from
> Command line based generator (for Windows NT/2000/XP/ MICROSAR EXT
Vista) > General communication modules (COM, NM, PDUR, IPDUM) from
> BSW modules description MICROSAR COM
> DLLs for configuration with GENy Modules in MICROSAR CAL and MICROSAR EXT are available for
> Documentation and sample programs with makefiles many microcontrollers and transceivers.

The complete AUTOSAR Solution from Vector Other relevant MICROSAR Products for CAN
The AUTOSAR solution from Vector consists of the DaVinci > DCM and DEM from MICROSAR DIAG
tools, MICROSAR-basic software and the MICROSAR RTE. > DET, ECUM and COMM from MICROSAR SYS
> XCP ◆

Vector offers a compre-


hensive range of
products and services
for your CAN projects
MICROSAR FR
AUTOSAR Basic Software Modules for FlexRay Communication

Vector offers you MICROSAR FR, an AUTOSAR-conformant package In addition, the BSW modules from MICROSAR FR contain the fol-
for FlexRay communication. It contains the following BSW mod- lowing services. Some of them are part of ASR 4.0:
ules defined in the AUTOSAR architecture: FRIF, FRNM, FRTP or > FRIF: Automatic repetition of job list execution in case of errors
FRISOTP, FRSM and FRXCP. or loss of bus synchronization
> FRSM: Support of ECU Passive mode (ASR 4.0)
2/16 Application Areas > FRNM: Pre-compile optimizations, e.g. for single-channel
MICROSAR FR is used to handle communication in FlexRay net- systems
works. Furthermore, it is ideal as a foundation for calibration with > FRNM and FRSM: Detection and recovery from synchronization
XCP, gateways or flashing. losses (Long/Short Term Sync) (ASR 4.0)
> FRSM: Immediate startup after passive wakeup (ASR 4.0)
Overview of Advantages
> Small code size and short execution times due to optimized Operating System
administration of job lists of the FlexRay interfaces FlexRay basic software modules can be used entirely without an
> Either the FRTP (AUTOSAR) or FRISOTP (ISO 10681) operating system. However, it makes sense to use an AUTOSAR OS
transport protocol may be used or a conventional OSEK-OS (e.g. Vector osCAN). Ideally suited for
> Support of ECU passive mode in the FlexRay State Manager FlexRay applications is MICROSAR OS from Vector.
> Early detection of synchronization losses
Scope of Delivery
> Software modules as library with C header files, optionally as
Functions source code
The BSW modules in MICROSAR FR contain functions defined in > Command line based generator (for Windows NT/2000/XP/
AUTOSAR Release 3.x. In anticipation of AUTOSAR Release 4.0 (ASR Vista)
4.0), MICROSAR FR also includes the BSW module FRISOTP, conform- > BSW modules description
ant to ISO 10681. It is compatible with the rest of the MICROSAR BSW > DLLs for configuration with GENy
modules, and upon request it can replace FRTP in your FlexRay com- > Documentation and sample programs with makefiles
munication stack. The following function is available as an option:
> FRISOTP: Unknown Message Length Transmission

MICROSAR
FlexRay
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program, we can offer vari- You can find information on the availability of hardware-spe-
ous training courses and workshops on MICROSAR at our cific MICROSAR BSW modules at:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions as well as customized support for your
please visit: www.vector-academy.com AUTOSAR projects.
Find your contact person at: www.vector.com/contact

Other MICROSAR Products for FlexRay


The complete AUTOSAR Solution from Vector > DCM and DEM from MICROSAR DIAG
The AUTOSAR solution from Vector consists of the DaVinci > DET, ECUM and COMM from MICROSAR SYS
tools, MICROSAR basic software and the MICROSAR RTE. > XCP
You will find information on properties of BSW modules from
the MICROSAR packages and detailed descriptions of func- Additional Services 2/17
tional features of individual DaVinci Tools in the relevant > Consultation in system design
datasheets. > Integration of basic software in existing ECUs
> Extension of standard modules per customer requirements
Other MICROSAR Products for a complete FlexRay Communica- > Development of customer specific AUTOSAR software compo-
tion Stack nents (SWC)
Based on the AUTOSAR architecture, a complete communication > Hotline, special workshops and training events on the topic of
stack for FlexRay can be made with MICROSAR FR together with embedded software and AUTOSAR ◆
the BSW modules from the separately available MICROSAR COM,
MICROSAR CAL, MICROSAR SYS and MICROSAR EXT packages. You
will also need the following BSW modules to interface MICROSAR
FR to the application and hardware:
> Hardware-specific FlexRay driver (FRDRV) from MICROSAR CAL
> Hardware-specific transceiver control (FRTRCV) from MICROSAR
EXT
> General communication modules (COM, NM, PDUR, IPDUM) from
MICROSAR COM
The modules in MICROSAR CAL and MICROSAR EXT are available for
many different microcontrollers and transceivers.

Vector offers a comprehensive


portfolio of products and services
for your FlexRay projects
MICROSAR LIN
AUTOSAR Basic Software Modules for Local Interconnect Network

MICROSAR LIN contains the BSW modules defined in the AUTOSAR > LINIF: Configurable wakeup delay
architecture for LIN communication: LINIF, LINTP, LINSM. Per > LINIF/LINSM: Production/Development Error Reporting
AUTOSAR, LINTP is a component of LINIF. (DEM/DET) has been extended by additional and more precise
events
Application Areas > LINIF and LINTP: Separately configurable memory mapping of
2/18 MICROSAR LIN is used to handle communication tasks for a LIN configuration data for LINIF and LINTP. This is especially
Master in a LIN network. In addition, it may be used as a founda- appealing for controllers with segmented memory. The
tion for gateways or flashing. MICROSAR LIN product includes two separate generators for
LINIF and LINTP for this purpose.
Overview of Advantages > LINTP: Extends gateway functionality for precise switchover of
> Core component of the complete LIN communication stack the schedule tables for diagnostic requests and responses
for AUTOSAR ECUs > LINSM: Extended interface for monitoring the LINSM sub-
> Optimized routing of diagnostic requests to LIN Slaves modes for controlled switchover of the LIN schedule tables
> Quick start of the LIN channel > LINSM: Optimized startup behavior by automatic selection of a
> Reliable switching of schedule tables possible schedule table (configurable)
> Based on Vector’s many years of experience with produc-
tion software for LIN Configuration
With GENy support, the user can acquire information on the con-
nected LIN1.3 and LIN2.x Slaves. This information is saved in the
Functions ECU Configuration Description and is considered when configur-
The BSW modules in MICROSAR LIN contain functions defined in ing the master. This lets the master evaluate the response error
AUTOSAR Release 3.x. bits sent by the slaves and then initiate the associated DEM
In addition, BSW modules from MICROSAR LIN contain the follow- events.
ing services. Some of them are specified in AUTOSAR Release 4.0
(ASR 4.0):

MICROSAR LIN
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program we can offer vari- For information on the availability of hardware-specific
ous training courses and workshops on MICROSAR at our MICROSAR BSW modules go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and individual support for your AUTOSAR
please visit: www.vector-academy.com projects.
Find your contact person at: www.vector.com/contact

Scope of Delivery > Hardware-specific LIN driver (LINDRV) from MICROSAR CAL
> Software modules as library with C header files, optionally as > Hardware-specific transceiver control (LINTRCV) from
source code MICROSAR EXT
> Command line based generator (for Windows NT/2000/XP/ > General communication modules (COM, PDUR) from MICROSAR
Vista) COM
> BSW modules description The modules in MICROSAR CAL and MICROSAR EXT are available for 2/19
> DLLs for configuration with GENy many different microcontrollers and transceivers.
> Documentation and sample programs with makefiles
Other Relevant MICROSAR Products for LIN
The complete AUTOSAR Solution from Vector > DET, ECUM and COMM from MICROSAR SYS ◆
The AUTOSAR solution from Vector consists of the DaVinci
tools, MICROSAR-basic software and the MICROSAR RTE.
You will find information on properties of BSW modules from
the MICROSAR packages and detailed descriptions of func-
tional features of individual DaVinci Tools in the relevant
datasheets.

Other MICROSAR Products for a Complete LIN Communication


Stack
Based on the AUTOSAR architecture, a complete communication
stack for LIN is formed by MICROSAR LIN together with the BSW
modules from the separately available MICROSAR COM, MICROSAR
CAL and MICROSAR EXT packages. To interface MICROSAR LIN to
the application and hardware, you will still need the following
BSW modules:

Vector offers you a comprehensive


range of products and services for
your LIN projects
MICROSAR IP
AUTOSAR Basic Software Modules for Communication over Internet Protocol via Ethernet

The Internet Protocol (IPv4) based on TCP/IP via Ethernet repre-


sents a very widely used standard for transporting data at high Overview of Advantages
rates. Standardization of this Internet technology for use in auto- > Supports Internet Protocol IPv4
motive projects is part of AUTOSAR Release 4.0. In its MICROSAR > Compatible with AUTOSAR Release 3.0
IP, Vector is providing this as a supplement to AUTOSAR 3.x. The > Contains both UDP and TCP protocols
package contains BSW modules for Ethernet communication de- > Configurable number of sockets
2/20
fined in the AUTOSAR architecture: ETHXCP, SOAD, ETHSM, ETHIF. > Execution time advantages due to reduced number of
In addition, it contains the base package for IPv4: IPBASE. copying operations
> Supports Diagnostics over IP (DoIp) per ISO 13400-2
Application Areas > Data is exchanged up to 200 times faster than over a
With MICROSAR IP in the ECU and a conventional PC as a commu- conventional High-Speed CAN interface
nication partner, you can do the following with no extra hardware
other than an Ethernet cable: Functions
> Quickly flash large quantities of data, The BSW modules in MICROSAR IP contain functions defined in
> Simultaneously and efficiently measure and calibrate many AUTOSAR Release 4.0. In addition, MICROSAR IP contains
parameters with XCP on Ethernet, AUTOSAR 3.x compatible interfaces which assure compatibility to
> Perform vehicle diagnostics per ISO 13400-2 (DoIP) over IP, and the rest of the MICROSAR BSW modules.
> Conveniently access vehicle data. > ETHIF: The AUTOSAR Ethernet Interface enables hardware-
independent control of the various Ethernet drivers.
The superior data throughput of Ethernet enables enormous > ETHSM: The AUTOSAR Ethernet State Manager handles activa-
reductions in overall flash and diagnostic times. However, it tion/deactivation of the microcontroller and transceiver.
requires a gateway in the vehicle, which interconnects the various > ETHXCP: Ethernet-specific transport layer for XCP (Universal
in-vehicle networks to the external Ethernet. MICROSAR IP imple- Calibration Protocol) per the ASAM standard
ments the necessary gateway functionality in combination with > IPBASE: The basic package for IP contains all necessary mod-
other MICROSAR packages. ules from the RFC standard: Socket, DHCP(Client), UDP, TCP,
ICMP, ARP and IPv4. Modules from IPBASE assure basic func-
tionality of the TCP/IP protocols per AUTOSAR requirements. In

MICROSAR IP
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program, we can offer vari- For information on the availability of hardware-specific
ous training courses and workshops on MICROSAR at our MICROSAR BSW modules, go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and customized support for your AUTOSAR
please visit: www.vector-academy.com projects.
Find your contact person at: www.vector.com/contact

particular, IPv4 permits assignment of link-local addresses. The


IPBASE modules are optimized to minimize the number of The complete AUTOSAR Solution from Vector
copying operations. This property offers tremendous execution The AUTOSAR solution from Vector consists of the DaVinci
time savings in gateway routing, in flash routines, XCP and tools, MICROSAR-basic software and the MICROSAR RTE.
diagnostic applications. You will find information on properties of BSW modules from
> SOAD: The Socket Adapter implements the communication via the MICROSAR packages and detailed descriptions of func-
2/21
PDUs defined in AUTOSAR as socket-oriented communication tional features of individual DaVinci Tools in the relevant
(TCP/IP). SOAD also contains the diagnostic functionality datasheets.
defined in ISO 13400-2 (DoIP).
Other Relevant MICROSAR Products
Configuration Based on the AUTOSAR architecture, a complete communication
MICROSAR IP is configured with the familiar configuration tool stack for Ethernet is formed with MICROSAR IP together with the
GENy. IP-specific configuration parameters are saved as an exten- BSW modules from the separately available MICROSAR COM,
sion in the “ECU Configuration Description”. MICROSAR CAL and MICROSAR EXT packages. You will also need the
following BSW modules to interface MICROSAR IP to the applica-
Scope of Delivery tion and hardware:
> Software modules as library with C header files, optionally as > Hardware-specific Ethernet driver (ETHDRV) from MICROSAR CAL
source code > Hardware-specific transceiver control (ETHTRCV) from
> Command line based generator (for Windows NT/2000/XP/ MICROSAR EXT
Vista) > General communication module (PDUR) from MICROSAR COM
> BSW module description Modules in MICROSAR CAL and MICROSAR EXT are available for
> DLLs for configuration with GENy many different microcontrollers and transceivers.
> Documentation and sample programs with makefiles
Other Relevant MICROSAR Products for Ethernet
> DCM and DEM from MICROSAR DIAG
> DET, ECUM and COMM from MICROSAR SYS
> XCP ◆

Vector offers you a comprehensive


portfolio of products and services
for your IP projects
MICROSAR MOST
AUTOSAR Basic Software Modules for MOST Communication

Previously, MOST (Media Oriented Systems Transport) was not Functions


part of the AUTOSAR standard. Vector now offers MICROSAR MOST, The MOST-specific BSW module MOSTIF and the Dispatcher (DISP)
an AUTOSAR-compatible embedded software solution for your template are Vector-specific extensions of the AUTOSAR standard:
MOST application. It contains the BSW modules MOSTIF and DISP. > MOSTIF: MOST Interface for hardware-independent conversion
of the PDUs to be transmitted to MOST frames. MOSTIF is
2/22 Application Areas compatible with the BSW modules of AUTOSAR Release 3.x.
MICROSAR MOST lets you connect AUTOSAR ECUs to a MOST ring to > DISP: The Dispatcher is a template for interfacing the MOSTIF
exchange data on the control and asynchronous channel. In addi- module and the application to SMSC Net Services.
tion, MICROSAR MOST contains all of the services required to
implement gateway functionality to CAN, LIN, FlexRay and Ether- The BSW modules from MICROSAR MOST are placed above SMSC
net buses. NetServices and offer the following services:
BSW modules from MICROSAR MOST are interfaced to the applica- > Support of signal, message and TP routing
tion software in a way similar to CAN, LIN or FlexRay, and the > Sending signals on MOST via Notification Services
product is fully compatible with the AUTOSAR architecture. This > Support of MOST protocols MHP and AMS
MOST stack is adapted to the desired hardware by the “Low Level
Driver” (MOSTDRV). Operating System
MOST basic software modules can be used entirely without an
Overview of Advantages operating system. However, it is advisable to use an AUTOSAR OS
> Extends AUTOSAR features to include MOST communication or a conventional OSEK-OS (e.g. Vector osCAN). The MICROSAR OS
> Flexibly routes messages and signals between MOST buses from Vector is ideally suited for MOST applications.
and any desired networks
> Provides seamless interface to SMSC NetServices Configuration
> Supports MOST 150 MICROSAR MOST is configured with the familiar GENy configura-
tion tool. MOST specific configuration parameters are saved as an
extension in the “ECU Configuration Description”.

MICROSAR
MOST
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program we can offer vari- For information on the availability of hardware-specific
ous training courses and workshops on MICROSAR at our MICROSAR BSW modules go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and individual support for your AUTOSAR
please visit: www.vector-academy.com projects.
Find your contact person at: www.vector.com/contact

For gateways, in particular, Vector offers customized solutions MICROSAR MOST to the application and hardware you will need
that take into account the special aspects of OEM-specific data the following BSW modules:
formats in configuration. > Hardware specific MOST driver (MOSTDRV) from MICROSAR CAL
> General communication modules (COM, PDUR) from MICROSAR
Scope of Delivery COM
> Software modules as library with C header files, optionally as 2/23
source code Low-Level Driver
> Command line based generator (for Windows NT/2000/XP/ In the framework of project work, Vector would be glad to
Vista) create a Low-Level Driver for interfacing SMSC-NetServices
> BSW module description to your specific hardware.
> DLLs for configuration with GENy
> Documentation and sample programs with makefiles
Other Relevant MICROSAR Products for MOST
The complete AUTOSAR Solution from Vector > DCM and DEM from MICROSAR DIAG
The AUTOSAR solution from Vector consists of the DaVinci > DET, ECUM and COMM from MICROSAR SYS ◆
tools, MICROSAR-basic software and the MICROSAR RTE.
You will find information on properties of BSW modules from
the MICROSAR packages and detailed descriptions of func-
tional features of individual DaVinci Tools in the relevant
datasheets.

Other MICROSAR Products for a complete MOST Communication


Stack
A complete communication stack for MOST is formed with
MICROSAR MOST together with BSW modules from the separately
available MICROSAR COM and MICROSAR CAL packages. To interface

Vector offers a comprehensive


range of products and services
for MOST projects
EMBEDDED SOFTWARE

MICROSAR MEM
AUTOSAR Basic Software Modules for Memory Management

Overview of Advantages Functions


> Exceptionally secure data transactions The BSW modules in MICROSAR MEM contain functions defined in
> Efficient data accesses AUTOSAR Release 3.x.
> Efficient and robust management of nonvolatile memories In each memory stack, you will need the BSW modules NVM and
> Redundant storage of management data increases reliability of data MEMIF from MICROSAR MEM. They handle block-oriented and
access technology-independent access to the memory areas − without
> Inter-module configuration of the entire memory stack requiring prior knowledge of memory attributes.
> Platform-optimized memory stack solution from a single source Your memory stack will need additional BSW modules, depending
on the use case:
> When using a flash memory, you need the Flash EEPROM Emula-
The MICROSAR MEM package contains all of the AUTOSAR modules tion (FEE) module from MICROSAR MEM as well as a flash driver
for memory management: NVM, MEMIF, EA and FEE. They support (FLSDRV) from MICROSAR CAL that is suitable for your hardware.
management, checking and restoring of data from nonvolatile > When using an EEPROM, you need the EEPROM Abstraction (EA)
memories (Flash or EEPROM). The Basic Software Modules (BSW) module from MICROSAR MEM as well as an EEPROM driver
from MICROSAR MEM are fast, reliable and robust. (EEPDRV) from MICROSAR CAL that is suitable for your hardware.
For special requirements, Vector offers platform-optimized solu-
Application Areas tions, e.g. for using the EA BSW module in data flashing or opti-
MICROSAR MEM lets you develop your functional software plat- mizing the FEE module for specific hardware.
form-independently. MICROSAR MEM contains AUTOSAR services
for reading, writing and erasing persistent application data in The following functions are optionally available:
flash and/or EEPROM memories. This gives the functional software > NVM: Block type “DATASET_ROM” with multiple ROM blocks
hardware-independent access to memory. The application does not > NVM: Data protection with CRC8
need to know the specific type of memory that exists on the plat-
form or whether this memory is internal to the controller or exter- In addition, MICROSAR MEM contains the following extensions;
nally connected to it. some are from AUTOSAR Release 4.0 (ASR 4.0):
> NVM: Allocates RAM for CRC memory storage

MICROSAR MEM
V2.3 2010-06

modules

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

Training Contact and Availability


In the framework of our training program we offer various training For information on the availability of hardware-specific MICROSAR BSW
courses and workshops on MICROSAR at our classrooms or at your modules go to: www.microsar.com/availability/
business site. We would be glad to provide you with information on OEM-specific
For more information on individual training events and dates please versions and individual support of your AUTOSAR projects.
visit: www.vector-academy.com Find your contact person at: www.vector.com/contact

> NVM: Dedicated interface for the DCM diagnostic module for The complete AUTOSAR Solution from Vector
direct read-out and manipulation of data blocks (ASR4.0) Vector offers a fully tuned AUTOSAR solution for developing AUTOSAR
> NVM and EA: Additional configurable transaction security, which ECUs with its DaVinci and MICROSAR products.
is a standard feature of the FEE module You will find information on properties of BSW modules from the
> Fixed defined maximum execution times for all functions in the MICROSAR packages as well as detailed descriptions of functional
MICROSAR MEM BSW modules. This yields system optimizations features of the DaVinci Tools in separate datasheets.
that shorten access times.
> FEE: High-performance administration of stored memory data
> FEE: Common usage of FEE module by Flash Bootloader (FBL) Other MICROSAR Products for a Complete Memory Stack
and application possible - also with common memory blocks. An Based on the AUTOSAR architecture, a complete memory stack for
update of the ECU software can be done without adjustment of your ECU can be formed with memory services from MICROSAR MEM
the FBL. together with other platform-specific BSW modules from the
> FEE: Update support for adjustment of non volatile memory after separately available MICROSAR CAL and MICROSAR EXT packages.
ECU re-programming. This is done with a new configuration > Hardware-specific FLSDRV and/or EEPDRV from MICROSAR CAL
table (content and size). > DRVEXT from MICROSAR EXT for external memory chips
> FEE/EA: Redundant storage of management data for increased
reliability of data access In addition, it is easy to integrate MCAL drivers from semiconduc-
tor manufacturers in the MICROSAR memory stack.
Scope of Delivery
> Software modules as library with C header files, optionally as You can protect your memory data with the checksum module
source code (CRC) at your desired security level. To do this, you will need the
> Command line based generator (for Windows NT/2000/ LIBS module from MICROSAR SYS.
XP/Vista)
> BSW modules description
> Description files for DaVinci Configurator Pro
> Documentation and sample programs with makefiles

Configuration Dialog for the


Non volatile RAM Manager

More Information: www.vector.com/contact


MICROSAR SYS
System-related Basic Software Modules for AUTOSAR

The package is platform-independent. To operate MICROSAR SYS on


Overview of Advantages: your hardware, you combine it with hardware-dependent drivers
> The ECUM module is included as either a resource-saving from the MICROSAR CAL package per the AUTOSAR architecture.
Pre-Compile variant or as a flexible Post-Build variant
> Supports activation/deactivation of PDUs for diagnostics Functions
(Service Communication Control) The BSW modules in MICROSAR SYS contain functions defined in
2/26
> Cross-module configuration of modules from MICROSAR AUTOSAR Release 3.x:
SYS and MICROSAR CAL > COMM: The “communication manager“ checks the states of all
communication channels connected to the ECU. It can keep the
The MICROSAR SYS package contains AUTOSAR modules that offer ECU awake and ready for communication as necessary. It also
system services: COMM, LIBS, DET, ECUM, SCHM, WDGM and coordinates access to the communication channels by all SWCs.
WDGIF. They assure start-up and operation of the ECU, and are an > LIBS: The AUTOSAR Libraries are specified for the first time in
important part of each AUTOSAR ECU. System services for diag- AUTOSAR 4.0. The LIBS package contains the Cyclic Redundancy
nostics and the operating system can be obtained in the Check Library (CRC), Crypto Abstraction Library (CAL) and Crypto
MICROSAR DIAG and MICROSAR OS packages. Primitive Library (CPL). These libraries make various services
available to other basic software modules and the functional
Application Areas software. Services of the CRC module, for example, are espe-
Services from the MICROSAR SYS basic software modules (BSW) cially important to BSW modules from the memory stack.
cover an important aspect of the basic functionality of your > DET: The Development Error Tracer collects the so-called devel-
AUTOSAR ECU. They are called by the functional software (via the opment errors of the SWCs and BSW modules. In case of error,
RTE) and the rest of the BSW modules. System services include the affected BSW module or SWCs report the faulty function and
power management, control of all communication channels, error type.
scheduling of all BSW modules and monitoring of individual soft- > ECUM: The ECU State Manager executes the individually config-
ware components (SWC) of the functional software. urable initialization and de-initialization of all basic software
modules, including the RTE and OS. It puts the ECUs in different
operating modes at the request of the SWCs.

MICROSAR SYS
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program, we can offer vari- You will find information on the availability of hardware-spe-
ous training events and workshops for MICROSAR in our cific MICROSAR BSW modules at:
classrooms as well as at your business site. www.microsar.com/availability/
For more information on individual training events and dates We can also tell you about OEM-specific versions and custom
please visit: www.vector-academy.com support for your AUTOSAR projects.
Find your contact person at: www.vector.com/contact

> SCHM: The Schedule Manager provides the time base for all BSW Scope of Delivery
modules. > Software modules as library with C header files, optionally as
> WDGM and WDGIF: The Watchdog Manager monitors the func- source code
tional software for proper operation. If the Watchdog time > Command line based generator (for Windows NT/2000/XP/
expires, it triggers an ECU reset. Vista)
> BSW modules description 2/27
The following functions are optionally available: > Description files for DaVinci Configurator Pro
> DET: Support of service ports > Documentation and sample programs with makefiles
> COMM: Support of the COMM bus type “Internal”
The complete AUTOSAR Solution from Vector
In addition, the following extensions are included. Some of them The AUTOSAR solution from Vector consists of the DaVinci
are part of AUTOSAR Release 4.0 (ASR 4.0): tools, MICROSAR-basic software and the MICROSAR RTE.
> COMM: Compatibility with OSEK NM You will find information on properties of BSW modules from
> COMM: Link-time implementation the MICROSAR packages and detailed descriptions of func-
> ECUM: Supports validation of the reason for wake-up in Power tional features of individual DaVinci Tools in the relevant
SetUp and Run modes datasheets.
> ECUM: Implementation variant pre-compile or post-build
available ◆
> Support of activation/deactivation of PDU groups and NM-PDUs
for diagnostics (Service Communication Control) as well as the
ECU Passive Mode (ASR4.0)

Configuration
The ECUM module can be configured with either GENy or DaVinci
Configurator Pro.

Configuring the SYS module with


DaVinci Configurator Pro
EMBEDDED SOFTWARE

MICROSAR DIAG
AUTOSAR Basic Software Modules for the UDS Protocol

Summary of Advantages suited for the series use and is available already for many OEMs.
> Customized solutions available for many automotive OEMs For ECUs without diagnostics specification an OEM independent
> Vector’s numerous years of experience in the diagostics field package of MICROSAR DIAG is available.
> Contains all necessary extensions for use in production
> Supports OBDII for DCM per AUTOSAR 3.1 MICORSAR DIAG can be used for current and future legal require-
> Also supports WWH-OBD (Euro VI) ments such as EURO VI. The support of OBDII (ISO 15031/ SAE
> Variants handling already included for diagnostic configuration J1979) as well as WWH-OBD (ISO27145) is available as an option.
> Configurable via ODX format with CANdelaStudio
> Application code templates are generated for the ECU software If your ECU requires diagnostic configuration variants, MICROSAR
DIAG offers a powerful solution. With GENy you can define up to 31
different parameter sets and save them resource-optimized in the
MICROSAR DIAG contains the AUTOSAR-compatible implementa- ECU. This avoids redundancies in the ECU software, because identi-
tion of UDS protocol ISO 14229-1:2006 and is ideal as diagnostic cal interfaces to the same data, services or DTCs are combined in
software for your vehicle project. MICROSAR DIAG performs a num- the generated diagnostic code.
ber of tasks. Offering:
> OEM-specific implementation of the diagnostic protocol for Functions
communication between tester and ECU MICROSAR DIAG contains the three BSW modules DCM, DEM and
> Fault memory and management FIM from the AUTOSAR architecture. Their functions are described
> Disabling of certain functionalities based on active fault entries in the following sections.
Combined with CANdelaStudio − the widely used specification tool
for creating diagnostic data − you get a complete diagnostic solu- Diagnostic Event Manager (DEM) Functions
tion from a single source. According to AUTOSAR, it is the OEM who specifies diagnostic
functionality. Only interfaces are defined for the DEM module, so
Application Areas that users can develop their own functional software (SWCs) inde-
Diagnostics are not completely specified in AUTOSAR. Beyond the pendent of the use case.
standard each OEM has there own specifications. For this reason Vector can offer you DEM variants that have been modified for
Vector offers MICROSAR DIAG with OEM specific extensions. It is many different OEMs. These variants cover the requirements of the
V2.4 2010-04

MICROSAR DIAG
modules

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

Training Contact and Availability


In the framework of our training program, we offer various training You will find information on the availability of hardware-specific
courses and workshops on MICROSAR at our classrooms or at your MICROSAR BSW modules at: www.microsar.com/availability/
business site. For more information on individual training events and We would be glad to provide you with information on OEM-specific
dates please visit: www.vector-academy.com variants and individual support for your AUTOSAR projects.
Find your contact person at: www.vector.com/contact

specific carmakers. A generic OEM-independent variant is also In addition, the DCM contains the following extensions to
available. This version supports the following functions as AUTOSAR as standard features:
standard features: > Inclusion of the most important UDS Services not contained in
> Administration of all DTC status bits per the UDS standard AUTOSAR 3.0 (In the table below you will find an overall view of
> Definition of individual snapshot records and extended records all supported UDS services and associated tasks of the applica-
> Pre-defined extended records (e.g. OccurenceCounter) tion software).
> Implementation of counter and time-based error debounce > OEM-specific extensions (e.g. RoutineControl Service, ECU-
algorithms PassiveMode)
> Suppression of low-priority errors when memory is full > Variants handling for diagnostic configurations
> Flexible unlearning (aging) of errors > Link-time configuration
> Variants handling for diagnostic configuration > Multiple client support
> Link-time configuration > Seamless interaction with the Vector Flash Bootloader
> Compressed configuration data to optimize code size > Generation of an application code template for the ECU software

The following AUTOSAR functions are optionally available: Function Inhibition Manager (FIM) Functions
> Support of combined errors All functions of AUTOSAR Release 3.x are standard features of the
> Implementation of additional error debounce algorithms (e.g. MICROSAR FIM. The following functions are optionally available:
frequency-based) > Post-build configuration
> Post-build configurability > Periodic or event-based evaluation of FIM status to prevent
> J1939 diagnostic interfaces for DM1-3 bursts in processor loading
> Export of an ASAP2 file for read-out of momentary status
Diagnostic Communication Manager (DCM) Functions information over XCP
The DCM contains functions defined in AUTOSAR Release 3.0.
The following functions are optionally available: Configuration and Parameterization
> Support of OBDII (ISO15031) per AUTOSAR 3.1 You can adapt BSW modules from MICROSAR DIAG to meet the
> Post-build configuration needs of your application by modifying the configuration. Since
> Support of multiple diagnostic protocols per AUTOSAR diagnostic-specific parameterization of the DCM is limited using

Diagnostic Service Name Service AUTOSAR The SCW has to …


(ISO 14229-1) ID Extension
Diagnostic and Communication Management Functional Unit
DiagnosticSessionControl 10 … grant service execution
ECUReset 11 X … grant service execution
SecurityAccess 27 … calculate seed/key for each security level
CommunicationControl 28 X … grant service execution
TesterPresent 3E -
ControlDTCSetting 85 -
Data Transmission Functional Unit
ReadDataByIdentifier (RDBI) 22 … handle data acquisition for each DataId
ReadMemoryByAddress 23 X -
ReadDataByPeriodicIdentifier 2A - (internal, but data aquisition is done through RDBI)
DynamicallyDefineDataIdentifier 2C - (internal, but data aquisition is done through RDBI)
WriteDataByIdentifier 2E …handle data access for each DataId
WriteMemoryByAddress 3D X -
Stored Data Transmission Functional Unit
ReadDTCInformation 19 -
ClearDiagnosticInformation 14 -
Input/Output Control Functional Unit The DCM module from MICROSAR
InputOutputControlByIdentifier 2F … control I/O for each DataId
DIAG supports the UDS diagnostic
Remote Activation Of Routine Functional Unit
RoutineControl 31 … start (stop/request result) for each RoutineId services

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

Services for Diagnostic Applications:


> Customer-specific extensions of MICROSAR DIAG
> Creation of a customer-specific diagnostic application
> Integration of diagnostics in your ECU software

the standard AUTOSAR 3.0 exchange file “ECU Configuration Other Relevant Vector Products
Description”, the MICROSAR DCM modules are parameterized by a You can combine MICROSAR DIAG with the following MICROSAR
CDD file. You can create them quickly and easily or import them products to fulfill relevant ISO standards:
from the most commonly used ODX dialects with the proven “diag- > MICROSAR CAN (ISO 15765-3 or ISO/DIS 14229-3)
nostic authoring tool” CANdelaStudio. > MICROSAR FR (ISO/DIS 14229-4)
The DEM may be configured via either a CDD file or an “ECU Con- > MICROSAR IP (ISO/DIS 14229-5)
figuration Description”. To parameterize MICROSAR DIAG you will need CANdelaStudio. For
more information on this, see the separate datasheet in Vector’s
Scope of Delivery diagnostics catalog.
> Software modules as a library with C header files, optionally as
source code
> Command line based generator (for Windows NT/2000/
XP/Vista)
> BSW module description
> DLLs for configuration with GENy
> Documentation and sample programs with makefiles
> Converters for CANdela diagnostic descriptions

The complete AUTOSAR Solution from Vector


The AUTOSAR solution from Vector consists of the DaVinci tools,
MICROSAR-basic software and the MICROSAR RTE.
You will find information on properties of BSW modules from the
MICROSAR packages and detailed descriptions of functional features
of individual DaVinci Tools in the relevant datasheets.

MICROSAR DIAG is parameterized with CANdelaStudio and GENy

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

More Information: www.vector.com/contact


MICROSAR CAL
AUTOSAR Driver for Control of Microcontroller Peripherals

The MICROSAR CAL drivers work together optimally with the rest of
Overview of advantages the MICROSAR packages. You just add other packages (e.g.
> Optimal support of microcontroller peripherals MICROSAR CAN, MICROSAR MEM, etc.) depending on the require-
> Simplified configuration, since configurator considers ments of your application, and this gives you a complete communi-
parameter dependencies cation stack or memory management per AUTOSAR specification.
> Development accelerated by plausibility and completeness
2/32
tests in the configurator Functions
> Resource-saving, since functionalities can be deactivated The MICROSAR CAL package contains the driver modules Adc, Can,
> Reduced hardware requirements due to optimal utilization Fr, Lin, Dio, Eep, Fls, Gpt, Icu, Mcu, Port, Pwm, Spi and Wdg. They
of hardware buffers conform to AUTOSAR Release 3.x and are available for many com-
> Gateway developments are supported by efficient auxiliary monly used microcontrollers.
functions
In addition, MICROSAR CAL contains the following extensions.
The MICROSAR CAL package contains the drivers for controlling Some are from AUTOSAR Release 4.0 (ASR 4.0):
the microcontroller’s peripherals. It is fully compatible with the > Ethernet driver (ETHDRV) (ASR 4.0)
AUTOSAR specification “Microcontroller Abstraction Layer”. Each > Implementation of Interrupt Service Routines as CAT1, CAT2 or
MICROSAR CAL driver is optimized controller-specifically. void-void function (configurable)
> Flexible integration of error handling with user-configurable
Application Areas interface names such as Det, Dem, etc.
MICROSAR CAL gives you a turn-key solution for driving your > CANDRV: Notification (Callback) on message reception and
microcontroller peripherals. So, it is not necessary to make after successfully sending a message. This makes it possible to
changes to the functional software when switching to different automatically execute application-specific code.
hardware. All you need to do is switch out MICROSAR CAL to inte- > DIODRV: User-configurable locating of the pins within a
grate the appropriate drivers. ChannelGroup
> ICUDRV: Notification of measurement buffer overrun
> MCUDRV: Reset mechanisms are user-configurable for the
function Mcu_PerformReset().

MICROSAR CAL
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program we can offer vari- For information on the availability of hardware-specific
ous training courses and workshops on MICROSAR at our MICROSAR BSW modules go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and individual support for your AUTOSAR
please visit: www.vector-academy.com projects. Find your contact person at:
www.vector.com/contact

The following functionalities are available options:


> FRDRV: Bus self-diagnostics. If the FlexRay controller detects The complete AUTOSAR solution from Vector
an error, it sets a status bit that is polled by the FlexRay driver The AUTOSAR solution from Vector consists of the DaVinci
(FRDRV). tools, MICROSAR basic software and MICROSAR RTE.
> FRDRV: The FlexRay configuration can be read out by a You will find information on properties of BSW modules from
diagnostic command. the MICROSAR packages as well as detailed descriptions of
2/33
> CANDRV: Extended filter options for multiple basic CAN objects functional features of the DaVinci Tools in the particular
> CANDRV: Rx queue for reducing interrupt execution time while datasheets.
receiving messages
Additional Services
Scope of Delivery > Integration of drivers by third-party producers, e.g. semicon-
> Software modules as library with C header files, optionally as ductor manufacturers, in DaVinci Configurator Pro. This lets the
source code user configure the entire ECU software with a single tool,
> Command line based generator (for Windows NT/2000/XP/ seamlessly and quickly.
Vista) > In the framework of project work, Vector would be glad to
> BSW module description create a low-level MOST driver for your specific hardware to
> DLLs for configuration with GENy interface it to SMSC NetServices. ◆
> Description files for DaVinci Configurator Pro
> Documentation and sample programs with makefiles

Configuration of the ADCDRV


with DaVinci Configurator Pro
MICROSAR EXT
AUTOSAR drivers for control of external devices

Depending on the requirements of your application, you can add


Overview of Advantages other packages (e.g. MICROSAR CAN, MICROSAR MEM, etc.) for a
> Optimal control of your external transceiver and memory complete communication stack or memory management per
devices AUTOSAR specification.
> Additional support for LIN and Ethernet transceivers
> Simplified configuration by considering parameter Functions
2/34
dependencies with other modules The BSW modules in MICROSAR EXT contain functions defined in
> Development accelerated by plausibility and completeness AUTOSAR Release 3.x plus the following extended functions:
checks in the Configurator > Bus error detection on FlexRay
> Active star handling on FlexRay
MICROSAR EXT contains communication-related AUTOSAR trans- > LIN transceiver drivers
ceiver drivers for CAN (CANTRCV), FlexRay (FRTRCV), LIN (LINTRCV), > Ethernet transceiver drivers (per AUTOSAR Release 4.0)
Ethernet (ETHTRCV) and drivers for other external devices such
EEPROM, flash memory and watchdog (DRVEXT). Functions con- Scope of Delivery
tained in the drivers were specified by AUTOSAR in the “ECU > Software modules as library with C header files, optionally as
Abstraction Layer” and they conform to AUTOSAR Release 3.x. source code
They have each been optimized for a specific device and are avail- > Command line based generator (for Windows NT/2000/XP/
able for many commonly used devices. Vista)
> BSW modules description
Application Areas > DLLs for configuration with GENy
MICROSAR EXT gives you a turn-key solution for driving your exter- > Documentation and sample programs with makefiles
nal peripheral devices. So, it is not necessary to modify the func-
tional software when switching out external hardware. All you
need to do is switch out the relevant drivers from MICROSAR EXT.

MICROSAR EXT
modules
AUTOSAR

Training Contact and Availability


In the framework of our training program we can offer vari- For information on the availability of hardware-specific
ous training courses and workshops on MICROSAR at our MICROSAR BSW modules go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and individual support for your AUTOSAR
please visit: www.vector-academy.com projects.
Find your contact person at: www.vector.com/contact

# The complete AUTOSAR Solution from Vector


The AUTOSAR solution from Vector consists of the DaVinci
tools, MICROSAR basic software and MICROSAR RTE.
You will find information on properties of BSW modules from
the MICROSAR packages as well as detailed descriptions of
2/35
functional features of the DaVinci Tools in separate data-
sheets.

Other Relevant MICROSAR Products


The external devices are physically driven via SPI, DIO or a port.
You will need the relevant drivers for this (SPIDRV, DIODRV or
PORTDRV) from MICROSAR CAL.

Additional Services
Vector can offer services for integrating the configuration of your
drivers or drivers by third-party producers, such as semi-conduc-
tor manufacturers in DaVinci Configurator Pro. This lets you con-
figure the entire ECU software with a single tool, seamlessly and
quickly. ◆

Configuration of MICROSAR EXT with


DaVinci Configurator Pro
MICROSAR IO
AUTOSAR Input-Output Hardware Abstraction

templates needed to give the functional software access to the


Overview of Advantages I/O signals via the RTE. They let the user condition and filter the
> Quick implementation of user-specific code for acquiring signals. No special extension to the MICROSAR IO code is needed
and providing ECU signals for direct access to DIO signals.
> Generation of complete DIO accesses
> Provision of code templates with all necessary interface Functions
2/36
definitions BSW modules in MICROSAR IO contain functions defined in
> Support of “actuator tests” via diagnostics AUTOSAR Release 3.x. In addition, you can use MICROSAR IO to:
> Define user defined ports for acquiring ECU-specific user
AUTOSAR has defined hardware-independent Set/Get and Diag defined signals.
operations in the “IO Hardware Abstraction” for setting, reading > Process user defined signals from the user defined ports. Upon
out and manipulating physical I/O signals (digital or analog) from request, DaVinci Configurator Pro can generate code templates,
your ECU’s periphery. Vector offers them in the MICROSAR IO in which users can directly program their extensions.
package. In addition to functions specified by AUTOSAR, you can > Execute functions for the DCM actuator test via the standard
use MICROSAR IO to create your own signal definitions, making it interface. This function already conforms to AUTOSAR
easy to implement application-specific signal processing. Release 4.0.

Application Areas Configuration


MICROSAR IO provides a convenient foundation for developing your MICROSAR IO is configured with DaVinci Configurator Pro. The
“IO Hardware Abstraction”. In combination with the suitable driv- configuration and generation tool checks for plausibility of the
ers for microcontroller peripherals from MICROSAR CAL, you get a configuration parameters for MICROSAR CAL and MICROSAR IO.
complete I/O stack for the ECU software. It interconnects the func- The following “bottom up” approach is recommended:
tional software to physical IO signals of sensors and actuators, > Configure the CAL driver
which makes the application software hardware-independent. > Configure MICROSAR IO
In configuring MICROSAR IO, you define each individual signal as > Generate SWC description for modeling of MICROSAR IO
either a user defined signal or a DIO port signal. MICROSAR IO
provides all of the necessary Client/Server interfaces and code

MICROSAR IO
module
AUTOSAR

Training Contact and Availability


In the framework of our training program we can offer you For information on the availability of hardware-specific
various training courses and workshops on MICROSAR at our MICROSAR BSW modules go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and individual support for your AUTOSAR
please visit: www.vector-academy.com projects.
Find your contact person at: www.vector.com/contact

This SWC description later flows into modeling of the entire ECU Other Relevant MICROSAR Products
software, which could be created with DaVinci Developer, for If I/O signals are accessed via an external device, your I/O Stack
example. Here, the Vector design and configuration tool ensures will need an additional suitable driver from MICROSAR EXT.
that ECU signals defined in MICROSAR IO are integrated in the
overall data flow of the ECU software. This modeling is the foun- Additional Services
dation for later generation of the RTE. Vector would be glad to support you in the development of the “IO 2/37
Hardware Abstraction Layer” of your special ECU in the framework
Scope of Delivery of project work. You benefit from Vector‘s detailed knowledge of
> Software modules as library with C header files, optionally as the AUTOSAR specification and methodology as well as its exten-
source code sive experience in integration of ECU software. ◆
> Command line based generator (for Windows NT/2000/XP/
Vista)
> BSW modules description
> Description files for DaVinci Configurator Pro
> Documentation and sample programs with makefiles

The complete AUTOSAR Solution from Vector


The AUTOSAR solution from Vector consists of the DaVinci
tools, MICROSAR basic software and MICROSAR RTE.
You will find information on properties of BSW modules from
the MICROSAR packages as well as detailed descriptions of
functional features of the DaVinci Tools in separate data-
sheets.

Configuration of MICROSAR IO with


DaVinci Configurator Pro
MICROSAR RTE
The optimized Run-time Environment for Software Components per the AUTOSAR Standard

ated for the specific ECU and, if applicable, the BSW modules. It is
Overview of Advantages also possible to use a SWC in multiple instances on one ECU.
> Easy to configure and scalable
> In-depth consistency check of the configuration In generating the MICROSAR RTE, the user can choose between
> Highly optimized code with intelligent synchronization two modes:
mechanisms > Contract Phase Generation for developing individual SWCs in an
2/38
> Quick entry into working with AUTOSAR, e. g. based on early phase. In this case, the generator just creates a header
generated code templates for the software components file for each SWC instead of the entire RTE. This makes it possi-
(SWCs) ble to compile the SWCs individually, e.g. to transfer them to a
> Well-suited for migration projects development partner as object code.
> RTE generation for the entire ECU software. The code generated
MICROSAR RTE (Run Time Environment) is the scalable and highly in this mode is highly efficient and requires only little memory
optimized AUTOSAR runtime environment from Vector. The RTE is a space. It is optimized for the entire ECU configuration and
module introduced by AUTOSAR that manages communication makes few demands on system resources due to short execution
between the software components (SWCs). It assures consistency times and minimal interrupt disable times. One way this is
of the overall information flow and represents the interface bet- achieved is by using intelligent synchronization mechanisms
ween the functional software, basic software (BSW) and complex that are tuned to the properties of the hardware used.
device drivers (CDD). The SWCs, RTE, CDD and BSW modules
together form the overall AUTOSAR ECU software. Functions
The MICROSAR RTE contains functions defined in AUTOSAR
Application Areas Releases 3.x:
When the functional software of an ECU is implemented by > Sender/Receiver and Client/Server communication
AUTOSAR-conformant SWCs, the user needs the RTE as a runtime > Mode management
environment. This modular layout of the ECU software offers the > Inter-runnable variables as well as Exclusive Areas
user maximum flexibility: SWCs that have been manually devel- > Trigger for runnables
oped or designed by model-based tools can be re-used in multiple > Support of calibration parameters and Per-Instance Memory
ECU projects. The RTE only needs to be reconfigured and regener- > Multiple instancing of SWCs

MICROSAR RTE
module
AUTOSAR

Training Contact and Availability


In the framework of our training program we can offer vari- For information on the availability of hardware-specific
ous training courses and workshops on MICROSAR at our MICROSAR BSW modules go to:
classrooms or at your business site. www.microsar.com/availability/
We would be glad to provide you with information on OEM-
For more information on individual training events and dates
specific versions and individual support for your AUTOSAR
please visit: www.vector-academy.com projects.
Find your contact person at: www.vector.com/contact

Moreover, the MICROSAR RTE offers: Configuration


> Generation of code templates for SWCs based on the XML file You can configure the MICROSAR RTE with DaVinci Developer. As
“SWC Description“. These templates contain all APIs of the RTE. an extension to the AUTOSAR method, it contains validation rules
Users fill these templates with their own application code. that ensure the consistency of the RTE’s configuration parame-
> Use of memory protection mechanisms as specified in the ters. The subsequent generation of the RTE is performed directly
AUTOSAR operating system. This support is especially optimized from DaVinci Developer or with a separate generator. Automated 2/39
when MICROSAR OS is used, the AUTOSAR operating system generation of the RTE using the command line method is also pos-
from Vector. sible.
> Configuration of initialization runnables for the AUTOSAR
concept of “Mode-Dependent Runnables” Scope of Delivery
> Generation of an A2L file for simple linkage to existing > Command line based generator (for Windows NT/2000/XP/
calibration and diagnostic standards Vista)
> Generation of an HTML report showing RTE properties. > BSW modules description
It contains information such as the calculated RTE resource > Documentation and sample programs with makefiles
load (RAM + constants).
The complete AUTOSAR Solution from Vector
The following AUTOSAR 3.x functions are optionally available: The AUTOSAR solution from Vector consists of the DaVinci
> External Client/Server communication (Inter-ECU) tools, MICROSAR basic software and MICROSAR RTE.
> Full support for measurement and calibration You will find information on properties of BSW modules from
> Rx data filter for functional software the MICROSAR packages as well as details on functional fea-
tures of the DaVinci Tools in separate datasheets.

Other Relevant MICROSAR Products:


The RTE requires the presence of an operating system such as
MICROSAR OS or osCAN. ◆

MICROSAR RTE enables


generation of code
templates for the SWCs
Identity Manager for AUTOSAR
Solution for Multiple ECUs

Overview of Advantages Identity


> Efficient handling of variants An ECU is identified by its Identity. The Identity establishes
> Less administrative effort which variant of the ECU should be activated (e.g. which door
> Reduced warehousing costs side). So, an Identity is really the configuration of an ECU
that is active at runtime and is based on a description file.
2/40
When retracing the development of ECUs in the automobile, a clear The Identity is set when the ECU is initialized.
trend emerges – ECUs are becoming increasingly more powerful.
At the same time, numbers of variants are drastically increasing. Physical Multiple ECU
This is reflected in increased administrative effort, which in turn The term physical multiple ECUs is used when multiple ECUs in the
drives up costs. vehicle perform nearly identical functions at different locations.
To reduce these costs, it is necessary to reduce administrative Door ECUs (driver, front passenger and rear doors) are a typical
effort. This can be done successfully with the help of intelligent example. In this case, just one ECU is developed and manufac-
solutions that efficiently manage the many different variants. tured, which is then installed at multiple locations. When powered
Based on many years of cooperation with automotive OEMs and up, each ECU knows, by what is referred to as its Identity, which
suppliers, Vector is very familiar with typical use cases for ECU ECU it is and where it is installed, and therefore which functionali-
variants, and it offers a solution based on AUTOSAR Release 3.0. ty it needs to perform. In communication, the individual ECUs are
then differentiated only by their Rx and Tx PDUs, diagnostics and
Goals address in the network.
This solution for multiple ECUs seeks to achieve the following
goals: Rx and Tx PDUs
> Simplifications in the development of ECU variants What matters in processing the Rx and Tx PDUs of the different
> Reduced administrative effort and logistical costs in manufac- ECU variants is the layout of the PDUs. When they have an identi-
turing and service (an ECU with just a single part number is cal layout, the buffers of the PDUs can be completely overlaid,
used in multiple instances) and this results in just one PDU. The application accesses signals
> Reduced service costs and data elements independent of the identity. So, it is not neces-
sary to distinguish between identities in code.

Physical multiple ECU


AUTOSAR

Even if just a few signals are identical in the PDUs, they can still During operation, when diagnostic services are requested that are
be overlaid. The RTE implements this by the so-called Fan-in or not relevant to the active Identity, the appropriate negative res-
Fan-out mechanism. ponse is automatically sent.

Integration in the AUTOSAR Approach Saving Resources


Per AUTOSAR, an ECU is described by an “ECU Extract of System Since physical multiple ECUs are largely identical, no separate set 2/41
Description”. To describe two or more ECU variants, two or more of configuration parameters is created when optimizing certain
“ECU Extracts of System Description” are needed. For the RTE, BSW modules, rather only a common one is created for all instan-
DaVinci Developer is used to merge all of these files into one file. ces. This applies to identical messages, diagnostic services, etc. ◆
For the basic software, the higher-level “ECU Configuration
Description” file (ECUC) is generated in parallel. So, both files
contain a superset of the relevant information.

Trusted Configuration Process


The DaVinci Developer and GENy configuration tools read-in the
merged files (ECU Extract of System Description or ECU Configura-
tion Description). In both tools, the user finds a superset of the
ECU interfaces to be implemented and configures the multiple
ECU just like a normal ECU. The Project Assistant that is included
in the tools supports you here.

Diagnostics
To describe the diagnostics of an ECU, one diagnostic description
file (CDD) is needed per ECU. Just as done for communications,
identical diagnostic services are overlaid, and so only one
instance of them exists. As usual, the user configures the opti-
mized superset of all diagnostic services in GENy.

Configuration process of
multiple ECUs
EMBEDDED SOFTWARE

Wide Availability of MICROSAR


Supported Microcontrollers and Compilers for the hardware-specific AUTOSAR BSW Modules

Controller Compiler MICROSAR OS MICROSAR CAL [2, 3]


[1] CAN FlexRay LIN IP/Ethernet Further MCAL Driver

Altera
NIOS II GNU, Tasking X

Atmel
AVR32 IAR X [4] X

Freescale
i.MX25 GNU X
MAC7100 ARM, IAR X X
S12, S12X Cosmic, Metrowerks X X X X X
MPC55xx, MPC56xx Cosmic, Green Hills, X X X X [4] X
Metrowerks, Wind
River
Fujitsu
16FX Fujitsu X
FR60 Fujitsu X X X
MB86 GNU X X
Infineon
CIC310 X
(External Controller)
TriCore GNU, Green Hills, X X X [4] X
Tasking
XC2000 Tasking X X X
Microchip
dsPic33F Microchip X
Renesas Electronics (NEC/Renesas)
78K0R IAR X
V85x Green Hills, IAR, X X X X [4] X
Renesas (NEC)
M32C Renesas, IAR X X X
M32R Renesas X
R32C Renesas, IAR X X X X
SH2 Renesas X
V2.0 2010-05

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

Availability and Contact


The MICROSAR software modules are hardware independent to a large
extent. Only the modules listed in the table below must be tailored for
each hardware platform. Please send a request to Vector for the
combination of derivative and compiler you require. Please collect this
information as early as possible, so that Vector can supply your
software for the project start.
Find your contact person at: www.vector.com/contact

Controller Compiler MICROSAR OS MICROSAR CAL [2, 3]


[1] CAN FlexRay LIN IP/Ethernet Further MCAL Driver

Texas Instruments
TMS320 Texas Instruments X
TMS470 Texas Instruments X X
TMS570 Texas Instruments X X X X X
Vector
CANoe osCAN Microsoft VisualC X X X X X X
Emulation

[1] = As alternative to MICROSAR OS you can use an osCAN operating system in AUTOSAR systems.
[2] = Some of the MCAL drivers are created by hardware manufacturers and correspond partly to AUTOSAR release 2.1.
[3] = On request Vector can develop further MCAL drivers or merge the configuration of your MCAL drivers into the configuration tool
DaVinci Configurator Pro.
[4] = Currently in development

More Information: www.vector.com/contact


DaVinci Developer
Designing AUTOSAR Software Components and Configuring the MICROSAR RTE

Functions
Overview of advantages DaVinci Developer offers extensive functions for defining and
> Convenient graphical definition of software components integrating AUTOSAR SWCs:
> Clear representation of complex systems > Graphical definition of SWCs with extensive layout functions
> Special functions simplify data exchange between OEM and > Definition of port interfaces and data types
ECU developer > Definition of port prototypes with service needs and communi-
2/42
> Easy connection to configuration management tools cation specification, e.g. initial values and timeouts
> Consistent configuration of the MICROSAR RTE > Definition of runnable entities with activation events and port
access
DaVinci Developer is the professional tool for designing AUTOSAR > Support for all types of AUTOSAR SWCs and application compo-
software components (SWCs) and for configuring the MICROSAR nents, compositions, calibration and service components
RTE. Convenient graphical editors let you design the structure and > Import and export of AUTOSAR XML formats (System Descrip-
interfaces of the functional software for your ECU quickly and tion Template, Software Component Template)
clearly, and they facilitate smooth integration of the functional > Support for various AUTOSAR XML versions in parallel.
software with the ECU‘s basic software. > Signal import from commonly used network description formats
(DBC, FIBEX, LDF)
Application Areas > Data mapping of port data to network signals
DaVinci Developer supports ECU developers in developing > Consistency check of the SWC definition and the RTE
AUTOSAR-conformant ECUs. You can use DaVinci Developer as an configuration
architecture tool to define application software architectures. > Interface to model-based development tools via AUTOSAR-SWC
DaVinci Developer is also well-suited as an integration tool you description files
can use to consistently integrate existing AUTOSAR SWCs in an
ECU. This means that DaVinci Developer is a flexible tool that can Workflows and AUTOSAR Methods
be used in different OEM projects. DaVinci Developer can be flexibly used in a distributed develop-
Finally, DaVinci Developer lets you consistently configure the ment process based on the AUTOSAR method. For this purpose,
MICROSAR RTE based on previously defined AUTOSAR SWCs. the tool offers extensive functionality for data exchange between
OEM and ECU developer:

DaVinci Developer – Design tool


for AUTOSAR-conformant ECUs
AUTOSAR

Training Events
In the framework of our training program, we offer various
AUTOSAR training courses and workshops at our classrooms,
as online Webinars or at your company site.
For more information on individual training events and the
schedule on the Internet go to: www.vector-academy.com

> Import/Update function to support an iterative development DaVinci Developer works seamlessly with DaVinci Configurator Pro
process to create a consistent overall configuration. For example, the
> Diff and Merge functions with configurable presettings for indi- service components and IO hardware abstraction components
vidual objects. This makes it possible to extend OEM-generated generated by DaVinci Configurator Pro can be conveniently
SWCs by adding port prototypes and runnable entities. imported and linked to the application SWCs. DaVinci Developer
> Library concept for reusing components or interfaces in offers special support by automatically creating suitable service 2/43
multiple ECU projects port prototypes and server runnables for the application SWCs.
> Connection to configuration management systems with fine- Finally, the RTE configuration is saved AUTOSAR-conformantly in
granulation versioning of individual objects, e. g. SWCs an ECU configuration file.

Special functions Scope of Delivery


> Configuration of multipurpose ECUs > DaVinci Developer
> Project assistant for conveniently creating and updating > Utility tools for automating work steps
ECU projects > Demo data
> User-specific extension of the data model by generic > Documentation ◆
attributes

Configuration of the MICROSAR RTE


DaVinci Developer is used to configure the MICROSAR RTE; it sup-
ports work steps such as:
> Assigning runnable entities to operating system tasks. This
work is simplified by special views on the runnable entities,
such as the trigger-oriented or component-oriented view.
> Configuring optimization options
> Consistency checking of the RTE configuration with detailed
error reports and tips on correcting inconsistencies

The complete AUTOSAR solution from Vector


Vector‘s DaVinci and MICROSAR products offer a fully tuned
solution for developing AUTOSAR ECUs.
Separate datasheets describe general properties of the BSW
modules from the MICROSAR packets and detailed functional
features of the individual DaVinci Tools.
DaVinci Component Tester 1.0
Testing AUTOSAR Application Software on the PC

DaVinci Component Tester is a universal run-time platform for


Overview of advantages testing SWCs in all development phases of ECU applications.
> User-friendly testing of AUTOSAR software components
(SWC) on a PC Application Areas
> Wide variety of use cases; from tests supporting the ECU DaVinci Component Tester supports the following application areas:
developer to acceptance tests at the automotive OEM > Rapid Prototyping
2/44
> Suitable for all application SWCs, e. g. state machines or While developing ECU applications, you can use the DaVinci
control systems Component Tester as a convenient run-time platform for SWCs.
> Testing of SWCs developed manually or by model-based By integrating DaVinci Component Tester in the development
methods environment, you can execute and debug the SWCs right on
> Unlimited support of all SWC interfaces per AUTOSAR your development PC. Also, in conjunction with a development
Release 3.0 and test tool such as CANoe you can control the SWCs inter-
> Quick setup of tests without time-consuming configuration actively, e.g. via user interfaces, and analyze their behavior.
> Simplified test cases by emulating AUTOSAR Standard Services > Unit Test of software components
> Interfaces to standard test tools: CANoe from Vector and Use DaVinci Component Tester for testing the functionality and
NUnit AUTOSAR-conformity of your SWCs. Together with a unit test
> Interfaces to development environments such as Microsoft tool such as NUnit, this will increase the quality of your SWCs by
Developer Studio or Eclipse via open interfaces testing during development. An example is automated
regression tests.
Thanks to AUTOSAR, an ECU’s application software can be devel- > Integration tests of software components
oped as hardware-independent software components (SWCs) DaVinci Component Tester supports integrating complex sys-
based on a Virtual Functional Bus (VFB). DaVinci Component Test- tems consisting of multiple SWCs. When used together with a
er is a high-performance VFB emulator that enables execution and test tool like CANoe, this lets you verify system functionality
testing of such SWCs on a PC. It is very easy to configure the early on.
DaVinci Component Tester, by using just the SWC description file
without modification of the SWCs. The original source code is exe-
cuted directly.

Testing atomic AUTOSAR software components with Testing a composition of multiple software components
DaVinci Component Tester with DaVinci Component Tester
AUTOSAR

Functions Operating Modes


The core of DaVinci Component Tester is an emulator that executes DaVinci Component Tester offers two operating modes, which
the SWCs on a PC. This does not require an AUTOSAR RTE (Runtime depend on its intended use. They affect execution of the SWC’s
Environment) or basic software. The finely tuned emulator simu- runnable entities:
lates the AUTOSAR-ECU environment for the SWC under test with > Programmed execution mode
realistic behavior. The emulation covers full RTE functionality and You can implement execution of the runnable entities in an 2/45
lets you test any AUTOSAR Release 3.0 SWCs using functions such explicit test case. This execution mode is used in unit tests with
as: focus on detailed inspection of the implementation.
> Setting data elements of receiver ports > Automatic execution mode
> Reading data elements from sender ports DaVinci Component Tester executes the runnable entities
> Calling up server ports independently according to the trigger specification, e.g.
> Controlling mode ports periodically every 10 ms. Therefore DaVinci Component Tester
> Setting calibration data synchronizes itself to the time base of your test tool. This
> Executing runnables with non-blocking API calls (Category I) execution mode is used for integration testing of complex SWCs
> Executing runnables with blocking API accesses (Category II) or in experimental startup of a SWC during development
> Handling internal communication between multiple SWCs (Rapid Prototyping).
> Simulating errors such as timeout or empty queue
All you need to configure the test setup or experiments is the SWC
description (AUTOSAR XML file). Based on the SWC Description,
DaVinci Component Tester provides a structured API that can be
used by an external tool to access the SWC. The external test tool
handles control of the test, e. g. by programming test cases, and
evaluation of the test.
> EcuM (ECU Manager)
Special functions > DEM (Diagnostic Event Manager)
> Instruction line support for automated tests > FiM (Function Inhibition Manager)
> Checking API consistency of the SWC Description and SWC > NvM (Non-Volatile Memory Manager)
implementation file > ComM (Communication Manager)
> Programming callbacks in the test environment for specific > WdgM (Watchdog Manager)
2/46
reaction to an API call of the SWC under test
> Generating the header file of SWCs (Contract Phase Gener- Interface to CANoe
ator) for compiling the SWC implementation with the You can use DaVinci Component Tester in combination with CANoe
Microsoft Compiler to execute integration tests of SWCs. While CANoe controls the
test flow, DaVinci Component Tester automatically handles execu-
Service Emulator tion of the runnable entities. Therefore DaVinci Component Tester
DaVinci Component Tester contains an emulator for the standard synchronizes itself to the simulation time of CANoe.
services of an AUTOSAR ECU. This emulator simulates the behavior You describe the test environment in CANoe, e.g. with the help of
of the services in an abstracted form. the Test Feature Set. All other CANoe functions are available as
When a test or experiment is set up, the SWC’s service ports are well; such as panels, analysis windows and integration of MATLAB
automatically connected to the service emulator. There is no need models for an environment simulation.
to explicitly consider the service ports in the test environment,
allowing you to focus entirely on the SWC’s application ports. This
reduces the complexity of the test environments considerably.
The service emulator may be accessed at any time. For example,
you can preset a block with a certain value that is read out by the
SWC from nonvolatile memory, or you can check the value chan-
ged by the SWC. Similarly, users can control or monitor the cur-
rent state of the ECU Manager from a test case.
The service emulator supports AUTOSAR standard services of the
following basic software modules:

Functional principle:
Interfacing DaVinci Component Tester to CANoe
AUTOSAR

Interface to NUnit > Contract Phase Generator


You can execute unit tests of SWCs in conjunction with the open Instruction line tool for generating the SWC’s header file
source tool NUnit. This is done by implementing the test cases in any > Emulator (including Service Emulator)
desired .NET language such as C#. The test cases typically show the .NET DLL for executing SUT executables
following pattern: Set input vector, execute runnables, read output > NUnit Adapter
vector and check it. NUnit handles test execution and reporting. Interfaces the emulator to NUnit. Interfacing is via a .NET 2/47
Microsoft Visual Studio is used to program the test cases. In Assembly with a structured API for access to the SWC.
implementing the test cases, you are supported by programming > CANoe Adapter
assistance integrated in the development environment (Intelli- Interfaces the emulator to CANoe. Interfacing is via a .NET
Sense). For example, a user could easily program access to a Node, which you integrate in your CANoe configuration. The
receiver port by listing all of the SWC’s receiver ports and select- SWC’s input and output data elements are mapped via CANoe
ing the desired port from the list. system variables.
> Sample projects
Integration in your test environment > Manual as PDF document
Due to its open interfaces, DaVinci Component Tester can be
integrated in your development environment or test tool System Requirements
chain, making it AUTOSAR-capable. Vector offers support in > MS Visual Studio 2005 or 2008 (Express, Standard or
integration of DaVinci Component Tester. Professional Edition)
> CANoe 7.1 or higher
> Alternative: NUnit 2.4.7 or higher (available at:
Scope of Delivery http://www.nunit.org) ◆
DaVinci Component Tester consists of the following components:
> SUT Executable Generator
Instruction line tool for preparing the SCW under test as an
executable system under test (SUT). Inputs are the SCW
implementation compiled by the Microsoft Compiler and the
SWC Description (AUTOSAR XML).

Functional principle:
Interfacing DaVinci Component Tester to NUnit
DaVinci Configurator Pro
Configuration of AUTOSAR Basic Software

Vector’s DaVinci Configurator Pro is the professional tool for con- > Support of commonly used network description formats (DBC,
figuring the Basic Software (BSW) modules of an AUTOSAR ECU FIBEX, LDF) and/or the AUTOSAR “ECU Extract of System
according to the AUTOSAR standard. Description”
> Flexible generation options for optimal integration in existing
Properties and Advantages development processes
2/48 DaVinci Configurator Pro was created as an open tool for configur- > Project assistant for easily creating and updating ECU projects
ing and generating BSW modules. It is a practical, intuitive and
user-friendly implementation of the AUTOSAR method. In addi- Application Areas
tion, its multi-stage and rule-based validation process assures DaVinci Configurator Pro supports users in configuring, validating
consistency of all configuration parameters between modules. and generating BSW modules from Vector (MICROSAR), third party
For user-friendly configuration of the BSW modules, DaVinci producers (e.g. MCALs from semiconductor manufacturers) and
Configurator Pro uses so-called DaVinci description files which are user-developed BSW modules.
included in the scope of delivery of Vector AUTOSAR BSW modules
(MICROSAR). The DaVinci Configurator Kit from Vector, available Functions
as a separate product, makes it easy to create these DaVinci de- DaVinci Configurator Pro offers users two different configuration
scription files on your own. As an alternative, if only an AUTOSAR modes: Comfort Mode and GCE Mode.
“BSWMD” file exists, DaVinci Configurator Pro offers the Generic
Configuration Editor (GCE) mode for modules. This makes it an The Comfort Mode supports you extensively in configuring the
ideal central configuration tool. BSW modules. Using the DaVinci description files you can:
DaVinci Configurator Pro is also characterized by the following > Edit configuration parameters over a user-oriented interface,
properties: e.g. to show complex configuration relationships in simplified
> Support of all available AUTOSAR releases (2.1, 3.0 and 3.1), form
also in mixed forms within a project > Validate parameters across modules
> Project-oriented working mode by simple activation or deacti- > Define the value range of input values
vation of individual BSW modules > Display configurations in GCE or Comfort Mode
> Show the syntax of internal module APIs and callouts
> Display implementation-specific help texts

Configuring BSW modules with


DaVinci Configurator Pro
AUTOSAR

Useful auxiliary tools included in the scope of delivery: Services


> DaVinci Initial ECUC Generator for the initial generation Vector can support you with standard software for your pro-
of an “ECU Configuration Description” (ECUC) file from an jects, as well as with customized services such as a hotline,
“ECU Extract of System Description” special workshops and training on the topic of embedded
> DaVinci ECUC Updater for updating an existing ECUC file software and AUTOSAR. For more information go to
after a change has been made to the “ECU Extract of www.microsar.com or contact us directly.
System Description”
> DaVinci Difference Analyzer for comparing AUTOSAR files

Beyond the functional features defined in AUTOSAR, the GCE Mode Scope of Delivery
of DaVinci Configurator Pro offers the following supplemental > Windows-based configurators: DaVinci Configurator Pro and
functions: GENy
> Clearly organized display of all software modules based on the > DaVinci Initial ECUC Generator, DaVinci ECUC Updater, DaVinci
AUTOSAR architecture ECUC Difference Analyser
> Copying of configurations of individual BSW modules from 2/49
other projects Additional Services
> Efficient searching and modification of AUTOSAR containers, > Creating DaVinci description files for convenient and user-
parameters and references over the entire project definable configuration, validation and generation of any
> Easy integration of external code generators desired modules with DaVinci Configurator Pro
> Flexible definition of target directories > Hotline, special workshops and training events on the topic of
> Add module-specific documents for quick access embedded software and AUTOSAR ◆
> Logging of configuration settings and listing of important
alerts

The GENy tool is included in the scope of delivery and is used for
time-saving configuration of communication-related MICROSAR
BSW modules from the SYS, COM, CAN, LIN, FR, MOST and IP pack-
ets as well as diagnostic modules from DIAG. GENy offers a user-
friendly interface specifically optimized for these configuration
parameters, and it can be directly opened from within DaVinci
Configurator Pro.

DaVinci Configurator Pro supports you in conveniently configuring, validating and generating AUTOSAR BSW modules.
DaVinci Configurator Kit
Creating configuration interfaces and generators for user-developed software modules

The AUTOSAR architecture currently defines approx. 50 configura- Application Areas


ble standard Basic Software (BSW) modules. Each module is con- The DaVinci Configurator Kit supports developers of AUTOSAR
figured to the needs of an individual ECU. DaVinci Configurator basic software modules, complex device drivers and user-devel-
Pro is the AUTOSAR configuration tool from Vector that is used to oped software modules. Developers benefit from the simplified
configure all BSW modules. process of creating configuration interfaces, validation rules and
2/50 You can extend DaVinci Configurator Pro (see separate datasheet) generators without requiring knowledge of tool programming.
with the DaVinci Configurator Kit, so that you can configure and With just minimal effort it is possible to configure and integrate
generate – in a time-saving and user friendly way – your own in- complex device drivers in an existing AUTOSAR SW architecture.
house embedded software modules. This lets you concentrate ful-
ly on the development of your embedded software module, and Functions:
you will not need any additional configuration tool. You can also The Vector DaVinci Configurator Kit lets you:
use the DaVinci Configurator Kit to extend any desired software > Generate the AUTOSAR-conformant “BSW Module Description”
module to prepare it for integration in an AUTOSAR ECU. > Conveniently create configuration interfaces, validation rules
Conformance to the AUTOSAR standard is assured by Vector’s and generation processes for DaVinci Configurator Pro
many years of experience with AUTOSAR. > Define range and default values for configuration parameters
> Conveniently define your own configuration parameters
Properties and Advantages > Describe dependencies between different configuration
The DaVinci Configurator Kit supports the embedded module parameters – within a module or across modules
developer in designing individual configuration interfaces for > Create your own code generators
user-developed software modules and creating flexible code gen- > Easily define individual project reports that document the
erators. parameter configuration in DaVinci Configurator Pro
As a supplement to the AUTOSAR method, the DaVinci configura- > Extend the DaVinci Configurator Pro functionality by integrat-
tion tools from Vector also offer a validation feature. Before code ing your own C++ based DLLs
generation it ensures that individually configured parameters as > Protect your own know-how by encrypting DaVinci description
well as complex parameter groups are consistent with one anoth- files
er. For user-created software modules, you can also use the
DaVinci Configurator Kit to define the validation rules.

DaVinci Configurator
Kit supports you in
integrating your
software module in
DaVinci Configurator
Pro
AUTOSAR

Services
Vector can support you with standard software for your pro-
jects, as well as with customized services such as a hotline,
special workshops and training on the topic of embedded
software and AUTOSAR. For more information go to
www.microsar.com or contact us directly.

Additional Services
The following development tools are included with the DaVinci > Designing convenient configuration interfaces and supplemen-
Configurator Kit: tal validation rules for software modules of third party
> Eparm to define and pre-configure individual parameters producers, such as MCAL drivers or IO hardware abstraction
for a module > Completely creating complex device drivers
> Clix to flexibly lay out user interfaces for displaying and > Extensions of AUTOSAR standard BSW modules 2/51
editing the module configuration in DaVinci Configurator > Developing customer-specific AUTOSAR software components
Pro (SWCs)
> Erule to create complex rules for data checking and file > Working out individual strategies for migration of your existing
generation systems to AUTOSAR
> Cryps to encrypt DaVinci description files created with > Hotline, special workshops and training events on the topic of
Eparm, Clix and Erule embedded software and AUTOSAR ◆
> Elic to incorporate user-developed modules in existing
DaVinci Configurator Pro licenses

Scope of Delivery
> DaVinci Configurator Pro (developer license)
> Tools for generating the DaVinci description files
> Extensive technical documentation of interfaces, as well as
numerous application examples
> Command line based code generator
> 3 days of training
> 20 hours of hotline support

Defining a module’s configu-


ration parameters with the
Eparm tool from the DaVinci
Configurator Kit.
AUTOSAR Services
Proficient support for your AUTOSAR projects

MICROSAR Startup Workshop


Overview of advantages Perhaps you have already been working with AUTOSAR and would
> Efficient and effective way to build up an AUTOSAR now like to also use MICROSAR products on a specific project? In
knowledge base our Startup Workshops, we can guide you through initial startup:
> Customized support > Integrate MICROSAR components into your project structure
> Quick implementation of your application > Initialize the hardware, including CPU clock, PLL and Watchdog
2/52
> Configure the operating system
Our AUTOSAR Services support you in every phase of your ECU > Start up all CAN, LIN and FlexRay buses
development process. Based on your existing level of AUTOSAR > Start and stop communication as a function of the network state
competence and your goals, we can work together with you to > Provide the necessary I/O signal interfaces including signal
plan and implement an individually tailored package. Advantages: conditioning
You improve the efficiency of your development activities and > Integrate diagnostics, error memory and memory management
build up AUTOSAR expertise within your organization by taking in the ECU software
advantage of our AUTOSAR experience. > Link the applications to watchdog management
> Integrate the Vector Flash Bootloader including the OEM-
AUTOSAR Training specific flash routine
Vector’s AUTOSAR training is the ideal entry for your ECU develop-
ment with AUTOSAR. Intensive training exercises guarantee its MICROSAR Premium Support
practical value. For a list of Vector in-house training courses on As a supplement to our Startup Workshop, or if you are already
the Internet go to: www.vector.com/AUTOSAR-Training quite familiar with our MICROSAR solution, we can offer you more
We would be glad to conduct a workshop at your business site as advanced support in the form of telephone or email support.
well. We can also adapt training contents to your individual Upon request, we can also arrange to provide support right at
needs. your business site.
Vector Katalog ECU Software EN 11.05.2010 11:33 Uhr Seite 2/53

AUTOSAR

MICROSAR Coaching AUTOSAR Project Work


Our MICROSAR Coaching is a combination of the Startup Workshop Are you looking for a proficient software development partner for
and Premium Support. Our experts are available to you as primary your ECU project? Or perhaps you would like to focus more of your
contacts for the duration of your project. time on application work or functional development? Vector can
handle your development packages for you:
MICROSAR Solution Workshop > Create customized software components 2/53
In the framework of our solution workshops, our experts work > Configure and integrate all basic software including firmware,
together with you to come up with solutions for your special pro- I/O hardware abstraction, etc.
ject requirements that help you: > Link your applications to the basic software
> Optimally use the AUTOSAR tool chain > Perform (model-based) development of all ECU software
> Migrate your existing software to AUTOSAR architecture Take advantage of our numerous years of experience and our
> Use AUTOSAR OS extensive expertise in developing software for the automotive
> Implement interfaces from I/O Hardware Abstraction to the RTE industry. ◆
> Add gateway functionality if necessary
> Structure MATLAB/Simulink models to link them to the RTE as
software components
> Link OEM or customer-specific software components to the RTE
> Optimally use NV Memory Management
> Implement ECU and Mode Management at start-up and
shut-down
> Come up with hardware-dependent Sleep and Wakeup concepts
that meet individual quiescent current requirements
> Optimize Watchdog Management
> Apply diagnostics based on OEM specifications
> Fulfill functional safety requirements (ISO DIS 26262)

For more information


On our “AUTOSAR Services” please contact us. Please find
your contact person at: www.vector.com/contact
Communication Software

The software implemented in automotive ECUs can be either infra- CANopen


structure software or application software. The latter implements For CANopen communication, Vector offers source code for master
the desired functionality, while the infrastructure software in- and slave ECUs. The source code contains all functions and serv-
cludes the operating system, communication software and funda- ices required for the CANopen protocol, which are standardized by
mental input and output services. CiA. Detailed information on this can be found beginning on page
3/22.
The use of uniform communication protocols is absolutely neces-
sary when setting up networks in a vehicle. The use of standard- Uniform solution
ized software components ensures easy portability and reliable Network communication is described in a database. It is used to
integration of ECUs in the vehicle’s network for the automotive configure the software components and serves as a foundation
3/0 OEM and its suppliers. In addition, the software components lead for Vector development and test tools. This gives software devel-
to a substantial reduction in development costs. opers a universal and uniform solution, from simulation and
design to testing and validation.
Software components in Conventional Systems without Further information on tools for development and testing of auto-
AUTOSAR motive networks can be found in the combined product catalog
Vector develops high-quality and innovative software components “Development of distributed systems” and “ECU testing”.
for use in the automotive industry. One focus of the product line is
on ECU communication, an area in which Vector has well-founded
knowledge. The necessary hardware drivers are also important
here.
CANbedded products from Vector are available for systems without
AUTOSAR. You can obtain them for the CAN and LIN networks as
well as for the J1939 protocol. In addition, Vector can offer indi-
vidual solutions for further simplification of the application, e.g.
solutions for gateways or state management.

Communication Software for AUTOSAR Systems


Vector also provides AUTOSAR-based communications software.
This software is available for the CAN, LIN, FlexRay, MOST and
Ethernet/IP bus systems. Further information and a description
of the available software modules can be found in the AUTOSAR
section beginning on page 2/0.

Your partner right from the start


Vector offers comprehensive support, from the start of a project
to its successful completion. Training sessions and courses pro-
vide basic information and in-depth knowledge on working with
the software – conducted in Vector’s classrooms or right at your
company. Vector can assist you through the ECU development
process with on-site startups, code reviews, project-specific serv-
ices and other development-supporting software tools.
COMMUNICATION SOFTWARE

3/1
CANbedded
Embedded Software for the Controller Area Network (CAN)

The Vector CANbedded environment consists of a number of con- For distributed applications in automotive networks, it is benefi-
figurable source code components that provide functions which cial if all ECUs contain an identical protocol stack. This will guar-
cover the basic communication requirements in automotive appli- antee CAN bus compatibility.
cations. These functions – based on the CAN protocol – make it > Reduced development costs for implementation and testing
possible to exchange information with other ECUs. > Highly optimized software algorithms make it possible to use
inexpensive hardware
Features and Advantages > Careful development and wide usage in various ECUs makes
The Vector embedded software components provide a wide range CANbedded very reliable.
of features that are indispensable for ECUs in automotive applica-
tions. The software components integrate Vector’s experience in Functions
the areas of embedded software and CAN communication: The basic concept of CANbedded is to provide an interface that is
3/2
> Standard components based on generic code that are scalable simple to use and can be used in all applications. The standard-
for application-specific requirements ized interface includes:
> Low ROM and RAM resource requirements > Basic initialization of the hardware and software
> Efficient run time > Cyclical call of the corresponding state machine (if timing
> Automatic generation of parameter settings and configuration aspects are necessary)
information > Functions needed to change the internal state of the CANbedded
> Simple integration in application software software components.
> Compatibility with Vector’s analysis, simulation and calibration Asynchronous events resulting from CAN bus activities such as
tools receiving messages, wake-up functions or different error states
> Compatibility with the requirements of automobile are forwarded to the application via callback functions.
manufacturers Some applications must run multiple CAN buses. For such applica-
You can use the PC-based configuration tool GENy to configure tions, the CAN Driver – and often the higher CANbedded software
the CANbedded software components for each target node. components as well – must provide a multi-channel interface;
therefore, all Vector software components are available in a multi-
channel version.

Overview on the
CANbedded software
components
COMMUNICATION SOFTWARE

Training
As part of our training program, we offer a range of classes
and workshops on CANbedded at our classrooms or at your
business site.
For more information and the dates of our training courses,
please visit our homepage on the internet at:
www.vector-academy.com

For easy integration of CANbedded software components in an Hardware Interfaces


ECU, the software components include exception handling mecha- The CAN Driver provides a largely hardware-independent interface
nisms for unexpected conditions (Assertions). They are passed to to higher software layers. This makes it possible to use and reuse
the application by suitable functions. components independent of the hardware platform.
The following basic functions are implemented by the CAN Driver:
Supported Standards > Initialization of the CAN controller
Most functional requirements are based on international > Transmission of CAN messages
standards. Vector provides software components for a wide > Receiving of CAN messages
range of tasks, based on the following specifications: > Overrun and error handling
> ISO: International Organization for Standardization > Wake-up functionality.
> OSEK: Open Systems and their interfaces for Automotive The parameters for hardware initialisation, e.g. Acceptance filters 3/3
Electronics or bus timing registers, are pre-selected in the configuration tool.
> ASAP: Work Group for Standardization of Application If necessary, timing requirements are already considered by the
Systems CAN driver during initialization.
> AUTOSAR: Automotive Open System Architecture
Conformance of Vector software components to these stand- Scope of Delivery
ards has been verified in many projects with international The following components are included in the delivery:
automobile manufacturers. > Configuration tool as executable Windows Program
> C or assembly source code
> C header files
Application Areas > Documentation, user manual, readme
> Electronic control units for automobile and utility vehicles > Sample programs
> Special components are available for the J1939 protocol. For
details please refer to the CANbedded J1939 datasheet.
> You can obtain the CANopen master and CANopen slave source
code from Vector for easy implementation of CANopen devices.

Overview of the design, configuration


and integration process
Vector CANbedded software components are generally available in
C, but may also be available in assembly language for time-critical
applications on small micro-computers. The advantage of source
code components is the simple handling of many different config-
urations, which directly results in efficient object code.

Availability
CANbedded software components for vehicles are available
for many common microcontrollers. For more information
please visit: www.canbedded.com
3/4

Additional Services
Vector also offers services covering the following aspects:
> Adaptation of the CANbedded environment
> Expansion of standard components
> Software components for other bus systems such as FlexRay,
Ethernet or MOST based on AUTOSAR

These services are supplemented by telephone and email hotlines


and special workshops for OEM-specific solutions. Vector also
offers customized consulting for software integration with the
goal of reducing development time and costs. ◆

Configuration and parameterization


with the GENy configuration tool
COMMUNICATION SOFTWARE

3/5
CANbedded J1939
Embedded Software Components for J1939 Applications

> J1939 Module Virtual ECUs: Multiple instancing of the software


Overview of Advantages on a CAN channel for implementing multiple independent
> Convenient configuration via GUI J1939 nodes on one ECU
> Code efficiency due to broad configurability of the > J1939 Transport protocol BAM
software > J1939 Transport protocol CMDT
> Good portability due to hardware-independent API > J1939 Dynamic Interaction Layer: Standard access to the
> Easy to integrate other standard components (e. g. trans- signals of PGNs with variable CAN identifiers (node address,
port protocol, diagnostics, etc.) priority) via macros.
Some applications use multiple CAN buses. In this case, the CAN
The CANbedded J1939 package contains software components for driver and the J1939 components provide a multi-channel inter-
3/6 SAE J1939-based applications. These components provide func- face.
tions for basic communication between ECUs, as they are needed
in heavy-duty vehicles. CANbedded J1939 is based on software Supported Standards
components of the CANbedded product line; for details please J1939 software components are based on the following inter-
refer to the CANbedded datasheet. Vector CANbedded J1939 soft- national standards:
ware components are available as source code. > ISO: International Organization for Standardization
> SAE: US Society of Automotive Engineers
Application Areas Many different projects with international automotive OEMs
> Powertrain and chassis ECUs in heavy-duty vehicles have confirmed that the Vector software components con-
> FMS (Fleet Management System) form to these standards.
> Terminals and agricultural implements

Functions
The following J1939 software components are available:
> J1939 Base Module: Contains queues for sending and receiving
J1939 messages (PGNs), static address claiming (J1939-NM)
and an interface to OSEK/VDX-OS

J1939 software architecture


COMMUNICATION SOFTWARE

Solutions for ISO11783 and NMEA2000 Training


We offer a CANbedded J1939 extension for ISO11783 We offer various courses and workshops for CANbedded
(ISOBUS) and NMEA2000. It contains the following function- J1939 in our classrooms as well as at our customers’ sites.
alities: For further information on individual classes and dates please
> Dynamic address claiming (J1939-NM) visit:
> ETP transport protocol and FastPacket www.vector-academy.com
> Working sets

Properties of the J1939 Software Components Optional Services


> Configurable standard components Vector can perform project work for you covering these aspects:
> C source code is provided for easy handling during integration > Adaptation of software components to other target platforms
> Low ROM and RAM memory requirements due to excellent > Extensions for ISOBUS and NMEA2000
scalability > Extension of standard components to add your specific
> Runtime efficiency functions
> Generation of parameter settings and configurations > Flash programming
> Easy to integrate in application software
> Components are compatible with the SAE J1939 standard This is supplemented by telephone and e-mail hotlines, special
workshops focusing on OEM-specific aspects and consultation on
Configuration software integration tailored to your needs. This reduces your 3/7
The PC-based GENy software tool is used to configure and gener- development time and development costs.
ate the CANbedded J1939 software components.
Supported Hardware Platforms
Scope of Delivery CANbedded J1939 is available for many different controllers
The CANbedded J1939 product includes: and compilers. You will find a current listing on the Internet
> GENy for configuring the software components at: www.canbedded.com/j1939
> C source code
> C header files ◆
> Documentation, user manual, Readme
> Sample programs

Configuring the J1939 system with


a convenient user interface
CANbedded LIN Communication
Embedded Software Components for Local Interconnect Network

LIN (Local Interconnect Network) is a cost-effective, serial com- Modifications and settings in detail:
munication system for distributed electronic control units in the > Adaptation of ECU-specific parameters to the network design
motor vehicle. The LIN protocol is specified by the LIN Consor- > Configuration of the LIN driver to the properties of the specific
tium, of which Vector is an Associate Member. ECU e.g. oscillator frequency, UART, etc.
> Configuration of diagnostic services for LIN Slave ECUs
Features and Advantages
> Definition of message and signal callbacks
Increasing software complexity makes it advantageous to imple-
ment standardized software components. Vector’s expertise ac-
The object codes of the LIN software components are compiled and
quired in developing and working with other protocols has been
linked with the application. Vector’s LIN simulation and analysis
utilized throughout the development of LIN software components:
tools (e.g. CANoe.LIN and CANalyzer.LIN) are available for inte-
> Standard software components based on a portion of the gen-
3/8 gration, analysis and for test purposes. For physical bus access one
erated code are scalable for application-specific requirements
of Vector’s XLI-Interface products can be purchased; these pro-
> Automatic generation of parameter settings and configurations
ducts serve as universal, serial bus interfaces for the LIN bus.
> Runtime efficiency
Timing control of the LIN software components is achieved by
> Low demand for ROM and RAM memory
having tasks called periodically by the application or an operating
> Simple interfacing to the application software
system. Therefore the LIN driver does not require any auxiliary
> Compatibility with other Vector products including analysis,
timers.
simulation, and calibration tools
> Support of LIN 1.2/1.3/2.0 and LIN 2.1
Functions
> Support of multi-channel LIN configurations
The fundamental objective of the implementation is to provide an
LIN networks are described in the LDF (LIN Description File) for- interface that is easy to use and satisfies all applications. The
mat according to the “LIN Configuration Language Specification”. standardized interface offers these features:
This includes all of the information needed to define signals, mes- > Initialization of the LIN hardware
sages, baud rate and schedule tables. A configuration tool is used > User-configurable baudrate (Recommended: 2400, 9600, and
to adapt all LIN software components to ECU-specific require- 19200 Baud)
ments. The tool imports either LDFs or NCF files (Node Capability > Sending of LIN messages (confirmation by flags and callback
File) for parameterization. functions)

LIN and CAN Software Architecture


COMMUNICATION SOFTWARE

Training Availability
As part of our training program, we offer a range of classes Our LIN software components for motor vehicle ECUs are
and workshops on CANbedded LIN Communication. available for a large number of commonly used microcontrol-
For more information and the dates of our training courses, lers.
please visit: www.vector-acadamy.com For further information please visit:
http://www.vector.com/vi_canbedded_lin_en.html

> Receiving of LIN messages (notification by flags and callback This makes it easy to implement CAN-LIN gateways, which are usu-
functions) ally implemented as master network nodes.
> Sleep and wakeup handling
> Protocol error handling LIN Master Transport Layer
> Timeout monitoring of messages Since the master ECU usually has an auxiliary CAN channel, over
> Checking of runtime behavior during the development phase which diagnostics are performed from a tester, the main task of
(debugging) the LIN master is to pass the received tester requests to the rele-
vant LIN slaves. The LIN Diagnostic Transport Layer (DTL) is used
Application Areas for this; it offers two API types according to the LIN 2.0 and 2.1
LIN was developed to round out a collection of automotive proto- specifications:
col standards, but it has been adopted in other areas such as > DTL Raw is used if the data already exist in segmented form
3/9
automation engineering as well. The focus is on cost-effective (routing of CAN TP messages on LIN).
communication networks for ECU subsystems with low data rates. > DTL Cooked accepts assembled data and segments them accord-
LIN therefore supplements existing bus protocols. ing to LIN bus requirements (Diagnostic Service Data Units).

Hardware Interfaces LIN Slave Diagnostics


Two software components are needed for LIN communication. One LINdiag is a very compact implementation of UDS 14229.3 diag-
component is a hardware-dependent low-level SIO driver, whose nostics for LIN slave ECUs. It receives requests, routes them to the
task is to implement abstraction of access to the serial interface. appropriate service and constructs the response in interaction
The second component, the LIN driver, is overlaid on this and pro- with the application. This involves internal management of a diag-
vides an API to higher-level components. This API satisfies all of nostic buffer to monitor for data consistency and overruns. To
the requirements of the current LIN standard. send and receive requests and responses LINdiag needs the LIN
The driver is a standardized and easy-to-configure software com- Transport Protocol, which is included in the delivery.
ponent for communication between master and slave network
nodes.
The LIN driver is one of the CANbedded components from Vector;
it assures consistent integration with CAN components.

Overview of Design, Configuration and Integration Processes


Further Options Supplemental Services
> Optional for slave ECUs: Diagnostic software components with Vector also offers related project services such as:
associated transport protocol > LIN driver expansions
> Optional for master ECUs: Transport protocol with raw or > Support of other target hardware
cooked API > Development of higher OEM-specific protocol layers, e.g.
> Gateway: CAN-LIN and LIN-LIN routing for master ECUs diagnostic protocol
> SAE J2602: As a supplemental option, support of the SAE J2602 Services also include telephone and e-mail hotlines, special work-
“Recommended Practice” specification is available for LIN shops with OEM-specific focus and individualized consultation on
drivers. software integration with the goal of reducing development time
> Flashing of LIN slaves and costs. ◆
3/10
Product Components
The following items are supplied with the product:
> Configuration tool (executable Windows program)
> C sources for LIN driver and optional software components
> Sample programs
> Documentation and operating instructions

Licenses
When the same hardware interface and same compiler are used
the acquired licenses can be used for all devices of a processor
type and any desired projects.
COMMUNICATION SOFTWARE

3/11
CANbedded Gateway
Standard Embedded Software Components for CAN and LIN Routing

> Signal routing


Overview of advantages > Message routing (with/without data queue)
> Selectable coupling of CAN and/or LIN networks with user- > TP (Transport Protocol) routing
definable routing relationships
> Mature standard software component Signal Routing
> Solid, lean and efficient foundation for your gateway ECU Routing of signals makes it possible to exchange dedicated infor-
> Available for a large number of OEMs mation (e.g. momentary vehicle speed) between the networks.
The send cycle times, send types and signal positions within mes-
To exchange data between different networks, a gateway ECU is sages – all defined in the communication database – may differ
needed that only transports to the other network those messages between the source and target networks. The values of the signals
3/12 or signals that are actually needed. to be transmitted are not changed in the process. In case of an Rx
timeout, the CANbedded Gateway implements a substitute value
Application Areas strategy. The signal to be transmitted is written and routed with a
CANbedded Gateway is a mature standard software component for predefined signal value (default value or special substitute val-
gateway ECUs between different CAN or LIN networks. CANbedded ue). If routing relationships occur that cannot be resolved, e.g. if
Gateway lets users define routing relationships simply and quick- the signals of a routing relationship have different sizes, the
ly. Both 1:1 and 1:N routings are supported in any direction. The application can use C callback functions to flexibly adapt signal
CANbedded Gateway utilizes bus-specific standard components of contents before routing (e.g. by scaling signal values).
CANbedded, and so it is hardware independent. It covers the spe-
cific requirements of many different OEMs. Message Routing
In routing of messages, the entire message is routed in either the
Functions interrupt or task context. This routing type is faster and more
The CANbedded Gateway contains complex mechanisms for receiv- efficient than signal routing, but it cannot be applied in all rout-
ing all messages and signals and then sending them to another ing relationships. In message routing, the messages may differ in
network under consideration of filter and conversion rules. Users their message-ID, send cycle and send type.
can select from:

Gateway
between CAN
and LIN buses
COMMUNICATION SOFTWARE

Training
In the framework of our training program, we can offer you
various training events and workshops on our software com-
ponents in our classrooms as well as at your business site.
For more information on individual training events and dates
please visit: www.vector-academy.com

By default, message routing always utilizes the most recent data. Configuration
If data is transmitted less frequently than the data is processed by The CANbedded Gateway is configured with GENy, the configura-
the associated Rx event, the CANbedded Gateway sends the data tion and code generator tool from Vector. The configuration pro-
of the last Rx event. Neither the signal layout within the message cess is based on a DBC or LDF/NCF description file. Routing rela-
nor the signal values are changed here. tionships are defined either:
The user can control gateway activities by configuring “condition- > Automatically by OEM-specific algorithms based on clear rules
al routing”. This saves on bandwidth during critical phases, such > Manually by targeted selection of the signals and messages to
as during software flashing or diagnostic sessions. This is done by be implemented
defining routing groups and assigning routing relationships to
one or more routing groups. At runtime, the application can ena- Scope of Delivery
ble or disable routing of individual groups with the help of an API. > Configuration tool as executable Windows program 3/13
> C source code
TP Routing > C header files
The TP Gateway is responsible for routing the transport protocol > Documentation ◆
data. Diagnostic requests from CAN to LIN and the associated
responses from LIN to CAN might be transmitted, for example.
Using the ISO transport protocol component from CANbedded, it
is possible to support different protocol addressing modes on the
CAN bus.

Other Relevant CANbedded Products


Preconditions for use of the CANbedded Gateway are the presence
of the Vector Interaction Layer (when signal routing is used) and
the relevant Vector CAN or LIN drivers. TP routing requires the ISO
Transport Protocol for CAN or the DTL (Diagnostic Transport Layer)
for LIN.

Layer model of the


CANbedded Gateway
EMBEDDED SOFTWARE

Wide Availability of CANbedded


Supported Microcontrollers and Compilers

Controller Compiler CANbedded/ CANbedded Controller Compiler CANbedded/ CANbedded


CANbedded LIN CANbedded LIN
J1939 J1939
Altera DIABDATA
Wind River,
NIOS II with Bosch GNU X MPC5xx X X
Green Hills,
D-CAN controller Metrowerks
Analog Devices DIABDATA
Wind River,
MPC55xx, MPC56xx X X
Aduc703x VDSP X Green Hills,
Metrowerks
BF5xx ARM, IAR X
Fujitsu
Blackfin VisualDSP++ X
8L, 8FX Fujitsu X
Atmel
16FX, 16LX Fujitsu X X
AT90CANXX HPInfotech, X
IAR FR30, FR50 Fujitsu X

ATmega (X8, X4P, HPInfotech, X FR60 Fujitsu X X


XC1, XM1) IAR
MB86R0x GNU X
ATtinyX7 IAR X
Infineon
AVR IAR X
C16x Keil, Tasking X X
AVR32 IAR X X
C5x5 Keil X
T89C51CC00x Keil X
TriCore GNU, Green X X
Cypress Hills, Tasking
PSoC3 Keil X XC16x Keil, Tasking X

Europe Technologies XC2000 Tasking X X

easyCAN ARM X Microchip

Freescale dsPic33F Microchip X


Cosmic, PIC18 Microchip X X
68HC08 X X
Metrowerks
PIC24 Microchip X
DSP56F80x Metrowerks X
Micronas
DSP56F83x Metrowerks X
HC12, HCS12, CDC32xxG Green Hills X
Cosmic, IAR,
MC9S12, S12, X X CEVF IAR X
Metrowerks
MCS12
HCS12x, MC9S12x, Cosmic, IAR, National
X X
S12x, MCS12x Metrowerks
CR16 National, IAR X X
MAC 7100 ARM, IAR X X
NXP
MAC 7200 IAR X
Microtec, LPC2000 Green Hills X
MC68k X
Tasking SAF7780 Green Hills X
DIABDATA
MCF52xx X
Wind River SJA20xx Green Hills X X
Cosmic,
MCS08 X X
V2.0 2010-05

Metrowerks

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

Controller Compiler CANbedded/ CANbedded Controller Compiler CANbedded/ CANbedded


CANbedded LIN CANbedded LIN
J1939 J1939
OKI ST10 GNU, Keil, X X
Tasking
AVC-Core ARM X
ST30 ARM, Green X X
ML76Q25xx IAR X Hills
MLQ565 OKI X STA20 ARM, Green X
Hills
Panasonic
STM32 ARM X
MN101E Panasonic X
STM8A Cosmic X X
MN103S Panasonic X
Telechips
Renesas Electronics (NEC/Renesas)
TCC800 ARM X
78k0 Renesas X X
Texas Instruments
(NEC), IAR
78K0R Renesas [1] X TMS320 Texas Instru- X
(NEC), IAR ments
78K0S IAR X TMS470 Texas Instru- X X
ments, ARM,
H8 tiny Renesas X Green Hills
H8S, H8SX Renesas, IAR X TMS570 Texas Instru- X X
ments, ARM
M16C Renesas, IAR X X
Toshiba
M32C Renesas, IAR X
TLCS870 Toshiba X
M32R Renesas, X
GAIO TLCS900 Toshiba X

R8C Renesas, IAR X X TX39 Green Hills X

R8SX Renesas X TX49 GNU, Green X


Hills
R32C Renesas, IAR X X
Xilinx
SH2, SH2-A Renesas, GAIO X
Microblaze GNU X
SH4 Renesas X
Vector
V85x Renesas X X
(NEC), Green CANoe osCAN Microsoft X X
Hills, IAR Emulation VisualC

Silicon Labs
[1] = Currently in development
C8051F5XX Keil X
STmicroelectronics
SPC56xx DIABDATA X X
Wind River,
Green Hills,
Metrowerks
ST7 Cosmic, Hiware X X
ST9 Cosmic, GNU X X

More Information: www.vector.com/contact


CANdesc
Software Component for Diagnostics

Vector’s CANdesc (desc = diagnostic embedded software compo- The diagnostic functionalities and diagnostic data for an ECU are
nent) enables vehicle and electronic control unit (ECU) manufac- described in the specification phase using CANdelaStudio and sto-
turers to implement the diagnostic protocol uniformly across red in a consistent database (CANdela). This ECU diagnostic specifi-
different OEMs and their vehicle lines. CANdesc supports diagnos- cation can directly be used to generate the CANdesc code. Changes
tic communication via CAN, MOST, FlexRay. Any other bus system in this specification during the vehicle development can therefore
will be also supported using an optional abstract transport layer be cost-efficiently updated in the ECU by a simple regeneration.
interface. This guarantees that the specification and the implementation al-
CANdesc can be ordered seamlessly integrated in the CANbedded ways fit together.
world and also for stand-alone usage in a supplier-specific envi- The vehicle and ECU manufacturer can use the CANdela data base
ronment. To guarantee efficiency for different OEMs and vehicles, also for parameterization of test systems. Thus a continuous pro-
3/14 CANdesc is fully generated code. The generation process is based cess chain beginning with the specification, continuing with imple-
on the project-specific CANdela data base. mentation and finishing with integration and functional testing
To ease and speed up the usage, a diagnostic code template is can be offered.
generated which fully implements all interfaces. Using this tem-
plate a basically working diagnostic implementation is immedi- ECU Manufacturers:
ately available. CANdesc covers the vehicle manufacturer diagnostic protocol and
transported data completely. This assures that
Features and Advantages > timing and content requirements of the diagnostic protocol are
Vehicle Manufacturers: implemented correctly.
CANdesc offers assurance to the vehicle manufacturer that the > simplification of a product line concept in the diagnostic area in
diagnostic specification is implemented uniformly in all ECUs of a spite of multiple ECU variants and vehicle manufacturers is
vehicle model. possible
Using CANdesc and CANdelaStudio, the comprehensive CANdela ap- > development costs for implementation and testing effort are
proach to diagnostics (see also product description for CANdela – reduced
CANdelaStudio), provides the greatest benefit. > Predictability of the correct and complete diagnostic implemen-
tation is significantly increased.

ECU diagnostic software component


(CANdesc) in the V-Model diagnostic
development process
COMMUNICATION SOFTWARE

Example of Code Size


Microprocessor: Motorola HC12, MC9S12DP256; Cosmic-Compiler 4.5 with an implementation of 10 diagnostic services and 30 sub
functions with the data packets:
Code size: approx. 5.5 kB; tables and constants: approx. 700 bytes;
RAM: approx. 70 bytes plus bytes for the diagnostic buffer.
For average sized applications with approx. 120 sub functions the code size increases to approx. 9 kB.

Functions Application Areas


All vehicle manufacturer specific diagnostic features are imple- > ECUs for passenger cars and commercial vehicles
mented and encapsulated in CANdesc. This gives the ECU applica- > CANdesc can be used on CAN, MOST, FlexRay and any other
tion a clear signal interface. Reutilization of the ECU application is communication system
thereby supported. > Seamlessly embedded in the CANbedded world but can also be
CANdesc covers used as a stand-alone component.
> support of the total manufacturer-specific diagnostic protocol
with all functional and timing constraints Product Components
> full implementation of communication related diagnostic > Executable Windows program (generation tool) with the
services (e.g. $28 CommunicationControl) CANdesc Option
> implementation of “data unit” handling ($2A, $2C) according to > Documentation/User Manual 3/15
the OEM specification
> filtering of diagnostic requests according to service, session, Supplemental Services
service instance, format, session of service instance and security Vector offers the following types of project services:
> correct responses to diagnostic requests > Adaptation of the application to CANdesc
> state management (depending on the CANdela database e.g. > Implementation of fault memory concepts
session and security handling) > Process consultation services in the diagnostic area
> generation of a diagnostic data buffer and preservation of data > Testing of ECU diagnostic implementation ◆
consistency between application and diagnostic request
(functional, physical and multiple simultaneous)

Generation of ECU
diagnostic software
component
EMBEDDED SOFTWARE

Supported OEMs
For OEM-specific Basic Software

Vector offers embedded software for diagnostics and flash boot- OEM Diagnostic Software Flash Bootloader
loader for a large number of OEMs. Additionally, a version without
J
vendor-specific characteristics is available.
The diagnostic software and flash bootloader are available for both, Jaguar / X X
Landrover
conventional (CANbedded) and AUTOSAR-compliant ECUs. They
contain OEM-specific diagnostic services, fault memory or flash M
processes. MAN X X
Depending on the OEM the scope of the available diagnostic solu- Mazda X X
tion differs, e.g. UDS or KWP2000 is used as diagnostic protocol.
Mitsubishi X X
Please contact Vector to find the optimal solution for you require-
ments. N
NAC X X
OEM Diagnostic Software Flash Bootloader
Nissan X X
B
P
BAIC X
Porsche X X
BMW X X
PSA X X
C
R
Chery X
Renault X X
Chrysler X X
S
Claas X X
SAIC X X
D
SsangYong X X
Daimler X X
Suzuki X
F
T
FAW X X
Toyota X
FIAT X X
V
Fisker X X
Volvo AB X X
Ford X X
VW/Audi X X
G
GAC X X
OEM independent X X
Geely X
GM X X
H Vector is pleased to support further OEMs on request.
Honda X
HMC X X
I
Isuzu X
V2.1 2010-05

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

More Information: www.vector.com/contact


Communication Control Layer (CCL)
Easy and reliable integration of CANbedded software components

> Coordination of internal and external communication requests,


Advantages e. g. of the internal application or external ECUs
> Effortless integration of OEM-specific CANbedded software > Controlling the bus transceivers
components in applications > Configuration using the proven tool GENy
> Simplified handling of Network Management
> Available for a large number of OEMs
Special functions
> Support of different bus transceivers
> OEM-specific communication requirements such as
“Wakeup prevention” or “Minimum Communication
Growth of networking in the automobile is making communication Activity” are already included.
between ECUs more and more complex. To ensure that this com- > The CCL supports so-called multiple ECUs
3/16 plexity can still be handled, communication software is increas- (Details are described in the datasheet for the Identity
ingly being integrated into applications. The Communication Con- Manager)
trol Layer (CCL) simplifies integration of the various CANbedded
software components by a standardized API, which saves you
development time and costs. Supported CANbedded software components
The CCL simplifies integration of the following CANbedded soft-
Application areas ware components in ECU applications:
> CAN-based ECUs > CAN Driver
> CAN-LIN gateways (upon request) > Interaction Layer
> Single and multiple-channel configurations > Network Management
> Transport Protocol
Functions > Diagnostics
> Initialization of the CANbedded software components
> Call of periodic functions of the CANbedded software
components

The CCL simplifies integration


of the CANbedded software
components
COMMUNICATION SOFTWARE

Periodic functions Availability


The CCL simplifies calling the periodic functions of the CANbedded To ensure that user requirements are supported, the CCL is avail-
software components, e. g. timer tasks or state tasks. A scheduler able for a large number of:
integrated in the CCL may be used to call them based on their cy- > OEMs and
cle times. However, separate operating system tasks may also be > CAN transceivers
used to call the periodic functions of the components. Besides Hardware-independent programming supports a wide variety of
these two options, there are other configuration options as well. microcontrollers, compilers, linkers and CAN Controllers.
To optimize ECU performance, select the optimal solution in your
configuration. Please ask Vector to quote your required configuration:
embedded@vector.com ◆
Start and stop of communication 3/17
The CCL contains an interface for controlling communication. It
coordinates the various communication requests: internal re-
quests from the application and external requests from other
ECUs. The CCL either starts or stops the communication depend-
ing on these requests.

Configuration
The CCL can be configured with the configuration tool GENy. In
this process, GENy utilizes information from the communication
database (e.g. the DBC file from the OEM) as well as the user’s
manual settings.

GENy generates parameterization files based on the configura-


tion. They contain the parameters and function calls of the com-
ponents being used. For example, the recommended initialization
sequence of the components is taken into consideration.
Identity Manager
Solution for Multiple ECUs

Physical multiple ECU


Advantages
> More efficient handling of variants
> Less administrative effort
> Reduced warehouse costs

When tracking the development of ECUs in automobiles, one trend


is clearly evident – ECUs are becoming increasingly more power-
ful. At the same time, the number of variants is growing drastical-
ly, which is reflected in the growing effort required to manage
3/18 them and also results in growing costs.
A typical case of physical multiple ECUs are the ECUs for the driver
Cost savings are realized by reducing administrative effort. This and passenger side doors. These ECUs have nearly identical func-
can only be achieved with the assistance of intelligent solutions tions. However, there are differences in the receive and send mes-
that can manage the many different variants. sages, diagnostics and Network Management address.

Based on our many years of working together with automotive The steps: Develop an ECU that will later be used for both door
OEMs and suppliers, Vector knows these continually recurring use sides. Load the database that covers the ECUs in the GENy config-
cases well and has developed optimized solutions especially for uration tool and select both ECUs simultaneously. Configure the
them. Identity Manager as a physical multiple ECU and assign a separate
identity to each of the nodes (Left ECU, Right ECU).
Use cases
Practice shows that it is primarily the following three use cases There are essentially two different ways to proceed in coding: If
that recur frequently: the message layout is identical between the identities, utilize the
manual buffer overlay in GENy. This means that the same signal
> Physical multiple ECU APIs can be used regardless of the currently active identity. So,
> Virtual multiple ECU only one application needs to be developed, but the ECU acts dif-
> Multiple configurations ECU ferently to the outside world depending on the identity which is
initialized. The differences are automatically read out from the
The solution approaches presented below lead to substantial sim- DBC file.
plification, reduce administrative effort and thereby reduce costs.
In the second case, buffer overlaying is not needed. Instead, dif-
Identity ferentiate between the left and right sides using generated mac-
An identity identifies an ECU. It determines which variant of ros in the code. It is also easy to implement crossovers of receive
the ECU should be activated (e. g. which door side). So, an and send messages between the two door ECUs while optimizing
identity is the configuration of an ECU that is active at run resources.
time, based on a description file. An ECU’s identity is set
when the ECU is initialized. This software is loaded in the left and right ECUs. The decision on
whether the software is to be installed in the left or right door
ECU is made with each new initialization. A simple function call
establishes the ECU’s identity.
COMMUNICATION SOFTWARE

Virtual multiple ECU Multiple configurations

3/19
Higher-performance control modules also contain more memory
space. This makes it possible to represent multiple ECUs (e.g.
gateway and radio) in one CPU, saving on additional hardware.
These are referred to as virtual multiple ECUs. A typical application involving multiple configurations is the
development of ECUs for both a current car line and a new car line.
The different communication nodes are derived from one data- These ECUs are also referred to as carry over ECUs. Changes made
base. In the configuration tool GENy, you only need to select tho- within the associated database are often very extensive. It is pos-
se nodes that will be implemented and then configure a virtual sible to use a completely different signal layout or use different
multiple ECU in the Identity Manager. All nodes are assigned to messages for different model series. The new configuration could
one identity. The identity operates from a node superset and all even support a different number of CAN buses.
necessary information on the nodes.
First, develop the software for both car lines. In doing so, treat
each car line as though it were assigned to one (or more) dedicat-
ed CAN channel(s) with an associated database (DBC file). These
configured, logical CAN channels are then mapped to physical
CAN Controllers. Just as with the physical multiple ECU, the ECU’s
identity is determined by a function call at the start. ◆
GENy
PC-Tool for Configuring Embedded Software Components

GENy is the convenient configuration tool for software compo- This makes GENy a scalable and fully generic configuration edi-
nents from Vector. It was created for development processes of tor/generator that permits consistent configuration from a single
the future. It is used to configure CANbedded components, integration environment, even in complex heterogeneous
AUTOSAR communication modules and the Flash Bootloader for systems. Vector’s many years of experience in the area of ECU
use in production ECUs. development ensures optimal workflows between OEM and sup-
pliers without altering their tasks or roles.
Features and Advantages
GENy is a developmental offshoot of the previous configuration GENy is a collection of components (not a rigid program block);
tools CANgen and DBKOMgen. The GENy architecture was com- therefore it can also be expanded very easily by adding auxiliary
pletely redesigned based on experience with those two tools. components.
3/20
The following properties characterize the design: GENy’s graphic interface makes it very easy to use and intuitive.
> Thoroughly modular structure due to its static framework, GENy always appears with the same “look and feel” independent
stand-alone graphic user interface (GUI) and dynamically of the components to be configured. The configuration data is
reloadable components shown and processed in a hierarchical tree structure. This makes
> Reloadable hierarchies make it well suited for any configuration navigation user friendly, and the user gets a clear view of all
task (CANbedded, LIN, FlexRay) options.
> A cleverly designed framework mechanism interprets and
manages dependencies in configuring components The Configuration View can be modified manually or via an exter-
> XML is used throughout as the file format, both for the compo- nal XML file. The latter is essential for an OEM-specific appearance
nent descriptions (Attributes) and data saving of GENy’s GUI and guarantees that parameters will have functio-
> Open interfaces offer simple expandability nally relevant preset values.

Tool tips and the online help function help to save time and imme-
diately gives you the information needed about possible compo-
nent settings. Plausibility checks prevent invalid settings and the-
reby prevent errors.

GENy Program Window


COMMUNICATION SOFTWARE

Training
As part of our CANbedded training program the configuration
tool GENy is also explained.
For more information on individual training events and sche-
dules please visit: www.vector-academy.com

The generation process is logged in the Message Window, and this Application Areas
indicates potential errors (e. g. mistakes in configuring) and The GENy configuration tool is always used in conjunction with
other important information. This is done to avoid tedious debug- other Vector software components for communication and diag-
ging efforts. nostics. GENy fulfills AUTOSAR Consortium requirements. ◆

Characteristics:
> Configuration templates for different application types
> System-wide parameters only need to be configured once
> There is only one XML-based configuration file
> Expandable due to open interfaces
> For the Windows operating systems 2000, XP and Vista 3/21

Functions
GENy is the tool for configuring any software component. Config-
uration and parameter files can be generated to integrate them in
the application project.
Functional capabilities of GENy include the configuration of:
> Embedded software components for CAN, LIN, and FlexRay
> Flash Bootloaders
> AUTOSAR BSW (communication modules)

GENy reads the following input files:


> CAN database files (DBC)
> LIN files (LDF)
> FlexRay files (Fibex)
> CANdela database (CDD)
> AUTOSAR “ECU Configuration Description” (EDUC)

GENy Navigation View


CANopen Master Source Code
Embedded Software for CANopen

The Master Source Code allows the user to expand his products’ Functions
firmware with CANopen master functionality. The software is The source code offers the following functionalities:
especially suited for integration into control systems. > Network Management (NMT) – control of the connected nodes
via the NMT message. Guarding and heartbeat are still carried
Features and Advantages out.
The Master Source Code makes available all functions necessary > PDO Handling – the actual process data are transmitted via
for a CANopen master. This implements the following standards of PDOs. The PDOs can be configured via the object directory.
the user organization CAN in Automation (CiA): PDOs are also handled synchronously.
> CiA DS 301 Version 4.02, Application Layer and Communication > Local Object Directory – the code makes available its own object
Profile directory via the bus, which can be expanded by the user.
> CiA DS 302 Version 3.1, Framework for programmable CANopen > SDO Handling – the user can initiate individual SDO requests
3/22
Devices via the SDO handler.
> DSP 405 Version 2.0, Interface and Device Profile for > Configuration Manager (CMT) – with this, central configuration
IEC61131-3 Programmable Devices of the connected CANopen nodes can occur in embedded
systems.
Because of its generic structure, slaves with any profile can be
connected. The user can choose to incorporate the software into a Special Functions
project or construct the CANopen functionality as an independent The software supports the storage of data in non-volatile
task in the system. memory. There are interfaces available for connection to a
With the use of the CANopen source code, significant time savings file system or flash memory.
can be achieved during product development. The user can con- On system start, the “boot slave” functionality is supported
centrate on the integration of his own application; the implemen- completely. The network management itself takes care of the
tation of the CANopen protocol is thus simplified significantly. correct starting and configuration of the connected nodes.
The failure control is also taken over by the CANopen master.

The Modular Structure of the


CANopen Master Source Code
Allows Simple Implementation.
COMMUNICATION SOFTWARE

The CANopen Master Source Code from Vector is available for


many popular microcontrollers. For current information,
please visit our homepage on the Internet at:
www.vector-informatik.com/sourcecode

Application Areas > Adaptation for Vector CANopen driver under Windows 95/98/NT
The code can be used everywhere customers would like to equip and Microsoft compiler VC++ 6.0
their control systems with CANopen functionality. Users are first > Power PC
and foremost companies that manufacture CANopen devices, as
well as system integrators who must create entire systems. Data Interface
The data interface makes it possible to uncouple the application
Hardware Interfaces from the CANopen stack as the communication task. This makes it
The software is written in ANSI-C and therefore can run on the possible to implement a single processor or a multi-processor sys-
most various platforms. At a minimum, the use of a 16 bit micro- tem. In the latter case, the data interface is placed on a physical
controller should be considered. For addressing various CAN con- DPRAM:
troller types, adaptations are available. The interface of the CAN > Command queue – the command queue is used by the control
3/23
driver is designed so that it is an easy matter to move to other system to send requests to the application layer. This includes
CAN controllers. transmitting initialization data or requests of function compo-
Board Support Packages (BSP) are available for a few evaluation nents (for example to execute SDOs).
environments. A BSP consists of a makefile, a text file with the > Event queue – the event queue carries the data stream from the
settings of the #defines, and a file with the necessary system application layer to the control system. This data consists
adaptations. Even if the user has another target environment, essentially of asynchronous confirmations (for example a res-
these files provide valuable information on porting to customer ponse to an SDO request) and events (for example error states).
hardware. Currently, the following BSPs are available: > Process image – the application acts with the CANopen network
> Adaptation for evaluation board ec376 with Motorola 68376 essentially by means of a process map. This map contains all I/O
from Würz Elektronik GmbH and GNU compiler or Microtec data and other process variables that are to be transmitted by
Research Compiler the CANopen master.
> Adaptation for kitCON 164CI with Infineon SAB164CI from
Phytec GmbH and tasking compiler
Network Management SDO Handling
This module assumes responsibility for administering and moni- The SDO handler makes it possible for the application to have
toring nodes that are connected in the network. For this to hap- access to the object directories of the connected CANopen nodes.
pen, the nodes that are to be accessed and monitored must be It is possible to transmit data blocks in either direction. The
declared. The corresponding parameters for error monitoring “expedited download/upload protocol” is used for objects up to a
(guarding and heartbeat) must also be transmitted. This informa- size of 4 bytes. For objects larger than 4 bytes, the “segmented
tion is stored in the local object directory and can then be reque- download/upload protocol” is used.
sted externally via the bus and internally via the DPRAM. The The block transfer is also implemented and can be initiated in a
monitoring and start of nodes runs largely automatically. number of ways, one of which is by the user.
It is possible to run multiple SDO transfers in parallel (only for dif-
3/24 PDO Handling ferent SDOs).
The PDO handler has the task of accepting received PDOs from the
slaves and forwarding them to the process map of the data inter- Local Object Directory
face. In the other direction, it transmits values from the applica- The Local Object Directory enables access to the master functions
tion to the slaves. This can take place cyclically (by SYNC) or it can and to master parameters and variables over the network. This
be event-driven (by change). makes it possible to configure the master over the network or to
The assignment between PDO and storage of data takes place operate it through locally available functions (displays or inputs
exclusively via the local object directory. The application is thus and outputs). The Configuration Manager is especially activated
completely uncoupled from concrete communication tasks. this way.
The variables in the object directory can be accessed by the appli-
cation through the corresponding SDO read/write requests by
indicating the own node ID.
COMMUNICATION SOFTWARE

Configuration Manager (CMT)


The Configuration Manager has the task of saving parameter sets Support during Integration
of the CANopen slaves and distributing them at a certain time to Naturally we can also support you during the integration of
the connected nodes on the network. The time of this distribution the CANopen Master Source Code into your environment. Our
can be determined in the following manner: support services range from custom-tailored training solu-
> When the master is started, a configuration is performed for all tions to workshops to project work.
nodes that have been entered in the list of assigned slaves and
for which a configuration is available. ◆
> If guarding or heartbeat fails, the configuration is initiated
again.
> Initiating the configuration of a specific node at any time by 3/25
the application – for example in order to subsequently
configure connected sub-networks.

In this context, the configuration of CANopen devices refers to


setting parameters in their object directory. The parameters in
question are mainly PDO parameters and mapping information.
CANopen Slave Source Code
Embedded Software for CANopen

The CANopen Slave Source Code contains all CANopen services For special application areas there are expansion modules availa-
required for implementing a slave. It thus offers the user the com- ble for the Slave Source Code, which can be ordered separately:
munication functionality required for internal device development. > Mini-Master
> LSS Master
Features and Advantages > LSS Slave
Significant time savings can be achieved during product develop-
ment by using the CANopen source code. The user can concentrate Application Areas
on the integration of the application; the implementation of the The code can be used everywhere customers would like to equip
CANopen protocol is simplified significantly. The code corresponds their devices with CANopen functionality, especially in systems
to the most recent version of the CANopen DS-301 communication where resources are at a premium.
3/26 profile enabling a secure and CANopen-conforming implementa-
tion of the project. SDO Server
To simplify connection of internal application data to the object The SDO Server offers an object directory and supports all defined
directory, there are exemplary entries already in the object direc- SDO transfer mechanisms such as expedited transfer, segmented
tory. Using these specifications, it is easy to create your own entries. transfer, and block transfer for up to two parallel SDO servers.

Functions PDO Handling


The CANopen source code offers the following functions/pro- For the PDOs, the initial configuration is specified via static struc-
perties: tures that the user can adjust to his circumstances. The code sup-
> SDO Server ports variable mapping up to a granularity of 1 byte. All PDOs are
> PDO/SYNC Handling also configurable via the object directory. On receipt of a PDO a
> Heartbeat Producer/Consumer callback is initiated in which the user can place additional hand-
> NMT Slave (supports “Life Guarding”) ling code. The user can create up to 200 PDOs and then transmit
> Simple adjustment to various requirements these event-based through changed data contents, synchronously
> Broad spectrum of supported hardware platforms through the reception of a SYNC message or time-triggered.
> Source code configuration and automatic generation of the
object directory via CANerator CANopen

Modules of the CANopen Slave Source Code


COMMUNICATION SOFTWARE

The CANopen Slave Source Code by Vector is available for


many popular microcontrollers. For current information,
please visit our homepage on the Internet at:
www.vector.com/sourcecode

NMT Slave Adaptation of the Code


The code supports both guarding and heartbeat. It is possible to Before the code is translated, the user can specify the qualities to
react to heartbeat messages of other nodes (heartbeat consumer). be supported allowing the code to be used even on systems with
This makes it possible to set up highly efficient monitoring mecha- very limited resources. The adaptation occurs via the #define
nisms in a network. User-specific emergency messages can also be instructions that are set in a configuration file. By using the
generated. CANerator tools (sold separately), this adaptation is simplified
The code supports an interface for non-volatile storage of parame- significantly.
ters. Here it is assumed that the memory is available via a file
system or as flash. Local Object Directory
The object directory of the Slave Source Code can easily be expan-
Mini-Master ded by the user. For this, appropriate entries must be added to the 3/27
The full functionality of a CANopen manager is not required for C files. Such an object directory contains the object’s attributes
many embedded networks. Often, by limiting functionality, and a pointer to the actual memory location. For each object it is
emphasis can be placed on requiring very few resources and the possible to initiate callback functions with user-defined function-
simplest possible use. ality when reading or writing. Thus, for example, an area test can
This is the purpose of the add-on Mini-Master. It contains: be implemented when writing an object. With the aid of the CANopen
> NMT Master – control of the status machine of the NMT slaves to CANerator, this object directory can be created automatically.
start the network, for example. Monitoring of nodes by means For additional functional details, please refer to the CANopen
of node guarding. Heartbeat monitoring is always a component CANerator product information.
of the Slave Source Code.
> SDO Client – the slave can thus also initiate an SDO transfer. This Adaptation to a Target Hardware
makes it possible to adjust settings in the object directories of To use the Slave Source Code on a microcontroller platform, first
other nodes and to call up data that is not available through an adaptation is always necessary to abstract the CAN controller
PDO (e.g. for diagnostic purposes). and the specific timer and interrupt system. Of course, the rele-
> SYNC Producer – This module can be used to periodically send vant compiler is also considered here. Vector offers prepared adap-
the SYNC message. tations for many platform combinations.

LSS (Layer Setting Services) Support during Integration


Among other things, CANopen devices require a setting of baud We can also support you during the integration of the
rate and node number. Devices without access possibilities via CANopen Slave Source Code into your environment. Our sup-
switches (e.g. watertight sensors) require a setting of these port services range from custom-tailored training solutions
values via the CAN bus itself. CANopen specifies the LSS (CiA 305) to workshops to project work.
for this. The necessary services are provided in the form of source
code modules by the LSS Slave and LSS Master add-on modules. ◆
CANerator CANopen
Generation and Configuration of Source Code

CANerator CANopen is a tool for managing source code configura- Functions


tion settings and for creating and generating object directories CANerator CANopen makes available the following functions:
automatically. > Configuration of the source code with the aid of a clear display
of all #define instructions
Features and Advantages > Creation and automatic generation of the object directory as
The CANopen communication profile distinguishes itself through source code
its broad scalability for use in embedded networks. It offers many > Automatic creation of EDS files
opportunities for representing necessary device functionality and > Simple management of projects
at the same time accommodating the small resources of a micro-
controller. Vector’s CANopen Master and Slave Source Code there- These functions will be described in detail below.
3/28 fore offers a multitude of setting possibilities.
The price for this flexibility is the increased complexity of the Application Areas
development process. In addition, there is the requirement for CANerator CANopen is intended for use together with CANopen
reusability and more flexible adaptability of software for entire Master and Slave Source Code from Vector.
spectrums of various devices from a manufacturer.
In addition to the actual configuration of the source code, the Source Code Configurator
developer of CANopen devices must also create an object direct- CANerator CANopen displays all relevant settings of the source
ory. This forms the interface between application and CANopen code (#defines) in a tree view.
communication and serves to describe the device characteristics. An instrumentation of the source code allows the display of only
With CANerator CANopen, the software developer has available a the relevant #define instructions and structures them in problem-
tool that supports him comfortably in his tasks and significantly related groups.
speeds up the development process. In addition, comments are assigned to the settings that explain
their purpose and value range. Different data types are thus
assigned various masks with type-sensitive validators.

Creating the EDS File with


the Aid of CANeds
COMMUNICATION SOFTWARE

Generation of Object Directory Project Management


Thanks to complete integration of CANeds, all capabilities of this CANerator CANopen allows the easy and comfortable management
tool are available. These are described in detail in the CANeds of profiles. When a set of settings has been created, it is stored
product information. With the aid of CANeds, all standard objects under its own name. Different profiles of this type can be used in
of the object directory can be created with drag and drop. In addi- one and the same project for generation. Therefore it is possible,
tion, it is possible to define manufacturer-specific objects. The for example, to provide a project with or without debugging infor-
objects are already provided with default values that can be modi- mation and to change between the profiles with the touch of a
fied if necessary. button.
After the developer has specified the objects, CANerator CANopen Another application is the creation of profiles for various device
displays the structure of the object directory in a hierarchical tree types on the basis of a source code. This simplifies the single
structure. Then variables in the program are assigned to objects. source principle.
3/29
These are ultimately the interface between the protocol-specific As project documentation, an HTML page is generated, which in
part of the software and the application. In addition to the sym- addition to general project information contains a list of all ob-
bolic specification of variable names, the CANerator also sup- jects with their attribute values as well as a list of all settings. ◆
ports the specification of physical addresses in order to enable
direct access to hardware ports. After the object directory has
been created, the corresponding portions of the source code are
created automatically.

Electronic Data Sheet (EDS)


Virtually as a byproduct, the Electronic Data Sheet is generated.
This can be processed further and tested with the functions of
CANeds.

CANerator CANopen in Configuration


Mode: All #define Settings can be Edited
Clearly.
XCP Professional
Measuring and Calibrating via CAN, FlexRay and Ethernet

Functions
Overview of advantages XCP Professional contains all necessary functions for communica-
> Can be activated/deactivated in production operation ting with the XCP Master, such as:
> Easy to configure with PC-based tool > Synchronous data acquisition based on DAQ lists
> Low memory requirement and short execution times based > Read and write accesses
on scaling of the software component to your requirements > Initialization and switchover of the memory area for calibration
> Transport layers available for CAN, FlexRay and Ethernet data
> Compatible with MICROSAR BSW modules (AUTOSAR) > Support of time stamps
> Protection against unauthorized writing and reading in memory
Application Areas > Shutoff of XCP in production operation by a single function call
3/30 Automotive in-vehicle ECUs are measured and calibrated with the > Access protection by Seed & Key support
XCP Protocol (Universal Calibration Protocol) – the successor to CCP > Synchronous data stimulation (STIM) and Resume mode
(CAN Calibration Protocol). XCP was standardized by ASAM (Asso- > Flash and EEPROM programming
ciation for Standardization of Automation and Measuring Systems), > Communication mode: Block transfer
a process in which Vector played a leading role. By clearly differen- > Transmission of service request packets
tiating the Protocol Layer and Transport Layer, XCP is able to sup- > Support of AUTOSAR CRC modules
port many different bus systems: CAN, FlexRay and Ethernet. > Bit modification and short download
On the PC side, the CANape tool is used as the XCP master. Its > Configuration by GENy
counterpart in the ECU is the XCP slave. This is implemented by > Generation of an a2l file based on the ECU configuration
the XCP Professional software component. It not only contains all
ASAM functional content, but useful extensions as well. Synchronous Data Stimulation (STIM)
You can use XCP Professional together either with a conventional To optimize algorithms and parameters, you can use XCP over the
communication stack or in AUTOSAR systems. In either case, it is bus system to read a measured signal from the ECU (DAQ) and
unnecessary to modify the XCP software. If a software stack by a modify it with a simulation model (e.g. MATLAB). The re-com-
third-party producer is used, small modifications to the XCP puted value is then written back to the ECU (STIM). Reading and
Transport Layer (TL) may be necessary. Vector would be glad to writing are performed synchronously in a predefined time interval
assist you in this area. (Bypassing).

XCP Professional is available for


CAN, FlexRay and Ethernet
COMMUNICATION SOFTWARE

Training
In the framework of our training program, we can offer you
various training events and workshops for XCP in our class-
rooms or at your business site.
For more information on individual training events and dates
on the Internet go to: www.vector-academy.com

Resume Mode Transmission of Service Request Packets


The Resume mode permits cold-start measurements, e. g. to check Service request packets let you transmit lines of text. They are
ECU behavior in the wakeup phase. This involves activating the stored in program code, and when the program section is exe-
XCP stored in the flash memory immediately after a cold-start – cuted they are sent to the XCP master where they are displayed.
even before the application starts. Sending of the measured This function is very useful primarily during system development
values begins automatically, and they can be logged for later eval- and in debugging.
uation.
Configuration
Flash and EEPROM Programming XCP Professional is configured with the PC-based GENy configura-
The Vector XCP component is not only able to store measured tion tool. Compiler switches may be used to deactivate unneeded
values in RAM, but also in flash or EEPROM memory. To do this, functions, and this reduces memory loading. When XCP transmis- 3/31
XCP executes callback functions in which the application could sion is started, the list of supported functions is communicated to
activate the flash algorithms, for example. This gives you the the XCP master via the XCP plug-and-play mechanism. ◆
option of individually adapting the algorithms to the flash or
EEPROM memory being used.

Communication Mode: Block Transfer


Block Transfer lets you transfer large quantities of data. This func-
tionality is comparable to that of a transport protocol. The sender
segments the data, and the receiver re-assembles them in the cor-
rect sequence.

CANape as XCP Master


CANape, the all-round tool for measurement, calibration and > Online calibration via XCP/CCP, real-time stimulation via XCP
diagnostics of ECUs, is the XCP master, while the ECU acts as the and offline calibration
XCP slave. The XCP slave allows CANape to access the measured > Flash programming of the ECU via XCP/CCP or the diagnostic
signals and calibration parameters in the ECU with the help of protocol
an ECU description file. Values can be displayed or edited in > Rapid prototyping for functional development by bypassing a
physical units. MATLAB/Simulink model with the help of CANape

The key properties of CANape related to measurement and cali- Additional information can be found in the “ECU Calibration”
bration are: product catalog.
> Time-synchronous real-time acquisition and visualization of
internal ECU signals with XCP/CCP, of signals from CAN, LIN
and FlexRay buses and from external measurement equipment
Operating Systems

The complexity of software applications is continually growing.


The related development tasks can only be mastered by modularly
structured programming.

Operating system conforming to the OSEK/VDX standard


The use of an operating system helps implement complex flow,
control and regulation tasks. An operating system based on the
OSEK/VDX specification provides even better extendibility, porta-
bility and reusability for your application software.

As supplier of the world’s first certified OSEK/VDX-conformant


operating system osCAN, Vector has many years of experience in
implementation. A solution can be found for nearly any applica-
tion, since Vector can offer a selection of over 30 different micro-
controller platforms and universal tool-supported configurations
of the operating system.
4/0

Operating system conforming to the AUTOSAR standard


Vector’s MICROSAR OS is an AUTOSAR-conformant operating sys-
tem. The operating system core conforms to the practicle-proven
OSEK/VDX standard. In addition, MICROSAR OS may include the
optional extensions time monitoring and/or memory protection.
You will find detailed information on page 2/10.

Your partner right from the start


Vector offers comprehensive support, from the beginning of a
project until its successful completion. Training sessions and
workshops provide basic information as well as in-depth knowl-
edge for working with the software, conducted in Vector’s class-
rooms or on site. Vector assists the ECU development process with
on-site startups, code reviews and other development supporting
software tools.
OPERATING SYSTEMS

4/1
osCAN
The real-time operating system based on the OSEK/VDX standard

Application Areas
Overview of advantages Due to its static operating system architecture, osCAN is small and
> Small, fast and resource-saving operating system core fast, and its use is beneficial wherever resources such as memory
> Short boot times and processing time are in short supply. osCAN is especially ideal
> Stack monitoring at runtime (deactivatable) when extremely short boot times are necessary.
> Internal fault trace (deactivatable)
> Component management for integration of sub-projects Functions
> Supplied as source code As a fully preemptive multitasking operating system, osCAN offers
> Quality process fulfills SPICE Level 3 priority-driven task management and a wide variety of synchro-
> Graphic configuration tool for easy configuration of the nization mechanisms. It can generate cyclic and singular time
operating system intervals as well as behave in an event-driven way. Its flexible
> Simplified execution time analysis of osCAN applications by interrupt strategy makes it possible to use system services even
supplied TimingAnalyzer within interrupt service routines.
> Available for many 8, 16, 32 and 64 bit microcontrollers In addition to functions defined in the standard, osCAN offers:
> Monitoring of stack utilization at runtime
osCAN is a preemptive real-time multitasking operating system > Internal tracing of system calls
4/2
with properties optimized for use on microcontrollers. Vector’s > Extended error checking at runtime
many years of experience in developing operating systems and > Clear and concise documentation of the configuration in HTML
drivers has made osCAN a small and robust operating system core. With the optional High Resolution Timer, you can implement reso-
It is certified to OSEK/VDX specification 2.2. This open standard lutions higher than 1ms for the timers, without simultaneously
of the automotive industry provides a foundation for long-term increasing interrupt load. Depending on the controller, resolu-
stability and availability. tions in the microseconds range are possible.
OPERATING SYSTEMS

Training
In the framework of our training program, we offer various
training events and workshops for osCAN in our classrooms
as well as at the business sites of our customers.
For more information on individual training events and dates
please visit: www.vector-academy.com

Supporting Tools
Complete solution from Vector The TimingAnalyzer design assistant simulates and computes
Vector provides you a completely tuned solution for devel- task execution times for you. The analysis is performed for each
oping ECUs. Along with the operating system, you get proto- task and each interrupt with the following parameters: Priority,
cols and drivers for CAN, LIN or FlexRay. For more detailed period, execution time and deadline. The graphic user interface
information, please refer to the relevant datasheets. offers clear and concise visualization of system behavior.

With the help of the CANoe osCAN Library, your application can
Configuration
be compiled into a DLL and integrated in a network simulation
An easy-to-use graphic configuration tool lets you define all oper-
under CANoe. This allows the application to be tested even before
ating system resources before compiling. To assure portability,
the availability of first hardware prototypes.
the configuration is saved in the standardized OIL format (OSEK
Implementation Language). Many emulators already offer the option of observing application
The configuration tool offers component management, which lets behavior on the operating system services level (OSEK Aware-
you implement sub-applications simultaneously in parallel pro- ness). osCAN supports the ORTI interface required for this.
cesses. Next, the sub-applications are integrate into a total appli-
Some UML and SDL modeling tools give you the option of configu-
cation. This enables short development times and spatially sepa-
ring models for use with an OSEK/VDX operating system. This is 4/3
rate developments.
possible, for example, with:
> MATLAB/Simulink from Mathworks
Properties:
> TargetLink from dSPACE
> Easy to operate graphic user interface
> Automatic checking for completeness and consistency
> Convenient system scaling Related Vector products:
> Component management > CANoe osCAN Library
> ORTI support > TimingAnalyzer
> High Resolution Timer

Scope of Delivery Availability


> Operating system core as source code The real-time operating system osCAN from Vector is availa-
> Graphic configuration tool (OIL) for Windows NT/2000/XP/ ble for many commonly used 8, 16 and 32 bit microcontrol-
Vista/Windows 7 lers. For more information on the Internet go to:
> Instruction line based generator www.vector.com/oscan
> Documentation
> Sample programs Additional Services
> TimingAnalyzer Vector offers you worldwide support related to OSEK/VDX:
> Training courses
osCAN conforms to OSEK/VDX specifications > Design consultation
> OSEK/VDX-OS 2.2 > Customer-specific implementations
> OSEK/VDX-OIL 2.3 > Hotline
> OSEK/VDX-COM 2.2.2 > Software maintenance
> All conformity classes (BCC1, BCC2, ECC1, ECC2, CCCA, The scope and form of all services are aligned to your wishes
CCCB) and needs.
> Size: 1–10 kB ROM, depending on platform and
configuration
High Resolution Timer
Improve performance with high-precision timers for operating systems

An important property of operating systems is the precision of Application areas


alarms; this in turn affects the resulting interrupt load. The alarm The High Resolution Timer is designed for applications
mechanism of an OSEK/VDX or AUTOSAR operating system is based requiring high-precision timers but in which additional interrupt
on counters which are incremented by either software or hard- loads are unacceptable.
ware timers. When a counter reaches a preset alarm value, a pre-
defined action is executed. The typical time resolution of such Hardware requirements
timers is 1 ms. The High Resolution Timer can be used on all microcontrollers
If timer resolutions with a higher precision than 1 ms are required, which have a free-running timer. The timer must also be able to
the High Resolution Timer mechanism can achieve these enhan- trigger an interrupt when its value matches a user-definable com-
ced precisions without simultaneously increasing interrupt load. pare value (compare-match). The clock speed at which the hard-
Resolutions in the microsecond range are possible depending on ware timer is operated should be adjustable so that the desired
the controller used. level of accuracy is achieved.

Features and advantages Configuration


The High Resolution Timer for the osCAN and MICROSAR OS oper- The High Resolution Timer is configured using the configuration
ating systems permits high-precision alarms with low system tool for the Vector operating systems. This tool is used to adjust
4/4
interrupt load (depending on hardware). An interrupt is only the prescalers according to the clock frequency of the microcon-
triggered when an alarm actually becomes due. troller. ◆
The precision of the alarm time depends only on the resolution
and clock frequency of the hardware timer. It may range from
100 ns to 100 μs depending on the microcontroller.

Functions
“Collective” processing of several consecutive alarms can be con-
trolled by defining a minimum interval between timer interrupts.
This reduces interrupt load, especially when several alarms with
similar intervals expire almost simultaneously.

Alarms and Tasks


OPERATING SYSTEMS

4/5
TimingAnalyzer
Schedulability analysis/Trace visualization

The foundation for designing real-time systems is an analysis of A graphic diagram offers an intuitive overview of the timing. It
the schedulability of tasks (schedulability analysis). Systems that gives the application engineer a better understanding of program
employ a real-time operating system, such as the OSEK/VDX oper- processing in the ECU. It also considerably reduces the risk of
ating system or AUTOSAR OS, consist of tasks and interrupt service creating unreliable systems.
routines (ISR). Schedulability analysis shows whether a task or
ISR could miss its deadline when all circumstances are taken into Functions
considerations. In the analysis, the TimingAnalyzer studies the timing of both
tasks and ISRs. A special algorithm considers mutual interactions
Properties and Advantages resulting from use of the “resource” operating system service. In
The TimingAnalyzer simulates scheduling tables and computes the TimingAnalyzer you can input the time with which a task or
schedulability. The analysis is performed for each task and ISR ISR occupies the specific OSEK resource.
with the information: priority, period, execution time and dead-
line. Various algorithms from scheduling theory may be selected. The graphic representation simulates a possible task switching
In the default setting, the best algorithm is selected for a given sequence. The simulated schedule can be examined by zooming in
data record. and measuring time intervals. Bitmaps of the graphic diagram can
be saved for documentation purposes.
4/6
By using the TimingAnalyzer you can avoid the difficult and time-
consuming work involved in determining worst case timing situa- Special functions
tions, which is usually done by testing. The TimingAnalyzer is a > Schedulability analysis
tool for integrating familiar software components into a runnable > Graphic simulation of schedules
system. The time savings in terms of program creation and the > Import and display of emulator traces
test phase translate into cost savings as well.
Processor use is computed and output as a percentage. Processor
use is optimized by modifying calibration parameters, leading to
an efficient design that conserves on hardware resources.

Analysis example in the TimingAnalyzer


OPERATING SYSTEMS

Data Import
Besides manual data input, the data may also be read-in from the
configuration file of the operating system. This simplifies hand-
ling, since data input and calling of the TimingAnalyzer are per-
formed directly in the configuration tool.

Application Areas
The TimingAnalyzer is an efficient tool for all development
departments that use real-time operating systems. Special atten-
tion was given to supporting OSEK/VDX and AUTOSAR real-time
operating systems and their applications.

Availability
The TimingAnalyzer is available in combination with the
OSEK/VDX-conformant operating system osCAN as well as the
AUTOSAR-conformant MICROSAR OS. 4/7

Scope of Delivery
> Graphic analysis tool for Windows NT/2000/XP/
Vista/Windows 7
> Documentation in electronic form
> Sample files ◆
EMBEDDED SOFTWARE

Wide Availability of osCAN


Supported Microcontrollers and Compilers

Controller Compiler Controller Compiler


Altera Micronas
Excalibur Green Hills CDC32xxG Green Hills
NIOS II GNU, TaskingVX NXP
ARM LPC2XXX Green Hills
ARM7-TDMI Green Hills SAF7780 ARM, Green Hills
Atmel SJA20xx Green Hills
AT91 Green Hills OKI
AVR32 IAR ML67 Green Hills, IAR
Freescale ML665S OKI
68HC08 Cosmic Renesas Electronics (NEC/Renesas)
68HC12, S12 Cosmic, IAR, Metrowerks 78kO IAR
MAC71xx Green Hills H8 tiny Renesas
Mcore DIABDATA Wind River H8S Renesas
MPC55x, MPC56x DIABDATA Wind River, H8SX Renesas
Green Hills, Metrowerks
M16C Renesas, IAR, Tasking
MPC55xx, MPC56xx DIABDATA Wind River,
Green Hills, Metrowerks M32C Renesas, IAR
S12X Cosmic, Metrowerks M32R Renesas, GAIO
Fujitsu R32C Renesas, IAR
16FX Fujitsu SH2 Renesas, GAIO
16LX Fujitsu V850 Green Hills, IAR
FR30, FR50, FR60 Fujitsu STmicroelectronics
MB86 Green Hills ST10 Keil, Tasking
Infineon Texas Instruments
C167 Keil, Tasking, TaskingVX MSP 430 IAR
Tricore Tasking TMS 320 Texas Instruments
XC16x Keil, Tasking, TaskingVX TMS 470 Texas Instruments, Green Hills
XC2000 TaskingVX TMS 570 Texas Instruments
Intel Toshiba
PXA27x Green Hills TLCS-900 Toshiba
Microchip TX19, TX39, TX49 Green Hills
dsPIC30 Microchip TX19A Toshiba
PIC18 Microchip
V2.0 2010-05

Vector
PIC24 Microchip CANoe osCAN Emulation Microsoft VisualC

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

More Information: www.vector.com/contact


Flash Memory Programming

Today, systems for downloading software to ECUs are used in all Data compression
phases of ECU development. Vector offers a number of software Automotive electronics is continuously becoming more complex,
solutions to meet various requirements: and so it requires more extensive software. Suitable data com-
> Flash Bootloader for CAN, LIN, FlexRay, MOST and Ethernet pression methods can be used to transport the increasing amo-
> Flashing via CCP/XCP unts of data more quickly on data buses; they reduce transmission
> Option for the Flash Bootloader: Security component times drastically. Vector offers optimized solutions for the Flash
> Option for the Flash Bootloader: Data compression Bootloader and flash tools.
> PC-based flash tool
Flash tools
Flash Bootloader Different data and diagnostic formats are used by different auto-
The Flash Bootloader lets you program ECUs with new software motive OEMs for programming ECUs. Meanwhile, ODX and ODX-F
within an in-vehicle network. In particular, when the ECU is have become established at some automotive OEMs as a standard
mounted at a hard to access location in the vehicle, the Flash data format for ECU programming.
Bootloader offers the advantage of updating ECU software with- To master the many different data and diagnostic exchange for-
out needing to remove the ECU. This results in the following capa- mats, Vector offers authoring and flash tools for specific use
bilities: cases in its CANdelaFlash and CANditoFlash products.
> Reprogramming during the development phase
> End-of-line programming Flashing CANopen ECUs
> Software updating in the Service area (After Sales) Vector also offers Flash Bootloaders for the special requirements
involved in flashing CANopen ECUs. Vector can adapt them to your
Reprogramming is performed via CAN, FlexRay, MOST or Ethernet platform in the context of project work.
5/0
utilizing a diagnostic protocol (UDS or KWP2000). A special LIN
Flash Bootloader is available for LIN Slave ECUs. EEPROM Emulation Module (EepM)
The EEPROM Emulation Module (EepM) lets you efficiently store
Programming via XCP/CCP nonvolatile data of any desired length in program or data flash
The use of XCP or CCP is an alternative to reprogramming with the memory. The module is called directly by the application. To save
Flash Bootloader. This variant is primarily used to optimize ECU on resources, the module can be used by either the application or
parameters. Since XCP/CCP programming is generally used in the the Flash Bootloader.
development phase, unlike the Flash Bootloader, security aspects
play a subordinate role here.

Security component
ECUs can only be reprogrammed if the ECU has been unlocked
beforehand with the help of a request/response (Seed/Key)
method. As soon as the ECU is unlocked, it can also be reprogram-
med with ECU software, even if it does not originate from the
automotive OEM.
Since the Request/Response method provides inadequate protec-
tion from a technical security perspective, special cryptographic
methods are used in security-critical ECUs. Security requirements
related to software manipulation pose the greatest challenge to
the software. This optional extension of the Flash Bootloader that
adds a security component provides maximum security and the
flexibility to set the security level required by the automotive
OEM.
FLASHING

5/1
Flash Bootloader
Flashing via CAN, LIN, FlexRay, MOST and Ethernet

microcontroller platforms with limited resources.


Advantages For the flash process, the user only needs a connection to the bus
> Large number of supported microcontroller platforms system, where the ECU is connected to a PC. The flash tool is then
> Dedicated support for several OEMs used to program new ECU software.
> Low memory requirement
> Extensive tool chain Functions
As the first software instance after the ECU reset, the Flash Boot-
The Vector Flash Bootloader is a universal and compact solution loader is started during the boot phase. It checks to see if valid
for fast, efficient and secure reprogramming of ECUs on various executable ECU software exists, and starts this software as neces-
bus systems such as CAN, LIN, FlexRay, MOST and Ethernet. It is an sary.
established solution that is practice-proven over many years of In the reprogramming process, first the Flash Bootloader loads the
use. flash driver into the ECU’s RAM via the bus system. Then the ECU
The Flash Bootloader fulfils the specifications of different auto- software is erased and is reprogrammed by the Flash Bootloader.
motive OEMs.
Architecture
Application areas Besides containing the OEM Download Manager, the Flash Boot-
The Vector Flash Bootloader reprograms ECU software on an in- loader also contains the appropriate CAN, LIN, FlexRay or Ether-
vehicle network. This simplifies the transfer of ECU software in net driver, a transport protocol and a diagnostic layer (KWP2000
development, during production and in service. or UDS). For flashing over MOST, the Bootloader only contains the
OEM Download Manager and a diagnostic layer (KWP2000 or UDS).
Properties and advantages You will also need SMSC Net Services. These components of the
5/2
The Flash Bootloader consists of these components: bootloader, Bootloader are specially adapted to the requirements of flashing
flash driver (flash algorithms) and a PC-based flash tool. and so they require very little memory.
The GENy configuration tool is used to flexibly configure the Flash The OEM Download Manager contains the OEM-specific flash routi-
Bootloader, adapting it to individual requirements. Moreover, the ne based on KWP 2000 or UDS diagnostic services.
interfaces enable ECU-specific adaptation.
The compact architecture of the Flash Bootloader even supports

Flashing via CAN,


LIN or FlexRay
FLASHING

The Flash Bootloader is usually loaded in the ECU together with


the ECU-specific software, and it is stored in a protected memory Scope of delivery
area. > Flash Bootloader as configurable C source code
Due to the modular architecture of the Flash Bootloader, repro- > Flash driver
gramming also supports multiprocessor systems and different > Flash scripts for controlling the download process
memory types in one ECU.

A security module component is also available for ECUs with secu-
rity needs. It utilizes cryptographic methods to prevent program-
ming of ECU software that does not originate from a trustworthy
source.
To reduce data transmission time in ECU programming, Vector also
offers a data compression module for the Flash Bootloader.
Details on the security module and data compression are de-
scribed in a separate datasheet.

Hardware Interfaces for the Flash Tool


The flashing process is started with a Windows-based flash tool.
The PC or laptop just needs an interface for the bus system being
used, e.g.
> CAN/LIN: CANcardXL, CANcardXLe, CANboardXL, CANcaseXL
> FlexRay: VN3300, VN3600, VN7600, FlexCard
5/3
> MOST: VN2610
> Ethernet: conventional PC connection cable

Flashing via CAN, LIN,


FlexRay, MOST and Ethernet
Flash Bootloader: Security Component Option
Authorizing, validating and authentication during flash programming

Functions
Advantages The component has a scalable security system containing the fol-
> Protects against unauthorized ECU access lowing cryptographic functions:
> Validates the download process
> Only authentic software from the supplier or automotive > Hash function (SHA-1 or RIPEMD-160)
OEM is flashable > Signature computation with H-MAC (Class C)
> Secure transmission by data encryption > RSA methods for public/private key (Class CCC)
> Symmetrical data encryption with AES (Class AAA)
Application areas
The Flash Bootloader offers the option of reprogramming ECUs via Signatures can be computed during ECU development with the
the bus system. To prevent unauthorized access, the Seed/Key supplied HexView tool. For production applications, use of
method is generally used. This type of protection is entirely suffi- CANdelaFlash is recommended. This tool creates ODX-F containers
cient for simple ECUs. that contain information on the security class and signatures. ◆

However, extended security measures by the OEM are necessary


for complex ECUs containing sensitive vehicle data such as immo-
bilizer or odometer data. For this purpose, the HIS (Hersteller Ini-
tiative Software, i. e., “Manufacturers’ Software Initiative”) has
specified scalable security classes based on cryptographic rou-
tines. They are addressed by the Flash Bootloader via a standard-
ized interface.
5/4
The Vector Security Component satisfies all requirements of this
HIS specification. The joint venture with the company Cryptovi-
sion provides an optimized and high-quality extension to the
Flash Bootloader.

Generating a digital signature


using a hash function
FLASHING

Flash Bootloader: Data Compression Option


Optimization during Flash Programming

download time by up to 50 %. The achievable compression rate


Advantages can be analyzed and determined in advance. In addition to the
> Reduced download times data compression component, you also get the command line
> Implementation has low memory requirement based Vector Compression Tool and the HexView tool.
> Fast compression and decompression algorithms
> Independent of specific bus system Implementation of the chosen decompression method takes up
very little memory in the ECU and is optimized with regard to exe-
In many cases data compression can reduce download time. The cution time. On the PC side, compression is performed by the Hex-
flash data is compressed before the actual flash process. View tool. ◆

The flash tool reads the compressed flash data and transfers it to
the ECU’s Flash Bootloader via an OEM-defined flash process. The
received data is then decompressed in the Flash Bootloader.

Application areas
Data compression can be performed in all ECUs, regardless of the
microcontroller used. Data compression is an important tool when
larger quantities of data need to be downloaded (e.g. in the Info-
tainment area) or fixed time intervals are set (e.g. max. 3 mi-
nutes for programming an ECU). That is why most automotive
OEMs make provisions for the use of data compression in their
5/5
flash processes.

Functions
The Vector compression method is based on an optimized LZ77
method, which is especially well suited for the automotive ECU
environment. It enables a compression rate of 40–60 %, reducing

Compression and decompression of flash data


EEPROM Emulation Module (EepM)
EEPROM Emulation in Flash Memory

In recent years, flash memory has become more cost-effective access the stored data by identifiers that are predefined or flexi-
and faster than conventional EEPROMs. New microcontrollers are bly defined at runtime.
often offered without EEPROM memory and just have a larger
internal flash memory. Since writing to flash memory, unlike Special Functions
EEPROMs, is not by the byte but by the page, it is only possible to The EEPROM Emulation module is configurable and so it can be
achieve optimized utilization of the flash memory with the help of adapted to the requirements of the application. It enables:
an EEPROM emulation. > Simultaneous emulation of multiple EEPROMs
> Integration of different flash hardware
Overview of Advantages
> Usable for external and internal flash
> Usable for data and program flash Differences between EEPROMs and Flash Memory
> Conserves resources and optimizes flash lifetime Flash memories cannot be written byte-by-byte. Their smallest
> Possible to use EEPROM emulation module together with writing unit, known as a page, extends over a number of bytes. A
the Vector Flash Bootloader page cannot be overwritten directly. First, it must be erased
together with all of the pages of a sector (smallest erasing unit).
The page length and sector length are hardware-dependent, and
Application Areas sector lengths may also vary within a flash memory.
Flash memory cannot be erased or written in the same way as con-
ventional EEPROMs. EEPROM emulation in flash memory makes it Efficient Structuring of Nonvolatile Data
possible for an application to store changed nonvolatile data in a Essentially, the use of a flash memory requires that the data to be
flash memory, just as in a conventional EEPROM. stored is defined in so-called records. They are addressable by
5/6
unique identifiers, and besides the stored data they also contain
Functions management information. This information assures quick and reli-
The Vector EEPROM Emulation Module (EepM) manages predefined able read access to valid data. The application either defines the
flash areas by taking all hardware-specific constraints into con- length of a record either statically during software configuration
sideration. Reading and writing of changeable nonvolatile data or dynamically at runtime, depending on the configuration.
via the EepM is fully transparent to the application. It is easy to

Software
architecture of
the EepM
FLASHING

Contact and Availability


Vector offers EEPROM Emulation Modules for a number of
hardware platforms with different internal or external flash
memories. You will find additional information on the Inter-
net at: http://www.vector.com/vi_eepm_availability_en
or upon request
E-mail: embedded@vector-informatik.com
Telephone: +49 711 80670 400.

Reliable Access Configuration


In addition to the nonvolatile data, control information is stored The EepM is configured via a header file.
in a record and includes a Cyclic Redundancy Checksum (CRC). This
information assures that the data remains consistent with each Scope of Delivery
access. If the application calls up nonexistent data, the EepM > C header files and source code
generates an error message. > Makefiles and sample programs
> Documentation/operating instructions/Readme file
Optimizing Resources and Lifespan
During configuration the reserved flash area is partitioned into Optional Services
two blocks. The EepM sequentially writes new or updated records > Consultation in system design and integration in the ECU
into the currently active block. When this block is full, the EepM > We supply HIS flash drivers
completely erases the inactive block fully before it copies the still > We will extend standard modules according to your needs
valid records of the active block into it. After an integrity check, > Hotline, special workshops and training courses on the topic of
the inactive block becomes the active block. This alternating and embedded software ◆
consistent use of two blocks optimizes the lifespan of the flash
memory.

The EepM can emulate multiple EEPROMs within a flash simultane-


ously using predefined context pointers. If a Vector Flash Boot-
loader is integrated into the ECU, the context pointers make it
possible to use the EEPROM Emulation module from the Flash
5/7
Bootloader.

Since all interrupts are blocked during access to flash memory,


EEPROM management tasks should be performed at a non-critical
time for the application. We would be glad to offer you consulta-
tion in system design.

Resource optimization
by use of EepM from the
Vector Flash Bootloader
Flashing with CCP and XCP
Using the CCP/XCP protocol for flash programming

Less widely used but technically feasible is the option of replacing


Advantages the entire application by flashing via CCP and XCP.
> Calibration and reprogramming with the same software
component Failsafe reprogramming
> Use CANape as a flash tool Unfortunately, the use of a flash kernel has one disadvantage: If
> Reset-safe solutions are available the data transfer is interrupted during programming, this might
lead to a catastrophic failure of the ECU. This can be remedied by
The CAN Calibration Protocol (CCP) – and its successor, the Univer- using a CCP or XCP bootloader (see illustration, right). It is perma-
sal Measurement and Calibration Protocol (XCP) – are ASAM nently stored in a protected memory area. The bootloader is
Standards that are used to measure and calibrate internal ECU always called after the start, and it checks the application. The
parameters. XCP offers several different physical interfaces such application is not started unless it is valid and complete. A flash
as CAN, FlexRay, Ethernet, USB and SPI/SCI. The calibration tool abort always causes the bootloader to assume control, and the
CANape from Vector supports all of these interfaces. flash process can be resumed at any time.

Application areas Tool support


Flashing via CCP and XCP is primarily used to update calibration The flash download is executed by CANape. ◆
data and parameter data in the calibration process. After a chan-
ge has been made to the data in the calibration tool, the new data
is written to the ECU’s flash memory via the bus system. First, a
flash kernel (see illustration, left) is transferred to the ECU, is
written into RAM and is started by the application. Besides con-
5/8
taining the CCP and XCP protocols for communication, it also con-
tains routines for erasing and programming flash memory. The
subsequent download of ECU data is handled by the kernel, and
the data is transferred to the flash chip. This achieves an especial-
ly space-saving solution.

Flashing via XCP using a flash kernel Flashing via an XCP bootloader
FLASHING

5/9
EMBEDDED SOFTWARE

Wide Availability of Flash Bootloader and EepM


Supported Microcontrollers and Compilers

Controller Compiler Available for [1] Controller Compiler Available for [1]
AnalogDevices Renesas Electronics (NEC/Renesas)
BlackFin VusualDSP CAN 78k0 IAR CAN, LIN
Atmel H8S Renesas CAN
AVR IAR CAN, LIN M16C Renesas, IAR CAN
AVR32 IAR CAN M32C Renesas, IAR CAN
Freescale M32R Renesas CAN
DSP56F83xx Metrowerks CAN R32C IAR CAN
Cosmic, Metrowerks R8C Renesas, IAR CAN
HC08, MCS08 CAN, LIN
(Hiware)
SH2 Renesas CAN
HC12, Star12, Cosmic, IAR, Metro-
CAN
Star12x, MCS12xE werks (Hiware) Renesas (NEC),
V85x CAN, LIN, FlexRay
Green Hills, IAR
i.MX25 GNU CAN
STmicroelectronics
MAC71xx, MAC72xx ARM, IAR CAN
ST9 GNU CAN
DIABDATA Wind
MPC 55x, 56x, 5200 CAN
River, Metrowerks ST10 Tasking CAN
DIABDATA Wind STM8a Cosmic CAN
MPC 55xx, 56xx CAN, FlexRay
River
Fujitsu Texas Instruments
TI OMAP 59xx Texas Instruments CAN
16FX Fujitsu CAN
TMS320 Texas Instruments CAN
16LX Fujitsu CAN
Texas Instruments,
FR60 Fujitsu CAN TMS470 CAN
ARM
Jade GNU CAN Texas Instruments,
TMS570 CAN, FlexRay
ARM
Infineon
Toshiba
C16x (external
Tasking CAN
AMD-Flash) TLCS900 Toshiba CAN
Tricore GNU, Tasking CAN, FlexRay TX19 Green Hills CAN
XC16x Keil, Tasking CAN TX49 Green Hills CAN
XC2000 Tasking CAN
Microchip [1] Please contact Vector (embedded@vector.com) if your
controller is not on the list or if you need additional support for a
dsPIC24 Microchip C30 CAN
not listed bus system. In general CAN, LIN, FlexRay, Ethernet and
dsPIC33 Microchip C30 CAN MOST can be supported.
PIC18 Microchip, Hi-Tech CAN, LIN

National The Flash Bootloader is available for a great variety of OEM-specific


flash processes. Please find the list of supported OEMs in the separate
CR16 IAR CAN
datasheet.
V2.0 2010-05

More Information: www.vector.com/contact


EMBEDDED SOFTWARE

More Information: www.vector.com/contact


CANdelaFlash 2.0
Management of Flash Data and Generation of ODX Flash Containers for an Assured Process

Functions
Properties Overview CANdelaFlash supports the import and export to the standardized
> Import and Export of ODX Flash Containers ODX format completely. ODX Flash Containers can thereby be pre-
> Modularization of flash data pared at an early stage in the development process. These ODX
> Management of software revision levels and part numbers Flash Containers have become a standard for modern flash tools
> Administration of data for Flash ROMs used in development and production.
> Reuse of diagnostic descriptions from CANdelaStudio CANdelaFlash fits seamlessly into existing tool chains. In particu-
> Can be used by both vehicle manufacturers and suppliers lar it supports the development process with other Vector pro-
> Comfortable user interface ducts such as CANdelaStudio. Another advantage of CANdelaFlash
is that it supports modularization of flash data, e.g. post-flashing
Application Areas of individual ECU functionalities (gear shift programs, idle-speed
Today the development process for an ECU is very complex. While control, country variants, etc.).
previously just a few ECUs were “flashable” in the vehicle, in futu- CANdelaFlash offers a simple and easy-to-use interface. For
re all ECUs will have a flash capability. example, the organization of a CANdelaFlash document is shown
The large number of ECUs that are networked together in the vehi- in a tree view, and most entries are made via easy-to-use tables
cle, and their growing complexity and amount of programmable with intuitive input masks.
data will require management of the flash data for an assured
process. In the future the flashing of ECU sub-functionalities will Functions at a Glance:
also come to the forefront. > Assignment of software revision levels and part numbers
CANdelaFlash is a software tool designed to manage these > Assignment of the various software revision levels to specific
requirements. ECUs in the vehicle
5/10
CANdelaFlash should be used wherever process-assured flashing > Identification of valid target ECUs. Checking whether the
of ECU functionalities (full or partial) is required. It can be imple- session is valid for the ECU that has to be programmed.
mented in both ECU development at a supplier and in test vehicle > User-friendly acquisition and management of binary and
or preproduction development at the vehicle OEM. hexadecimal data for Flash ROMs (e.g. import of source files
in “Intel Hex” and “Motorola S-Record” formats)

New Functions of Version 2.0

Data Extraction Plugin Interface


> Interface for automatic extraction of data out of hex files at
import time or interactively using the menu via OEM specific
plug-in
Base Session
> Optional definition of session defaults for a project
Session Wizard
> Simple creation of flash sessions through configurable Session
Wizard
> Mask out unused or read only elements in the user interface

Process-assured generation of ODX Flash Container


FLASHING

> Use of templates for new CANdelaFlash documents Structure of the CANdelaFlash Data
> Creation and editing of sessions and data blocks The management and the acquisition of flash data are done com-
> User-friendly editing of the segments of a data block including fortably via the user interface in the following structure:
extensive consistency checks > Flash description:
> Grouping of sessions into so-called Flash Classes Reference to multiple ECUs (CANdelaStudio ECU-specific
> Cut, copy, and paste functions for objects of the CANdelaFlash descriptions; *.cdd files)
document > Base Session:
> Searching of the CANdelaFlash database for objects by their Optional definition of session defaults for a project
names > Sessions:
> Import and Export of the CANdelaFlash document into ODX 2.0 Session with list of data blocks. This is a list of jobs for upload/
and ODX 2.1 data format download (initial programming, reprogramming, partial repro-
> Import/export of embedded flash data from/to ODX gramming). The data blocks reference the flash data (reusable
> Creation and editing by authors, revision entries, and brief in different sessions) and they specify the segments of flash
descriptions data for upload/download.
> Interfacing to external tools by user-defined actions > Memory layouts:
> Plug-In interface for linking customer-specific security DLLs Description of the memory layouts of several ECUs
for CRC and signature calculation > Flash classes:
> Support of customized user settings User-defined organization of sessions in any desired number of
> Reuse of diagnostic data (from CANdelaStudio) flash classes
> Detailed recording of program sequences (Output Window) > Flash data:
> Read and write of PDX archives (Packaged ODX) Database of reusable flash data ◆
5/11
> Expanded format checking in attribute masks via specification
of regular expressions in the template

Flash data management


with CANdela Flash:
Structure of the
CANdelaFlash data
FLASHING

CANditoFlash 5.0
Easy Flashing in the Development Process and in End-of-Line Programming

A Properties Overview: Functions


> Process-assured flash tool requiring minimal user interaction CANditoFlash is a flash tool for programming ECUs based on an
> Easy handling: Flashing based on just two configuration files ODX-F flash container and a CANdela ECU Diagnostic Description
(ODX-F and CDD) file (CDD file).
> Supports standard protocols Communication with the ECU is based on the diagnostic descrip-
> Flashing in different areas (development, measurement, tion file (CDD file) that is created with CANdelaStudio and which
calibration, diagnostic testing, end-of-line) by integration describes the diagnostic protocol and diagnostic data of the rele-
in other Vector tools or as standalone tool vant ECU. The ODX-F flash container is generated using CAN-
> Future coverage is assured, because it can be extended for new delaFlash, the tool for managing flash data.
bus systems (FlexRay) as soon as standardized protocols are
available An overview of functions:
> Programming (flashing) of an ECU via the real vehicle bus
(physical and functional addressing)
Application Areas > Configuration via ODX flash container and diagnostic description
Because it is easy to operate, CANditoFlash can be used as a stand- file (CDD file)
alone tool for end-of-line flash jobs in production. > Support of customer-specific file formats (flash data)
In interaction with other Vector tools (see graphic) CANditoFlash
can also be utilized as a flash tool in many different ECU develop- Development of the Flash Job
ment areas at suppliers and at OEMs: The flash job is designed and developed with the help of an easy-
> Testing and simulation to-learn programming environment in the CANdito and CANape
> Diagnostics tools.
> Calibration and measurement data processing
V2.1 2010-7

Flash programming with CANditoFlash:


Interaction with other Vector tools and data flow

More Information: www.vector.com/contact


FLASHING

The following functions are provided in flash job programming in System Requirements
CANape/CANdito: > Windows XP, Vista (32-bit version) or Windows 7 (32- and 64-bit
> OEM-specific flash job: Simple, problem-oriented library func- version)
tions for instancing and parameterizing diagnostic functions > Vector CAN hardware interfaces
> Easy access to flash parameters
> Convenient import of flash data
> Library is expandable (e.g. for import of customer-specific data)

The flash job (flash script) is transferred to the Diagnostic Descrip-


tion file (CDD file) with CANdelaStudio.
If necessary, Vector can develop the flash job as a contract service.

Supported Protocols
> ISO 15765 Diagnostics on CAN
> ISO 14229 Unified Diagnostic Services on CAN (UDS)

Interaction and Interfaces


CANditoFlash can be run:
> As a standalone tool, e.g. for end-of-line flashing
> As part of CANape (effective with version 6.5 SP1) or CANdito
(effective with version 2.5 SP1)
> In CANoe as a plug-in. A precondition is a standalone installa-
tion of CANditoFlash or an installed license for CANape/CANdito
version 6.5/2.5 SP1 or higher.

Configuration dialog:
Flashing based on ODX-F data

More Information: www.vector.com/contact


VectorAcademy

Seminar or Workshop?
Vector offers seminars and workshops on Vector software tools as
well as the latest bus technologies and protocols at Vector Group
locations worldwide.
VectorAcademy seminars serve to communicate theoretical basics,
while workshops distinguish themselves through their applicability,
practical examples, and exercises.

Modularity
Trainings are partly constructed of several independent, one-day
modules designed to follow one another. Beginners and advanced
users can adjust their individual training program to suit their own
needs.

You will find the latest information on current dates, additions


to the training offerings, and information about registration of
the Vector Group at www.vector-academy.com.

Customer-Specific Trainings
Additionally, we offer customized training courses, where we com-
bine or expand the contents according to your needs. If desired we
can also conduct all training courses at your company site. We would
be glad to provide you with a quotation based on your specific needs.
Please contact our training consultants:
Vector Informatik: academy@de.vector.com
6/0 Vector Consulting Services: info@vector-consulting.de
Vector CANtech: academy@us.vector.com
Vector Scandinavia: academy@se.vector.com
Vector France: academy@fr.vector.com
Vector Japan: academy@jp.vector.com
Vector Great Britain: academy@uk.vector.com
Vector Korea: academy@kr.vector.com

The Training Team


Our training team consists of experienced engineers, who enjoy
sharing their experience and knowledge base.
A continuous flow of information between trainers and development
departments ensures that the training courses we offer reflect cur-
rent trends and developments.

Premises
We conduct our trainings in generously appointed and modern class-
rooms, equipped with state-of-the-art training technology and
powerful workstations, running the latest development, analysis,
measurement, and diagnostics software. Excercise hardware and
demonstration objects complete the working environment.
Katalog E Diagnose '10 02.02.2010 10:39 Uhr Seite 4/2

Germany

4/2
Vector Katalog Diagnose EN 04.02.2010 13:16 Uhr Seite 4/3

DIRECTIONS TO VECTOR

USA and Great Britain


Subsidiaries: Vector CANtech Inc., Vector GB Limited

4/3
Katalog E Diagnose '10 02.02.2010 10:39 Uhr Seite 4/4

France and Sweden


Subsidiaries: Vector France SAS, VecScan AB

4/4
Katalog E Diagnose '10 02.02.2010 10:40 Uhr Seite 4/5

DIRECTIONS TO VECTOR

Japan and Korea


Subsidiaries: Vector Japan Co., Ltd., Vector Korea IT Inc.

4/5
Katalog E Diagnose '10 02.02.2010 10:40 Uhr Seite 4/6

India and China


Subsidiaries: Vector Informatik India Prv. Ltd., Vector Informatik China

4/6
Your Contact

Germany and all countries USA, Canada, Mexico


not named below Vector CANtech, Inc.
Vector Informatik GmbH Suite 550
Vector Consulting Services GmbH 39500 Orchard Hill Place
Ingersheimer Str. 24 Novi, MI 48375
70499 Stuttgart USA
GERMANY Tel.: +1 248 449 9290
Tel.: +49 711 80670-0 Fax: +1 248 449 9704
Fax: +49 711 80670-111

France, Belgium, Luxembourg Japan


Vector France Vector Japan Co., Ltd.
168, Boulevard Camélinat Seafort Square Center Bld. 18F
92240 Malakoff 2-3-12 Higashi-shinagawa,
FRANCE Shinagawa-ku
Tel.: +33 1 4231 4000 Tokyo 140-0002
Fax: +33 1 4231 4009 JAPAN
Tel.: +81 3 5769 7800
Fax: +81 3 5769 6975

Sweden, Denmark, Norway, Korea


Finland, Iceland Vector Korea IT Inc.
VecScan AB 1406 Mario Tower
Theres Svenssons Gata 9 222-12 Guro-dong, Guro-gu
41755 Göteborg Seoul 152-848
SWEDEN REP. OF South KOREA
Tel.: +46 31 764 7600 Tel.: +82 2 8070 600
Fax: +46 31 764 7619 Fax: +82 2 8070 601

United Kingdom & Ireland India


Vector GB Limited Vector Informatik India Prv. Ltd.
Rhodium, Central Boulevard 4/1/1/1, 3rd floor, Sutar Icon
Blythe Valley Park Sus Road
Solihull, Birmingham Pashan
West Midlands, B90 8AS Pune 411021
United Kingdom India
Tel.: +44 121 50681-50 Tel.: +91 20 2587 2023
Fax: +44 121 50681-69 Fax: +91 20 2587 2025

China
Vector Informatik GmbH
Shanghai Representative Office
Suite 605, Tower C,
Everbright Convention Center
No. 70 Caobao Road, Xuhui District
Shanghai 200235
P.R. CHINA
Tel.: +86 21 6432 53530
Fax: +86 21 6432 5308

www.vector.com Get Price Quote


V

You might also like