0% found this document useful (0 votes)
490 views58 pages

Mecal: Ecu Calibration Software

Uploaded by

castrokerman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
490 views58 pages

Mecal: Ecu Calibration Software

Uploaded by

castrokerman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 58

©

MeCal Release 1.0

Ecu Calibration Software

User Guide
© 2015 - Mectronik srl
MecTronik s.r.l.
Via Dell’Artigianato, 5
37053 – Cerea (VR)
P.IVA e CF: 03266730237
Web: www.mectronik.com
Email: [email protected]

ALL RIGHTS RESERVED. NO PART OF THIS DOCUMENT CAN BE TRANSMITTED, IN ANY FORM, TO A THIRD
ENTITIES, WITHOUT PERMISSION FROM MECTRONIK S.R.L.
THE INFORMATIONS ARE FREE TO CHANGE WITHOUT NOTICE.
AUDITS
RELEASE N. DATE AUDIT DESCRIPTION

Rev. 0 22/07/2015 First Release version to User

3 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
INDEX
INTRODUCTION .................................................................................................................................................................... 5
INSTALLATION ...................................................................................................................................................................... 7
FIRST USE .............................................................................................................................................................................. 11
MENU BAR ............................................................................................................................................................................. 18
INCONS BAR ......................................................................................................................................................................... 20
NUMERICAL EDITING ....................................................................................................................................................... 21
GRAPHIC EDITING ............................................................................................................................................................. 27
PARAMETERS EDITING .................................................................................................................................................... 30
DATABASE ............................................................................................................................................................................. 31
ECU COMUNICATION ........................................................................................................................................................ 39
FW UPGRADE ....................................................................................................................................................................... 51
DEALER FILE ....................................................................................................................................................................... 55
REFERENCE FILE................................................................................................................................................................ 58
INTRODUCTION

This manual was written to help the user to the correct use of the software, highlighting the operating methods,
illustrating its potential and suggesting the procedures to obtain the best result in the shortest time. It is not
thorough deliberately how the user will have to take to achieve maximum performance from the products cali-
brated with this tool; it will never replace the minimum competence required of the staff that will go to use it. It
is therefore always required, even if not explicitly stated, the knowledge of the operating system, the personal
computer used and the application for which they will operate. Current regulations in terms of safety should be
followed using this tool. The graphics performance, the speed of calculation of this software can also considera-
bly vary, in function of the structure hardware on which it runs. Always make sure you comply with the mini-
mum requirements to run.
Mectronik is not held responsible for the improper use of this software, loss of data or their consequences. You
should always make backup copies of data and (of) the installer of the version in use, since the manufacturer
reserves the right to change the content at any time, making available to users only the latest version released.
It is understood that the best way in learning the use of a software, is its use; for this reason we suggest you to
plan a enough period of time where test your own learning use; without a connection to an ECU.
MECAL has been developed with the target of priority to quickly of use, of a simple iteration with spreadsheets,
and editing tools to offer simplicity and flexibility. The names of the menu, their numbers and their position can
depend on the application or the Device Selected.

5 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
SYSTEM REQUIREMENTS

WIN 7 32/64 bit - WIN 8


FRAMEWORK .NET 4.5 ( IF IT‘S NOT EXISTING THE USER WILL BE WARNED – NEEDS INTERNET CONNECTION FOR DOWNLOAD)
ACROBAT READER 10
SCREEN 1024x768
2GB RAM
DISK SPACE REQUIRED 200MB
CPU 1GHz

SYSTEM RECOMMENDED

WIN 7
FRAMEWORK .NET 4.5
ACROBAT READER 10
SCREEN 2048x1536
4GB RAM
DISK SPACE REQUIRED 1GB
CPU DUALCORE 2GHz

MECAL DOES NOT WORK WITH WIN XP VERSION


INSTALLATION

The installation of the software, manuals and basic data provided in the installation package is a simple process
and driven, which allows users to freely choose either the drive or the installation directory.
We advise you to always use the folder proposed.To begin the installation simply unzip to a temporary folder
any compressed file if downloaded from the web, or by identifying the appropriate folder on the storage media
where there is SETUP.EXE

Then start the application double-clicking on its icon.

You can choose to install the driver for can-usb interfaces also. We always recommend a full installation.

This is the last chance offered to stop, without any action on your computer, the installation process.
Then proceed with the command INSTALL to install the program, confirming the choices of installation with the
flag box options, or exit the process with the command CANCEL.

Read carefully before accepting the terms of use of the software. These may vary according to the laws
of the state of belonging end user, the installation mode or of the product with which and for which the soft-

7 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
ware is distributed. Then continue by clicking the button NEXT in the case of explicit consent, or by stopping the
installation process with the command CANCEL.
During the installation process, it will store the files needed to run the program, manuals and documentation in
addition to the storage folders of the database concerning the users. The latter can also be changed in a second
time, as shown later in this manual
If the installation process checks positively choices made, and if the disk space is sufficient, the following is
shown

Press to OK button for confirm the successful installation

ACCORDING TO THE OPERATING SYSTEM, DURING THE ISTALLATION PROCESS MAY APPEAR IN
BACKGROUND THE MESSAGE:
AGREE THE MODIFICATIONS TO YOUR COMPUTER BY CLICKING ON THE BUTTON YES

At the time when the installation terminates its process, it is shown the following screen, informing you about
the successful installation.

Press to CLOSE button for close the window

In the event that you proceed to the installation on a PC which previously had never been installed the
software MECAL, it will prompt the user during its first run, a file * ECU. Locate it in the same directory where
this setup file setup.exe, and proceed as described in the next chapter.

