INCA-EIP (Experimental Target Integration Package) V7.0.2 User s Guide

Similar documents
INCA-EIP V7.2 User s Guide

INCA-MIP V16.0 for INCA V7.1 User s Guide

ETAS CONGRA V1.3.0 Installation Guide

ES6xx Add-On & Hardware Configuration Tool V1.4.0

ES922.1 Version 1.1.0

INCA-FLEXRAY V7.2 User Manual

ETAS INCA V7.1 Serial Calibration with InCircuit2 INCA User s Guide Supplement

INCA-VLINK V1.3 Getting Started

INCA V7.2 INCA Instrument Integration Development Kit V1.2 Quick Start Guide

INCA-LIN V7.2 User s Guide

HSP-SP V Release Notes HSP-SP V Release Notes. Page 1 of 7

HSP Update Tool V5.9.0

HSP Update Tool V

Release Notes. INCA-QM-BASIC Add-on. Release Notes. Page 1 of 11

INCA-LIN V6.2. User Manual

INCA-MIP Add-on MATLAB Integration Package for INCA 7 Release Notes V INCA-MIP Add-on. Release Notes V Page 1 of 12

INCA-FLEXRAY V6.2. User Manual

Release Notes INCA-RDE V1.0. Release Notes. Page 1 of 11

ETAS SCODE-ANALYZER Getting Started

INCA V7.1.0 Release Notes INCA V Release Notes. Release: March Page 1 of 13

Release Notes INCA-FLOW V4.4. Release Notes. Page 1 of 13

ASCET Rapid Prototyping V6.4 User s Guide

INCA-FLOW Getting Started

CBAM270 XETK ECU Adapter and Power Supply Cable, pre-assembled into PG9 screwing, shield on ECU-Housing, Lemo 1B PHE - JST PHR (10fc-5fc) / Lemo 0B

ODX-LINK V1.5 ODX-FLASH V1.5 User s Guide

LABCAR-FWP V Release Notes LABCAR-FWP V Release Notes. Page 1 of 5

Release Notes INCA-FLOW V4.6. Release Notes. Page 1 of 12

Table of Contents ================================================================

LABCAR-FWP V Release Notes LABCAR-FWP V Release Notes. Page 1 of 6

INCA-ES9xx V7.0.2 Release Notes

INCA V7 Performance Tips And Tricks

RTA-BSW v3.0.0 RTA-BSW Getting Started Guide Status: Release

Daisy Chain Configuration Tool V Release Notes. Release Notes. Page 1 of 7

Schneider Electric License Manager

ETAS RTA Lightweight Hypervisor for SPC58ECxxGHS v1.0.0

PB4350DAC1 - D/A Module User s Guide

Schneider Electric Floating License Manager

HSP-SP V Release Notes HSP-SP V Release Notes. Page 1 of 6

INCA-SIP User s Guide

INCA-ES5xx V Release Notes

MDA 8 preview SP2 Release Notes. Release Notes. Release: March, Page 1 of 8

LABCAR-OPERATOR V5.4.2 Getting Started

ASCET-SE V6.3. EHOOKS Target User Guide

PB1651ADC1 A/D Module User s Guide

INCA-MIP V16.1 for INCA V7.2 User s Guide

ASCET-DEVELOPER 7.3 Getting Started Guide

Currently shipped for ETK-Mode: B010/01. Currently shipped for FETK-Mode: B010/01. Date Released: Department PGA/PRM-M2

EHOOKS V4.0 PRE-RELEASE

EHOOKS V4.3 User Guide

ASCET 7.2 Getting Started Guide

RTA-OS V850E2/GHS Release Note - Version ( )

Current shipped hardware state: B012/01 Current released firmware version: HSP Department NE/EHE3. Date Released:

ETAM3 XETK/FETK ECU Adapter, SAMTEC FFSD - SAMTEC SFM (10fc - 10fc), 0m11 User s Guide

Current shipped (hardware state): C013/01 Current released firmware version: HSP Department PGA/PRM-M2. Date Released:

Product: XETK-T2.2 Rev : 02 Page 1 of 12. Current shipped (hardware state): A010 Current released firmware version: HSP Department PGA/PRM-H

Current shipped (hardware state): C013/01 Current released firmware version: HSP Department NE/EHE3. Date Released:

Product: XETK-T2.1 Rev : 03 Page 1 of 12. Current shipped (hardware state): C011 Current released firmware version: HSP Department MCD/PRM-H

SIMATIC. STEP 7 PLUS TIA Portal Teamcenter Gateway. Introduction to TIA Portal Teamcenter Gateway 1. System requirements 2

Department PGA/PRM-M2. Date Released: Department NE/PJM. C h a n g e s

ASCET-SE V6.4. EHOOKS Target User Guide

MDA Custom Map Control Creation for GPS View V1.1 Tutorial

Network Installation for ES1130 and ES1120 User s Guide

MDA v7.2.3 Release Notes. MDA v Release Notes. Release: December Page 1 of 13

INCA-MIP V7.0 User s Guide

Model Based Development of a Light Function for a Rapid Prototyping System. Prof. Dr. Dieter Nazareth

ASCET V6.4. AUTOSAR to ASCET Converter User s Guide

ES585.1 K-Line Interface Compact. User's Guide

Installation Guide. Cimatron Site Manager 2.0 Release Note

ASCET V6.2 Icon Reference Guide

Current shipped hardware state: C012/02 Current released firmware version: HSP Department NE/EHE3. Date Released:

Current shipped hardware state: D010/01 Current released firmware version: HSP Department PGA/PRM-M2. Date Released:

ASCET-SE V6.1 User s Guide

Mercury WinRunner. Installation Guide Version 9.2. Document Release Date: February 26, 2007

