User
User
EDIABAS
Electronic Diagnostic Basic System
USER MANUAL
INSTALLATION GUIDE
VERSION 6c
[Link]
EDIABAS - USER MANUAL
Contents
Contents ..........................................................................................................2
2. Introduction ............................................................................................6
2.1. About this manual ............................................................................6
2.2. Notational conventions ....................................................................6
2.3. Special features, terms, acronyms...................................................7
2.4. Trademarks .....................................................................................7
3. General....................................................................................................8
3.1. Diagnostics and coding of ECUs .....................................................8
3.2. Problem definition ............................................................................8
3.3. Approaches to problem solving........................................................10
3.4. Implementing solutions with EDIABAS ............................................12
3.5. Structure ..........................................................................................12
3.6. Job concept .....................................................................................15
3.7. Description language BEST.............................................................15
3.8. Sequences.......................................................................................16
3.9. Availability........................................................................................19
2
EDIABAS - USER MANUAL
3
EDIABAS - USER MANUAL
4.5.9. WIN16/32-Umsetzung.........................................................41
4.6. Start and terminate EDIABAS..........................................................41
4.6.1. WIN32 .................................................................................42
4.6.2. WIN16 .................................................................................42
4.6.3. WINCE ................................................................................42
4.6.4. SCO-UNIX ..........................................................................42
4.6.5. QNX ....................................................................................43
4.7. Un-install..........................................................................................43
4.7.1. MS-WINDOWS ...................................................................43
4.7.2. MS-Windows CE .................................................................44
4.7.3. SCO-UNIX ..........................................................................44
4.7.4. QNX ....................................................................................44
4.8. Protection mechanism .....................................................................45
4.9. Remote diagnostics .........................................................................46
4.9.1. [Link] on the local PC..............................................46
4.9.2. [Link] on the remote-controlled PC .........................48
4.9.3. Procedure for remote diagnostics .......................................48
4.10. EDIABAS Parallel Operation............................................................48
5. Help programs........................................................................................50
5.1. UINSTALL .......................................................................................50
5.1.1. SCO-UNIX ..........................................................................50
5.1.2. QNX ....................................................................................50
5.2. PE (Password Editor) ......................................................................51
5.3. DEVCLOSE .....................................................................................52
5.4. BESTINFO.......................................................................................52
5.5. BESTVER ........................................................................................54
5.6. XTRACT ..........................................................................................55
5.7. STRIP ..............................................................................................57
A. GLOSSARY .............................................................................................58
4
EDIABAS - USER MANUAL
1. Revision history
5
EDIABAS - USER MANUAL
2. Introduction
This manual describes how to operate the EDIABAS (Electronic Diagnostic Basic
System).
Example Description
SAMPLE.C Uppercase denotes file names, registers and
operating system commands.
apiJob, Bold-faced type identifies keywords and operators of
APIREADY the language BEST/2 and BEST/s as well as the
API functions..
These words must be written exactly as specified in
syntax descriptions.
expression Italics designate placeholders for values to be
entered by the programmer; e.g., file names.
[option] Words enclosed in square brackets may be
optionally specified.
{ result | Curvy braces and vertical strokes characterize
argument } entries from which only one must be selected,
except when in square brackets.
[constant...] job... An ellipsis (three dots) which directly follows an
expression indicates that several expressions of the
same type can follow.
hallo="Test"; This syntax designates examples, user entries,
program outputs and error messages.
while() { A column or a row comprising three dots indicates
. that a section of an example was intentionally
.} omitted.
[1] Reference to a document in References.
6
EDIABAS - USER MANUAL
2.4. Trademarks
SCO, SCO UNIX and OpenServer are registered trademarks of Santa Cruz
Operation, Inc.
7
EDIABAS - USER MANUAL
3. General
In accordance with this life cycle, coding and testing ECUs is an often recurring and
prescribed job duty for:
If a large number of ECUs which, in part, have been developed and supplied by
several manufacturers are employed in several model series of vehicles, an
extremely high percentage of ECU fluctuations results, since the on-going
advancements of the subsystems occur in the life span of a vehicle series. In
8
EDIABAS - USER MANUAL
Due to the discontinuation and new use of ECUs as well as technical changes to
ECUs, the modifications required in coding and testing systems (modification,
commissioning, test) increase over-proportionally. The expenditure of documentation
and the risk of error increase.
Coding and testing programs are individually created in diverse areas: At the ECU
developer; in the test department; in pre-production; in customer service; ECU repair
center. This means, based on the documentation pertaining to an ECU, the steps
involving development (or advancement) and testing of programs are repeated more
than once! The apparent differences in the job definitions and objectives of the
9
EDIABAS - USER MANUAL
individual phases discourage the view for mutuality, namely each the same
component ECU.
The identical parts of the system mentioned above can be used multiply by all
application programs following a non-recurring development phase. This occurs in
sense of a type »operating system« developed for ECU communication, for which a
matching »communication driver« is provided for each ECU.
10
EDIABAS - USER MANUAL
This »operating system« is not fixed to the application programs or even combined
with one another in data regions. Instead, it only provides »services«. These
services can be issued from the application program and are subsequently
processed (when desired) time independently of these. The result of this »service«
can then be processed by the application after it has been executed. The application
program (the Client) and the operating system (the Server) only exchange
messages and data with one another.
The Server translates, the raw data received from the ECU into the symbolic data
requested by the application program.
Client Speed
= 2000 UPM
Job Job
Server
ECU
In this process, the Server, itself, is not equipped with its own intelligence, but stores
its knowledge about the individual ECUs in easily (i.e., even at runtime)
exchangeable data modules. These data modules contain the complete (or only the
required) knowledge about translation of the binary ECU data into symbolic data.
11
EDIABAS - USER MANUAL
Each Client (i.e. application program) is provided with a software interface that
conceals the operating system-dependent part for exchanging the messages under a
uniform procedural interface. Several application programs can send their jobs to the
server in time-sharing mode; i.e., as soon as an application program frees the server,
the next pending job can be processed.
3.5. Structure
EDIABAS has a fixed structure independent of the operating system employed.
12
EDIABAS - USER MANUAL
Applicaiton program
EDIABAS-API
ECU
Steuergerät
Figure 3.5-1 illustrates the basic structure of the individual sub-components as well
as the data and communication paths.
13
EDIABAS - USER MANUAL
ECUs with the same address). Which variant of this group is connected to the
diagnostics bus can be determined using the methods contained in this file.
The ECU description files are loaded and interpreted by the EDIABAS runtime
system when instructed by an application program. The file name of the ECU
description file (no extension) is the name with which the application programs
reference an ECU "variant" or ECU "group".
Figure 3.5-2: ECU description file and group ECU description file
The main constituent of EDIABAS is the "runtime system". This runtime system can
be subdivided into three essential parts:
Sequence Control determines the behavior of the entire system and contains the
communication interface to the application programs. It is responsible for the file and
error management.
The ECU description file interpreter (SGBD Interpreter) converts the binary ECU
data into symbolic data. It interprets the data, files, methods and sequences
contained in the ECU description file, initializes the communication with the ECU and
returns the self-determined results of the sequential control for forwarding to
application program.
14
EDIABAS - USER MANUAL
Jobs are formulated in an own description language for ECUs called BEST
(BEschreibungssprache für STeuergeräte). This description language exists in two
variations. The first variant is a low-level, assembler-similar language called BEST/1.
The second variant is the high-language version BEST/2 with 'C'-like syntax.
15
EDIABAS - USER MANUAL
In general, all ECU description files are written in BEST/2. In BEST/2, jobs are
defined similar to functions; i.e., a job header exists which lists all I/O parameters.
Variables and fields can be defined and used within a job. All necessary arithmetic
operators are variable. An extensive library contains functions for manipulating data
and communicating with the ECU. The language, itself, contains almost all control
structures known by 'C'. The ECU description files defined in this way must be
converted into a format which can be read by the runtime system. This must be
performed using a compiler (BEST2WIN) prior to use in EDIABAS. On one hand,
this occurs because of performance reasons and, on the other hand, so that syntax
errors can be excluded during the runtime.
The Source Text Debugger BestView is available to test the compiled BEST/2
description files. By means of BestView, the sequence of a job can be exactly
tracked: variable contents can be monitored, displayed and modified.
3.8. Sequences
A job is issued in the application program by means of the API functions apiJob,
apiJobData or apiJobExt. These functions require at least two specifications: First,
the ECU to be addressed (or the ECU group) and, second, the job which is to be
executed.
These two specifications are sent to the EDIABAS runtime system. The runtime
system first determines whether this data concerns an ECU "variant" or an ECU
"group". If a group was addressed, the job IDENTIFIKATION in the group description
file is automatically processed. If a valid ECU variant was determined from the job
IDENTIFIKATION, the associated variant file is automatically loaded with the
assistance of the result VARIANTE as if the name had already been transferred from
the application program. The variant file processes the job requested by the
application program. A job may either appear directly in the variant file or in the base
file. Base files are ECU description files referenced from the variant file and which
can be considered as a part of the variant file. Afterwards, the results of this job are
made available to the application program.
Whenever a description file is re-addressed (i.e. after each change), first the job
ENDE of the last loaded ECU decryption file is called. This call is made only when
the job ENDE exists in the file. It enables the hardware to be de-initialized.
Afterwards the job INITIALISIERUNG is called in the new description file. This job
must exist in each description file (obligatory) and can be used to initialize the
interface hardware. Only now is the specified job executed. When the same job is
called again, no standard job is executed anymore.
16
EDIABAS - USER MANUAL
DME V3:READ_SPEED
17
EDIABAS - USER MANUAL
printf("Speed:
%d",variable);
Figure 3.8-2: Job sequence
The application program can read the results delivered from EDIABAS by means of
the function apiResultXXX, whereby various formats are supported. In this process,
data is converted whenever possible. Thus, for example, the result speed (e.g. rpm)
which was calculated as integer in the description file can be requested in real format
by the application program.
18
EDIABAS - USER MANUAL
3.9. Availability
SCO OpenServer 5
QNX 4.23
Throughout this manual MS-WINDOWS CE is used for Pocket PC 2003 and Pocket
PC 2002
The development environment for ECU description files is only available under MS-
WINDOWS.
19
EDIABAS - USER MANUAL
A total of three delivery packages are currently available. The scope of function is
explained in detail in the following sections:
1. RUNTIME SYSTEM
The delivery package allows application programs to run diagnostic sequences via
EDIABAS.
20
EDIABAS - USER MANUAL
BIN\[Link] Remove the debug and help texts in BEST object files
BIN\[Link] IFH server for remote diagnostics
BIN\[Link] IFH service for remote diagnostics
BIN\[Link] Access to connecting management for remote
diagnostics
BIN\[Link] EDIC-IFH
BIN\[Link] IFH for remote diagnostics
BIN\[Link] Communication DLL for remote diagnostics
BIN\[Link] Communication DLL for remote diagnostics
ECU\[Link] ECU description file for transparent mode
21
EDIABAS - USER MANUAL
22
EDIABAS - USER MANUAL
23
EDIABAS - USER MANUAL
[Link]. Documentation
The following documentation refers to the delivery package RUNTIME-SYSTEM (or
to EDIABAS in general):
Microsoft eMbedded Visual C++ 4.2 SP2 + Pocket PC 2003 SDK (WINCE)
Microsoft eMbedded Visual C++ 3.0 + Pocket PC 2002 SDK (WINCE)
24
EDIABAS - USER MANUAL
25
EDIABAS - USER MANUAL
26
EDIABAS - USER MANUAL
27
EDIABAS - USER MANUAL
28
EDIABAS - USER MANUAL
[Link]. Documentation
The following documentation refers to the delivery package APPLICATION
DEVELOPMENT KIT:
API USER MANUAL Description of how the API libraries are
used. Sample programs. Operation of
the APITEST program.
API INTERFACE Description of the API interface and
how to operate it.
API FUNCTION REFERNCE Description of the API functions
TRANSPARENT MODE Description of the interface for
transparent mode
INTERFACE DESCRIPTION Transparent mode
The following files are contained on the delivery diskette BEST DEVELOPMENT KIT:
29
EDIABAS - USER MANUAL
30
EDIABAS - USER MANUAL
[Link]. Documentation
The following documentation refers to the delivery package BEST-DEVELOPMENT-
KIT:
31
EDIABAS - USER MANUAL
[Link]-WINDOWS
In order to use EDIABAS under MS-WINDOWS, the following requirements must be
meet:
For the remote function of the EDIABAS RUNTIME SYSTEM for WIN32 a network
installation with TCP/IP is required.
[Link]-WINDOWS CE
In order to use EDIABAS under MS-WINDOWS CE, the system requirements has to
be meet. A Pocket PC 2002/2003 compatible system is required.
[Link]-UNIX
In order to user EDIABAS under SCO-UNIX, a computer system which satisfies the
following requirements is required:
SCO OpenServer 5
12 MB RAM
3.5-in diskette drive (5.25-in on request)
[Link]
A computer system which satisfies the following requirements is required in order to
use EDIABAS under QNX:
32
EDIABAS - USER MANUAL
QNX 4.23
12 MB RAM
3.5" diskette drive
[Link]-WINDOWS
The installation manual for MS-WINDOWS is not part of this documentation.
[Link]-UNIX
All shell scripts listed in this chapter require the kernel shell for execution.
IMPORTANT:
Pre-installed EDIABAS software version 1.3.0 or later can automatically be
removed during the installation (optional). Older EDIABAS versions, however,
must manually be deleted PRIOR TO installing the new EDIABAS RUNTIME
SYSTEM (see also readme file). The step-by-step procedure is subsequently
listed.
login root
Configure EDIABAS using the EDIABAS configuration file [Link] (see EDIABAS
configuration).
Example:
33
EDIABAS - USER MANUAL
TracePath = /usr/ediabas
SimulationPath = /usr/ediabas/ecu
ApiTrace = 0
IfhTrace = 0
Simulation = 0
[Link]
1. Log in as either Root or Super-User
login root
EDIABAS requires the message queue server 'Mqueue' from QNX. This must first be
run BEFORE starting EDIABAS.
/bin/mqueue &
Example:
34
EDIABAS - USER MANUAL
[Configuration]
EcuPath = /usr/ediabas/ecu
TracePath = /usr/ediabas
SimulationPath = /usr/ediabas/ecu
ApiTrace = 0
IfhTrace = 0
Simulation = 0
[Link]-WINDOWS
The EDIABAS subdirectory BIN is to be entered in the search path of the system.
SET OLDPATH=%PATH%
PATH=c:\ediabas\bin;%OLDPATH%
[Link]-UNIX
The EDIABAS subdirectory "bin" is automatically entered in the search path.
[Link]
The search path is left unchanged during installation. The complete path must be
specified when calling EDIABAS programs.
35
EDIABAS - USER MANUAL
The EDIABAS runtime behavior can be influenced via the EDIABAS configuration.
The EDIABAS configuration consists of information pairs which are listed in the area
[Configuration] of file [Link]. In this process, each line here describes a
configuration element and its configuration setting:
Configurationelement = Configurationsetting
The configuration settings are read from file [Link] when EDIABAS is first
initialized. The default setting (see Table section 4.5.1) is assumed when
configuration settings are missing or when file [Link] does not exist.
Even ECU description files can modify configuration values during EDIABAS runtime.
NOTE: These values are only valid, however, during the job.
Under SCO-UNIX and QNX EDIABAS first searches for file [Link]
corresponding environment variable EDIABAS_CONFIG_DIR. If the environment
variable was not set or file was not found in the directory, search is made in the
directory /etc. If the file was not found in the directory /etc, search was made in the
EDIABAS program directory (subdirectory BIN).
36
EDIABAS - USER MANUAL
[Link] overview
All configuration elements are listed below along with setting options and default
values.
All configuration elements in the following table are listed in the section
CONFIGURATION.
EcuPath Path of the ECU description files Path INI API BEST .
37
EDIABAS - USER MANUAL
IgnitionHandling Ignition ON/OFF handle as error 0 (OFF) .. 1 (ON) INI API BEST 1
NetworkProtocol Select network protocol for the TCP INI API BEST -
remote diagnostics
SimulationPath Path of the ECU simulation files Path INI API BEST .
SystemResults Control whether to store: ignition, 0 (do not store) INI API BEST 1
supply voltage and job status - ..
system results 1 (store)
TraceSize max. trace file size in KB 0 .. 32767 INI API BEST 1024
CodeMapping file path of the code page path INI API BEST .
UbattHandling Supply voltage ON/OFF handle as 0 (OFF) .. 1 (ON) INI API BEST 1
error
**
Note: the process ID is only indicated with EDIABAS for WIN32.
38
EDIABAS - USER MANUAL
The configuration elements for the network protocol TCP (section TCP) are listed in
the following table. This section is only required when the value TCP has been
assigned to the configuration element NetworkProtocol in section
CONFIGURATION.
TimeoutConnect timeout in milliseconds for 1000 ... 59000 INI API BEST 5000
connection setup
TimeoutReceive timeout in milliseconds for 1000 ... 59000 INI API BEST 5000
receipt of a message
TimeResponsePending Time in milliseconds Zeit in 500 ... 59000 INI API BEST 2000
Millisekunden between
alive messages. Not
supported with EDIABAS
V6.4.0
TimeoutFunction Timeout in milliseconds for 5000 ... 59000 INI API BEST 59000
a for a long IFH function
(for example
send_and_receive). The
complete timeout is:
TimeoutFunction +
TimeoutReceive.
[Link]-WINDOWS
The hardware interface has to be set in the configuration file [Link]
(Interface).
39
EDIABAS - USER MANUAL
SOFTING EDIC
[Link]-UNIX
In the SCO-UNIX version the hardware interface driver cannot be set (The
corresponding setting Interface in [Link] is ignored). It is not part of the
RUNTIME SYSTEM.
[Link]
In the QNX version the hardware interface driver cannot be set (The corresponding
setting Interface in [Link] is ignored). It is not part of the RUNTIME SYSTEM.
40
EDIABAS - USER MANUAL
The code page [Link], which is part of the delivery, converts the ANSI
(Windows) character set into the OEM (DOS) character set.
For the conversion, each character of an EDIABAS result string is replaced by the
corresponding character from the code page. For conversion, the character to be
replaced is used as an index which points to the new character on the code page.
Example:
ANSI Character Set (Windows) OEM Character Set (DOS)
G (0x47) G (0x47)
E (0x45) E (0x45)
R (0x52) R (0x52)
Ä (0xC4) Ä (0x8E)
T (0x54) T (0x54)
For converting, for example, the character ‘Ä‘ from the ANSI character set (Windows)
to the OEM character set (DOS), the code 0xC4 must be replaced by 0x8E.
For characters which have no counterpart in the other code, "." is indicated.
4.5.9.WIN16/32-Umsetzung
For the operating systems Windows 9x/ME/NT4/2000/XP an automatic conversionof
EDIABAS/WIN16 calls to EDIABAS/WIN32 is possible.
LoadWin32 = 0
Using EDIABAS/WIN16.
LoadWin32 = 1
Using EDIABAS/WIN32 with conversion of all API calls.
41
EDIABAS - USER MANUAL
4.6.1.WIN32
When an application with access on EDIABAS is started the following components
are loaded automatically: [Link], [Link], [Link] and
[Link]. [Link] loads the interface handler.
4.6.2.WIN16
The first time an application accesses EDIABAS, [Link] is automatically
started.
[Link]
When an application with access to EDIABAS is started, the EDIABAS components
[Link], [Link] and [Link] are automatically loaded. During
the first access to EDIABAS, [Link] loads the configured Interface Handler.
[Link]-UNIX
After installing EDIABAS (see "Installing from diskette for the first time"), shut down
and re-boot the system.
After installation, EDIABAS will automatically be booted and shut down by the
system. The EDIABAS configuration file [Link] is only read once the first time an
application program is accessed.
EDIABAS is accessed by applications via the library libapi.a. which is bounded to the
application program.
42
EDIABAS - USER MANUAL
/usr/ediabas/bin/apiboot
/usr/ediabas/bin/apiclose
[Link]
If EDIABAS was selected to automatically start during the installation, the system
must be re-started.
/usr/ediabas/bin/apiboot
The EDIABAS configuraiton file [Link] is read only once the first time the
application is accessed.
Normally, EDIABAS must not be terminated. If, however, this is necessary, the
instruciton below can be used:
/usr/ediabas/bin/apiclose
4.7. Un-install
When un-installed, all EDIABAS delivery packages are removed from the system.
Subdirectory ECU (or ecu under SCO-UNIX) containing the ECU description files is
only deleted when this is requested by the user. The subdirectory ECU and the
residing ECU description files are generally not deleted.
[Link]-WINDOWS
The Uninstall manual is not part of this documentation.
43
EDIABAS - USER MANUAL
[Link]-Windows CE
The Uninstall manual is not part of this documentation.
[Link]-UNIX
EDIABAS software can be un-installed using the program UINSTALL. All programs
which access EDIABAS must be terminated prior to un-installing software. EDIABAS
software is to be removed in the following way:
login root
2. Stop any active EDIABAS software and delete the EDIABAS software using
uinstall
/usr/ediabas/uinstall
WARNING:
Softing-external software in the directory /usr/ediabas will be deleted! Always
assure in advance that this is stored in another directory.
[Link]
The EDIABAS software can be un-installed using the program UINSTALL. Before un-
installing the software, all programs which access EDIABAS must be terminated first.
The EDIABAS software is to be un-installed again in the following manner:
login root
2. Stop any active EDIABAS software, and delete EDIABAS software using uinstall
/usr/ediabas/uinstall
44
EDIABAS - USER MANUAL
EDIABAS accesses ECU description files (SGBDs) for processing API jobs (see
chapter 3). ECU description files are developed as source code (B2V-, or B2G file) in
BEST/2 and subsequently compiled into an object format (PRG-, or GRP file) using
the BEST compiler for use with EDIABAS. The object files are loaded and executed
at runtime by the runtime system.
In order to protect ECU description files in object format, EDIABAS offers a protection
mechanism. This mechanism not only prevents unauthorized reading of file contents
(job names, table names, table contents, etc.) but also prevents unauthorized use by
users (non-authorized external companies or private persons). The ECU description
files are protected in two ways: 1) File information is coded and not written in plain-
language text and 2) the file cannot run under a non-authorized EDIABAS runtime
system; i.e. it cannot be loaded by EDIABAS. Thus, information cannot be read from
the ECU description files, and jobs within cannot be executed.
After the installation, the EDIABAS runtime system first assumes a state in which
only unprotected ECU description files can be executed. ECU description files are
protected by means of passwords specified for the runtime system and for the ECU
description files. Passwords for the runtime system are specified using the Password
Editor (PE) (see section 5.3), whereas passwords in the ECU description files are
entered using the BEST compiler BEST2WIN (see BEST User Manual sections 5.1
and 5.2).
NOTE: Only the programs PE and BEST2WIN included in the current EDIABAS
installation can be used for specifying passwords.
2. Next, all ECU description files used must be compiled with at least one password
from the list of the passwords entered above (see BEST user Manual, sections
5.1 and 5.2).
At runtime, the data read when loading the ECU description file must first be
decoded. Afterwards, the runtime system checks whether one of the passwords from
the ECU description file is known by the runtime system. If the runtime system
45
EDIABAS - USER MANUAL
recognizes at least one password from the ECU description file, the ECU description
file can be executed. The EDU description files which are not protected with a
password can be executed from every EDIABAS runtime system (protected or not)
beginning with version 5.5
The application and EDIABAS run on the local PC, whereas the Interface Handler
(IFH) as well as the IFH server run on the remote-controlled PC. Before the remote-
controlled PC can be accessed, the IFH server [Link] must be started first.
The remote control is enabled or controlled via the EDIABAS configuration file
[Link]. EDIABAS is configured manually on both PCs.
[Configuration]
Interface = REMOTE
NetworkProtocol = TCP
46
EDIABAS - USER MANUAL
[TCP]
RemoteHost = <Name/addresses of remote-controlled PC>
Port = <Port from remote-controlled IFH>
TimeoutConnect=<Timeout for connection setup>
TimeoutReceive=<Timeout for Receive>
TimeoutFunction=<Timeout for IFH >
[Configuration]
Interface=REMOTE
NetworkProtocol=TCP
[TCP]
RemoteHost=[Link]
Port=5000
TimeoutConnect=2000
TimeoutReceive=2000
TimeoutFunction=50000
47
EDIABAS - USER MANUAL
[Configuration]
Interface=<Interface>
NetworkProtocol=TCP
[TCP]
Port=<Port of the remote-controlled IFH>
[Configuration]
Interface=EDIC
NetworkProtocol=TCP
[TCP]
Port=5000
In contrast to the other EDIABAS platforms, WIN32/CE and SCO-UNIX has no single
one EDIABAS which runs all application programs consecutively. Instead, a
separate EDIABAS runs for each application program and if nec. is started (and
under WIN32/CE) finished automatically.
48
EDIABAS - USER MANUAL
Parallel operation of several interfaces of the same type is only possible if this is
supported by the corresponding interface software.
49
EDIABAS - USER MANUAL
5. Help programs
5.1. UINSTALL
This program is only available under SCO-UNIX and QNX. UINSTALL deletes all
installed EDIABAS delivery packages. The subdirectory ECU (or ecu under SCO-
UNIX and QNX) containing the ECU description files is not deleted.
[Link]-UNIX
This program can only be called by the Superuser. UINSTALL deletes all programs in
the EDIABAS directory (also EDIABAS-external software!). After executing the
program, all API or API or EDIABAS entries should be deleted in /etc/profile .
Call:
/usr/ediabas/uinstall
Example:
login root
/usr/ediabas/uinstall
[Link]
Only the Superuser can invoke this program. UINSTALL can be used to delete all
programs in the EDIABAS directory (also EDIABAS-external software).
Call:
/usr/ediabas/uinstall
Example:
login root
50
EDIABAS - USER MANUAL
/usr/ediabas/uinstall
The Password Editor (PE) manages the passwords of a protected EDIABAS version.
The Password Editor is called [Link]. A password entry consists of a public label
and associated, secret password. The password is only used once in the entry. Only
the password label is then used for all further accesses.
A maximum of 10 label/passwords can be entered.
Labels/passwords which have once been entered cannot be deleted anymore. If this
is desired, EDIABAS must be re-installed.
Each label/password can be disabled or enabled (more than once possible). A
disabled label/password behaves during runtime as if it did not exist.
A <Label> consists of 1 to 10 ASCII characters in ANSI code, where only ASCII
characters are permitted in the range: 20h <= <ASCII-character> <= 7Eh.
The character '@' (40h) is illegal.
A <Password> consists of 6 to 10 ASCII characters in ANSI code, where only ASCII
characters are permitted in the range: 20h <= <ASCII characters> <= 7Eh.
The Password Editor is controlled via the command line. It offers the following
functionalities:
51
EDIABAS - USER MANUAL
The Password Editor returns the value 1 in the case of an error, otherwise 0.
NOTE: Only the Password Editor included in the EDIABAS installation can be
used.
5.3. DEVCLOSE
This program is only available under SCO-UNIX and QNX. If, after using EDIABAS,
an EDIABAS-external software wants to access the interface driver and this is still in
the open state, the interface driver can be closed with the program DEVCLOSE.
Call:
devclose
5.4. BESTINFO
The program BESTINFO allows the output of the following information regarding the
specified ECU description file (object format):
• File name
• Revision number
• Last user (operator) (output of maximum 63 characters), date of the last change
• List of all jobs
52
EDIABAS - USER MANUAL
Call:
bestinfo sgbd
Example:
bestinfo [Link]
5 Jobs:
INITIALISIERUNG
IDENT
CHECK
BINPARA
WAIT
BESTINFO ready.
53
EDIABAS - USER MANUAL
5.5. BESTVER
This program is only available under MS-WINDOWS. It allows the versions of ECU
description files (object format) to be tested. In addition it allows specification of a
uniform version number of the package for several description files.
Call:
Example:
Modifies the revision (revision 2.0 becomes 1.6, and author becomes Softing) and
specifies a package version number (20). The following is output:
[Link]
BIP version : [Link]
Revision number : 2.0
Last change : Thu Mar 25 16:33:10 1993
By : [Link]
Package version : 00000000
==>
Revision number : 1.6
Last change : Wed Nov 24 12:41:50 1993
By : Softing
Package version : 00000020
54
EDIABAS - USER MANUAL
5.6. XTRACT
Call:
Option -F pipes the output is a file with the extension .biv or .big. The directory can
be specified where the output file is to be produced. Wildcards can be used in
objectfile.
Example:
xtract -F [Link]
ECU:TESTV
ORIGIN:[Link]
REVISION:2.0
AUTHOR:[Link]
ECUCOMMENT:Description file WIHTOUT access to the interface
ECUCOMMENT:Orignal: TESTV.B1V
JOBNAME:initialization
JOBCOMMENT:Initialization
RESULT:DONE
RESULTTYPE:int
RESULTCOMMENT:1 if ok, otherwise 0
JOBNAME:IDENT
JOBCOMMENT:Determine the identification string
RESULT:JOB_STATUS
RESULTTYPE:string
RESULTCOMMENT:Returns: OKAY or ERROR_PARAMETER
...
RESULTCOMMENT:Returns: OKAY or ERROR_PARAMETER
55
EDIABAS - USER MANUAL
For improved documentation of BEST objects, XTRACT also offers the functionality
to output the entries of a table instead of a BEST/2 comment. For this purpose, a
BEST/2 comment must have the following structure:
...
table beispielTabelle[2][]=
{
{ "COLUMN1", "COLUMN2", "COLUMN3" },
...
JOBNAME:beispielJob
JOBCOMMENT:Start of comment
JOBCOMMENT: "xtract" "generated"
JOBCOMMENT: "these" "Text"
JOBCOMMENT: "automatically" "!"
JOBCOMMENT:End of comment
...
56
EDIABAS - USER MANUAL
5.7. STRIP
This program is only available under MS-WINDOWS. STRIP can be used to remove
the help text and debug information stored in BEST object files.
Call:
Example:
strip -N dh [Link]
Remove the debug information and help texts from file [Link].
57
EDIABAS - USER MANUAL
A. GLOSSARY
Application:
Application program for executing the diagnostics and coding ECUs.
Description file:
Contains all data and methods which are required for describing the diagnostic
function of an ECU.
Device:
Logical device used for connecting the interface.
Diagnostic concept:
Conventions according to ISO in which access to the diagnostic data is described in
ECUs.
58
EDIABAS - USER MANUAL
Job:
Method in the ECU description file which reads data from the ECU.
Runtime system:
EDIABAS runtime system with BEST interpreter.
The runtime system processes a job issued via API by loading and interpreting the
corresponding ECU description file. In addition to the ECU-specific parameters, these
ECU description files contain the corresponding rules, methods and sequences for
processing jobs.
SGBD (SteuerGeräteBeschreibungsDatei):
ECU (Electronic Control Unit) description file.
SG (SteuerGeräte):
See ECU (Electronic Control Unit).
59