9 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
ACCORDING TO THE INSTALLATION PACKAGE USED, MAY BE ASKED THE USER TO ACCEPT ALSO THE
INSTALLATION OF SPECIFIC DRIVERS FOR THE COMMUNICATION DEVICES SUCH AS INTERFACES USB-CAN;
IN THIS CASE, ALWAYS AGREE TO INSTALL ADDITIONAL PROPOSAL, IN ORDER TO AVOID PROBLEMS OF
COMMUNICATION WITH THE ECU
FIRST USE

Locate the icon created on the Desktop or scroll down the menu ALL PROGRAMS list, passing through
WINDOWS START icon to entry MECTRONIK -> MeCaL – Calibration Tool 1.0.0
Then launch START UP the program execution

Then select the device or the application with whom you want to start working confirming the action by clicking
on the button OPEN

THERE MAY BE MORE DEVICES ON THE SAME PRODUCT, TYPICALLY GROUPED IN TWO MACRO-
FAMILIES. THE ECU MECTRONIK OF NEW GENERATION WHICH PROVIDE TWO SEPARATE ACCESSES INTO TWO
DIFFERENT MEMORY AREAS; ONE AIMS AT DATA FACTORY (MANUFACTURER OR ENGINE MANUFACTURER)
CALLED ENGINE, AND THE OTHER ONE DEDICATED TO THE END CONSUMER CALLED STRATEGIES. ALWAYS AIMS
THE INDIVIDUAL DEVICE, AS PHYSICALLY SINGLE UNITS.IT IS ALWAYS SHOWN THE FIRMWARE COMPATIBLE
VERSION, IN THE SCREEN EXAMPLE -> 1.0.463

11 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
To add or update the list of devices on the PC in use, their related basic files or any custom configurations and
aim for use exclusively with specific products, it is possible to import a file "* .ecu" directly from the window
SELECT DEVICE as shown below, clicking the Update button.
After selecting the device, the software automatically asks the opening of a valid file on the database created
and/or in use. When the default database has been created, it always forms a work basic file for each device
existing.

Select the requested file from the list and proceed by clicking on the button OPEN

SELECT -> ALL ON ALL AREAS WHICH FILTER FILES PROPERTIES TO VIEW THE ENTIRE DATABASE
CONTENTS. IT WILL ALWAYS BE DISPLAYED ONLY THE FILES FOR THE DEVICE IN USE

13 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
MAIN VIEW

THE MAIN SOFTWARE WINDOW IS DIVIDED INTO 9 MACRO AREAS TO WHICH FOLLOW AN ADVANCED
DESCRIPTION

1 -> MENU BAR


2 -> ICONS BAR
3 -> TAB OF DATA CHOICE OF THE GROUP SELECTIONED TO EDIT
4 -> TABLE NUMBER EDITOR
5 -> TABLE GRAPHIC EDITOR
6 -> TOOL MEASUREMENT TO SHOW IN REAL TIME THE PARAMETERS OF THE ECU
7 -> INPUT CONSOLE – OUTPUT TEXT
8 -> STATUS BAR – CONNECTION SELECTION WITH THE ECU
9 -> AUTOMATIC QUICK SELECTION BAR
OPTIONS

Menu bar -> EDIT-> choose OPTIONS

Flag the connection mode to the ECU, over se-


rial RS232 or CANBUS. (Check the supported
type by the ECU)
Choose then, after connecting any USB-
interface Can, whether to use:
CAN (ANY) -> Any Mectronik interface
CAN (xxxx) -> An interface with specific SN

Folders and database files to import and export


In case the user selects a new workbook data-
base, it will start an automatic process lead to
the creation.

SEE CHAPTER DATABASE MANAGEMENT

15 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
Type the appropriate user information to generate
EULA (End User License Agreement).

THE NAME TYPED WILL BE USED TO GENERATE EULA, AND IT IS REGISTERED IN ECU AT THE TIME OF
WRITING DATA ON MEMORY. ALL REQUESTS FOR PRODUCT SUPPORT WILL OPERATE AUTOMATICALLY WITH
THESE DATA.

By command SEND REGISTRATION it will automatically sends the request for the software registration

Select the requested language and the FONT


measures used in MEASUREMENTS

The default language selected during the software


installation is ENGLISH.
After selecting a language other than the one in use,
or changing the font, it is always needed to close and
reopen the application to apply the changes
selectioned.

The commands EXPORT OPTION and IMPORT OPTION allow to export and import from a PC to another, all the
information and configurations about the choices made by the user.
These commands can also facilitate the user for an easy choice from one to more databases, without necessar-
ily remembering the storage folders position.

17 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
MENU BAR

IT SHOWS THE ONLY WORDS ALWAYS PRESENT, NOT LINKED TO THE SELECTED DEVICE. WHENEVER NOT
SHOWN ON THIS MANUAL, PLEASE REFER TO THE USER'S USE OF RELEASE FW IN USE ON THE ECU

SELECTS THE DEVICE TYPE USED

OPENS COMPATIBLE FILES WITH THE SELECTED DEVICE FROM USER DATABASE

SAVES THE MODIFICATIONS OF THE FILE IN USE INTO THE DATABASE

IMPORT A FILE EXPORTED FROM THE MeCal™ DATABASE

EXPORT A FILE FROM THE DATABASE IN USE

CLOSE THE SOFTWARE AND EXIT

The export and import data is expected and allowed only between databases on the same PC or between data-
bases allocated on different Hw platforms, but only in binary format of MECAL property.The main use is the po-
tential sharing of individual data files between users. Export data text format, csv, or excel, as described later,
can be made directly using the command copy + paste directly into applications.

DELETES IN REVERSE THE MODIFICATIONS SINCE THE LAST SAVE

APPLY IN SEQUENCE THE MODIFICATION ELIMINATED FROM THE UNDO