SIMATIC HMI. Software RemoteOperate V2. Preface. Overview 1. Range of functions of the RemoteOperate software. Hardware and software requirements

ES Knock Intensity Detection Board. KID_SU KID Signal Unit User Manual

ETAS RTPC-EVE V6.0 Installation Guide for Target PC

SIMATIC Automation License Manager Manual 02/2008 A5E

ASCET-SE V6.3 User s Guide

Network USB over IP Server With 1-USB2.0 Port. User Manual V1.0

Software Manual R Index 1

ASAM ASAP3 Interface User s Guide

Veritas System Recovery 18 Management Solution Administrator's Guide

TechDirect User's Guide for ProDeploy Client Suite

MDA V8.3.1 Release Notes MDA V Release Notes. Release: December Page 1 of 10

User s Manual CAP 531*1.5 Configuration and Programming tool

ASCET V6.3 Getting Started

FlexRay Editor User s Guide

INCA ASAM ASAP3 Interface. User's Guide November 2010

LABCAR-OPERATOR V5.4.2 User s Guide

SIMOTION. Motion Control Task Trace. Preface 1. Overview 2. Configuring 3. Working with the SIMOTION Task Profiler 4.

ETAS INTECRIO Integrated Prototyping Environment V4.6.0 Release Notes V Release Notes. Page 1 of 59

INCA V7.2 Getting Started

ASAM ASAP3 Interface User s Guide

Rapid Recovery License Portal Version User Guide

Working with Groups, Roles, and Users. Selectica, Inc. Selectica Contract Performance Management System

=============================================================== ===============================================================

Contents Using the Primavera Cloud Service Administrator's Guide... 9 Web Browser Setup Tasks... 10

SICAT SUITE VERSION 1.1. Instructions for use English

INCA V7.2 Service Pack 01 Release Notes. Release Notes. Release: July 19, Page 1 of 20

Magnetek Material Handling IMPULSE LINK 4.1 Basic Instruction Manual

Transcription:

INCA-EIP (Experimental Target Integration Package) V7.0.2 User s Guide

Copyright The information in this document may not be altered or amended without special notification from ETAS GmbH. ETAS GmbH assumes no further responsibility with respect to this document. The software presented herein is provided on the basis of a general license agreement or a single license. Using and copying this document is allowed only in accordance with the stipulations specified in this contract. Under no circumstances may any part of this document be copied, reproduced, stored in a retrieval system or translated into another language without the express written permission of ETAS GmbH. Copyright 2010-2012 ETAS GmbH, Stuttgart, Germany The names and designations used in this document are trademarks or brands belonging to the respective owners. Document AM011105 R7.0.2 EN 2

Contents 1 Introduction...................................................... 5 1.1 Safety Notice................................................ 5 1.2 About this Manual............................................ 5 1.3 Required Knowledge.......................................... 5 2 New Features in INCA-EIP V7......................................... 7 2.1 New Features in INCA-EIP V7.0.1................................. 7 2.2 New Features in INCA-EIP V7.0.0................................. 7 2.2.1 New Working and Reference Page Concept for ES910 Rapid Prototyping System........................................... 8 2.2.2 Direct Flashing of Calibrated Data for ES910 Rapid Prototyping System.................................................... 8 3 Installation....................................................... 9 3.1 Licensing the Software........................................ 10 3.1.1 ETAS License Models................................... 10 3.1.2 How to get a License................................... 11 3.1.3 The License File....................................... 12 3.1.4 Grace Mode......................................... 14 3.1.5 The "Expiration Warning" Window........................ 14 3.1.6 Borrowing a License................................... 15 3.1.7 Customizing the Network Installation...................... 16 4 Configuring the Hardware.......................................... 17 4.1 System Design.............................................. 17 4.1.1 ES1000.2/3 System Design.............................. 17 4.1.2 ES910 Rapid Prototyping System Design.................... 17 4.1.3 System Design for Rapid Prototyping Based on RTPRO-PC....... 18 4.1.4 PC-Based Virtual Prototyping System Design................. 19 4.1.5 Difference Between Rapid Prototyping and Virtual Prototyping... 19 Contents 3

4.2 Parameterizing the Hardware................................... 19 4.2.1 Inserting a Prototyping Target............................ 20 4.2.2 Configuring the E-Target................................ 26 4.3 Updating the Hardware Configuration in Case of Modified Cabling...... 30 5 Experimenting on the E-Target....................................... 31 5.1 Memory Pages in the E-Target.................................. 31 5.2 Controlling the Program Flow................................... 31 5.2.1 Automatic Program Start................................ 32 5.2.2 Manual Control of the Program Flow....................... 32 5.2.3 Displaying Program Errors............................... 33 5.3 Managing Datasets........................................... 34 5.3.1 Managing Datasets of an ES910 or RTPRO-PC Rapid Prototyping System................................................ 34 5.3.2 Managing Datasets of Other E-Targets..................... 36 5.4 Using Non-Volatile Variables (Adaptive Characteristics)................ 38 6 Interfaces....................................................... 39 6.1 Data Exchange with ASCET..................................... 39 6.2 The ASAM-3MC Interface...................................... 40 7 ETAS Contact Addresses............................................ 41 4 Contents

