Download EDIABAS Documentation

Transcript
EDIABAS - BEST USER MANUAL
4.
Tutorial
This tutorial uses a realistic example to show you how to create a BEST/2
description file. We have tried to cover as many aspects of programming as
possible. The use of the development tools is also explained at a number of
points.
You can work through this tutorial in two ways:
1.
You can either use the files supplied by the BEST DEVELOPMENT KIT,
or
2.
You can edit the files as you go, starting from the DEMO0.B2V file in section
4.2.
With the first method you are prompted what file to load for the section. With the
second method all the changes in this manual are listed and shown like this:
-> // This line must be added to the previous version.
<- // This line must be removed from the previous version.
<-> // This line must be changed in the previous version.
You will find a detailed description of the BEST/2 functions used in this tutorial in
[1] which fully describes all BEST/2 library functions with their call parameters and
an example.
4.1. Preconditions
For this tutorial a development of ECU description files under MS-WINDOWS is
provided. The development environment BestBoard and the Source Code
Debugger BestView is only available for MS-WINDOWS.
In order to walk-through the sequences shown in this tutorial, the EDIABASRUNTIME-SYSTEM and the BEST-DEVELOPMENT-KIT must be installed.
The following settings has to be done in the EDIABAS configuratioin file
EDIABAS.INI:
EcuPath = C:\EDIABAS\TUTORIAL
TracePath = C:\EDIABAS\TUTORIAL
SimulationPath = C:\EDIABAS\TUTORIAL
17