COPIES IN THE MEMORY THE DATA SELECTIONED

PASTE FROM THE MEMORY THE DATA

EDITS THE FILE INFORMATION OF THE USER

ENTER THE MENU OPTIONS REGARDING SOFTWARE

IT IS POSSIBLE USING THE KEYBOARD COMBINATION CTRL+C FOR THE COPY FUNCTION
AND CTRL+V FOR THE PASTE FUNCTION
OPENS THE CONNECTION AND / OR AUTOMATIC SEARCH OF ECU

CLOSE THE CONNECTION OPENED IN USE

LINE UP THE DATA BETWEEN FILES AND ECU. WRITING TO THE ECU

OPENS THE WINDOW ECU MANAGER

IT IS POSSIBLE USING THE QUICK F3 CONTROL INSTEAD OF ECU UPDATE BUTTON.

SHOWS THE SHORTCUT COMMANDS GUIDE

SHOWS INFORMATION SOFTWARE RELEASE

SOFTWARE MANUAL MAY BE CALLED IN THE SAME TO MENU SELECTED DATA OR EDITED BY COMMAND F1

19 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
INCONS BAR

THE SOFTWARE ALLOWS THE SAME CONTROL OPERATING THROUGH DIFFERENT MODE. THE USER WILL
CHOOSE ACCORDING TO HIS NEEDS THE BEST WAY.
The icons bar allows control via mouse of the following, in fact to the same described in the previous chapter

 OPEN file from Database


 SAVE changes on the file in use
 UNDO –> cancels changes
 REDO -> restore changes
 COPY stored selected data
 PASTE stored data
 INFO to save in ECU and the current file
 WRITE data in ECU
 ECU MANAGER

FOCUSING THE MOUSE OVER THE ICONS, A TOOLTIP WILL BE SHOWN WITH A BRIEF DESCRIPTION OF
THE CONTROL USEFUL TO REMIND YOU THE FUNCTIONS.
NUMERICAL EDITING
The software allows to edit and modify in the quickly way the ECU data calibration. This chapter will examine
how they plan to work with 3D charts and 2D (also called lockup table) in numerical form.

1- Map name and Z axle name, or exit type data


2- X Axle name and its measure unit
3- Break Point Values
4- Example of a column selection
5- Y Axle name and its measure unit
6- Example of a row selection
7- Example of an area selection
8- Example of a cell or single value selection

EXAMPLE SHOWN BY THE WINDOW, IT IS EVIDENT THE POSSIBILITY OF A MULTIPLE DATA SELECTION
EVEN DISCONTINUOUS NOT ADJACENT OR ON DIFFERENT AXIS. HERE THE FOLLOWING METHOD: HOLDING THE
LEFT MOUSE BUTTON AND RUNNING THE SELECTION TO THE DIRECTION DESIRED BY PRESSING THE BUTTON
ON THE KEYBOARD CTRL, THEN PROCEED TO THE NEXT SELECTION.
It is possible resize at will the editing area of 3D charts, clicking on the edges and the bottom Left, until the limit
imposed on the adjacent windows. The bars side and bottom, allow to slide the data within the window, where

21 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
the size of the edited data exceed the viewable. This possibility depends only on the size of the table and the
screen resolution used.

TABLE EDITING

Black cell = Active selection


Blue cell = Cell Modified earlier
White cell = Selection not active and unmodified
Yellow cell = Cell Value different in reference file Loaded
Green cell = Cell Value modified in working file e different in ref-
erence file

The cells modify selection is made with the mouse or keyboard. First you need to place the mouse cursor over
the table to edit, and click on a random cell in order to make active the same.
(Focus on area); The background of the selected cell will turn black. Click with the left mouse button on a cell
and dragging, you get a multiple selection of the same, (will be colored accordingly with the black background).
The same result is achieved by keyboard commands as follows: Select with the arrows ← ↑ → ↓ the starting
cell of the selection, press the SHIFT key and increase the selection in the desired direction with its arrows ← ↑
→ ↓.

Then select the data you wish to edit, you can access to the edit menu by clicking the RIGHT MOUSE BUTTON.

The menu allows you to choose how to continue


the editing operation on the data. It is possible to
copy and paste the selection into or out of the ta-
ble, proceed to the interpolation data by choosing
the direction (row or column) or call up the ap-
propriate menu of ADVANCED EDITING.

On the active selection it can alternatively proceed to direct entry of values, entering the numbers on the
keypad followed by the ENTER command.

HOTKEY FOR THE ADVANCED EDITING MENU IS F2 KEY


THE ADVANCED EDITING window has the property to
remain as the foreground application, freely
positioned in within the work area on the screen
allowing the user multiple possibilities of intervention
on data

VALUE : Applied value on the selection by clicking on SET or ENTER

FUNCTION Selecting the type of change, which specifies how and the unit of measure of the value typed

SET VALUE The numeric value entered will be applied to the selection, replacing the present values

ADD VALUE The numeric value entered will be added to the values in the selection (if negative, subtracted)

ADD PERCENT The entered numeric value indicates the percentage to be applied to the selection (even negative)

INTERPOLATE ROWS Interpolation is carried out linearly between the two extreme values of each row of selection

INTERPOLATE COLUMNS Interpolation is carried out linearly between the two extreme values of each column of the selection

SET TO MINIMUM Copy the lowest existing selected value on all the other cells

SET TO MAXIMUM Copy the highest existing selected value on all the other cells

COPY FROM LOWER ROW Copy the value of the row with the breakpoint lowest among the selected, to the remaining rows

COPY FROM UPPER ROW Copy the value of the row with the breakpoint highest among the selected, to the remaining rows

COPY FROM LOWER Copy the value of the column with the breakpoint lowest among the selected, to the remaining
COLUMN columns