1 Introduction The INCA-EIP add-on package allows you to use the INCA measurement and calibration system as an experiment environment for the software development of real-time systems. It gives you access to the experimental hardware for the E-Target. The E-Target can consist of either an ES1000 system using the ES1130 or ES1135 plug-in card, or the ES910 Compact Rapid Prototyping device. Each of these configurations enable you to test the runtime behavior of your software designs. Moreover it is possible to experiment on PC-based hardware using prototypes that are generated by INTECRIO. This type of configuration allows different time scalings. When working with INCA as your experiment environment, you can use the entire range of our measurement and calibration tools for testing and parameterizing your designs. You can also record measured data, analyze them with the INCA tools and exchange datasets between INCA and ASCET. Moreover you can employ virtual hardware with virtual prototyping models generated by INTECRIO for measuring and calibration tasks. The add-on installation is only required for rapid and virtual prototyping use cases in INCA. Measurement and calibration tasks using the same hardware only require an INCA base installation. Note The ES1112 plug-in card, which can be used as E-Target, is phased out and no longer supported with this INCA version: ETAS does neither test nor assure the proper functionality of these devices together with the current INCA version. The usage of phased out devices is at your own risk. 1.1 Safety Notice 1.2 About this Manual This guide tells you what kind of knowledge you should have and what is required of your system so you can use INCA as the experiment environment in your software development. It then describes how to install the INCA-EIP add-on package, what to consider for the hardware configuration, and what has to be observed when using rapid and virtual prototyping systems for experimenting in INCA. 1.3 Required Knowledge DANGER! Calibration activities influence the behavior of the ECU and the systems controlled by the ECU. This may result in unexpected behavior of the vehicle and thus can lead to safety critical situations. Only well trained personnel should be allowed to perform calibration activities. To use INCA as an experiment environment for software development, you should be familiar with the general program operation. For detailed information, see the INCA user manual and online help. Introduction 5

6 Introduction

2 New Features in INCA-EIP V7 This section contains a summary of the new features that have been introduced in INCA-EIP V7. You should read this section even if you are already an experienced INCA-EIP user. 2.1 New Features in INCA-EIP V7.0.1 INCA-EIP V7.0.1 now also supports rapid prototyping based on the ETAS RTPRO- PC product. This allows for the parallel execution of the RP model in real-time on the one hand, and Windows applications on the other, i.e. you can run the prototype and the experiment environment on the same PC. RTPRO-PC supports CAN, XPC-on-CAN, XCP-on-Ethernet, and XETK. This new E-Target is shown in the Hardware Configuration Editor as RTPRO-PC system with an X86 RTPRO-PC Controller.. Note Working with RTPRO-PC requires a separate installation providing the real-time execution platform. This RTPRO-PC execution platform can be purchased from ETAS as a separate product. 2.2 New Features in INCA-EIP V7.0.0 The following functional extensions and improvements are contained in INCA-EIP V7.0.0: New Working and Reference Page Concept for ES910 Rapid Prototyping System (2.2.1) Direct Flashing of Calibrated Data for ES910 Rapid Prototyping System (2.2.2) New Features in INCA-EIP V7 7

2.2.1 New Working and Reference Page Concept for ES910 Rapid Prototyping System In previous versions of INCA-EIP, E-Targets for the simulation system always had only one memory page that was always accessed as the working page from within the INCA experiment environment. When conducting experiments on the E-Target, you could not switch back and forth between the working page and reference page in the INCA experiment environment. With INCA-EIP V7.0, dataset handling of an ES910 is now similar to that of an ETK: When using an ES910 as E-Target, both a working and reference page are available, which enables you to switch back to an approved dataset whenever required. Copying datasets from one page to another is also possible. Note The support of the working page / reference page concept in INCA requires that the concept is supported by the ES910 model. For this purpose, the model must be created with INTECRIO V3.2 or ASCET-RP 1.6 or a later version. Starting with INCA-EIP V7.0.1., the working and reference page concept is also supported for RTPRO-PC. 2.2.2 Direct Flashing of Calibrated Data for ES910 Rapid Prototyping System In previous versions of INCA-EIP, flashing of calibrated data into an ES910 Rapid Prototyping system required a complicated sequence of working steps involving several tools (ASCET, INTECRIO, and INCA). With INCA-EIP V7.0, calibrated data can now be flashed directly to the ES910 Rapid Prototyping system, thus shortening the workflow considerably. ASCET modeling (1), (5) Generated C-Code INTECRIO (2), (6) Generated a2l-project (a2l, cod) (4) generated DCM exchange file INCA preparation (3) INCA MC work (7) flash: copy model (incl. Parameter values as in DCM file) (4) flash from WP or RP Persistent memory RAM ES910 Fig. 2-1 Enhanced flashing concept for ES910 Rapid Prototyping system 8 New Features in INCA-EIP V7

3 Installation INCA-EIP is available as an add-on package for the ETAS measurement and calibration system INCA. INCA must be installed on your computer before you can install this add-on package. You must have administrator privileges to install INCA-EIP. To install INCA-EIP for INCA: Make sure that INCA is installed on your computer and that the release number of the INCA installation is compatible with the release number of the INCA-EIP add-on package. Close all active programs. Insert the INCA-EIP DVD with the installation program into the DVD-ROM drive of your computer. If the installation routine does not start automatically, execute the autostart.exe program on the DVD manually. An installation dialog opens. Click on Main to open the dialog listing the programs that can be installed from the DVD. Click on the installation link for INCA-EIP. The installation routine is started. Follow the instructions in the installation routine to install INCA-EIP on your computer. If you want to do PC-based virtual prototyping, you must also install RTA OSEK for PC, which provides the virtual execution platform simulating the hardware for VP experiments: In the dialog listing the programs that can be installed from the DVD, click on the installation link for RTA OSEK for PC. The installation routine is started. Follow the instructions in the installation routine to install RTA OSEK for PC on your computer. If you want to experiment in real-time on RTPRO-PC using prototypes that are generated by INTECRIO or ASCET-RP, you must also install the RTPRO-PC execution platform. This real-time execution platform can be purchased from ETAS as a sepate product. To license INCA-EIP: Like INCA, INCA-EIP is subject to license management. In order to work with INCA-EIP after the installation, you need a license file for your computer. Without this file, INCA-EIP can be installed, but you cannot use it. For information on licensing please refer to "Licensing the Software" on page 10. Installation 9

