E-Sys Manual V3 40 ENG
E-Sys Manual V3 40 ENG
Welcome to E-Sys Help System! With E-Sys you can program / flash
Emus and encode them.
In addition to that E-Sys offers a bunch of editors and viewers for
editing the populating with data necessary for that.
In the dialog "Options" the global settings of E-Sys are specified. Some options require a new
start of E-Sys to take effect. Then the following dialog appears:
After pressing the "Yes" button E-Sys will be closed and started again with the new settings.
Program
Directories
Data Data directory (Default: C:\Data)
PSdZ-Data PSdZ-Data directory (Default: C:\Data).
NCD-Root NCD-Root directory (Default: C:\Data\CAF\NCD).
Language
German Set to German language
English Set to English language
Logging
Log-Level Setting of log levels
Delete old log files During start all old log files are deleted
automatically during restart
Directories:
· In the Data directory, E-Sys stores all relevant data (Log, TAL, executedTAL, SVT, FA,
etc.).
· For PSdZ-Data, a directory must be entered in which the psdzdata directory is to be
created. This is where the contents of the imported containers are stored.
· For NCD-Root, a directory must be entered in which the subdirectories "unsigned",
"signed" and "default" (delivery state) should be created.
This directory stores the net encoding data used for encoding.
Language:
Select the language used to represent E-Sys.
Logging:
Here you can set the information with which the E-Sys-Log is enriched.
The default setting is "DEEP_TRACE".
For analysis of errors (programming, coding or e-sys errors), the log level "DEEP_TRACE" is
mandatory.
OFF:
The log does not include any additional log output.
WARN:
The log also includes WARN editions
INFO:
The log also includes INFO and WARN outputs
FINE:
The log also includes FINE, INFO and WARN outputs
DEBUG:
The log also includes DEBUG, FINE, INFO and WARN outputs
TRACE:
The log also includes TRACE, DEBUG, FINE, INFO and WARN outputs
DEEP_TRACE:
The log also includes DEEP_TRACE, TRACE, DEBUG, FINE, INFO and WARN outputs
System data
Specifies where the ECU was programmed (Systemsupplier,
TesterApplyIdentifier (hex)
Development, RSU, ...)
ProgrammingDeviceType Type of tester device.
ProgrammingDeviceSerialNo. Unique identifier of programming device.
BusPriority Specifies bus priority.
FingerprintID Settings
Specifies the identifier of the plant. (SystemSupplier, vehicle
plant, HO, ...).
PlantID (dec)
The Plant ID (in which plant I am) must be known by the user
himself.
Specifies the Supplier-ID with following meaning:
0...99 (BCD coded e.g. 57 -> Fingerprint 0x0054)
100...153 (not allowed)
SystemsupplierID (dec)
154...65535 (Decimal e.g. 154 -> Fingerprint 0x009A)
Automatically set when selected via the "Systemsupplier
List".
Drop-down-List Suppliers
Systemsupplier List Automatically set when selected via the "SystemsupplierID"
(if the supplier is known).
DealerID (dec) Specifies the number of the dealer.
Fingerprint ID is calculated according to the selected
FingerprintID
fingerprint ID.
When the default button is set, the default values for the
Default-Button
"System Data" tab are restored.
TesterApplyIdentifier:
The tester insert ID as well as the FingerprintID are elementary components of the
fingerprint, which is written to the ECU before each programming.
Thus, it is understandable under which UseCase the control unit was last treated.
FingerprintID Settings:
Using the radio buttons, the user selects whether a plant ID (PlantID), a supplier ID
(SystemsupplierID) or a dealer ID (DealerID) should be transferred to the fingerprint.
FSC
FSC
Verify FSC; can be switched off for performance reason.
Verify Indicates whether the unlock codes should be validated
regularly.
FSC Actions
Specification of a Certificate.
Certificate In several functions this Certificate is compared with the
Certificate in the ECU.
Before every action the actual state is checked (still not
Periodical Check
implemented).
Additional information:
For more information about FSC (activation codes) an E-Sys, see comfort- or expert-mode.
Options
Here you can turn on and off the confirmation that an action
Show message after cancel
of an operation has been canceled.
SOURCE_DATE_EPOCH:
The environment variable SOURCE_DATE_EPOCH is entered in the META data when the
PDX containers are created.
If this value is not set, the current system time is used.
If the value is set, the contents of the environment variable SOURCE_DATE_EPOCH is
used.
For more information, see: https://reproducible-builds.org/docs/timestamps/.
The user is responsible for ensuring that the variable contains the correct value.
If the variable is not set or does not contain a valid timestamp, the current system time is
used.
E-Sys Mode:
Selection of control units should be treated with cars or motorcycle routines.
Especially at VCM, different routines are available here.
Connections
All connections
Additional Transmission This time is independent of the selected interface with which the
Timeout [ms] connection to the control unit / vehicle is established.
ICOM connection
Base Port, will be used to calculate the port of the connection
Base Port
using port mapping.
Http Update
starting Http-Server at Determines whether the PSdZ internal Http server should be
Interface Type Ethernet used for flashing over Ethernet.
Port on which the Http Update Server is started.
Server Port
8888 is the number for the PSdZ internal server.
Maximum Http throughput in Mbit per second that is allowed to
the Http server. The input field can either be empty or contain a
Maximum Http Throughput number between 0,008192 (1024 Byte/s) and 2500,0. Floating
[Mbit/s] point numbers are allowed.
The right, non-editable field shows the value converted into
bytes per second.
When the default button is set, the default values for the
Default-Button
"Connections" tab are restored.
Proxy
Whether to use a proxy for the backend connections.
Use proxy server Subsequent settings can only be edited if the check mark is set
here.
Switching on and off the using of authentication for proxy server.
Proxy authentication
The prompt for entering the login data for proxy does not appear
required
until a backend interface is called up.
Proxy settings
Proxy host URL of the proxy server
Proxy port Port of the proxy server
Do not use proxy server
for given URLs
Load from file Here you can load a txt file with different URLs.
Add Allows you to add individual URLs.
This can be used to delete a selected URL (only single selection
Delete
is possible).
Edit Can be used to edit a selected URL.
Add:
Only one URL may be added at a time.
Multiple entries (separated with semicolon ";") are invalid.
Additional information:
Only BASIC is supported as an authentication method for a proxy.
External Applications
External Applications
External Editor Path of the external editor.
Browser Path of the external browser.
When the default button is set, the default values for the
Default-Button "External Applications" tab are restored.
(Both fields are emptied)
Additional information:
In the "External Applications" tab, the editor and the browser are indicated to display data.
ODX
Pressing the default button restores the default value for the
Default-Button
size of the "Component Documentation".
Authentication
Client Certificate for
Certificate Management
(CBB), Secure ECU
Modes / SFA and Security
Coding Backend (SCB)
Import functionality of a client Certificate for connecting to the
CBB.
Import Client Certificate
Connection to the CBB is required as part of Certificate
management in order to calculate bindings for ECUs.
Additional information:
A client Certificate is required to communicate with the CBB (backend for Certificate
Management functionality) or the SFA backend.
You can only import a client Certificate if it matches the last generated client CSR file.
Security server
Backend Connection
Number of attempts to establish a connection with a backend in
the event of an error.
Retries
If the connection to 1.Server URL fails, repeating >0 will
proceed to the next server URL in the list.
Time between retries (ms) Time to wait before attempting to use a new server URL.
Secure Feature Activation
Server-URL
Here you can load a txt file with different URLs.
Load from file
(green marking)
Allows you to add individual URLs.
Add
(orange marking)
This can be used to delete a selected URL (only single selection
Delete is possible).
(orange marking)
Can be used to edit a selected URL.
Edit
(orange marking)
Certificate management
Server-URL
Here you can load a txt file with different URLs.
Load from file
(green marking)
Allows you to add individual URLs.
Add
(orange marking)
This can be used to delete a selected URL (only single selection
Delete is possible).
(orange marking)
Can be used to edit a selected URL.
Edit
(orange marking)
Load file:
In the txt-file, the URLs may only be entered in one line and only separated with a semicolon
";". E-Sys does not support another format of the URLs.
Example:
https://www.google1.de;https://www.bing2.com;https://www.bing3.com;https://www.bing4.com
Add:
Only one URL may be added at a time.
Multiple entries (separated with semicolon ";") are invalid.
Additional information:
Information on the subject of SFA and SFA backend URL can be found on the BMW intranet
here.
Information on Certificate management and CBB URLs can be found on the BMW intranet
here.
Extras Top Previous Next
The Extras menu offers functions for converting FA-files:
With menu item 'Convert FA to OrderXML' the user is offered following dialog:
Comfort Mode Top Previous Next
Calculation of TAL
FSC
Certificate-Management
SFA / ECU-Modes
KDS
ANFLASH
Calculation of TAL Top Previous Next
SVT-Filter
Filter Filter the SVT tree in according to the selected
transaction.
SVT Reset Reset SVT-Actual/Soll and delete SVT tree.
SVT-Update
Within section 'SVT-Update' it is possible to update all versions of the
SGBMIDs included in the Target-SVT.
With button 'Update SVT' E-Sys will start a check for each SGBMID
contained in the SVT and search for versions of that SGBMID in the
loaded PDA-Container.
If a different version of a SGBMID was found, the version in the SVT
will be updated by the one from the PDA-container.
The module FSC serves for inquiring the FSC's state and for writing of
FSC into ECU. In addition to that it's possible to (de)activate FSC's
already existing in the ECU. Only an activated FSC can really be
used.
Corresponding to the topic FSC there are other masks in E-Sys:
FSC's can be displayed and edited in FSC-Editor easily. In expert
mode FSC-Extended-Module is available in addition to that.
GUI Elements
FSC File The FSC to be written.
FA File the vehicle order corresponding to the ECU.
Diagnosis of ECU
Address
Software-ID Identifier of software
Base Variant Name of ECU variant
Upgrade Index of FSC
ATTENTION
The functionalities provided in this module which include direct server
access require to have several preconditions to be fulfilled:
· The system which runs E-Sys must be in a BMW network segment
in which the backend systems (CBB) are available.
· There must be a valid E-Sys client Certificate imported into E-Sys.
· At least one URL of a valid backend system (CBB) must be
configured in E-Sys.
A more detailed set of instructions can be found here: HOWTO (only
available within BMW network).
For further questions please contact the support service: support-
[email protected]
Introduction:
As an enabler for new functions and to increase the security of
existing functions, individual Certificates are required in the treatment
of vehicles. From SP2018, individual Certificates and their binding to
the respective vehicle must be installed both in the factory and in the
service. In addition, bindings between ECU devices must be
distributed. This functionality is provided by this module.
Use Cases:
Get Data:
Step 1: Create CSR Request File
Creates a file in JSON format with the individual Certificate
requests (CertificateRequest) that the user either sends with E-Sys
to the Backend (only possible it tester is connected to BMW-
intranet) or use the B2B Interface.
How to get access to the B2B-Interface is described at the HOWTO
as well.
Write Data:
Variant 1: Get Data from Backend and write directly into
Vehicle
Includes both steps of use case 'Get Data' but performs the write
operation of the containers to the Emus as well.
Check Data:
Starts the check routine of the Emus and fetches their results after a
waiting time which is the maximum of the Emus to ensure all final
check results can be fetched. The tree view will be enriched with the
check results.
Secure ECU Modes - Comfort Top Previous Next
Introduction:
The module empowers the user on the one hand to switch all Emus,
which supports Secure ECU Modes, between the three states
(Engineering, Plant, Field).
On the other hand the user can activate/deactivate and read the
current secure feature status of all Emus, which are supporting these
system function.
The Modes Plant and Engineering are only accessible with a valid
secure token an the ECU has to be in den Field-Mode.
To switch back into the Field-Mode is no token necessary.
All Emus that are contained in the svt are visualized on the right side
in the svt-tree-view.
Online-tap:
Description: Hints:
Read / load SVT Generates the current SVT
of the entire vehicle. In the
svt-tree view are only the
Emus of the SVT displayed,
that support SFA
Read / Edit VIN Read the VIN out of the
vehicle. Alternative has the
user the option to edit the
VIN manually.
Read ECU-Mode Read the current ECU-
Mode of the entire vehicle.
The actual ECU-Mode is
shown in the svt-view
behind each base variant.
Switch Mode: Generates a Plant-Mode- BMW-intranet
Plant Mode Token for all Emus, that connection is
provides ECU-Mode, necessary
sending the request to the
Backend and writing the
response at the Emus. The
Emus are finally in the
Plant-Mode
Switch Mode: Generates an Engineering- BMW-intranet
Engineering Mode Mode-Token for all Emus, connection is
that provides ECU-Mode, necessary
sending the request to the
Backend and writing the
response at the Emus. The
Emus are finally in the
Engineering-Mode
Switch Mode: All Emus are switching into
Field Mode the Field-Mode
Offline-tap:
Description: Hints:
Read / load Generates the current SVT of the entire vehicle.
SVT In the svt-tree view are only the Emus of the
SVT displayed, that support SFA
Read / Edit Read the VIN out of the vehicle. Alternative has
VIN the user the option to edit the VIN manually.
Read ECU- Read the current ECU-Mode of the entire
Mode vehicle. The actual ECU-Mode is shown in the
svt-view behind each base variant.
Switch Mode: All Emus are switching into the Field-Mode
Field Mode
Generates Generates a request token set for the
request token Engineering Mod for all Emus and saved local.
set for
Engineering
Mode
Generates Generates a request token set for the Plant Mod
request token for all Emus and saved local.
set for Plant
Mode
Write Secure Writes the chosen token package file for the
Tokens: ECU mode.
The ECU-Mode of the token set is shown.
Introduction:
KDS (anti-theft protection 2.0) based on the secure token sets (see
SFA / Secure ECU-Mode).
The functionalities provided in this module which include direct server
access require to have several preconditions to be fulfilled:
· The system which runs E-Sys must be in a BMW network segment
in which the backend systems (SFA-Backend) are available.
· There must be a valid E-Sys client Certificate imported into E-Sys.
· At least one URL of a valid backend system (SFA-Backend) must
be configured in E-Sys.
A more detailed set of instructions can be found here: HOWTO (only
available within BMW network).
Notifications:
These module supports only the processing of the entire vehicle.
For more KDS functions or the selection of specific Emus please
switch to the expert-mode (KDS - Extended)
· Quick check (marked green):
Starts the KDS system check. The result is visualized in the GUI and
has one of the following values:
KDS quick check results
MASTER_OK_CLIENT_OK
MASTER_OK_CLIENT_INVALID
MASTER_INVALID_CLIENT_OK
MASTER_INVALID_CLIENT_INVALID
ERROR_CLIENT_NOT_PAIRED
Context Menu
Specifics
· The editors subdivides in two areas. On the left side is the FA
list's view. If you select in the left window a FA by the context
menu you retrieve the FP. The calculated FP is displayed on the
right hand side of the window.
· To display a single FA you have to create an empty FA list and
import by context menu the desired FA.
· A single FA can be imported also by context menu.
· A single FA can be exported also in ISTAP-Format using the
File menu.
· A single ISTAP-Format FA can also be imported using the File
menu.
TAL-Editor Top Previous Next
With the TAL-Editor you can display and edit transaction lists (TALs).
A TAL is a model year plan to transform an ECU, a system of Emus or
the entire vehicle from the state corresponding to the actual system
installation table to the state corresponding to the reference system
installation table. The PSdZ generates the TAL from a pair of SVT-
Actual and SVT-Target.
The TAL contains a list of actions sorted by ECU name, e.g. dismount
HWE, program SWE, save individual data, etc. After processing this
list the vehicle is in the state SVT-Target.
Context-Menu
GUI-Elements
Filter-Settings
TALFILTER-Editor Top Previous Next
This will create an empty TAL-Filter with a content like the one shown
below:
2. with SVT-File
After selecting an existing SVT file, a new TAL-Filter will be created
when pressing button 'Calculation'.
This TAL-Filter will contain empty entries for all Emus defined in the
SVT file.
2. Select Action
Note:
For Transaction category swDeploy it is possible to specify user
defined settings for swDeployTA and swDeleteTA.
Therefore an additional action value ('user defined') will be available
for that category.
3. swDeploy
As mentioned before, it is possible to define additional filter settings
for category swDeployTA and swDeleteTA.
This can be done by opening an additional dialog via the swDeploy
button:
SVT-Editor Top Previous Next
With SVT-Editor you can display and edit SVTs (system installation
tables). An SVT reflects a discrete state of a ECU or vehicle.
You have to differentiate between an SVT-Actual which describes the
actual state of the vehicle and an SVT-Target which describes the
desired state of a vehicle. Trivially the actual state is given and the
reference state is created by the user or can be imported from the
KIS.
The menu options offers insertion of a new element, editing, cut, copy,
paste, deletion, expanding or collapsing of an element within the
SWE sequence.
GUI Elements
GUI Elements
File-Menu
· Save as FWL...
The coding data is stored as a readable function value list (FWL).
Context-Menu
GUI-Elements
1. Search searches the specified text in the whole tree. If there is a
Function match the tree is expanded to the place of finding. You
Name can continue the search with button F3.
Search
searches the specified text in the whole tree. If there is
Function
a match the tree is expanded to the place of finding.
Name
You can continue the search with button F3.
The log file viewer makes for view log files and protocols as well as
manage them.
Context-Menu (left side)
Context-Menu (right side)
Specifics
· You have to define a view before viewing log files. Do this on
the root on the left side by the context menu. Specify name,
path and extension on this occasion.
· The extension can be specified in the form of a regular
expression. E.g.: *.*, *.log
· In the view (right window) you have discrete possibilities of
editing.
TALSTATUS-Viewer Top Previous Next
Note:
For Executed TALs that contain Mirror Deploy transactions, no
graphical representation of the TAL execution process is
currently possible.
Note:
Before starting the TAL processing, a BAT/HAF verification is carried
out.
It will be checked whether a BAT/HAF control unit is installed. If this is
the case, the status of switch S1 is determined.
When the switch is open, a message appears informing the user
about possible risks for the TAL-execution process.
GUI Elements
Using the three-dot-button a file dialog is started to
choose a TAL file. The file path will be shown in the
TAL text field.
With the "Edit" button you can change to the TAL-
Editor to make some changes to the TAL.
Using the three-dot-button a file dialog is started to
choose a target SVT file. The file path will be shown in
the text field.
With the "Edit" button you can change to the SVT-
Editor to make some changes to the SVT.
SVT The SVT will be written to the VCM before the flashing
the Emus.
Pressing button "Read SVT (ECU)" the SVT will be
generated by reading the content of the connected
Emus.
The SVT is optional.
Using the three-dot-button a file dialog is started to
choose a vehicle order file. The file path will be shown
in the text field.
With the "Edit" button you can change to the FA-Editor
FA to make some changes to the vehicle order.
Pressing the "Read FA (VCM)" button the vehicle
order will be read from the ECU.
An FA is optional for flashing but mandatory for
coding.
Using the button "Generate token" a file with unsigned
programming tokens will be created. The file name is
displayed in the text field. This file must be signed
outside of E-Sys.
Programming Using the three-dot-button the file dialog is started to
Tokens choose a file with signed Programming Tokens. The
file path is displayed in the right text field.
Special Topics
With module Coding it's possible to select one or multiple Emus for
coding without creating a TAL manually for this purpose.
The SVTs recorded in red letters in the picture above indicate the
reference system state of an ECU. The blue ones indicate the actual
state of the ECU. Black entries indicate SVTs with identical reference
and actual state. If the hardware of an ECU is different, this is
indicated by the arrow symbol.
GUI Elements
Vehicle Data
Vehicle Order File containing a list of vehicle orders. For selecting
a single vehicle order, this order needs to be
activated by using the context menu item ‘Activate
FA’. If the list of vehicle orders contains only one
element, this element will be automatically activated
as soon as the file is loaded.
Read Read out the actual vehicle order from the vehicle.
Load Open a vehicle order from the file system.
Save Opens a file dialog to save the vehicle order.
Change to the FA-Editor and open the vehicle order
Edit
file.
The Vehicle profile will be automatically generated
Vehicle Profile from an activated Vehicle Order and displayed in a
tree structure.
SVT Actual
Read (VCM) read out the vehicle order from the vehicle.
Read (ECU) read out the vehicle order functionally
Load Open a vehicle order from the file system.
Save Opens an file dialog to save the SVT.
Edit Change to the SVT-Editor and open the SVT
KIS/SVT target
I-Step (shipm.) Available shipment integration steps
I-Step (target) Available target integration steps
Calculation Possible strategy to calculate the SVT (Single Flash
strategy | Complete Flash | Construction Progress).
File Name The path of the SVT file.
Calculate Calculates an SVT-Target by integration step and
vehicle order (and SVT-Actual if exists).
Read (VCM) Read SVT-Target from VCM
Load, Save Load/save an SVT-Target from/to file system.
Edit Edit in the corresponding editor.
HWEL, HWAP und HWFR elements from
HW-IDs from
SVTactual will be copied to the Emus in the target
SVTactual
SVT.
Detect CAF for
not supported yet
SWE
Coding
Code Code the ECU.
Read Coding
Read the coding data from ECU.
Data
Code NCD Code the ECU with the selected NCD.
Currently not possible for Coding 3
Code Default Code the ECU to the default state.
Values Currently not possible for Coding 3
Read CPS Read out the CPS.
Parallel TAL-
If checked coding will be executed parallel.
Execution
Stop TAL on
if checked the coding will stop if one error occurs.
error
Filter
Filter filter SVT tree by selected process class
SVT Reset reset SVT/SVK-Ist/Soll and delete SVT tree
The module FSC Extended in expert mode serves for read out, check
and sign of FSC. In addition to that single jobs can be executed in
batch mode.
Corresponding to the topic FSC there are other masks in E-Sys. The
module Freischaltcode (FSC) serves for inquiring the FSC State, for
writing and (de-)activating of FSC. FSC's can be displayed and edited
in FSC-Editor easily.
GUI Elements
FSC File The FSC to be written
Key The key corresponding to the FSC
Diagnosis
of the ECU
Address
Software-ID the software identifier
Base Variant Name of ECU variant
Upgrade Index of FSC
The new coding concept (secure coding) required, that all needed
NCDs have to be signed before they can be transferred to the ECU.
Therefore you have now with these new module the possibility to
signing the NCDs.
Attention:
If no pdx-container is imported, the user has to perform an container
import and restart e-sys afterwards! Otherwise the user is not able to
use these module correctly!
You have the options to sign already local available NCDs (tap "NCD
signing") or E-Sys has to calculate the NCDs before they can be
signed (tap "preparation from SVT" or "preparation from CAFD").
GUI-Elements
NCD signing
In the red marked row can the user set the filed location of the already
calculated NCDs (NCDs can be calculated at Coding-Verification).
By the action buttons (blue marked) can the NCDs be added or
removed from the list of NCDs, which are going to be signed.
The refresh button (green marking) is reloading the filed location of the
calculated NCDs. It has the side-effect that all NCDs, which are added
and located in these order are been removed automatically.
Hint:
· Currently, NCD-data for Coding 2 and Coding 3 can be signed in
this module. NCDs for Coding 1 are not supported.
E-Sys is now performing the calculation and signing of all NCDs for
the CAFS contained in the SVT or the TAL..
Hint:
· The calculation and signing of the NCDs will be done in the SCB
backend
· As a necessary precondition for the access to the SCB backend, a
TIS-client Certificate has to be imported first
· The URLs used for connecting to the SCB have to be defined in the
esys.properties file by using the property key scb.backend.url
· In cases where more than one URLs are available, the complete list
of URLs has to be assigned to the property key in a comma
separated manner
TSL Update Top Previous Next
Current Data
By pressing "Read SGBMID" you can see the versions of the current navigation and
entertainment data. Therefore the current SVT is read from VCM and the SGBMIDs with
process classes NAVD and ENTD are shown.
Update
After writing the address of the server, where the newest navigation and entertainment data
are stored, into the appropriate text field, the update process can be started by pressing the
"Start" button. But the data will be updated only, if the appropriate process class is selected.
By pressing the "Cancel" button the update process could be aborted.
OBD-CVN Top Previous Next
The SVTs recorded in red letters in the picture above indicate the
reference system state of an ECU. The blue ones indicate the actual
state of the ECU. Green entries indicate SVTs with identical reference
and actual state.
GUI Elements
Vehicle Data
Vehicle Order File containing a list of vehicle orders. For selecting
a single vehicle order, this order needs to be
activated by using the context menu item ‘Activate
FA’.
If the list of vehicle orders contains only one
element, this element will be automatically activated
as soon as the file is loaded.
Read Read out the actual vehicle order from the vehicle.
Load Open a vehicle order from the file system.
Save Opens a file dialog to save the vehicle order.
The Vehicle profile will be automatically generated
Vehicle Profile from an activated Vehicle Order and displayed in a
tree structure.
SVT Actual
Read (VCM) read out the vehicle order from the vehicle.
Read (ECU) read out the vehicle order functionally
Load Open a vehicle order from the file system.
Save Opens an file dialog to save the SVT.
Edit Change to the SVT-Editor and open the SVT
KIS/SVT target
I-Step (shipm.) Available shipment integration steps
I-Step (target) Available target integration steps
Calculation Possible strategy to calculate the SVT (Single Flash
strategy | Complete Flash | Construction Progress).
File Name The path of the SVT file.
Calculates an SVT-Target by integration step and
Calculate
vehicle order (and SVT-Actual if exists).
Read (VCM) Read SVT-Target from VCM
Load, Save Load/save an SVT-Target from/to file system.
Edit Edit in the corresponding editor.
HW-IDs from HWEL, HWAP und HWFR elements from
SVTactual SVTactual will be copied to the Emus in the target
SVT.
Detect CAF for
not supported yet
SWE
Coding
ATTENTION
The functionalities provided in this module which include direct server access require to have
several preconditions to be fulfilled:
· The system which runs E-Sys must be in a BMW network segment in which the backend
systems (CBB) are available.
· There must be a valid E-Sys client Certificate imported into E-Sys.
· At least one URL of a valid backend system (CBB) must be configured in E-Sys.
A more detailed set of instructions can be found here: HOWTO (only available within BMW
network).
For further questions please contact the support service: support-security-
[email protected]
Introduction:
As an enabler for new functions and to increase the security of existing functions, individual
Certificates are required in the treatment of vehicles. From SP2018, individual Certificates
and their binding to the respective vehicle must be installed both in the factory and in the
service. In addition, bindings between ECU devices must be distributed. This functionality is
provided by this module.
Each ECU can only be written with one memory type (Type1, 2, 5) at once.
In the table on the left side has the user the possibility to
Description of types:
Certificates / CSRs (Type 1) : 0
Binding (Type 1) : 1
OtherBindings (Type 1) : 2
Certificates / CSRs (Type 2) : 3
Binding (Type 2) : 4
Sec_Oc_Keylist: 5
3) Read data individually:
Reads the selected Certificate type from the configured ECU devices and displays the result
in the status window.
Generates for each ECU to be handled a file in XML format, which contains the entire
Certificate container of the respective ECU device. Default storage location is the CERT
directory in the E-Sys Data directory.
In the selected storage location, one or more XML files are now dependent on the selected
memory object type
For each ECU can only be read out on memory type at the time.
Both check boxes active: PSdZ calculates the OtherBindings by using the
bindings of the backend
with the bindings from the vehicle for calculation.
Checkbox "from backend" active
and "from vehicle" inactive: PSdZ does not get any readout binding set from
the vehicle to the calculation.
Both check boxes inactive: This combination does not provide a result since
no bindings are passed to PSdZ.
[Note: If BindingContainer is available from the CBB box and the vehicle for the same
control unit, the newly calculated container from the CBB-Box is always used again. The
container determined from the vehicle is discarded. ]
6) SecOC:
The user has the possibility:
· read out the current SecOC counter value of all selected Emus
· set a new SecOC counter value to all selected Emus
Notes:
· The following command can only be performed on Emus that support this functionality.
· The Emus must be in engineering ECU Mode
· Text field accepts counter values in HEX in range from 0x0 until 0xFFFFFFFF only
7) IPSec:
IPSec of all IPsec-enabled Emus can be activated, deactivated or locked in this tab.
Notes:
· The following command can only be performed on Emus that support this functionality.
· For each action, all IPsec-enabled Emus are handled. Selection in the SVT tree is not
considered.
SFA / LCS / Secure ECU Modes - Extended Top Previous Next
Introduction:
The functionalities provided in this module which include direct server
access require to have several preconditions to be fulfilled:
· The system which runs E-Sys must be in a BMW network segment
in which the backend systems (SFA-Backend) are available.
· There must be a valid E-Sys client Certificate imported into E-Sys.
· At least one URL of a valid backend system (SFA-Backend) must
be configured in E-Sys.
A more detailed set of instructions can be found here: HOWTO (only
available within BMW network).
The module "SFA / Secure ECU Mode" empowers the user to write a
secure token set, switch ECUs, which supports Secure ECU Modes,
between the three states (Engineering, Plant, Field), generates a
response-file, delete or clear features, verify tokens with VIN, and read
the current SFA-State or ECU-Mode.
1) ECU-Mode:
The Modes Plant and Engineering are only accessible with a valid
token an the ECU has to be in den Field-Mode.
To switch back into the Field-Mode is no token necessary.
All ECUs that are contained in the svt are visualized on the right side
in the svt-tree-view.
Use Cases:
Available only
inside BMW
network
Generates a Plant-Mode-Token for
Switch Mode all Emus, that provides ECU-Mode,
with Token sending the request to the Backend
Request: Plant and writing the response at the
Mode Emus. The Emus are finally in the
PlantMode
Switch Mode Generates an Engineering-Mode-
with Token Token for all Emus, that provides
Request: ECU-Mode, sending the request to
Engineering the Backend and writing the
Mode response at the Emus. The Emus
are finally in the EngineeringMode
Upload Secure Sending the request to the backend
Token Set and store the response at
Request File "DATA\SFA"
Available
outside BMW
network
Generates a request-file for the
Generate
chosen ECU-Mode for all Emus of
Request file
the svt.
Deactivate the chosen ECU-Mode
token.
Delete Token
ATTENTION: The token can't be
used a second time.
Clear Feature Delete the chosen ECU-Mode token
from all Emus.
ATTENTION: The Emus have to be
in the Engineering-Mode. After the
process the deleted token can be
used a second time.
Write Secure Write all secure tokens the loaded
Token Set response file, all Emus that are part
of these file are marked in the tree-
view (blue marked at the
illustration).
Depends on the ECU-Mode in the
chosen file Engineering Mode, Plant
Mode, Mixed (Engineering and
Plant tokens are included) or Undef
/ unknown (beside the ECU-Mode-
tokens are also other feature-tokens
part of the file) are visible.
Switch into Field Sends the job to switch into Field
Mode Mode to all Emus.
2) SFA:
SFA is the replacement of SWT from Service-Pack 2021 on.
Use-Case:
Available only
inside BMW
network
Write SFA Target Generates at the backend a new
(package for secure token set. In case of new
order) calculation is active the tokens for
the already active features, that
should be active based on the
VIN, are going also to be
generated.
If the user wants only the features
active, that are calculated to be
active by the backup-System,
"incl. DELETE Token" has be
active. These means that it is
possible that features which was
active before are now deleted. To
reactivate these features a new
generated token is required.
Available
outside BMW
network
Write the loaded secure token set.
Attention if the inclusion of surplus
tokens is active. With these option
all features, that are not part of the
token set or the target status are
going to be deleted. To reactivate
Write a local these features a new generated
secure token set token is required. An example of
on surplus toke is an active ecu-
mode token.
All Emus that are part of the token
set are marked in the SVT-
treeview. (blue marked in the
above illustration)
Generate SFA- Generates a SFA (secure Token-
production-status Request set) for the SFA-
Request production status.
Read SFA-Status Reading the SFA-status of the
choose Emus or the entire vehicle.
3) Token-Management:
Use-Case:
Available only
inside BMW
network
Upload Secure Sending the request, depends on
Token Set the request-type (ECU-Mode,
Request File package for order, newest
package), to the backend and store
the response at "DATA\SFA". A
"newest package" request has to
have "newest" a part of its file-
name.
Available
outside BMW
network
Generate ECU- Generates a request-file for the
Mode Request chosen ECU-Mode for all Emus of
file the svt.
Generate SFA- Generates a request-file (secure
production-status Token-Request set) for the SFA-
request production-status.
Deactivate the chosen ECU-Mode
token.
Delete Token
ATTENTION: The token can't be
used a second time.
Clear Feature Delete the chosen ECU-Mode
token from all Emus.
ATTENTION: The Emus have to be
in the Engineering-Mode. After the
process the deleted token can be
used a second time.
Read Status / Reading the SFA-/ECU-mode
Read ECU-Mode status of the choose Emus or the
entire vehicle.
Verify Token and The system verify if all token are
VIN compatible with the VIN of the
vehicle.
4) LCS:
LCS stand for "Locking Configuration Switch". In this tab the user has
the option to read and change the value of a specific configuration of
the chosen ECU.
The user has either the option to choose the configuration by the drop-
down menu or enter the HEX-Value manually.
LCS #0 - #99 are reserved for internal ECU functions. LCS #100 -
#255 are reserved for ECU-specific functions.
Currently LCS values are mapped to the following scheme:
Notes:
· If the loaded file contains a LCS token that matches an ECU from
the loaded SVT, this is marked in the SVT tree structure by a
colored text (see figure below).
· After a LCS#01 switch over, an ECU reset is to be performed so
that the new LCS#01 value is also implemented by the ECU.
KDS - Extended Top Previous Next
Introduction:
KDS (anti-theft protection 2.0) based on the secure token sets (see
SFA / Secure ECU-Mode).
The functionalities provided in this module which include direct server
access require to have several preconditions to be fulfilled:
· The system which runs E-Sys must be in a BMW network segment
in which the backend systems (SFA-Backend) are available.
· There must be a valid E-Sys client Certificate imported into E-Sys.
· At least one URL of a valid backend system (SFA-Backend) must
be configured in E-Sys.
A more detailed set of instructions can be found here: HOWTO (only
available within BMW network).
KDS status:
The button "Quick check" (marked green) starts with a KDS system
check. The result is visualized in the GUI and has one of the following
values:
KDS quick check results
MASTER_OK_CLIENT_OK
MASTER_OK_CLIENT_INVALID
MASTER_INVALID_CLIENT_OK
MASTER_INVALID_CLIENT_INVALID
ERROR_CLIENT_NOT_PAIRED
Standard actions:
These tab can visualize the KDS system. It is separated in the KDS-
master and KDS-clients. All KDS system members are by the KDS-ID.
· Read KDS (marked red): Read the entire KDS system.
· Refurbish process (marked green): [Only with BMW-Intranet
connection possible] Identifies all participants in the KDS system,
that have not been correctly paired and is pairing the entire KDS
system.
· Switching operation mode: Change the operation mode for the
chose Emus. If no ECU is selected the entire KDS system is going
to switch. The switch into the modes AUDIT and OPEN requires a
BMW-Intranet connection and the valid client-backend-Certificate
(E-Sys options / authentication)
Extended actions:
· Generates a token request file for the chosen Emus or the entire
KDS-system. The request-type can be defined by the drop down
menu, behind the name of the is the feature-ID displayed. (marked
blue)
Ecus are displayed with blue letters if of L4 and with black letters if it is
an L6 ECU.
After all modification is done the PDX container can be imported into
PSdZ unless there is no connection to an ECU.
So in the mask above you have to disconnect before trying to import
into PSdZ.
GUI-Elements
"Import into
Import current container into PSdZ
PSdZ"
"..." button load existing PDX container
"Update" button PDX update, see correspondent help page
Starts the ODX-Checker, see correspondent help
"ODX-Checker"
page
"Delete PDX delete, see correspondent help page
Container..."
Further Information:
ODX (Open Diagnostic Data Exchange) is a standardized exchange
format based on XML for data and information related to diagnosis.
PDX (Packed ODX) is a zipped ODX. The PDX file only contains
information. The real data (SWEs) are contained in separate files and
are only referenced from the ODX file. In ODX multiple layers are
defined which contain the different types of information:
The ODX-Charger performs the task to integrate the particular layers
to one ODX-Container. Hereby the XML files for the layers Diag-
Layer-Container, Comparam-Spec, Vehicle-Info-Spec and Multiple-
Ecu-Job-Spec exist already in a file system or are delivered
completed.
Even if the ODX-Container could consist from a single large file it's
recommended for the sake of clearness to leave the distinct layers in
it's files and to associate them in the ODX file.
PDX-Update Top Previous Next
Now E-Sys calculates the set union of the two containers and displays
it. Afterwards the modified container can be saved and imported into
PSdZ.
PDX-Delete Top Previous Next
Starting with E-Sys 3.31, an index file is introduced to allow the deletion of PDX containers.
This index file is updated during each import and delete process.
Specials:
· Deletion Container is available only if there is no connection to
the ECU.
· In the case of a missing or incorrect index file a new one index
file will be created. All existing SWEs files and project names
(TargetSelectors) are written in this file as "Undefined_Container".
· By Import of the same container more times under different
project names, all linked project names (Target Selectors) are to
deleted by deleting of this container.
ODX-Checker Top Previous Next
The PDX container check could be started with the button "ODX
checker".
The result is presented in the "ODX checker messages" table.
Message details can be open with a double click on a line in the table.
The ODX checker rules could be stored in a directory. The path for this
directory could be set in menu "Options / Settings..." in the "ODX" tab:
File-Explorer Top Previous Next
Using the file explorer you can manage the elements of the data
directory. The files or directories can be copied, moved, deleted and
created newly. In addition to that also an import into PSdZ (in case of
ODX files) or passing the file to an external editor is possible.
Context Menu (left hand side)
Context Menu (right hand side)
Specials:
· In the right hand display you have many options of editing using
the context menu.
· "ImportPDX" only is available in subdirectory ODX, and even
then only if there is no connection to the ECU.
· With the item "ImportPDX", it is possible to import single PDX-
Container as well as a set of containers simultaneously.
· Using "Open With" menu let you jump directly to the suitable E-
Sys editor corresponding to the data structure. In this editor the
desired file is already displayed.
· The other context menu items are to be used in common
manner.
SWE-Explorer Top Previous Next
Context Menu
doesn't exist. This is no software bug.
Externe Application Top Previous Next
Applications
Applications Top Previous Next
In this module you can start any application. Therefore you must add a
application by using the add button in the tool bar or in the context
menu.
Instructions Top Previous Next
Motor Bike
Establish connection
Batch
Motor Bike Top Previous Next
With E-Sys also motor bikes can be programmed and coded. Therefore E-Sys mode must be
changed to "Motor bike". See the menu Options | Settings... | Options.
Options
In mode motor bike the option "Update MSM after TAL execution" must be turned off, because
of the missing MSM in motor bikes.
Disabled Actions
Several Emus of a car are not built in motor bikes. Thus some actions from E-Sys mode car
are not available in mode motor bike. In the VCM Master tab of the VCM module the following
actions are disabled:
is disabled.
Changed Functionality
In Modula VCM several actions read, write, or generate a vehicle profile (FP). This
functionality is not available for motor bikes and thus will be owithted in the mode motor bike
for the following actions:
Beside this, the actions will be executed the same as in mode car.
Currently not used
In the symbol bar you find the icon for starting/stopping a connection.
After the click on "establish connection" subsequent dialog is
displayed:
In the window "Target" you find all available projects and vehicle
information. These could be filtered by the main series. With the
second filter selects either gateway or direct ECU connection.
After the selection of a target selector and vehicle info the connection
could be established by clicking on the "Connect" button.
If the connections was established successfully in the status bar you
see the selected target.
After the E-Sys user has clicked on the button, a pop-up window is
going to appear. You have now two different possible configuration for
the backend-system (BMW-Intranet / Internet).
If you choose BMW-Intranet your computer must be in the BMW
IT-network.
Anflash
CVN / OBD
Read data
Server-Client operation
FA convert
FV ExecuteFV
PDX Containers
Proxy
TAL processing
TAL calculation
TSL
General:
In addition to GUI mode, E-Sys can also be run in batch mode. For
this purpose, the file E-Sys.bat with various parameters is started in
the E-Sys installation directory (default: C:\EC\Apps\ESG\E-Sys).
Depending on the specified parameter, an appropriate action is
performed.
Example:
E-Sys_20160203_150924_client_openconnection.log
E-Sys_20160203_150924_server_openconnection.log
E-Sys_20160203_151145_client_closeconnection.log
E-Sys_20160203_151145_server_closeconnection.log
Client-Server Connection
A TCP connection is established between the client and the server
via port 30303.
If the port is not available, another port can be configured in the E-
Sys.properties file (BatchServer.port) (see -prop <E-
Sys.properties>).
Connections between client and server go through "localhost", i.e.
the client and server must always be started on the same machine.
Restrictions
Only one E-Sys instance can run on a computer at a time.
This means that either the GUI mode, the E-Sys client or the E-Sys
batch server must be started.
Legend:
[ ].................optional, can be specified, but does not have to
( )................Selection, must be specified
| ................"or", is used in a selection
Anflash:
E-Sys.bat -anflash <config file> [-ignoreBATHAF]
E-Sys.bat -server -anflash <config file> [-ignoreBATHAF]
CVN / OBD:
E-Sys.bat -comparecvn -connection <config file> [-sg
<ecu list>] (-svt <SVT file>|-svtvcmist|-svtvcmsoll|-svtecu) -
trace <trace directory> [-fa <FA file>] [-xmlreport]
E-Sys.bat -server -comparecvn -connection <config file> [-sg
<ecu list>] (-svt <SVT file>|-svtvcmist|-svtvcmsoll|-svtecu) -
trace <trace directory> [-fa <FA file>] [-xmlreport]
E-Sys.bat -cvncalculation <FA file> -out <OBD-CVN-FA-
List file> [-caf <CAF name>]
E-Sys.bat -server -cvncalculation <FA file> -out <OBD-CVN-FA-
List file> [-caf <CAF name>]
Read data:
E-Sys.bat -getbrv <series>
E-Sys.bat -server -getbrv <series>
E-Sys.bat -help
E-Sys.bat -server -help
E-Sys.bat -readfa -connection <config file> -out <FA
directory>
E-Sys.bat -server -readfa -connection <config file> -out <FA
directory>
E-Sys.bat -readsvt -connection <config file> -out <SVT
directory>
E-Sys.bat -server -readsvt -connection <config file> -out <SVT
directory>
E-Sys.bat -version
E-Sys.bat -server -version
Server-Client operation:
E-Sys.bat -server -check
E-Sys.bat -server -stop
E-Sys.bat -server -openconnection <config file>
E-Sys.bat -server -closeconnection
E-Sys.bat -server -aborttalexecution
E-Sys.bat -startserver
E-Sys.bat –startserver [-prop <property file>] [-setProxy <config
file> ] [-authenticationCoding ( -user <Benutzername> | -
useSwlSecCertificate ) -connection <bmw_intranet|internet>] [-
dialog]
FA convert:
E-Sys.bat -convertorderxml <FO directory> -out <FA
directory>
E-Sys.bat -server -convertorderxml <FO directory> -out <FA
directory>
FV ExecuteFV:
E-Sys.bat -executeFv <config file> [-ignoreBATHAF]
E-Sys.bat -server -executeFv <config file> [-ignoreBATHAF]
PDX Containers:
E-Sys.bat -mergepdxcontainer <PDX container definition
file> -out <PDX container file>
E-Sys.bat -server -mergepdxcontainer <PDX container definition
file> -out <PDX container file>
E-Sys.bat -pdxcontainer <PDX container definition file>
-out <PDX container file>
E-Sys.bat -server -pdxcontainer <PDX container definition file>
-out <PDX container file>
E-Sys.bat -pdximport <PDX container file> -project
<project name>
E-Sys.bat -server -pdximport <PDX container file> -project
<project name>
E-Sys.bat -pdxupdate <PDX container file> [-out <PDX
container file>] -template <PDX template file>
E-Sys.bat -server -pdxupdate <PDX container file> [-out <PDX
container file>] -template <PDX template file>
Proxy:
E-Sys.bat -readStatusProxy
E-Sys.bat -server -readStatusProxy
E-Sys.bat -server -removeProxy
E-Sys.bat -server -setProxy <config file> [-dialog]
SWT:
E-Sys.bat -swtaction <config file>
E-Sys.bat -server -swtaction <config file>
E-Sys.bat -swtstatus -project <project name> -
diagaddress <diagnosis address> -vehicleinfo <vehicle info> -
basevariant <basevariant>
E-Sys.bat -server -swtstatus -project <project name> -
diagaddress <diagnosis address> -vehicleinfo <vehicle info> -
basevariant <basevariant>
TAL processing:
E-Sys.bat -talexecution <config file> [-ignoreBATHAF]
E-Sys.bat -server -talexecution <config file> [-ignoreBATHAF]
TAL calculation:
E-Sys.bat -talcalculation <config file>
E-Sys.bat -server -talcalculation <config file>
TSL:
E-Sys.bat -tslstatus -connection <config file>
E-Sys.bat -server -tslstatus -connection <config file>
E-Sys.bat -updatetsl <SVT filename> -connection <config
file>
E-Sys.bat -server -updatetsl <SVT filename> -connection <config
file>
Certificate Management:
E-Sys.bat -activateIPsec -connection <config file>
E-Sys.bat -server -activateIPsec -connection <config file>
E-Sys.bat -certexecution <config file>
E-Sys.bat -server -certexecution <config file>
E-Sys.bat -checkCERT -connection <config file> -retries
<value> [-svt <SVT file>] [-blacklist <file>] [-whitelist
<file>]
E-Sys.bat -server -checkCERT -connection <config file> -retries
<value> [-svt <SVT file>] [-blacklist <file>] [-whitelist
<file>]
E-Sys.bat -deactivateIPsec -connection <config file>
E-Sys.bat -server -deactivateIPsec -connection <config file>
E-Sys.bat -generateCSR -connection <config file> -out
<target file> [-secOCKeys] [-vin <VIN17>] [-blacklist <file>]
[-whitelist <file>]
E-Sys.bat -server -generateCSR -connection <config file> -out
<target file> [-secOCKeys] [-vin <VIN17>] [-blacklist <file>]
[-whitelist <file>]
E-Sys.bat -getCbbResponseFromRequest <cbb request file>
[-out <target directory>]
E-Sys.bat -server -getCbbResponseFromRequest <cbb request file>
[-out <target directory>]
E-Sys.bat -lockIPsec -connection <config file>
E-Sys.bat -server -lockIPsec -connection <config file>
E-Sys.bat -readCERT -connection <config file> -type
<certificate type> [-svt <SVT file>] [-blacklist <file>] [-
whitelist <file>]
E-Sys.bat -server -readCERT -connection <config file> -type
<certificate type> [-svt <SVT file>] [-blacklist <file>] [-
whitelist <file>]
E-Sys.bat -setSecOCCounter -connection <config file> -
value <hex value> [-blacklist <file>] [-whitelist <file>]
E-Sys.bat -server -setSecOCCounter -connection <config file> -
value <hex value> [-blacklist <file>] [-whitelist <file>]
E-Sys.bat -writeBindings -connection <config file> -in
<CBB response file> [-secOCKeys] [-svt <SVT file>] [-
secOCKeysPath <SecOCKeyPack file>]
E-Sys.bat -server -writeBindings -connection <config file> -in
<CBB response file> [-secOCKeys] [-svt <SVT file>] [-
secOCKeysPath <SecOCKeyPack file>]
Others:
General:
The Anflash module offers the possibility to perform a complete
flash cycle fully automated.
The exact structure of the required configuration files is described in
the Anflash manual.
Batch-command Anflash
Declaration:
-anflash <config Absolute path to Anflash-Configuration-file
file>
(siehe Anflash-Handlungsanweisung).
-ignoreBATHAF Optional parameter. Ignores the S1-switch.
Example:
E-Sys.bat -anflash C:\data\executeAnflash.config -ignoreBATHAF
Information:
· Information about the batch command -anflash is to be obtained
from the "Anflash Manual".
· If a BAT/HAF test reveals that switch S1 is open, the further
execution of the command depends on parameter -ignoreBATHAF.
General:
For NCDs, the following commands are offered in the batch.
Declaration:
-authenticationCoding command.
-connection <bmw_intranet|internet> Login via bmw_intranet (inside of BMW-network) or internet (outsid
-user <username> Backend-Login via username (example: max.mustermann).
-useSwlSecCertificate Backend-Login via Certificate.
-dialog Backend-Login with GUI-dialog.
Example:
E-Sys.bat -server -authenticationCoding -user Max.Mustermann -connection intranet
E-Sys.bat -server -authenticationCoding -user Max.Mustermann -connection bmw_intranet -dialog
E-Sys.bat -server -authenticationCoding -useSwlSecCertificate -connection bmw_intranet
Information:
· The -connection parameter determines whether the back-end system, which is addressed for the signin
reached via the BMW intranet or over the Internet.
· Either the parameter -user <username> for Basic Authentication or -useSwlSecCertificate for Certificate-b
be specified.
· In a basic authentication, the password must be entered manually in the command line of the E-Sys se
· If the switch -dialog is specified, a GUI dialog is displayed in which login data must be entered.
The Login dialog looks like this:
· For Certificate-based authentication, the required client Certificate must first be imported using the "-im
batch command or in GUI mode.
· Whether logging in to the back-end system was successful can be seen in the command line of the E-S
Basic authentication displays both the authorization and the expiration date of the authorization.
In the case of successful Certificate-based authentication, the quota and the Certificate's usage time ar
Importing PKCS-12 Containers with Client Certificate for SWL Security System (SWL-SEC)
This command can be used to import client Certificates that are required to communicate with the BMW b
With a successfully imported client Certificate, Certificate-based authentication to the SWL Security Syste
Declaration:
-importSwlSecCertificate <P12 file> Absolute path to PKCS12 container with client Certificate.
-dialog Backend-Login with GUI-dialog.
Example:
E-Sys.bat -importSwlSecCertificate C:\CERT\[email protected]
E-Sys.bat -importSwlSecCertificate C:\CERT\[email protected] -dialog
Information:
· If the switch -dialog is defined, a GUI dialog is displayed in which authentication data must be entered.
· The command is supported in both client- and server-client-based batch operation.
· The required Certificate for SWL Security System must be obtained separately via the B2B portal.
Declaration:
-backendCheckSigning command.
-vin <vin file> Absolute path to VIN-file.
-sgbmno <SGBM file> Absolute path to SGBMNo-file.
Example:
E-Sys.bat -server -backendCheckSigning -vin C:\NCD\vinsToCheck.txt -sgbmno C:\NCD\sgbmnrToCheck.txt
Information:
· The command is only supported in server-client-mode and only with a BASIC authentication to backend
The user must first login in to the backend using the "-authenticationCoding" command.
A '\' may not be used in the configuration file. Instead, use '/' or '\\' for path information.
· The format of the configuration files to pass is defined as follows:
Example for a VIN-file:
# VIN17,VIN17,VIN17
TESTVIN1234567890,VINTEST1234567890,1234567890TEST,TEST1234567890VIN
Declaration:
-fwl2Ncd <config file> Absolute path to configuration file.
Example:
E-Sys.bat -fwl2Ncd C:\conf\fwl.properties
Information:
The <config file> must contain the following entries:
# Absolute path of an FA file. E.g. FA = C:/Data/fa.xml
FA = <FA file>
Example:
E-Sys.bat -readNcd C:\Data\SVT -connection C:\conf\connection.properties -out C:\Data\CAF
Information:
· The file name of the FWL file is formed according to the following pattern: "<VIN>_<CAF>_<BV>.fwl".
VIN..................................the last 7 digits of the VIN from the VIN-Master
CAF.................................SGBM-number of the CAF used
BV...................................Name of the basic variant
· The file name of the NCD-file is formed according to the following pattern: "<SGBMID>.caf.<MV> _<SV
SGBMID.................................SGBM-ID of the CAF used
MV.........................................Main version of the CAF used
SV..........................................Sub version of the CAF used
PV..........................................Patch version of the CAF used
Declaration:
-signNcd <config file> Absolute path to configuration file.
Example:
E-Sys.bat -server -signNcd C:\NCD\ncdSign.config
Information:
· In client-mode, the command is supported only in combination with Certificate-based-authentication.
· In server-client-mode, the user must first log in to the backend using the "-authenticationCoding" comma
· Required parameters are FA and NCD_LIST_1.
· Optional parameters are BACKEND_SIGNATURE, SHIPMENT_NCD_GENERATION, SIGNED_NCD_DIR, and SHIPMENT_NCD_D
information from the E-Sys.properties-file is read or default settings are used.
· Depending on the BACKEND_SIGNATURE-setting (ALLOW - allow, MUST_NOT - prohibit, FORCE - enforce) the NCDs
backend or local.
· The SHIPMENT_NCD_GENERATION-setting controls the calculation and signing of NCDs for delivery status. If o
delivery status are then calculated and signed.
· If multiple NCD lists are defined, the NCD_LIST_x-key must be unique.
· If multiple NCD lists are defined, the bootloader-number <BTLD-Nummer-x> must be unique.
· A '\' may not be used in the configuration file. Instead, use '/' or '\\' for path information.
# Optional parameter
# If specified, only client-batch-mode is considered
# Default value = off
USE_SWL_SEC_CERTIFICATE = <on|off>
# Optional parameter.
# Considered only in client-batch-mode
# If the parameter is owithted SWL_SEC_CONNECTION, the value from Esys.properties is used.
SWL_SEC_CONNECTION = <bmw_intranet|internet>
During verification, NCD- and FP-traces as well as a verification report are generated and stored in the tra
Verification is performed on all FAs at the FA-list and all imported CAFs.
The optional parameter [-caf] allows verification to be restricted to individual (imported) CAFs.
If multiple CAFs are specified, the names are separated by commas (",").
Declaration:
-generateNcd <FA file> Absolute path of an FA- or FA-list-file.
-caf <CAF name> Name of the CAF to be verified.
-trace <trace directory> Absolute path of the directory to which the data to be generated is to
Example:
E-Sys.bat -generateNcd C:\Data\FA\F020.xml -trace C:\Data\Trace -caf cafd_0000815.caf.001_001_003
Information:
· No check will be performed to verify that the trace directory is empty. This means that existing files in th
overwritten without warning.
Calculate NCD-Testdata
NCD test data will be created and signed based on a list of CAF files, which have to be specified in a con
In addition to the CAFs, a vehicle order (file name + absolute path) must be specified in the configuration
It is also mandatory to provide a BTLD SGBM number, as this is required for signing the NCDs.
Optionally, the storage location for the generated NCD files can also be specified in the configuration file.
Declaration:
-generateTestNcds <configuration Absolute path to configuration file.
file>
Example:
E-Sys.bat -generateTestNcds C:\conf\MyConfigForFAT.cfg
Information:
· In client mode, the command is only supported in combination with Certificate-based authentica
· In client-server mode, the user must first log in with a separate command to the backend.
· If the BACKEND_SIGNATURE parameter is owithted, the value from Esys.properties is used.
· If the parameter NCD_TEST_DATA_DIR is owithted, then the E-Sys data directory is read from Esys.pr
path is constructed to the folder in which the target folder "NCD test data" is created.
# Optional parameter
# e.g. NCD_TEST_DATA_DIR = C:/FAT
NCD_TEST_DATA_DIR = <target folder for the ZIP-file containing the NCD-Testdata>
# Optional parameter
# Format MUST_NOT | FORCE | ALLOW
BACKEND_SIGNATURE = <MUST_NOT | FORCE | ALLOW>
The generated NCD files are stored in a directory after the command has been executed. This storage loc
defined in the configuration file if required (SIGNED_NCD_DIR).
If the specification of an alternative storage location is missing, then the default directory for signed NCDs
used.
This command can be used only in the BMW environment, because there is a communication with the Se
(SCB).
Declaration:
-createCustomerNcd <configuration Absolute path to configuration file.
file>
Example:
E-Sys.bat -createCustomerNcd C:\conf\configForSCB.cfg
Information:
· The calculation and signing of the NCDs will be done in the SCB backend
· As a necessary precondition for the access to the SCB backend, a TIS-client Certificate has to be impo
· The URLs used for connecting to the SCB have to be defined in the esys.properties file by using the pro
scb.backend.url
· Required parameters are FA_LIST und either SVT or TAL.
· The configuration file can contain either an SVT or a TAL, but not both.
· Optional parameter is SIGNED_NCD_DIR. If owithted, the information from the E-Sys.properties-file is read o
used.
# Optional parameter.
# e.g. SIGNED_NCD_DIR = C:/Data/NCD
SIGNED_NCD_DIR = <target folder for the NCD data>
General:
CVNs (Calibration Verification Number) are calculated via the OBD-
relevant (On-Board Diagnostics) SWEn for a control unit and
compared with the CVNs that are read from the ECUs. The ECUs
and SWEs required for the calculation are read from an SVT
document.
The CVN values and the comparison results are written to a report
file as text or in XML format (-xmlreport).
The SVT document can be read from the ECU, from the VCM, or
from a file to be specified.
Calculate CVN
The following command can be used to calculate CVN values.
Declaration:
-cvncalculation <FA Absolute path of an FA- or FA-list-file.
file>
-out <OBD-CVN-FA-List Absolute path of the output-file.
file>
-caf <CAF name> Names of the CAFs to use.
Example:
E-Sys.bat -cvncalculation
C:\Data_3_39_1_09f71b0_64bit_JDK11\FA\FaListSample.xml -out
C:\Data_3_39_1_09f71b0_64bit_JDK11\Etc\CVN.xml -caf
cafd_000000ae.caf.001_002_003
Information
---
Compare CVN
Declaration:
-comparecvn command.
-connection <config Absolute path to configuration file with the
file>
connection parameter (see Connection
Parameter).
-sg <ecu list> ECU-filters. If the parameter is specified, only
ECUs from the list are processed. The ECUs
are separated by commas in the list.
-svt <SVT file> Absolute path to SVT-file.
-svtvcmist The SVTist is read from the VCM.
-svtvcmsoll The SVTsoll is read from the VCM.
-svtecu The SVT is read from the ECU.
-trace <trace Absolute path to the directory for the report-
directory>
file.
-fa <FA file> Absolute path to the FA-List-file. If the
parameter "-fa" is not specified, the FA is read
out of the vehicle.
-xmlreport Erstellen einer Report-file im XML-Format.
Example:
E-Sys.bat -comparecvn -trace C:\Data\trace -svtecu -fa
C:\Data\FA\FaList.xml -sg ZBE,ZGW -connection
C:\conf\connection.properties
Information
· The following codes are returned:
0 - The comparison was completed successfully.
1 - The comparison could not be performed due to errors. The
errors were written to the report file.
Read data Top Previous Next
General:
[ ].................optional, can be specified, but does not have to be
( )................Selection, must be specified
| ................"or", is used in a selection
Declaration:
-version command.
Example:
E-Sys.bat -version
E-Sys.bat -server -version
Information:
· The E-Sys-Version is output to stdout.
read BRV:
From the development-series, the name of the series-network is determined and output on
the console.
Declaration:
-getbrv <series> Name of the development Series / Derivative / Serie.
Example:
E-Sys.bat -getbrv F003
E-Sys.bat -getbrv F44
E-Sys.bat -getbrv RR25
Information:
· The following codes are returned: 0 - The development series has been correctly
determined.
1 - Errors have occurred.
read FA:
The vehicle-order is read out of the vehicle and stored in a file.
If only one directory is specified, the VIN is also determined and used to determine the file-
name.
Otherwise, the specified file will be used. If it already exists, it will be overwritten.
Declaration:
-readfa command.
-connection <config file> Absolute path to configuration file with the connection
parameter (see Connection Parameter).
-out <FA directory> Absolute path for the output directory with or without file-
specification.
Example:
E-Sys.bat -readfa -out C:\Data\FA -connection C:\conf\connection.properties
E-Sys.bat -readfa -out C:\Data\FA\FA_123.xml -connection C:\conf\connection.properties
Information:
· If no file-name is specified, it is determined after the pattern
"FA_<VIN>_<Timestamp>.xml".
VIN................... the last 7 digits of the VIN from the VIN-Master
Timestamp........ Timestamp according to the pattern ddmmyyyyhhmm
read SVT:
The SVT is read by the vehicle and stored in a file.
If only one directory is specified, the VIN is also determined and used to determine the file-
name.
Otherwise, the specified file will be used. If it already exists, it will be overwritten.
Declaration:
-readsvt command.
-connection <config file> Absolute path to configuration file with the connection
parameter (see Connection Parameter).
-out <SVT directory> Absolute path for the output directory with or without file
specification.
Example:
E-Sys.bat -readsvt -out C:\Data\SVT -connection C:\conf\connection.properties
E-Sys.bat -readsvt -out C:\Data\SVT\SVT_123.xml -connection C:\conf\connection.properties
Information:
· If no file name is specified, it is determined after the pattern
"SVT_<VIN>_<Timestamp>.xml".
Vin.................. the last 7 digits of the VIN from the VIN-Master
Timestamp....... Time stamp according to the pattern yyyymmddhhmm
General:
For Secure ECU-Modes / Secure Feature Activation, the following
commands are offered in Batch.
Declaration:
-switchEcuModeOnline command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-plant Argument.
-engineering Argument.
-vin <VIN17> 17-digit VIN.
-svt <SVT file> Absolute path to The SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -switchEcuModeOnline -connection C:\conf\connection.properties -
plant -vin WBA11CF070H123456 -blacklist C:\Daten\blacklist.txt
E-Sys.bat -switchEcuModeOnline -connection C:\conf\connection.properties -
engineering -svt C:\SVT\SVT_I20.xml -whitelist C:\Daten\whitelist.txt
Information:
· The accessibility of the BMW-backend is assumed.
· In order to be able to use the required services of the BMW-backend, a
corresponding configuration of the client and server including
authentication in the options is required.
Declaration:
-writeNewestPackageOnline command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-disableDelete Do not delete Secure Features.
-vin <VIN17> 17-digit VIN.
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
-rebuild Recalculation of tokens.
Example:
E-Sys.bat -writeNewestPackageOnline -connection
C:\conf\connection.properties -disableDelete -vin WBA11CF070H123456 -svt -
svt C:\SVT\SVT_I20.xml -blacklist C:\Daten\blacklist.txt
E-Sys.bat -writeNewestPackageOnline -connection
C:\conf\connection.properties -vin WBA11CF070H123456 -svt <SVT file> -
whitelist C:\Daten\whitelist.txt -rebuild
Information:
· The accessibility of the BMW-backend is assumed.
· In order to be able to use the required services of the BMW-backend, a
corresponding configuration of the client and server including
authentication in the options is required.
Declaration:
-writePackageForOrderOnline command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-disableDelete Do not delete Secure Features.
-vin <VIN17> 17-digit VIN.
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
-rebuild Recalculation of tokens.
Example:
E-Sys.bat -writePackageForOrderOnline -connection
C:\conf\connection.properties -disableDelete -vin WBA11CF070H123456 -svt -
svt C:\SVT\SVT_I20.xml -blacklist C:\Daten\blacklist.txt
E-Sys.bat -writePackageForOrderOnline -connection
C:\conf\connection.properties -vin WBA11CF070H123456 -svt <SVT file> -
whitelist C:\Daten\whitelist.txt -rebuild
Information:
· The accessibility of the BMW-backend is assumed.
· In order to be able to use the required services of the BMW-backend, a
corresponding configuration of the client and server including
authentication in the options is required.
Declaration:
-createRequestEcuMode command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-plant Argument.
-engineering Argument.
-vin <VIN17> 17-digit VIN.
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -createRequestEcuMode -connection C:\conf\connection.properties -
plant -vin WBA11CF070H123456 -blacklist C:\Daten\blacklist.txt
E-Sys.bat -createRequestEcuMode -connection C:\conf\connection.properties -
engineering -svt C:\SVT\SVT_I20.xml -whitelist C:\Daten\whitelist.txt
Information:
---
Create a request-file for the latest secure-tokens
Declaration:
-createRequestNewestPackage command.
-vin <VIN17> 17-digit VIN.
-whitelist <file> Absolute path to Whitelist-file.
-rebuild Recalculation of tokens.
Example:
E-Sys.bat -createRequestNewestPackage -vin WBA11CF070H123456 -blacklist
C:\Daten\blacklist.txt
E-Sys.bat -createRequestNewestPackage -vin WBA11CF070H123456 -whitelist
C:\Daten\whitelist.txt -rebuild
Information:
---
Declaration:
-createRequestPackageForOrder command.
-vin <VIN17> 17-digit VIN.
-rebuild Recalculation of tokens.
Example:
E-Sys.bat -createRequestPackageForOrder -vin WBA11CF070H123456 -rebuild
Information:
---
Declaration:
-getResponseFromRequest command.
-out <response file> Absolute path for the output-directory with file-
specification (response-file [JSON]).
-request <request file> Absolute path to request-file [JSON].
-svt <SVT file> Absolute path to SVT-file.
Example:
E-Sys.bat -getResponseFromRequest -request
C:\Daten\WBA11CF070H123456_Plant_Mode_Request_20200528_131607[JSON].txt -svt
C:\SVT\SVT_I20.xml
E-Sys.bat -getResponseFromRequest -out <response file> -request
C:\Daten\WBA11CF070H123456_Plant_Mode_Request_20200528_131607[JSON].txt -svt
C:\SVT\SVT_I20.xml
Information:
· The accessibility of the BMW-backend is assumed.
· In order to be able to use the required services of the BMW-backend, a
corresponding configuration of the client and server including
authentication in the options is required.
· All four request-file-types can be handled (EcuMode, PackageForOrder,
NewestPackageForVehicle, Newest PackageForEcu).
· NewestPackage-request-files must contain "Newest" or they will be
interpreted as PackageForOrder-request.
Declaration:
-switchEcuMode command.
-connection <config Absolute path to configuration file with the
file>
connection parameter (see Connection Parameter).
-tokenset <SecureToken Absolute path to ECU-mode-token-set (response-
file>
file [JSON]).
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -switchEcuMode -connection C:\conf\connection.properties -tokenset
C:\SecureTokenRequests\SecureTokenResponse_ADCAM2_ACSM6_Engineering_Mode.txt
-blacklist C:\Daten\blacklist.txt
E-Sys.bat -switchEcuMode -connection C:\conf\connection.properties -tokenset
C:\SecureTokenRequests\SecureTokenResponse_ADCAM2_ACSM6_Engineering_Mode.txt
-svt C:\SVT\SVT_I20.xml -whitelist C:\Daten\whitelist.txt
Information:
---
Declaration:
-writeSecureTokens command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-tokenset <SecureToken Absolute path to secure-token-set (response-file
file>
[JSON]).
-svt <SVT file> Absolute path to SVT-file.
-disableDelete Do not delete secure-features.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -writeSecureTokens -connection C:\conf\connection.properties -
tokenset C:\Daten\SecureTokenResponse_ADCAM2_ACSM6_Engineering_Mode.txt -svt
C:\SVT\SVT_I20.xml -disableDelete
E-Sys.bat -writeSecureTokens -connection C:\conf\connection.properties -
tokenset C:\Daten\SecureTokenResponse_ADCAM2_ACSM6_Engineering_Mode.txt -
blacklist C:\Daten\blacklist.txt
E-Sys.bat -writeSecureTokens -connection C:\conf\connection.properties -
tokenset C:\Daten\SecureTokenResponse_ADCAM2_ACSM6_Engineering_Mode.txt -
whitelist C:\Daten\whitelist.txt
Information:
---
Switch ECUs to field-mode
Declaration:
-switchEcuModeField command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -switchEcuModeField -connection C:\conf\connection.properties -svt
C:\SVT\SVT_I20.xml -blacklist C:\Daten\blacklist.txt
E-Sys.bat -switchEcuModeField -connection C:\conf\connection.properties -
whitelist C:\Daten\whitelist.txt
Information:
---
Declaration:
-clearSecureToken command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-featureid <FeatureID> FeatureID in Hex, e.g. 0x23.
-diagaddress <diagnosis Diagnostic address of the ECU in hex.
address>
-svt <SVT file> Absolute path to SVT-file.
Example:
---
Information:
· All ECUs must be in engineering mode.
Declaration:
-deleteSecureToken command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-featureid <FeatureID> FeatureID in Hex, e.g. 0xa23456.
-diagaddress <diagnosis
address> Diagnostic address of the ECU in hex.
Example:
E-Sys.bat -deleteSecureToken -connection C:\conf\connection.properties -
featureid 0xa23456 -diagaddress 0x5d
Information:
---
Declaration:
-discoverAllFeatureStatus command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-svt <SVT file> Absolute path to SVT-file.
Example:
E-Sys.bat -discoverAllFeatureStatus -connection
C:\conf\connection.properties
E-Sys.bat -discoverAllFeatureStatus -connection
C:\conf\connection.properties -svt C:\SVT\SVT_I20.xml
Information:
---
Status query of a featureID of a ECU
Declaration:
-readShortStatus command.
-connection <config Absolute path to configuration file with the
file>
connection parameter (seeConnection Parameter).
-featureid <FeatureID> FeatureID in Hex, e.g. 0xa23456.
-diagaddress <diagnosis Diagnostic address of the ECU in hex.
address>
Example:
E-Sys.bat -readShortStatus -connection C:\conf\connection.properties -
featureid 0xa23456 -diagaddress 0x5d
Information:
---
Declaration:
-verifySecureTokens command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -verifySecureTokens -connection C:\conf\connection.properties -
blacklist C:\Daten\blacklist.txt
E-Sys.bat -verifySecureTokens -connection C:\conf\connection.properties -svt
C:\SVT\SVT_I20.xml -whitelist C:\Daten\whitelist.txt
Information:
---
Declaration:
-verifySecureTokensVehicle command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-svt <SVT file> Absolute path to SVT-file.
Example:
E-Sys.bat -verifySecureTokensVehicle -connection
C:\conf\connection.properties
E-Sys.bat -verifySecureTokensVehicle -connection
C:\conf\connection.properties -svt C:\SVT\SVT_I20.xml
Information:
---
Read SFA-software-version from ECU
Declaration:
-readSoftwareVersion command.
-connection <config file> Absolute path to configuration file with the
connection parameter (see Connection
Parameter).
-diagaddress <diagnosis Diagnostic address of the ECU in hex.
address>
Example:
E-Sys.bat -readSoftwareVersion -connection C:\conf\connection.properties -
diagaddress 0x5d
Information:
---
Declaration:
-readLcs
command.
-connection <config Absolute path to configuration file with the connection
file>
parameter (see Connection Parameter).
-lcsName <LCS name> LCS-function in hex (e.g.: 0x01).
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -readLcs -connection C:\conf\connection.properties -whitelist
C:\Daten\whitelist.txt
E-Sys.bat -readLcs -connection C:\conf\connection.properties -lcsName 0x01 -
svt C:\SVT\SVT_I20.xml
E-Sys.bat -readLcs -connection C:\conf\connection.properties -lcsName 0x01 -
svt C:\SVT\SVT_I20.xml -blacklist C:\Daten\blacklist.txt
Information:
see LCS section
Declaration:
-setLcs command.
-connection <config Absolute path to configuration file with the connection
file>
parameter (see Connection Parameter).
-lcsName <LCS name> LCS-function in hex (e.g.: 0x01).
-lcsValue <LCS value> LCS-function-value in hex (e.g.: 0x01).
-noreset Do not perform an ECU reset after switching an LCS.
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -setLcs -connection C:\conf\connection.properties -lcsName 0x01 -
lcsValue 0x01 -noreset -svt C:\SVT\SVT_I20.xml -blacklist
C:\Daten\blacklist.txt
E-Sys.bat -setLcs -connection C:\conf\connection.properties -lcsName 0x01 -
lcsValue 0x01 -noreset -whitelist C:\Daten\whitelist.txt
E-Sys.bat -setLcs -connection C:\conf\connection.properties -lcsName 0x01 -
lcsValue 0x01 -svt C:\SVT\SVT_I20.xml
Information:
see LCS section
Declaration:
-writeLcsToken command.
-connection <config Absolute path to configuration file with the
file>
connection parameter (see Connection Parameter.
-tokenset <SecureToken Absolute path to secure-token-set (response-file
file>
[JSON]).
-noreset Do not perform an ECU reset after switching an
LCS.
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -writeLcsToken -connection C:\conf\connection.properties -tokenset
C:\Daten\token-3730977-000101-000102030405060708090A0B0C0D0EEE.json -noreset
-whitelist C:\Daten\whitelist.txt
E-Sys.bat -writeLcsToken -connection C:\conf\connection.properties -tokenset
C:\Daten\token-3730977-000101-000102030405060708090A0B0C0D0EEE.json -svt
C:\SVT\SVT_I20.xml
E-Sys.bat -writeLcsToken -connection C:\conf\connection.properties -tokenset
C:\Daten\token-3730977-000101-000102030405060708090A0B0C0D0EEE.json -noreset
-svt C:\SVT\SVT_I20.xml -blacklist C:\Daten\blacklist.txt
Information:
see LCS section
Server-client batch mode Top Previous Next
General:
[ ].................optional, can be specified, but does not have to be
( )................Selection, must be specified
| ................"or", is used in a selection
Start E-Sys-Batch-Server
Command to start an E-Sys-Batch-Server.
Declaration:
-startserver command um den Server zu starten.
-prop <property file> Absolute path to the E-Sys-property-file
to be used.
-setProxy <config file> Absolute path to Proxy-Configuration-
file.
-authenticationCoding Argument.
-user <username> Backend-Login via username
(example: max.mustermann).
-useSwlSecCertificate Backend-Login via Certificate.
-connection Login via bmw_intranet (inside BMW-
<bmw_intranet|internet>
network) or internet (outside BMW-
network).
-dialog Backend-Login with GUI-dialog.
Example:
E-Sys.bat -startserver
E-Sys.bat –startserver -prop C:\config\Esys.properties -
authenticationCoding -user max.mustermann -connection intranet -
dialog
E-Sys.bat –startserver -prop C:\config\Esys.properties -setProxy
C:\data\proxyConfig.config -authenticationCoding -
useSwlSecCertificate -connection internet
Information:
· If the parameter -authenticationCoding is set, the E-Sys server is
only started if the SWL-Sec2 is successfully authenticated. See
the details of the parameter below.
· If the parameter -setProxy is set, the E-Sys-server is only started
if SWL-Sec2 can be reached via the proxy-server. For details on
the parameter, see Batch/Proxy.
· If the switch -dialog is included, a GUI-dialog is displayed in
which login data must be entered.
· It makes no sense to specify the property-file (-prop <property
file>) in connection with a client-request to the server (-server)
because the property-file is not used by the server. The server
uses the property-file loaded at server-startup.
Stop E-Sys-Batch-Server
Command to exit the E-Sys-Batch-Servers.
Declaration:
-server command for Server-Client-operation.
-stop command to stop the Server.
Example:
E-Sys.bat -server -stop
Information:
· The following codes are returned:
0 - The action was successful.
1 - Errors occurred so that the action could not be completed.
2 - The action was performed with errors.
3 - Unable to connect to the server.
Declaration:
-server command for Server-Client-operation.
-check command to check the Server-Client-operation.
Example:
E-Sys.bat -server -check
Information:
· The following codes are returned:
0 - The action was successful.
1 - Errors occurred so that the action could not be completed.
2 - The action was performed with errors.
3 - Unable to connect to the server.
Declaration:
-server command for Server-Client-operation.
-openconnection Absolute path to configuration file with the
<config file>
connection parameter (see Connection
Parameter).
Example:
E-Sys.bat -server -openconnection C:\config\Client-
Server_Server.config
Information:
· Not all actions require vehicle-connection-parameters. If any are
specified, they will not lead to an error, but will be ignored.
Declaration:
-server command for Server-Client-operation.
-closeconnection command to close the vehicle-connection.
Example:
E-Sys.bat -server -closeconnection
Information:
· The following return codes are returned:
0 - The action was successful.
1 - Errors occurred so that the action could not be completed.
2 - The action was performed with errors.
3 - Unable to connect to the server.
Declaration:
-server command für Server-Client-Betrieb.
-aborttalexecution command to cancel a running TAL-
processing.
Example:
E-Sys.bat -server -aborttalexecution
Information:
· The following codes are returned:
0 - The action was successful.
1 - Errors occurred so that the action could not be completed.
2 - The action was performed with errors.
3 - Unable to connect to the server.
General:
It converts OrderXML-files (vehicle order) from a specified path to
FA (vehicle-order-files). The file-names of the OrderXML-files must
correspond to pattern A<xxxxxxx>.xml (x = letter or digit).
Convert OrderXML to FA
Declaration:
-convertorderxml <FO Absolute path to the directory with the FO
directory>
files.
-out <FA directory> Absolute path to the directory for the
storage of the FA files.
Example:
E-Sys.bat -convertorderxml c:\Data\FO -out C:\Data\FA
Information:
· For each OrderXML-file, an FA-file is created with the file-name
pattern "<OrderXML>_FA_<Timestamp>.xml".
OrderXML............ Name of OrderXML
Timestamp.......... Time stamp according to the pattern ddmmyyyyhhmm
· The following codes are returned:
0 - The processing was completed successfully.
1 - Errors have occurred, so no verification was possible.
2 - Errors have occurred while processing individual files. It is
possible that individual files have been converted correctly.
FV ExecuteFV Top Previous Next
General:
[ ].................optional, can be specified, but does not have to be
( )................Selection, must be specified
| ................"or", is used in a selection
Declaration:
-executeFv <config Absolute path to ecexuteFv-Configuration-
file>
file.
-ignoreBATHAF Optional parameter. Ignores the S1-switch.
Example:
E-Sys.bat -executeFv C:\data\executeFV.config -ignoreBATHAF
Information:
· Information about the batch-command -executeFv can be
optained from the "executeFv manual".
· If a BAT/HAF test reveals that switch S1 is open, the further
execution of the command depends on parameter -ignoreBATHAF.
General:
[ ].................optional, can be specified, but does not have to be
( )................Selection, must be specified
| ................"or", is used in a selection
PDX-Import.
This command can be used to import containers (KC, IC or PDX template) into the programming system.
Declaration:
-pdximport <PDX container file> Absolute path of the container to be imported.
-project <project name> Name of the project to import a container into.
Example:
E-Sys.bat -pdximport C:\Data\ODX\TEST__03__I020.001_023_015.pdx -project TEST__03__I020_001_023_015
Information:
· The following codes are returned: 0 - The action was successful.
1 - Errors occurred so that the action could not be completed.
2 - The action was performed with errors.
3 - Unable to connect to the server.
4 - The action was performed without errors but with warnings.
PDX-Update
This command can be used to update containers with a PDX-template.
Declaration:
-pdxupdate <PDX container file> Absolute path of the container whose template is to be updated.
-out <PDX container file> Absolute path of the container to be created. If the -out paramete
the same name after the update.
-template <PDX template file> Absolute path of the PDX-template, which the container should c
Example:
E-Sys.bat -pdxupdate C:\Data\ODX\TEST__03__I020.001_023_015.pdx -out C:\Data\ODX\TEST__03__I020.001_023
C:\Data\ODX\PT01_template.003_040_000.pdx
Information:
· The following codes are returned:
0 - A PDX container was created without errors.
1 - Errors occurred so that no PDX container could be created.
2 - A PDX container with errors was created.
Create PDX-component-containers
This command can be used to create component-containers.
Partial PDX-component-container:
It is also possible to create a partial PDX-component-container. Here, a md5 hash value is used to referen
be assigned to this PDX-component-container. These referenced software-units have already been succe
previous PDX-component-container and are already available there.
Further information can be found in the instructions ESys_Handlungsanweisung_partieller_KC.pdf.
Declaration:
-pdxcontainer <PDX container definition Absolute path of the definition-file.
file>
-out <PDX container file> Absolute path of the PDX-container to be generated.
Example:
E-Sys.bat -pdxcontainer C:\Data\pdx_def.xml -out C:\Data\ODX\TEST__03__I020.001_023_020.pdx
Information:
· The PDX-container-definition-file describes the contents of the component-container. It is read and a co
and stored below the specified path.
· SWE files (BTLD, SWFL, SWFK, FLSL) of a specific ECU can be defined by reference only (see SWERefe
created container and are not present in the container.
Declaration:
-mergepdxcontainer <PDX container Absolute path of the definition-file.
definition file>
-out <PDX container file> Absolute path of the PDX-container to be generated.
Example:
E-Sys.bat -mergepdxcontainer C:\Data\pdx_merge.xml -out C:\Data\ODX\TEST__03__I020.001_023_020.pdx
Information:
· The PDX-container-definition-file describes the contents of the component-container. The file contains t
component-container (element <PDXTemplate>), and the paths of the to merge
PDX-containers (element <ContainerList>). The file is read and a corresponding PDX-container is creat
specified on the command-line
· Not supported:
- ECU-Variant-Patterns
- Documentation files of component containers
- Merging containers with the same ECU variants
Proxy Top Previous Next
General:
If an active proxy has been defined in the properties
(proxy.useProxy=true), it is taken into account in both client- and
server-client-based E-Sys-batch calls, even if you did not use a -
setProxy in the server-client-batch.
If the proxy-server requires authentication (proxy.authRequired=true
in the Properties), you are prompted to enter the login and
password for the proxy.
Only Basic-authentication is currently supported as an
authentication method on the proxy server.
Read Proxy-Status
The current Proxy-Status is output to stdout.
Declaration:
-readStatusProxy command.
Example:
E-Sys.bat -readStatusProxy
Information:
· Here is an example edition:
A proxy is used:
https://web-proxy.de:8080
No proxy-authentication required
Do not use proxy on the following URLs:
https://bmw.de
https://bmwgroup.com
Setting a Proxy
The command provides the required proxy information (proxy-host,
proxy-port, proxy-authentication, username, password, URL-
blacklist) E-Sys.
An active proxy is considered for all backend calls.
Declaration:
-setProxy <config Absolute path to the configuration-file with the
file>
proxy-server-parameters.
-dialog Backend-Login with GUI-dialog.
Example:
E-Sys.bat -server -setProxy c:\data\proxyConfig.config
E-Sys.bat -server -setProxy c:\data\proxyConfig.config -dialog
Information:
· If the switch -dialog is defined, a GUI-dialog is displayed in which
authentication-data must be entered.
· The authentication-dialog looks like this:
· The format of the configuration-file to pass is defined as follows:
# Proxy-URL e.g.: https://web-proxy.de
PROXY_HOST = <URL>
Declaration:
-removeProxy command.
Example:
E-Sys.bat -server -removeProxy
Information:
· The command is only supported in server-client-mode.
· In the Config-file, the use of Proxy is disabled, all other proxy
settings remain.
FSC / SWT (sweeping Technoligie) Top Previous Next
General:
The FSC comfort functions are also available in batch mode.
SWT-Status
This command determines the SWT status.
Declaration:
-swtstatus command.
-project <project Project name for the connection.
name>
-diagaddress The diagnostic-address of the ECU (optional
<diagnosis address>
parameter).
-vehicleinfo <vehicle Vehicle for connection.
info>
-basevariant The basevariant of the ECU (optional
<basevariant>
parameter).
Example:
E-Sys.bat -swtstatus -project I020_TEST__03__I020_001_023_015 -
diagaddress 0x33 -vehicleinfo I020 -basevariant TEST
Information:
---
SWT-Aktion
This command can be used to perform an SWT action.
Declaration:
-swtaction <config Absolute path to configuration file.
file>
Example:
E-Sys.bat -swtaction C:\conf\connection.properties
Information:
· The concrete SWT-action is defined in the configuration-file
together with the Connection Parameter and the following
parameters.
FA = <FA-Filename>
VIN = <VIN-String>
# write_vin|store|update|upgrade|deactivate
SWT_ACTION = <SWT Aktion>
BASE_VARIANT = <Basevariant>
APPLICATION_NUMBER = <Applikationsnumber>
UPGRADE_INDEX = <Upgrade-Index>
FSC = <FSC-Filename>
General:
With this batch-mode you can program and encode ECUs (SWE and CAF).
Before you can start a TAL-processing in the batch, you must first import the appropriate container.
You can import PDX containers in GUI-mode (see PDX-Charger) or batch-mode (see PDX-Container).
TAL-processing
This command starts a TAL-processing.
Declaration:
-talexecution <config file> Absolute path to configuration file.
-ignoreBATHAF Optional parameter. Ignores the S1-switch.
Example:
E-Sys.bat -talexecution C:\conf\connection.properties -ignoreBATHAF
Information:
· If a BAT/HAF test reveals that switch S1 is open, the further execution of the command depends on par
-ignoreBATHAF has been set:
The flash sequence continues. However, the user must be aware that the execution can lead to interrup
be ended with value 0 (OK), but at best with value 4 (with warning).
TAL = <TAL-Filename>
FA = <FA-Filename>
VIN = <VIN-String>
SVT = <SVT-Filename>
# on|off
CHECK_PROGRAMMING_COUNTER = on
# off|all|progress|transaction|error|tal|aep
EVENT= <Event-Filter for console output>
# on|off
FILL_INSTALLED_ECU_LIST = on
# merge|overwrite
FILL_INSTALLED_ECU_LIST_MODE = <Mode, how to fill the InstalledECUList>
# on|off
MODE_SWITCH_PROGRAMMING = <Mode-Switch during programming on/off>
# List of Gateways (diagnostic addresses in HEX), to be switched to programming mode.
# Without the parameter, all available gateways are switched.
# E.g.: 10,63
GATEWAYS_TO_SWITCH_TO_PROGRAMMING_MODE = <Gateway-List>
# on|off (If the parameter is on, the mileage is read out before the TAL-processing and written in
READ_MILEAGE_FROM_GWSZ = off
# 0-655330
MILEAGE = mileage for Fingerprint
# on|off (perform Optimized Bootloader flash on ECUs that support this functionality.
OPTIMIZABLE_BOOTLOADER_FLASH = off
# Optional Parameter.
# If specified, only client-batch-mode is considered
# Default value = off
USE_SWL_SEC_CERTIFICATE = <on|off>
# Optional Parameter.
# List of ECUs (diagnostic addresses in HEX) for which no UDS fallback may be performed.
# Alternatively, 'all' can be specified to disable the UDS fallback for all ECUs.
# The enumerated diagnostic addresses are only separated by a comma. No space may be inserted betwee
# Without the parameter, the UDS flash is executed in case of an HTTP error.
# E.g.: 10,63
ECUS_TO_PREVENT_UDS_FALLBACK = < Diagnosis adresses in HEX> | all >
· Because of "safe coding", a connection to the SWL-Sec2 must be established before executing a TAL w
This also means that the computer must have two NICs. Since E-Sys potentially has two different conn
backend and vehicle).
· A TAL with coding elements can only be run in E-Sys without server-client operation if:
· a client Certificate for SWL Security System is imported and the parameter USE_SWL_SEC_CERTIFICATE is
· OR the required test-keys are available locally
· OR the paramter USE_LOCAL_NCD is active (NCDs are signed locally)
· OR at CODING_TYPE=ncd (NCDs are signed locally)
·
· Coding of NCD for coding 3 is currently only possible with CODING_TYPE = fa
· Necessary parameters are TAL, PROJECT, VEHICLEINFO and FA or VIN.
· The configuration file can contain either an FA or a VIN, but not both. If an FA is specified, it must conta
· An FA is mandatory to handle a TAL with coding-actions (coding-TAs). Applies to CODING_TYPE=fa or ship
· CODING_TYPE = ncd allows you to encode an SG with an already existing NCD file. The option NCD_
· With CODING_TYPE = ncd, only one ECU may be encoded during a TAL-processing.
· If the configuration-file contains the parameter HDD_UPDATE_SERVER_URL, an HDD-update is perfo
performed.
· For the switches PARALLEL_PROGRAMMING, CHECK_PROGRAMMING_COUNTER and FILL_INSTALLED_ECU_LIST the values
· The default value for the parameters is the GUI values (from the Esys.properties file).
· A '\' may not be used in the configuration file. Instead, use '/' or '\\' for path information.
· The path-information for the parameters TAL, FA and TAL_FILTER can be both, absolute and relative. For r
the location of the config-file.
· All other E-Sys settings are read from the Esys.Properties file.
· The history of the TAL-processing is stored in the E-Sys log file.
Alternative TAL-processing
This command is no longer supported and removed from the next versions of E-Sys.
Please use the above command -talexecution.
Declaration:
---
Example:
---
Information:
---
TAL calculation Top Previous Next
General:
A TAL is calculated from an SVT-actual- and an SVT-target-file.
TAL-calculation
This command calculates a TAL
Declaration:
-talcalculation Absolute path to configuration file.
<config file>
Example:
E-Sys.bat -talcalculation C:\conf\connection.properties
Information:
· In the configuration-file, the following parameters can be defined
in addition to the Connection Parameter:
<gatewayTableDeploy>mustNotBeTreated</gatewayTableDeploy>
</setting>
</ecuFilter>
</talfilter>
TSL Top Previous Next
General:
2 TSL functions are supportet in Batch-Mode.
Read TSL-Status
The TSL-Status is output to stdout
Declaration:
-tslstatus command.
-connection <config Absolute path to configuration file with the
file>
connection parameter (see Connection
Parameter).
Example:
E-Sys.bat -tslstatus -connection C:\conf\connection.properties
Information:
---
TSL-Update
Declaration:
-updatetsl <SVT Absolute path to The SVT-file.
filename>
-connection <config Absolute path to configuration file with the
file>
connection parameter (see Connection
Parameter).
Example:
E-Sys.bat -updatetsl C:\data\svt.xml -connection
C:\conf\connection.properties
Information:
The following codes are returned:
0 - The processing was completed successfully.
1 - TSL update could not be started
2 - TSL update with errors
VCM (Vehicle Configuration Management) Top Previous Next
General:
The following data can be read and written from the VCM (VCM-Master or VCM-Backup): FA, FP, SVT-Ta
Declaration:
-writeVcmMaster <FA|ISTUFEN|SVTSOLL> Parameters that can take the value FA , ISTUFEN or SVTSOLL.
-connection <config file> Absolute path to configuration file with the connection param
-in <source file> Absolute path for "FA-file", "text file with I-step" or "SVT-Targ
Example:
E-Sys.bat -writeVcmMaster FA -connection C:\conf\connection.properties -in C:\Data\FA\FA_Y120BX.xml
E-Sys.bat -writeVcmMaster ISTUFEN -in C:\Data\istufen_Y120BX.txt
E-Sys.bat -writeVcmMaster SVTSOLL -connection C:\conf\connection.properties -in C:\Data\SVT\SVT_SOLL_Y1
Information:
· The I-Steps are to be passed in the "Text-file with I-Steps" in the following format:
<Current I-Step>
<Last I-Step>
<Auslieferungs-I-Step>
Declaration:
-writeVcmBackup <FA|ISTUFEN> Parameters that can take the value FA or ISTUFEN.
-connection <config file> Absolute path to configuration file with the connection param
-in <source file> Absolute path for "FA file" or "text file with I-Steps".
Example:
E-Sys.bat -writeVcmBackup FA -connection C:\conf\connection.properties -in C:\Data\FA\FA_Y120BX.xml
E-Sys.bat -writeVcmBackup ISTUFEN -connection C:\conf\connection.properties -in C:\Data\istufen_Y120BX.
Information:
· The I-Steps are to be passed in the "Text-file with I-Steps" in the following format:
<Current I-Step>
<Last I-Step>
<Auslieferungs-I-Step>
Declaration:
-readVcmMaster <FA|FP|ISTUFEN|SVTSOLL> Parameters that can take the value FA, FP , ISTUFEN or SVTSOLL
-connection <config file> Absolute path to configuration file with the connection param
-out <target directory> Absolute path for FA, FP, I-Steps- or SVT-Target-file with or w
Example:
E-Sys.bat -readVcmMaster FA -connection C:\conf\connection.properties -out C:\Data\FA
E-Sys.bat -readVcmMaster FA -connection C:\conf\connection.properties -out C:\Data\FA_123.xml
or
E-Sys.bat -readVcmMaster FP -connection C:\conf\connection.properties -out C:\Data\FP
E-Sys.bat -readVcmMaster FP -connection C:\conf\connection.properties -out C:\Data\FP\FP_123.xml
or
E-Sys.bat -readVcmMaster ISTUFEN -connection C:\conf\connection.properties -out C:\Data
E-Sys.bat -readVcmMaster ISTUFEN -connection C:\conf\connection.properties -out C:\Data\IS_123.txt
or
E-Sys.bat -readVcmMaster SVTSOLL -connection C:\conf\connection.properties -out C:\Data\SVT -connection
E-Sys.bat -readVcmMaster SVTSOLL -connection C:\conf\connection.properties -out C:\Data\SVT\SVTSOLL_123
Information:
· FA.........................If no file name is specified, the selected FA with the following file name: FA_Master_<V
· FP.........................If no file name is specified, the selected FP with the following file name: FP_Master_<V
· I-Stufe...............If no file name is specified, the destination directory contains the i-
levels read with the following file name: ISTUFEN_Master_<VIN>_<Timestamp>.txt
· SVT-Target.........If no file name is specified, the selected SVTSOLL with the following file name: SVTSO
destination directory.
Declaration:
-readVcmBackup Parameters that can take the value FA or ISTUFEN.
<FA|ISTUFEN>............................................
-connection <config Absolute path to configuration file with the connection param
file>................................................
-out <target Absolute path for FA or I-Step file with or without file-name.
directory>....................................................
Example:
E-Sys.bat -readVcmBackup FA -connection C:\conf\connection.properties -out C:\Data\FA
E-Sys.bat -readVcmBackup FA -connection C:\conf\connection.properties -out C:\Data\FA\FA_123.xml
or
E-Sys.bat -readVcmBackup ISTUFEN -connection C:\conf\connection.properties -out C:\Data
E-Sys.bat -readVcmBackup ISTUFEN -connection C:\conf\connection.properties -out C:\Data\IS_123.txt
Information:
· FA....................If no file name is specified, the selected FA with the following file name: FA_Master_<VI
· I-Stufe. .........If no file name is specified, the destination directory contains the read I levels with the foll
Declaration:
-readVinFromMaster command.
-connection <config file> Absolute path to configuration file with the connection param
Example:
E-Sys.bat -readVinFromMaster -connection C:\conf\connection.properties
Information:
· VIN is output to stdout
Declaration:
-readVinFromBackup command.
-connection <config file> Absolute path to configuration file with the connection param
Example:
E-Sys.bat -readVinFromBackup -connection C:\conf\connection.properties
Information:
· VIN is output to stdout
· The following codes are returned: 0 - The processing was completed successfully.
1 - Errors have occurred.
Certificate Management (SP18, SP21, etc.) Top Previous Next
General:
For Certificate Management, batch offers the following commands.
Read Certificate
With the following batch command, it is possible to read from the ECUs according to the container type pr
Attention!
Not all ECUs support reading of all container types.
Declaration:
-readCERT command.
-connection <config file> Absolute path to configuration file with the connection parameter (see C
Parameter).
-type <Certificate type> Type of Certificate to read: CERTIFICATE, BINDING , ONLINE_CERTIFICATES_EC
SEC_OC_KEYLIST.
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -readCERT -connection C:\conf\connection.properties -type CERTIFICATE -blacklist C:\Daten\bla
E-Sys.bat -readCERT -connection C:\conf\connection.properties -type BINDING -svt C:\SVT\SVT_I20.xml -wh
C:\Daten\whitelist.txt
E-Sys.bat -readCERT -connection C:\conf\connection.properties -type ONLINE_CERTIFICATES_ECU -svt C:\SVT
blacklist C:\Daten\blacklist.txt -whitelist C:\Daten\whitelist.txt
E-Sys.bat -readCERT -connection C:\conf\connection.properties -type SEC_OC_KEYLIST
Information:
---
Example:
E-Sys.bat -generateCSR -connection C:\conf\connection.properties -out C:\Data\CERT\requestCBB[JSON].txt
C:\Data\CERT\WBA12345671234567_CBBRequest_Restbussim_20210102_131515[JSON].txt
Information:
---
Send a Certificate request to the CBB and save the response (online)
This command sends a request file to the CBB. The obtained result is stored in a CBB response file.
This command can only be used in the BMW environment, as Certificates are obtained from one/more se
Declaration:
-getCbbResponseFromRequest <cbb Absolute path to CBB-Request-file.
request file>
-out <target directory> Absolute path to the target file. If owithted, the default path is used
response files.
Example:
E-Sys.bat -getCbbResponseFromRequest C:\Daten\WBAAE810X0H123456_CBBRequest.txt -out C:\cert\cert.txt
Information:
---
The -secOCKeys option also displays a file for residual bus simulation.
Declaration:
-writeBindings command.
-connection <config file> Absolute path to configuration file with the connection parameter (see
Parameter).
-in <CBB response file> Absolute path to file.
-secOCKeys Ability residual bus Keys. Creation of a file for residual bus simulation.
response file is required.
-svt <SVT file> Absolute path to SVT-file.
-secOCKeysPath <SecOCKeyPack Absolute path to the target file with symmetric keys. Only connection w
file>
considered.
Example:
E-Sys.bat -writeBindings -connection C:\conf\connection.properties -in
C:\Daten\WBAAE810X0H123456_CBBResponse_20210331_125817[JSON].txt" -secOCKeysPath
C:\Data\CERT\Keys\20210102_131515_SecOC_KeyPack_plain.xml
Information:
· If the parameter -secOCKeysPath <SecOCKeyPack target file> is owithted, the default path is used
Declaration:
-checkCERT command.
-connection <config file> Absolute path to configuration file with the connection parameter (see C
Parameter).
-retries <value> Number of performed scans (for 1 to a maximum of 10). example: -retr
-svt <SVT file> Absolute path to SVT-file.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -checkCERT -connection C:\conf\connection.properties -retries 3
E-Sys.bat -checkCERT -connection C:\conf\connection.properties -retries 3 -blacklist C:\Daten\blacklist
E-Sys.bat -checkCERT -connection C:\conf\connection.properties -retries 3 -blacklist C:\Daten\blacklist
C:\Daten\whitelist.txt
Information:
---
Declaration:
-certexecution <config file> Absolute path to configuration file.
Example:
E-Sys.bat -certexecution C:\Cert\CertExecution.config
Information:
· The specific certificate action is defined in the configuration file along with the Connection Parameter an
parameters:
Declaration:
-setSecOCCounter command.
-connection <config file> Absolute path to configuration file with the connection parameter (see
Parameter).
-value <hex value> Counter-Value as HEX in range of 0x0 to 0xFFFFFFFF.
-diagaddress <diagnosis address> The diagnostic address of the ECU.
-blacklist <file> Absolute path to Blacklist-file.
-whitelist <file> Absolute path to Whitelist-file.
Example:
E-Sys.bat -setSecOCCounter -connection C:\conf\connection.properties -value 0x01 -diagaddress 0x33
E-Sys.bat -setSecOCCounter -connection C:\conf\connection.properties -value 0x01 -blacklist C:\Daten\bl
whitelist C:\Daten\whitelist.txt
Information:
---
Declaration:
-activateIPsec command.
-connection <config file> Absolute path to configuration file with the connection parameter (see
Parameter).
Example:
E-Sys.bat -activateIPsec -connection C:\conf\connection.properties
Information:
---
Declaration:
-deactivateIPsec command.
-connection <config file> Absolute path to configuration file with the connection parameter (see
Parameter).
Example:
E-Sys.bat -deactivateIPsec -connection C:\conf\connection.properties
Information:
---
Declaration:
-lockIPsec command.
-connection <config file> Absolute path to configuration file with the connection parameter (see C
Parameter).
Example:
E-Sys.bat -lockIPsec -connection C:\conf\connection.properties
Information:
---
Connection Parameter Top Previous Next
General:
In order to establish a connection, the following parameters can be
defined in a batch configuration file:
PROJECT = <project name>
VEHICLEINFO = <vehicle info>
# bus|gateway_url|icom_d_can|icom_ethernet|vin
CONNECTION = <connection type>
# on|off
READ_VEHICLE_CONNECTION_PARAMETER
Keep in mind, that local admin rights are needed to make changes in the registry.
For the WAVE-11 it is necessary to ad the parameter TcpTimeWaitDelay with the value of
30.
The change can be executed automatically with the batch-file "registry-wave11.bat" located
in the lib folder (E-Sys\lib\registry-wave11.bat)