COPY FROM UPPER Copy the value of the column with the lowest among the selected breakpoint, to the remaining
COLUMN columns

IF CONTROL COPY FROM LOWER OR UPPER ROW, AND IT MUST BE SELECTED A SEQUENCE OF DATA
THAT CONTAINS AT LEAST TWO LINES; THE EDITING IS ALWAYS MADE ONLY ON DATA SELECTED. THE SAME
CONCEPT, IS ALSO VALID FOR OPERATIONS ON COLUMNS.

23 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
USE THE CONTROL COPY AND PASTE EVEN INSIDE THE TABLE, ON THE SINGLE CELL OR ON A SELECTION

BREAKPOINT

MECAL allows, if provided from ECU, an efficient editing tool for the breakpoints of all tables (two or three-
dimensional), directly accessible by EDITING NUMERIC.

1 -> BREAKPOINT ARES AXIS X


2 -> BREAKPOINT AREAS AXIS Y
3 -> EDITING BREAKPOINT DATA
4 -> SHARING EDITING BREAKPOINT INFORMATION
A double left click of the mouse on breakpoint areas (on the side of its axis), allows their direct editing. The possi-
ble operations are:
CHANGING THE VALUE: Double Click on the value that want to be changed.
BREAKPOINT CANCELLATION: Select the box to delete and press CANC
ENTERING A NEW BREAKPOINT: Select a box and press INS. The function inserts a new point between the
breakpoint selected and previous, computing interpolation and proposing the value.
ALL TABLES SHARING THE BREAKPOINT WILL BE MODIFIED ACCORDINGLY

THE NEW POINTS VALUE CREATED IN THE TABLES FOR THE ADDITION OF A BREAKPOINT, WILL BE
CALCULATED AS A AVERAGE OF THE EXISTING LOWER AND UPPER POINTS. THIS ALLOWS A SUBSTANTIAL TIME
SAVING WHEN THE BREAKPOINT IS SHARED BY MORE THAN ONE TABLE

Here there is an example that illustrates the process of adding a breakpoint and how the software supports the
user in the automatic process of interpolation values on new points.

BREAKPOINT EDITING AXIS Y ( Revolutions )

CLICK ON THE VALUE 200 AND PRESS INS

25 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
THE TREND OF THE BREAKPOINT VALUES MUST BE ALWAYS MONOTONIC; THE SOFTWARE DOES NOT
ACCEPT AS A RESULT THE RELEASE OF INCONSISTENT VALUES.
GRAPHIC EDITING

In addition to MECAL editor in numerical form, the tables are also represented in a graphics; this allows the user
to have a quick evaluation on the trend of values , because an area that discontinuity of values is difficult to
evaluating in numerical form.

GRAPHIC DESCRIPTION 3D

1 -> LEGEND AXIS Z AND RELATED MEASURING UNIT


2 -> X AXIS WITH ITS VARIABLE INPUT
3 -> Y AXIS WITH ITS VARIABLE INPUT

IT IS POSSIBLE TO MOVE THE GRAPHIC AND ROTATE THE AXES AT WILL WITH MAXIMUM FREEDOM

THE SCALES ON THE TABLE ARE AUTOMATICALLY RESIZED BY SOFTWARE

27 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
ACTION SHORTCUTS

ALTERNATELY TO THE MOUSE CONTROL USE ALT+ARROWS, CTR+ARROWS, PAG. UP AND PAG. DN
2D VIEW

IT IS NOT POSSIBLE CHANGE THE VIEW IN 2D DESCRIPTION

29 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
PARAMETERS EDITING
When it is needed editing a data structure that contains values that can’t be represented as tables or as graph-
ics, it uses a tool for editing text that brings convenience for even a brief description of the parameters function.
There are also items list, where the user can make any choice by scrolling through a preset list.

Place the cursor on the box to edit, to enable the cursor editing, or double click with the mouse to select the
value to be completely changed.
If there is a items list (example -> AN1 (PIN6)), click with the mouse on the arrow in the box, scroll through the
list and confirm the choice with another mouse click.

IT IS POSSIBLE TO COPY AND PASTE ALSO IN THE EDITING PARAMETERS BOXES


DATABASE

In order to a simple and safe management of data files from the user, the software manages and helps you get
started and save files. The database supports files from multiple applications, different ECU or different firm-
ware release. The device selected and in use, informs the application about the possible incompatibility of files
stored in the database, operating as a main filter.
This process avoids to the user to use data files which are not compatible with the ECU to calibrate, automati-
cally filtering the list of choice.

FOR SAFETY REASONS, YOU MUST PERFORM A BACK UP OF YOUR DATABASE FILES, MECTRONIK CAN
NOT FOR ANY REASON LIABLE FOR LOSS, COPYING OR DAMAGED DATA. TAKEN AS A RESULT, ALL POSSIBLE
MEASURES FOR THE PROTECTION AND DATA INTEGRITY.

ITERATION WINDOW VIEW WITH DATABASE

31 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
1 -> NAME OF DATABASE RECORD 1 - IDENTIFY THE FIRST METHOD OF RESEARCH
2 -> NAME OF RECORD DATABASE 2 - IDENTIFY THE SECOND METHOD OF RESEARCH
3 -> NAME OF DATABASE RECORD 3 - IDENTIFY THE THIRD METHOD OF RESEARCH
4 -> NAME OF RECORD 4 DATABASE - IDENTIFIES THE FOURTH METHOD OF RESEARCH
5 -> DATE AND TIME IN WHICH WAS SAVED THE FILE IN THE DATABASE
6 -> FILE NAME MAP STORED IN ECU (VISIBLE WITHOUT RESTRICTIONS) *
7 -> NOTES OF THE MAP STORED IN ECU (VISIBLE WITHOUT RESTRICTIONS) *
8 -> BLUE IDENTIFICATION FILE SELECTED
9 -> SELECTING LIST QUERY RESEARCH (ALL = ALL FILES)
10 -> HEX CODE OF UNIQUE IDENTIFICATION AND VERIFICATION OF THE FILE
11 -> NOTES RELATING TO SELECTED FILES, STORED IN ONLY FILES ONLY ON THE PC
12 -> CONTROL FOR CANCELLATION OF FILES FROM DATABASE AND ITS ASSOCIATED RECORDS
13 -> CONTROL FOR OPENING THE SELECTED FILE (BLUE BACKGROUND)
14 -> CONTROL OF CLOSING THE WINDOW. NO FILES WILL BE OPEN