3.1 Licensing the Software To be able to work with an ETAS software product, you require a license. This section contains basic details on this subject. "ETAS License Models" on page 10 "How to get a License" on page 11 "The License File" on page 12 "Grace Mode" on page 14 "The "Expiration Warning" Window" on page 14 "Borrowing a License" on page 15 Details concerning the scope of the licenses and other legal aspects can be found in "Terms and Conditions". 3.1.1 ETAS License Models There are three different license models available for licensing your ETAS software: Machine-Named License, Local A license of this type is managed by the user him/herself. As it is linked to a particular PC (better: to the MAC address of the Ethernet adapter), it is valid wherever the PC is used. When you change your PC, you require a new license. User-Named License, Server-Based The licenses (of a department or company) are managed centrally on a server by a designated person. The license is linked to the user name with which the user is registered in the network and is available on every PC in the network. If the relevant PC is disconnected from the network, the license can be "borrowed." Concurrent (or Floating) License, Server-Based Most of what is true of the user-named license applies to this type of license. The difference is that here several users share a limited number of licenses. 10

3.1.2 How to get a License If your company has a tool coordinator and server-based license management for ETAS software, contact this person. Otherwise (in the case of a machine-named license) you obtain your license from the ETAS license portal (the URL is shown on your Entitlement Certificate). There are three ways of logging in on the welcome page: Activation ID Once you have logged in, a specific activation 1 is visible and can be managed the activation ID is shown on your Entitlement Certificate. Entitlement ID All activations of the entitlement 2 are visible and can be managed (e.g. for a company with just one entitlement). E-mail and password All activations of the entitlements assigned to the user account are visible and can be managed (e.g. for a tool coordinator responsible for several entitlements). If you need help in the portal, click the Help link. What Information is required? Information on the hosts must be entered to activate licenses: Machine-named license The MAC address of the Ethernet adapter to which the license is to be bound is required here User-named license Here, you need a server host or a server triad as well as a user name Concurrent (floating) license Here, you need a server host or a server triad. Note If this data changes (e.g. due to changes in the hardware or a change of user), the license must be given a "rehost". This procedure is also described in the portal help file. 1. The activations refer to a specific product, its license conditions, the available number of licenses and other details required for generating a license. Activations are identified uniquely with activation IDs. 2. An entitlement shows the authorizations you have as a user; it stands for the right to own one or more licenses for a product. It is a kind of account of rights of use for software from which you can take licenses as you need to. 11

License File The result of your activities is the provision of a file <name>.lic with which you can license your software in the ETAS License Manager. 3.1.3 The License File To check to license status In the Windows Start menu, select Programs ETAS License Management ETAS License Manager. Click Continue. The ETAS License Manager contains one entry for each installed product. The symbol at the beginning of the entry and the "Status" column entry indicate whether a valid license has already been obtained or not. 12

To add a license file Open the ETAS License Manager (cf. page 12) and select File Add Licensing File. The "Install License" dialog window opens. Next to the "Select License File" field click the... button. In the file selection window, select the license file and click Open. The "Install License" dialog window shows information on the selected license. Note The "Version" column shows the version number of the license, not the version number of the software. Confirm with OK. The license just added is now listed in the ETAS License Manager. A green symbol before the entry shows that the license is valid. Note If the green symbol is not displayed, there might be a problem with the license file or the license relates to another product. Additional information on the ETAS License Manager can be found in the online help of the ETAS License Manager. 13

3.1.4 Grace Mode Close the ETAS License Manager. If you have not yet installed a license, you can still operate the software for a limited amount of time it then runs in what is referred to as grace mode. The window shows you how long you can continue to operate the software in this mode. 3.1.5 The "Expiration Warning" Window If your installed license runs out in the next 30 days, a warning is shown when you open the ETAS software. The "Expiration Warning" window contains a list of licenses that expire in the next 30 days. The expiration date is shown for each license; in the case of borrowed licenses (see "Borrowing a License" on page 15) it also shows when the borrowing period expires (i.e. the date when borrow mode runs out). Click Manage Licenses to open the ETAS License Manager and install a valid license file. As soon as you have installed a valid license, you can continue to operate the ETAS software in normal operating mode. Click Ignore to close the dialog box and start the ETAS software. This is only possible during the grace period; as soon as the grace period has expired, you can only continue to use the ETAS software once you have installed a valid license file. As soon as the expiration date has been reached, you can continue to use the ETAS software for a further 14 days in what is referred to as limited mode (see "Grace Mode" on page 14). Once this phase is over, the ETAS software can only be used when a new or updated license file has been installed. 14

3.1.6 Borrowing a License The borrowing mechanism makes it possible to work offline even when using a server-based license (i.e. without being connected to the license server). Note You can only borrow a license if a server-based license is being used! To borrow a license, proceed as follows: To borrow a license Make sure that the ETAS software the license of which you want to borrow is not open. Select the license you want to borrow in the "License Listing" table of the ETAS License Manager. Select License Borrow license. The "Select Borrow end date" dialog box opens. 15

Select the date until which you want to borrow the license from the calendar displayed and click OK. The text in the "Source" column of the ETAS License Manager changes from "SERVER" to "BOR- ROW", and the expiration date of the borrowed license is displayed. You can now use the relevant ETAS software offline until the expiration date of the borrowed license has bee+n reached. If you want to use the ETAS software longer than you had originally planned, you can borrow the license again. If you stop using the ETAS software earlier than planned, you can return the license to the license server early (License Return License Early). A borrowed license can only be returned by the person that borrowed it; it cannot be returned by another person. 3.1.7 Customizing the Network Installation You can change certain default settings before conducting the network installation; this also includes the access to the required licenses. The customization of the installation is done by adjusting the configuration file install.ini, which is located in the installation directory of the product to be installed. 16

