The ECUs running on kernel version 2 must be programmed with HDR files.
Each HDR file contains all the necessary information to flash a type of software to the ECU. Consequently HDR files do not need to be programmed via ECT but can be programmed directly via the Pseudoprogrammer.
The CPT files are the encrypted version of HDR.
File encryption is required for the control units that contain a decryption algorithm. When programming a control unit of this type, or when preparing files to program subsequently a control unit of this type, an interface with encryption keys specific to that type of control unit must be connected to the PC. Interfaces with encryption keys must be configured by EFI. When the interface is connected to the PC, the files generated by the command “Save firmware to file” or “Save calibration to file” will have HDR extension if the interface does not contain encryption keys or if the use of the keys has been disabled, while they will have CPT extension if the interface contains encryption keys and the use of the keys is enabled.
In the “Management HDP / CRP” form the user has the ability to generate HDP or CRP files.
The HDP files are macro containers which may contain one or more files in HDR format.
The CRP files are of macro containers which may contain one or more files in CPT format.
Encrypted software and unencrypted software can not coexist in the same file.
For example imagine you have an HDR file that contains the firmware and another HDR file that contains the calibration. Both can be individually programmed by using ECT or Pseudoprogrammer or can be inserted into one HDP file and programmed with a single command by using ECT or Pseudoprogrammer.
A HDP or CRP file may also contain software designed for different units that coexist in the same system intended as a vehicle or similar.
A HDP or CRP file can be composed by some HDR or CPT files previously generated in the transmission page via the commands “Save firmware to file” or “Save calibration to file.” In this case the currently selected device is irrelevant because the HDR or CPT files already contain the information that you need to draw from the database of the device.
A HDP or CRP file can also be composed by some HDR or CPT files generated at the time in the “HDP/CRP management” form from files with incomplete information content as BIN files or TAB calibration files. In this case the currently selected device is critical because it allows withdrawing from the database of the device the necessary information to generate the HDR or CPT temporary files that will eventually compose the HDP or CRP file.
Operations to perform to generate a HDP or CRP file
1) If the control unit uses a decryption algorithm and files CPT have not yet been generated, make sure that you have connected the EFI communication interface containing encryption keys to the PC.
2) Select the correct device in the top window.
The list of available devices includes only the devices for which it is possible to reprogram the firmware and/or calibrations.
To allow ECT to manage the reprogramming of any type of sw, you must configure the database in the memory map section. Setting the configuration parameters for the reprogramming requires a thorough understanding of the functioning of the ECU, and is usually managed by by EFI’s engineers.
To allow ECT to manage the engine/main calibration, you must configure the device database using the deviceeditor. In particular you must:
- define a descriptor for the engine/main calibration in the section ‘Calibration parameters’ .
- define an area of memory for the engine/main calibration in the memory map.
3) Next, specify in which directory you will find the files you want to include in the HDP or CRP file (files that can be included are HDR, CPT, HDP, CRP, BIN, TAB and all programmable files).
4) Select from the list the files to include in the HDP or CRP file.
In the event that the selected file is another HDP or CRP file, in the sections below you will be shown the list of the sw included in the file that will also be part of the new HDP or CRP file that you are generating.
In the event that the selected file has another extension, in the sections below you will be shown the name of the selected file.
In the event that the selected sw is a calibration and the target control unit can handle more than one calibration, in the drop down list below you can select the target calibration.
5) Next, confirm your choice by using the “Add to file HDP / CRP” command.
In the event that the selected file still needs to be converted to HDR or CPT format (because it is a BIN file, TAB file, etc.), ECT will handle the instant conversion of the file. The HDR or CPT file generated by ECT will be placed in a temporary folder awaiting final saving. In this case you will be prompted to specify for which range of serial control unit should be permitted to programming of the HDR or CPT file.
6) After the selection phase of the files to program, use the “Save to HDP or CRP file” command to save the list of sw in a new HDP or CRP file.
Similarly to HDR and CPT files, each HDP or CRP file contains all the information to program the software of which it is composed in the control unit. Consequently, HDP or CRP files do not necessarily have to be programmed via ECT but can be programmed directly via the Pseudoprogrammer.