The Key-word of fields used by the query in the database records is customizable. It is possible to create and
manage more database files, stored on local memories or within the shared network disks. When the software
is installed, it will be proposed as the default folder c:\ Mecal\Database. To customize it, choosing or creating
new database folder:
From the Menu Bar -> EDIT-> select OPTIONS selecting the Tab -> Folders

At this point you can scroll through the folders list on your computer, or choose to create a new one.
In case of choosing a directory where there are no database files, the system prompts the user to enter the
fields of the query to use as a filter. With the buttons on the right, there are three possible scenarios, which
generally meet the main application methods. The fields are still editable, leaving the user free of choice.
IT IS NOT POSSIBLE TO MODIFY THE SEARCHING FIELDS OF THE DATABASE AFTER HAVING CREATED
IT, IF IT IS NECESSARY TO MODIFY THESE FIELDS IT WILL HAVE TO CREATE A NEW ONE, BY IMPORTING DATA
FILES PREVIOUSLY EXPORTED.

THE DATABASE CAN BE STRUCTURED FOLLOWING THE MANUFACTURER NEEDS

THE DATABASE CAN BE STRUCTURED FOLLOWING THE MANUFACTURER ENGINE NEEDS

THE DATABASE CAN BE STRUCTURED FOLLOWING A TEAM NEEDS

33 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
HOWEVER ALL FIELDS ARE EDITABLE AT WILL BY THE USER

FOR THE BEST USE AND UNDERSTAND HOW TO CREATE BENEFIT FROM THE FLEXIBILITY DATABASE,
CREATE ONE OR MORE IN ORDER TO TEST THE USE OF IT, MODIFY FIELDS OFFERED, IMPORT AND EXPORT DATA
FILES TEST.

FILE OPEN

To open a file from the database click on the icon or choose menu -> FILE-> Open DATA
It will be shown the Windows database management, where the user can select the file to edit, freely applying
the filters. Clicking on the line of the file, you can read the saved notes.

Using the item list filter, it can be applied one or more filters at will, making a quick and safe search of the de-
sired file. Choosing the "ALL" on the menu filters, disable the filter option. The research applies a &(and) logical
function between fields; in the example shown above, there will be applied the following research rule:
Search and display all archived files that contain fields
Championship Ama and Racetrack of Mugello and Rider Paul and Engine Bike B45089
Example: In case it is selected ALL in Racetrack, it will be removed from the circuits filter.
championship Ama and Rider Paul and Engine Bike B45089

SELECTING “ALL” IT WILL APPEAR ALL THE DATABASE FILES.


FILE SAVE

When you make a change in the working data file opened, the “ Save File “ icon is enabled to allow the files
saving. If the icon is not highlighted, it means therefore that the open data did not apply any
changes. When saving, it is always suggested the right proposal for proper storage.

The window Map information allow to choose name and notes which will be saved also in ECU
Name : -> Name of data file saved to both Ecu and database. Maximum 8 letters
Notes : -> Brief descriptive text, saved to both Ecu and database. Maximum 128 letters
Extended Notes : -> Wide descriptive text, only saved in the database. No limits of letters number
Checksum : -> Read-only info, which allows the unique identification and the control of the file integrity.
After clicking OK , it will be suggest the window file saving to database. Here it is possible to save the informa-
tion that allow to be storage and a indexed research.

Type the new name for each space or choose an existing one in the scroll-down menu.

Always perform the save operation on all fields proposed, but you remember that each new entry, will
be present in the item list at the next database opening. Please avoid unnecessary proliferation if not func-
tional.

35 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
FILE DELETE

After a work session or at regular intervals, it could be useful to delete obsolete files, allowing to keep archived
only essential data. To do this, it is necessary use a prepared command in the database window management.

Open file to access the database window.

1- Set filters for fast identification, (select "ALL" to disable the field)
2- Select the file according to the identification criteria (eg. Date-time, map name, notes, extended notes)
3- Click on the "Remove Selected Data"

THIS OPERATION WILL ERASE PERMANENTLY DATA FROM THE DATABASE.IT WILL NOT BE
POSSIBILE THE UNDELETE OPERATION. MOREOVER, DO NOT DELETE FILES FROM DATABASE
FOLDER MANUALLY.
FILES IMPORT AND EXPORT

There is a substantial difference between the concept of open close and save a file, relative to its import or ex-
port. When the user makes use of the command to open or save a file, it always operates within the database in
use, not taking care of its name form or its compatibility. Only useful information during the calibration process
are requested or proposed to the user, while date-time, SSID (the unique code data integrity) etc. They are al-
ways saved automatically.

Menu commands -> FILE-> Import or Export DATA instead serve exclusively for export and import data from
one database to another. They are exported only information about the name of the map and its description.
Information regarding the research fields in the database, will be asked only during the import process (within
the database in use, so even with different fields).

USE IMPORT EXPORT TO EXCHANGE FILES DATA BETWEEN USERS OR BETWEEN PCs WHICH DO NOT
SHARE THE SAME DATABASE FILES.