CAN ETK RS BDM RESET ES A ES USERI 4 Configuring the Hardware This chapter describes special considerations for your hardware setup and how to set the hardware parameters in INCA. 4.1 System Design Either an ES1000.2/3 system, an ES910 Compact Rapid Prototyping device, or an RTPRO-PC can be used as the E-Target. Moreover you can use virtual hardware with virtual prototyping models that is generated by INTECRIO. 4.1.1 ES1000.2/3 System Design If you use an ES1000.2 or ES1000.3 system as the E-Target, it must contain either both an ES1120 and ES113x plug-in card or only an ES113x plug-in card. The PC and the ES1000 are connected via the PC s Ethernet interface that is connected either with the ES1120 or the ES113x card. Measurement and calibration as well as ECU access is provided by the INCA base system and the ETAS hardware intended for these tasks. 4.1.2 ES910 Rapid Prototyping System Design Using the ES910 Compact Rapid Prototyping device as the E-Target, you can perform in parallel both rapid prototyping of control functions as well as measurements and calibration on the ECU via ETK and CAN monitoring via the CAN interface. If you would like to use ETK access for measurement and calibration, you need to add an ETK controller in the INCA Hardware Configuration Editor in addition to the ES910/Simulation Controller. Configuring the Hardware 17

If you would like to do CAN monitoring, you have to add a CAN interface with a CAN monitoring device in the INCA Hardware Configuration Editor in addition to the ES910/Simulation Controller. ETK access and CAN Monitoring are possibly with only the INCA base program installed. When using the ES910 system, the INCA-EIP add-on is required only for the Rapid Prototyping use case. 4.1.3 System Design for Rapid Prototyping Based on RTPRO-PC If you use RTPRO-PC (Real-time Prototyping PC) as E-Target, you can run the model in real-time on the same PC as INCA. This enables you to measure and calibrate on it directly in INCA. Interfacing to other systems via CAN, XPC-on-CAN, and XCP-on-Ethernet, as well as ECU access via XETK, is provided through your computer s Ethernet port, the ES581.3 and XETK. RTPRO-PC ES581.3 Note RTPRO-PC shows the same behavior in INCA as other E-Targets. Working with RTPRO-PC requires a separate installation providing the real-time execution platform. This RTPRO-PC execution platform can be purchased from ETAS as a separate product 18 Configuring the Hardware

4.1.4 PC-Based Virtual Prototyping System Design If you use a virtual hardware as E-Target that runs with virtual prototyping models generated by INTECRIO, you can measure and calibrate on this virtual hardware directly in INCA. Note Virtual hardware shows the same behavior in INCA as other E-Targets. Working with virtual hardware requires a separate installation providing the virtual execution platform. For using virtual hardware with INCA-EIP, the same conditions apply as for using it with INTECRIO. For further information please refer to the INTECRIO documentation. 4.1.5 Difference Between Rapid Prototyping and Virtual Prototyping To further explain the difference between virtual and rapid prototyping, the main differences are listed in the following table: Virtual Prototyping Non real-time Runs as fast as possible or with time scale No connection to the real world: no I/O devices no communication busses Stimuli or plant model required For early validation and pre-calibration on the Windows PC on the developer s desk Rapid Prototyping Meets hard real-time conditions Interacts with the real world Comprehensive support for peripherals, e.g.: analog and digital I/O devices communication busses For real-time prototyping and bypass applications Validation and calibration on the test bench or on the road 4.2 Parameterizing the Hardware When working with the INCA-EIP add-on package, use the INCA database browser as usual to prepare your experiments. Import your experiment project with the associated ASAM-2MC file into the INCA database and then create a workspace. Configuring the Hardware 19

When importing an ASCET- or INTECRIO-generated project, you cannot select the HEX file for the project as usual. Instead of the HEX file, a code file (name extension *.a2l.cod, e.g. system.a2l.cod) is used that is loaded into the INCA database automatically if a file with the same base file name as the A2L file is found. Select your hardware in the hardware configuration editor, assign the corresponding project, and set the desired parameters. The selection procedure in the hardware configuration editor depends upon the hardware used, i.e. which plug-in card (ES1130 or ES1135) you use or which device (ES910) is connected to the Ethernet port in your PC or whether you employ a virtual hardware. The corresponding methods are described below. 4.2.1 Inserting a Prototyping Target The following methods of inserting prototyping targets are possible: Inserting the E-Target (connected via ES1120 in an ES1000 system) Inserting the E-Target (ES113x, ES910 or RTPRO-PC directly connected) Inserting virtual hardware To insert the E-Target (connected via ES1120 in an ES1000 system): In the INCA hardware configuration editor, choose the Device Insert menu option. The Add hardware device dialog box is displayed. In the Available HW devices list box, double-click the ES1000.2/3 entry to display the sub-entries. Select the ES1130/Simulation Controller sub-entry or the ES1135/Simulation Controller sub-entry. 20 Configuring the Hardware

Click OK to accept this device into your current hardware configuration. The Select project and working data for ES113x Simulation Controller:1 dialog box is displayed. Note You can use only one E-Target at a time in your hardware configuration. In the 1 Projects list box, select the control unit project you want to use for your experiments. Unless you already have datasets from previous sessions or from an export file, the database does not contain datasets for the project. Click OK to assign the project to the E-Target. An empty working dataset is created and assigned to the E-Target, and the E-Target is added to the current hardware configuration. Configuring the Hardware 21