IMPORT A FILE TO DATABASE

37 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
ECU COMUNICATION

All operations performed on the data files, need to be transferred into the ECU memory to be applied and op-
erational. MeCal was developed with the purpose to provide the user all the tools he needs and in order to op-
erate it with the files and with the ECU, using the same tool.
To better understand how to connect and operating methodologies, it is necessary to develop certain principles
and concepts used by new generation of Mectronik’s Ecu.
The ECU uses two different types of memory for handling and storing calibration data, allowing the synchroniza-
tion in real time between PC and ECU (which can be identified as DUT or device under test), without having any
internal battery.
RAM Memory -> Memory used for reading and writing data very fast, that loses its contents when not powered.
It offers the ability to be rewritten many times without providing for a cancellation.
FLASH Memory -> Memory used for reading and writing data permanently. And it is structured in sectors and
needs to be erased before it can be rewritten. Maintains stored data for many years if not powered, with a fi-
nite number of writings and cancellations (generally at least a million times). In the Ecu design by Mectronik, the
memory device used are a extended temperature range type, up to 125 ° C, with automatic correction and veri-
fication of data integrity.
The calibration software communicate with Cpu of Ecu by a Network, it is either a point to point system (es.
RS232 ) or an infrastructure ( es. CanBus o LAN / WIFI ). All the communication operations and/or data synchro-
nization, limited to the speed and the amount of data supported by the network used, it is therefore transpar-
ent to the user, that are not related to the single application or to the specific product.
The firmware control of the ECU, by only using the calibration data stored in flash memory at its startup (that is
the moment in which the microprocessor starts working)

CPU DATA FLASH

After the startup , if a device on the network (typically a PC or a tablet) requests via network to be able to cali-
brate the ECU, it is initially copied the contents of the flash memory directly into RAM; Once this phase is ended
and the verify operation on the data, the CPU will start to use the RAM content.

DATA RAM
CPU

DATA FLASH

From this moment the user, through the software, will always synchronize the data in the RAM memory.

39 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
Since the user needs to make permanent changes to the calibration data, it is essential that the data are, of
course, saved in the flash memory. This process, which therefore ensures that during the next startup (shut-
down and subsequent restart of the ECU) will be used the last synchronized data, it is referred to "ECU STORE
TO FLASH".

DATA RAM
CPU ST
O
RE
DATA FLASH

As conceptually described above in simplified form, it introduces the best real working structure of the ECU, al-
lowing you to better understand what follows. Modern technologies allow today to provide users with innova-
tive and safe solutions to issues related both to the complexity of the technical regulations in motorsport and
the protection of intellectual rights related both to the data that the custom control algorithms. For this rea-
sons, Mectronik has developed a new concept, called DME or DUAL MEMORY ECU, leveraging the power and
flexibility of multicore microcontrollers. This new technology allows the user to have two conceptually distinct
Ecu, physically separated from one another but interconnected. The two sections are denominated:
-ENGINE -> Management engine section
-STRATEGY -> Dynamic strategies of vehicle control, the gear and the pilot.

ENGINE HS 64Bit Bus STRATEGY

NET
WOR
K

ECU
Consequently, the structure of the ECU, all the communications, connections, calibrations and operations that
are going to run, should remember this.
This system offers the possibility to operating with the same product in a completely separate way, or, in the
typical case of an ECU installed by an engines manufacturer or bikes, not to hand over any type of file or pass-
words to the team or user that will manage the bike on track. Also the team will work operating autonomously,
setting the password access on ECU and without interacting in any way with the manufacturer’s calibration da-
ta.
To make it possible and easy all this process, before the connection, it is necessary choose the correct ECU sec-
tion by selecting a “ DEVICE “ from the list.

Depending on the installation data used ( generally given from ECU ) There can be in the window, one
or more devices. Be sure always to choose both the right HW and the right firmware version used.

File menu -> Select Device

At this point select the device or the ECU section to be calibrated, selecting one from the list.

41 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
SELECTING THE WRONG DEVICE, OR THE WRONG FIRMWARE VERSION USED, IT WILL NOT BE LINK TO
THE ECU, OR IT CAN GENERATE UNEXPECTED SYSTEM ALARM.

ENGINE STRATEGY

DATA RAM
CPU S
T
O
R
DATA

ECU E FLASH

For example by selecting the STRATEGIES device from the list, the connection and the data flow, it will only be
with the strategies section of the ECU. The other section, will work in a normal way and without any limitation.

AFTER SETTING THE CONNECTION BETWEEN CALIBRATION SOFTWARE AND A DEVICE,


SWITCH THE ECU OFF AND THEN ON AGAIN, TO BE ABLE TO CONNECT TO A DIFFERENT SECTION.
THE TYPICAL CASE IS DURING A CALIBRATION PROCESS WHERE THE USER IN POSSESSION OF BOTH
OF A DEVICE ECU, IT HAS THE NEED TO BE CONNECTED TO BOTH SECTIONS. IN THIS CASE AFTER
SELECTING THE DIFFERENT DEVICE AND OPENING A DATA FILES, IT WILL BE ENOUGH SWITCH THE
ECU OFF AND THEN ON AGAIN TO CONNECT-ON AUTOMATICALLY.

In order to set the software for use the correct network to connect with the ECU, it is necessary to set correctly
the options for the connection.
Edit menu -> Option -> ECU Connection
It is also possible to access this window OPTIONS by clicking on STATUS BAR CONNECTION WITH
ECU that is at the bottom right of the screen, and then select Connection Setup. From this menu it is also pos-
sible open and close the communication or run commands to check the windows related to Ecu data.

43 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
OPEN AND CLOSE CONNECTION

After correctly configurations options related to the network or to the connection in use and the correct device
selected, you can open and engage the automatic connection with an ECU. The dedicated buttons are located in
the toolbar, or by accessing the quick menu of the status bar ECU as shown in the previous chapter.
Opens the ECU connection

-> The software automatically connects only with a "device" powered and which corresponds to the selected one.

Closes the ECU connection

-> The software interrupts the active connection or previously opened without asking for further confirmation

The STATUS BAR CONNECTION, then takes a number of colors, that quickly inform the user about the status of
the connection with a "Device"

NETWORK CLOSED -> NO ECU RESEARCH

NETWORK CAN OPEN ( S.N. OF THE INTERFACE ) -> ECU RESEARCH ACTIVE

NETWORK CAN OPEN ( S.N. OF THE INTERFACE ) -> ECU CONNECTED WHERE IT IS POSSIBLE ONLY RECEIVING
DIAGNOSTING DATA -> IT IS NOT POSSIBLE TO CALIBRATE -> VERIFY THE ENTER PASSWORD OR DEVICE

NETWORK CAN OPEN ( S.N. OF THE INTERFACE ) -> ECU CONNECTED AND CALIBRATION DATA ALIGN BETWEEN
ECU AND SOFTWARE CALIBRATION

NETWORK CAN OPEN ( S.N. OF THE INTERFACE ) -> ECU CONNECTED AND CALIBRATION DATA NOT ALIGN
BETWEEN ECU AND SOFTWARE CALIBRATION -> PROCEED TO THE MANUAL OR AUTOMATIC ALIGN
ECU DATA ALIGNMENT

When a link is established between the calibration software and the ECU, It checks the alignment of all the cali-
bration data. In order to allow the user to be able to work in real time, ensuring that the data shown on the
screen should coincide with what is present on the memory RAM (see previous chapter), it is shown in the fol-
lowing window all the useful information to inform the user, who will then decide independently the best ac-
tion to take.

The window called ECU MANAGER, presents at the top two TAB, one dedicated to the data alignment, the
other informative that will be examined later.The Tab Data Alignment is divided into two distinct vertical
sections:
At the top we find grouped the information related to calibration data RAM, for the type of device in the ECU
calibration, the checksum of the data on the PC and on the ECU, and two buttons that allow the user to choose
whether to overwrite the data in use on the RAM memory with those on the calibration software, or read the
data on the RAM of the ECU overwriting those on the calibration software.

OVERWRITES THE DATA RAM WITH THOSE PRESENT ON THE PC

45 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
OVERWRITES THE PC DATA WITH THOSE PRESENT ON ECU ( THIS COMAND CAN BE NOT ACTIVE ON EACH ECU
OR QUALIFIED ON THE DEVICE IN USE)

DATA DO NOT MATCH BETWEEN PC


AND RAM ECU

DATA MATCHE BETWEEN PC AND


RAM ECU

The bottom section on the window instead gathers information about data stored on the flash memory, or those
related to the next command STORE TO FLASH ECU which will be executed. They are reported then:

Name : Identification map name ( calibration file ) given to the user


Notes : Brief notes about the saved map
User Name : User name who did the storing
Interface : Unique identification code of the communication interface used (MAC ID if LAN)
Time Stamp : Data and time of the last Flash storing operation

It is possible during the calibration work, align data at any time and without opening the window of communi-
cation, using the F3 Hot key on the keyboard. The synchronization will happen instantly without iterations.
Check the alignment by checking the color of the ECU bar Connecting: Green = Data aligned, Blue = Press F3 to
align.

ECU DATA STORE

After aligning the data on the RAM, and when you decide to store the data in ECU, it is necessary to write the
data on FLASH memory. It is good to remember that this operation involves first erasing the memory sector
concerned, then the subsequent writing; For this reason, the process requires a time which usually is about 6-8
seconds.

START THE DATA COPY FROM RAM TO FLASH AND SAVE IT


BE SURE NOT TO TURN OFF THE ECU WHILE STORING DATA IN THE FLASH
!! SOME MODELS OF ECU MAY BE REQUIRED TO PERFORM THE WRITING WITH POWER OFF !!

PASSWORD

It is possible to protect the ECU from reading or writing unwanted calibration data, by setting a password.
This procedure allows to restrict free access to read-only diagnostic parameters. In this way, it will be possible
only the readings of basic parameters, the names and particulars of the HW and firmware installed. The login
password is stored and / or be reset in the ECU, only during the operation of Store to ECU FLASH.
It is obvious, that to be able to reset is necessary to have first access validated. Since in the ECU there are two
sections and two distinct memories, even logins and passwords are completely separate. This means that the
user sets a password exclusively on the device being used (and then exclusively to the ECU section where it has
access).

Example :
User Paolo : manager of Ecu calibration Engine section -> password: UN45K
User Luca : manager of Ecu calibration Strategies section-> password: HJ93J
Notes: Both users are in possession of all the devices to operate with the ECU.

47 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
Paolo wants to avoid that on Ecu in use, can’t be loaded files of calibration relative to the engine, setting their
passwords.
1- Select the correct device software
2- Open the file of calibration data to be written on the ECU
3- Once you have connected to the ECU, aligns the data on the RAM (DATE MATCH)
4- Set your password by clicking the button "Change Password"
5- Executes the "Store to ECU FLASH" to make permanent the password and the calibration file
From now on, to access and be able to recalibrate the ECU Engine section, it is necessary need to know the
password. The user Luca, even if in possession of the same device of Paul, He can’t access the calibration of the
ECU in the engine, and he will be limited to read-only diagnostic data and ECU identification.
All information of the window ECU MANAGER stay visible (see chapter)

The user Luca, can select the device of the person's section, and set a password to access in the same way. From
that moment, all users including Paul, can’t access the section Strategies and recalibrate if not in possession of
the password of Luca.