To insert the E-Target (ES113x, ES910 or real-time PC directly connected): In the INCA hardware configuration editor, choose the Device Insert menu option. The Add hardware device dialog box is displayed. In the Available HW devices list box, double-click one of the following entries: ES1130/Simulation System ES1135/Simulation System ES910/Simulation System RTPRO-PC Select the desired sub-entry. Click OK to accept this device into your current hardware configuration. The Select project and working data for <device name>:1 dialog box is displayed. Note You can use only one E-Target at a time in your hardware configuration. 22 Configuring the Hardware

In the 1 Projects list box, select the control unit project you want to use for your experiments. Unless you already have datasets from previous sessions or from an export file, the database does not contain datasets for the project Click OK to assign the project to the E-Target. If you are using an ES113x system, an empty working dataset is created and assigned to the E-Target; for an ES910 system, both a working and reference Configuring the Hardware 23

dataset are created and assigned to the E-Target. The E-Target is added to the current hardware configuration. To insert virtual hardware: Note If you insert an ES910 as the E-Target and would like to use it both for rapid prototyping and for measurement and calibration, you need to add both the ES910/Simulation Controller and an ETK Controller to the ES910 system. If you would like to use the ES910 module also for CAN monitoring, you have to add a CAN interface with a CAN monitoring device below the ES910 system. If your ES910 module is equipped with a ES921 CAN module and you would like to use its additional CAN ports, you have to add an ES921 module below the ES910 system. In the INCA hardware configuration editor, choose the Device Insert menu option. The Add hardware device dialog box is displayed. 24 Configuring the Hardware

In the Available HW devices list box, double-click the entry PC/Simulation System to display the sub-entries. Then double-click the entry Virtual Prototyping. Select the sub-entry X86 PC Controller. Click OK to accept this device into your current hardware configuration. The Select project and working data for <device name>:1 dialog box is displayed. Note You can use only one E-Target at a time in your hardware configuration. In the 1 Projects list box, select the control unit project you want to use for your experiments. Unless you already have datasets from previous sessions or from an export file, the database does not contain datasets for the project Configuring the Hardware 25

Click OK to assign the project to the E-Target. An empty working dataset is created and assigned to the E-Target, and the E-Target is added to the current hardware configuration. 4.2.2 Configuring the E-Target After the E-Target has been added to the hardware configuration, you can use the hardware configuration editor to set the parameters. Set the desired parameters for the simulation system and the device. See the following sections for details. To configure the ES1000 system or simulation system: Select the existing ES1000 system or the simulation system in the 1 HW devices list box of the hardware configuration editor. or If you are working with PC-based Virtual Prototyping, select the virtual prototyping system. The Parameters tab shows the available options, together with their current values. 26 Configuring the Hardware

In the Value column, double-click the current value to edit it directly. The value can be changed either in a text field or a list box, depending on the available selections. Repeat the steps for all current values to set the options for your experiment. Click the Apply button to save your changes. Or Click the Reset button to cancel your changes and reset the parameters to the last version saved. The following overview describes the parameters for the Ethernet connection and explains the meaning of the available options. The default for each option is indicated in brackets. Name [ES1000.2/3:<n>] çê=[es113x/simulation System:<n>] çê=[es910/simulationsystem:<n>] çê=[virtual Prototyping] çê=[rtpro-pc:<n>] Enter any name for the link system. Serial number [Not assigned] Enter the serial number for the system. Mapping the serial numbers to the actual existing devices is checked while the devices are being initialized and can still be changed during that time, if necessary. Note If you are using virtual hardware, the serial number is provided by the server application and cannot be edited. If you are you using an RTPRO-PC for rapid prototyping, this field is not displayed. INCA hardware communication [Ethernet] The Ethernet port is used for connecting the E-Target. Configuring the Hardware 27

To configure the device: In the hardware configuration editor, select the available simulation controller in the 1 Hardware devices list box. The Parameters tab shows the available options, together with their current values. In the Value column, double-click the current value to edit it directly. The value can be changed either in a text field or a list box, depending on the available selections. Repeat the steps for all current values to set the options for your experiment. Click the Apply button to save your changes. Or Click Reset button to cancel your changes and reset the parameters to the last version saved. The following overview describes the parameters for the ES113x card, the ES910 device or the X86 PC controller and explains the meaning of the available options. These devices offer the same configuration options. The default for each option is indicated in brackets. Name [ES113x/Simulation Controller:<n>] çê=[es910/simulation Controller:<n>] çê=[x86 PC Controller:<n>] çê=[x86 RTPRO-PC Controller:<n>] Enter any name for the device. The name assigned here is used as the device name in compound variable names. Meas. Failure behavior [Abort after failure] Specify how the device is supposed to respond to measurement errors. You can choose whether measurement is stopped when an error occurs either when starting a measurement or reading data (Abort after failure), whether it is stopped only in case of errors when reading data (Abort at start, try again later), or whether measurement is restarted in any case of a measurement failure (Retry always). 28 Configuring the Hardware

Project working data [no assignment] çê=[working dataset>] Assign an ECU project and the associated working dataset to the device. Reference data [no assignment] çê=[reference dataset] Assign an ECU project and the associated reference dataset to the device. The working page / reference page concept is not supported by all E-Targets, i.e. this field may be disabled for certain E-Targets. Differences (bytes) [no assignment] çê[bytes] Shows the difference in bytes between the working dataset and the reference dataset. You can not edit this field. The working page / reference page concept is not supported by all E-Targets, i.e. this field may be disabled for certain E-Targets. Start after Initialization [Yes] Specify whether the program should start automatically right after the program has been downloaded and the hardware has been initialized (Yes), or whether it is to be manually started later on from the experiment environment (No). Automatic program start is only executed if there is either no program version or a different program version stored in the flash memory. Deactivate this and the next option if you want to resume a connection to a running experiment that was previously interrupted, in order to prevent the experiment from being reset after the connection has been established. Note If you are using a model containing both reference and working page, the Memory Page Manager (see "Managing Datasets" on page 34) will be opened automatically if two different datasets are detected during the initialization of the device. Automatic upload to dataset [Yes] Overwrites the automatically generated empty initial dataset(s) in the INCA dataset(s), using the code file s initial values. The code file s values are accepted into the INCA data version right after the experiment starts. To configure the ETKC device: The procedure for configuring the ETKC device is the same as for the ES113x and ES910 simulation controller. For detailed information on the parameters of the ETKC device see the INCA online help, "Module Parameters for ETK". To configure the CAN interface and CAN monitoring device: The procedure for configuring the CAN interface and the CAN monitoring device is the same as for other devices in INCA. For detailed information on the parameters of the CAN interface and the CAN monitoring device see the INCA online help, "Module Parameters for CAN Interface" and "Module Parameters for CAN Monitoring". Configuring the Hardware 29