The software automatically protect the access with the password access, avoiding showing the window
setting when it is not necessary. This means that when you connect with a protected ECU by the same password
set on your PC, it is not require any additional information.
If the user then uses the same password on all ECU he wants to calibrate or where he programs the calibration
data, access will be transparent and automatic. Otherwise, if the user's password appears different from what is
stored on the ECU, at the time of connection it is shown in the following window, where the user types the cor-
rect code in order to proceed with the calibration operations.

Password Setting window

TO REMOVE YOUR PASSWORD ON A PREVIOUSLY PROGRAMMED ECU IT IS NECESSARY ACCESS WITH THE
CORRECT PASSWORD, AND THEN DO ONE STORE DATA ON FLASH MEMORY AND DELETING ALL THE LETTERS
FROM THE PASSWORD SETTING WINDOW ITSELF.
IF THE USER FORGET THE ECU PASSWORD ACCESS, IT WILL NOT BE POSSIBLE TO GET THROUGH TO THE
SECTION CALIBRATING. CONTACT TECHNICAL SERVICE OR DEALER TO REQUEST THE ECU RESET TO FACTORY
VALUE.
!!!!! THE RESET OPERATION WILL ERASE COMPLETELY ALL CALIBRATION DATA OF BOTH ECU SECTIONS ECU !!!!

49 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
ECU MANAGER

And it is possible to verify a series of information stored on the ECU at the time of connection, or it should be
useful to check the state of programming. Inside the ECU MANAGER window, there is a specific Tab named In-
formation. It is also possible call up the information page, clicking the icon.

Project : Hw identification code of ECU family


Model : Hw specific code, it identifies a variation
Option : hexadecimal code that identifies the options provided for and enabled on the ECU
Serial number : unique serial number of the product
Production : Production series and date of the last automatic testing performed by the manufacturer
Identifier : ID code of the Branch of the firmware in use, and its release
Engine GUID : verification code of the integrity of the sectors of the memory about the data ENGINE
Strategy GUID : verification code of the integrity of the sectors of the memory about the data STRATEGIES
xxx map Name : filename calibration data assigned by the user who made the last write
xxx notes : notes stored calibration by the user who made the last write
xxx user names : name of the user who made the last write data
xxx interface : interface code used for programming, PC or MAC ID of the user
xxx time stamp : date and time it was last writing
xxx checksum : checksum code of the file data stored

In case it is necessary or required, the user can send the packet of informa-
tion data for service. PC MUST BE CONNECTED TO A NETWORK WITH A WEB ACCESS.
FW UPGRADE

The ECU contains within it an area of memory reserved for storing instructions, or binary code Related software
control of its CPU. This "program" is called in technical slang Firmware, uniquely identifying it as performed in-
ternally by the CPU of the ECU. If updating the firmware control ECU becomes necessary, MECAL guides the
user suggesting the correct procedures.
Is required that the unit is connected to a specific wiring use builded and designed for the pourpose. Contact
the local dealer for a specific products available
For any Ecu, there is a specific FWUPGRADE document, available in the Help menu.

Use the appropriate device present in the list as shown below

Click on the Firmware Upgrade on the Upgrade menu

51 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
THE NEXT WINDOWS SHOWN ARE EXAMPLE POURPOSE ONLY. IN FACT, THEY DEPEND ON THE TYPE OF
ECU USED.

The software then offers an information window similar to the one below, to inform the user about the possible
consequences that may occur with the firmware update. To continue, you must accept the risks consciously, by
flagging the appropriate field check.
Attention, first carefully read the document shown

Then press OK to continue


Select the correct version to send to the ECU. To do so, it is show a descriptive window, informing the user
about the characteristics or the new features introduced by the update.
It is possible send to the ECU also a prior version of the release in use on the ECU.

Click on Program ECU to proceed with the upgrade. Depending on the selected ECU, will be shown instructions
about the procedures to prepare the ECU to receive the update.

53 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
THE FIRMWARE UPDATE IS ONLY THROUGH A NETWORK CONNECTED CAN INTERFACE TO CAN-USB K
(Professional version). THE INTERFACE CAN-USB L (easy version) IS NOT QUALIFIED FOR THE PROCEDURE

After following the instructions to connect the ECU and you updating the firmware correctly, you get a window
to confirm your actions. In case of an event that causes an error during the programming phase, it always gen-
erate an error message containing the detailed description of the problem encountered. In the input-output
console operations performed are visible and their relative timing. The status bar also always inform on the
procedure progress.
DEALER FILE

It is possible program the individual ECU sections with the special files called "Dealer Files" or files of data dis-
tribution (* .dis).
These files (encrypted), allow the user to program the ECU with the not editable calibration data and without
being in possession of the specific device. They are generated by a dealer or a manufacturer vehicle and are
used mainly to update and / or in combination with a new firmware release. In addition, the data files * .dis
sent to the user, may be destined for one or more specific serial numbers, limiting their use only to ECU with se-
rial number defined. This operating mode, therefore allows to handle even in remote mode, the full update of
an ECU by a manufacturer.
You can use the appropriate device present in the list as shown below

After selectiong the file to be used for the upload to the Ecu, Will appear in the following window, where the
user can check the name of the calibration file, its identification code GUID, the serial numbers on which to
write the file and an information document.

55 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
Clicking on Write in ECU, proceed with the ECU calibration file writing.
If the procedure ends successfully, it will be shown the following report window:

Otherwise, it will be shown an error report windows, as below :

In case of the wrong or missing can interface


In case of the wrong serial number of the Ecu ( if provided control )

57 | MeCal – Software for Ecu data calibration – User Manual


Mectronik Srl
REFERENCE FILE

You might also like