4.3 Updating the Hardware Configuration in Case of Modified Cabling When you use an ES1000 system with an ES113x card, you have to assign the E- Target in the INCA Hardware Configuration Editor according to the cabling for the ES113x card. If you modify the cabling for a system that has already been configured, you need to update the associated hardware configuration. You can use the Replace system menu option to change the assignment for the E-Target, if you are using the same ES113x plug-in card in both cases. To change the system assignment for the ES113x device as E-Target: In the hardware configuration editor, select the available ES1000 system, or choose the simulation system used to configure your E-Target, from the 1 Hardware devices list box. Choose the Device Replace system ES1000.2/3 menu option, if, until now, your ES113x card has been connected to your PC. Or Choose the Device Replace system ES113x/Simulation System menu option, if your ES1120 card has been connected with your PC (i.e. the ES113x card has been assigned in INCA via the ES1000.2/3 system). The E-Target is reassigned to the selected system. 30 Configuring the Hardware

5 Experimenting on the E-Target When using INCA for experimenting on the E-Target, you also control the program flow on the experimental hardware being used from within the INCA experiment environment. This raises a few special considerations regarding operation, which are described in this chapter. Note Virtual hardware with virtual prototyping models generated by INTECRIO shows the same behavior in INCA as other E-Targets. Working with virtual hardware requires a separate installation providing the virtual execution platform. For using virtual hardware with INCA-EIP, the same conditions apply as for using it with INTECRIO. For further information please refer to the INTECRIO documentation. 5.1 Memory Pages in the E-Target When using an ES910 Rapid Prototyping system, the E-Target both has a working and a reference page. You can switch back to an approved dataset, and copying from the reference page to the working page is possible. Note The support of the working page / reference page concept in INCA requires that the concept is supported by the ES910 model. For this purpose, the model must be created with INTECRIO V3.2 or ASCET-RP V6.1 or a later version. For all other e-targets including virtual hardware as well as for ES910 models that do not support the working page / reference page concept, the E-Target for the simulation system has only one memory page that is always accessed as the working page from within the INCA experiment environment. When conducting experiments on the E-Target, you cannot switch back and forth between the working page and reference page in the INCA experiment environment; the corresponding controls are grayed out. 5.2 Controlling the Program Flow The program start on the E-Target is not coupled with the start of the measurement display or recording in INCA. Displaying and recording in the experiment environment are started and stopped in INCA as usual. There are two ways to automatically start the control unit program in the E- Target. Either you store it in the E-Target s flash memory, thus starting it directly when switching the unit on, or you initiate the automatic program start through the configuration parameter Start after Initialization. You can restart and stop the program from within the INCA experiment environment, regardless of whether the program was started automatically or not. The following sections describe the automatic start behavior and the manual control for the program flow. Experimenting on the E-Target 31

5.2.1 Automatic Program Start The actual behavior depends upon whether the E-Target s flash memory contains a program version: The E-Target s flash memory contains a program version: The program is automatically started after the hardware has been started or reset. In this case, the current value of the configuration parameter Start after Initialization does not influence the automatic program start. If you are using an ES910, the firmware checks whether a flashed dataset exists in the persistent memory of the ES910. If this is the case, the model is started automatically with the flashed dataset values (not with the default values of the COD file). The E-Target s flash memory does not contain a program version: The configuration parameter Start after Initialization can automatically initiate the program start. That means the program version is written to the E-Target that is assigned to the INCA device. The program will or will not be started automatically, depending on the setting for this configuration parameter. 5.2.2 Manual Control of the Program Flow You prepare your experiments as usual by selecting variables for the measured data display and for calibrating them in the experiment environment, and by configuring the display windows for your experiment. The program flow in the E-Target can be controlled from within the INCA experiment environment. When the experiment environment is started, the Start OS button shows whether the program has already been started in the E- Target. Depending on your task, start the measured data display or recording as usual in the INCA experiment environment, before or after starting the program in the E- Target. Note Whenever you change the dataset in a running experiment, the program in the E-Target is automatically halted, and you need to restart it. To start the program: In the INCA experiment environment, choose the E- Target Start OS menu option to start the program in the E-Target. The Start OS icon button indicates that the program is running. If you have already started the measured data display, the measured data from the E-Target are displayed. 32 Experimenting on the E-Target

To stop the program: 5.2.3 Displaying Program Errors In the INCA experiment environment, choose the E-Target Stop OS menu option to stop the program in the E-Target. The Stop OS icon button indicates that the program has been stopped. The measured data display or recording is not automatically exited after the program in the E-Target has been stopped. The program in the E-Target has its own monitor window for displaying error messages that are triggered by the asdwriteuserdebug() command. To display the monitor window for program errors: In the INCA experiment environment, choose E-Target Debug Monitor. The C-Target Debug Window is opened. This window displays all messages that are triggered by the asdwriteuserdebug() command. Click the radio button on to refresh the monitor output automatically. Error messages triggered by the asdwriteusererror() command are displayed in the INCA monitor window. Experimenting on the E-Target 33

5.3 Managing Datasets In some E-Targets, both a reference and a working page are available, whereas other E-Targets only support one dataset. For that reason, the data management for these types of E-Target differ considerably and will be described separately. 5.3.1 Managing Datasets of an ES910 or RTPRO-PC Rapid Prototyping System When you use INCA-EIP to load a description file into the INCA database, two empty, non-initialized datasets will be created first: one for the reference page and one for the working page. The default values from the project s COD file are written into these datasets when the program in the E-Target is started for the first time, (see Automatic upload to dataset parameter on page 29). Note Before managing datasets, please make sure that the datasets exist. Therefore first run the program on the E-Target hardware and perform an automatic or manual upload. Otherwise it is not possible to use dataset manipulation tools such as CDM. When using an an ES910 Rapid Prototyping System, the following dataset management operations are possible: Data: Download the selected dataset from the PC to the E-Target Upload both datasets from the E-Target to the PC (it is not possible to upload just one dataset) Copy data between datasets, either on the PC or the E-Target Flash programming of the selected dataset from the PC to the E-Target s flash memory Code and data: Download from the selected dataset on the PC to the working and/or reference page and code page on the E-Target Flash programming of the selected dataset and code page to the E- Target s flash memory; this dataset will be initially used for both the reference and the working dataset after power off/on of the ES910. To perform dataset management operations: Stop the measured data display if it is running. 34 Experimenting on the E-Target

In the experiment environment, choose Hardware Manage memory pages. The Memory pages <device>/simulationcontroller:1 [WORKING_PAGE] dialog box is displayed. Select the 2 Enhanced tab. In the Action list box, select the required action. Click Do it to start the process. A message window will inform you about the progress. When the process has finished, click Close to exit the memory page management program. For detailed information on the Memory Page Manager see the INCA online help. Experimenting on the E-Target 35

5.3.2 Managing Datasets of Other E-Targets When you use INCA-EIP to load a description file into the INCA database, an empty, non-initialized dataset will be created first. The default values from the project s COD file are written into this dataset when the program in the E-Target is started for the first time, (see Automatic upload to dataset parameter on page 29). The initial data version from the COD file is automatically accepted only if the empty dataset has not been previously modified for example, no individual values have already been changed during offline operation. If this happens, your changes are write-protected, and no data are written from the E-Target; the dataset may be incomplete. Note Before managing datasets, please make sure that a dataset exists. Therefore first run the program on the E-Target hardware and perform an automatic or manual upload. Otherwise it is not possible to use dataset manipulation tools such as CDM. You can fill this kind of dataset by opening the memory page management and writing the data from the E-Target into the current dataset. To load a dataset from the E-Target into the experiment: Stop the measured data display if it is running. 36 Experimenting on the E-Target

In the experiment environment, choose Hardware Manage memory pages. The Memory pages <device>/simulationcontroller:1 [WORKING_PAGE] dialog box is displayed. Select the 2 Enhanced tab. In the Action list box, select Upload. Click Do it to start the loading process. A message window will inform you about the progress. When the writing process has finished, click Close to exit the memory page management program. Experimenting on the E-Target 37

5.4 Using Non-Volatile Variables (Adaptive Characteristics) You can also use E-Target models that are containing non-volatile variables generated by ASCET. In the INCA Experiment Environment, it is therefore possible to read non-volatile variables from a DCM file or write them to a DCM file. You can find the corresponding menu options under Variables Adaptive Characteristics Write to DCM file and Read adapt. characteristics from file. For further information please see the INCA online help. 38 Experimenting on the E-Target

6 Interfaces This chapter describes the procedure for transferring data versions from INCA to ASCET and the restrictions that apply when using the ASAM-3MC interface in combination with experiments on the E-Target. 6.1 Data Exchange with ASCET Datasets created in INCA can be exported after the experiment has been completed so they can then be re-used in ASCET. The datasets are exported using the INCA Calibration Data Manager. INCA datasets can be exported in the DCM V1.x or DCM V2.x format. Note DCM V2.x has been supported only since ASCET V5.1.0. To specify the format version: In the INCA Database Manager, choose Options User options Open. The User options dialog box is displayed. Change to the Data exchange tab. Double-click the value of the DCM option. A dialog box with DCM-specific options opens. Double-click the current value of the DCM format version option. Select the desired value from the list box. Click OK to apply the setting and close the dialog box. You get back to the "User Options" dialog box. Interfaces 39

When you switch to the Calibration Data Manager, you can select the dataset and the desired variables as usual, and you can generate an export file for the dataset using the Lists action. 6.2 The ASAM-3MC Interface When testing programs on the E-Target, the program version is not contained in a HEX file in INCA as it usually is, but it is imported into the INCA database from a COD file that is automatically assigned. There are limitations to ASAM-3MC commands when using them to access test benches. These commands can only be used when a HEX file exists. The following table provides an overview of the restricted use of the ASAM-3MC commands. Command COPY BINARY CHANGE BINARY SELECT DESCRIPTION FILE AND BINARY Restriction Command has no effect. Command has no effect. Checks the program version; does not affect the dataset. 40 Interfaces

7 ETAS Contact Addresses ETAS HQ ETAS GmbH Borsigstraße 14 Phone: +49 711 89661-0 70469 Stuttgart Fax: +49 711 89661-106 Germany WWW: www.etas.com ETAS Subsidiaries and Technical Support For details of your local sales office as well as your local technical support team and product hotlines, take a look at the ETAS website: ETAS subsidiaries WWW: www.etas.com/en/contact.php ETAS technical support WWW: www.etas.com/en/hotlines.php ETAS Contact Addresses 41

42 ETAS Contact Addresses