RU2361104C2 - Method for variation of internal combustion engine control unit software - Google Patents

Method for variation of internal combustion engine control unit software Download PDF

Info

Publication number
RU2361104C2
RU2361104C2 RU2007128295/06A RU2007128295A RU2361104C2 RU 2361104 C2 RU2361104 C2 RU 2361104C2 RU 2007128295/06 A RU2007128295/06 A RU 2007128295/06A RU 2007128295 A RU2007128295 A RU 2007128295A RU 2361104 C2 RU2361104 C2 RU 2361104C2
Authority
RU
Russia
Prior art keywords
ice
software
internal combustion
combustion engine
eeprom
Prior art date
Application number
RU2007128295/06A
Other languages
Russian (ru)
Other versions
RU2007128295A (en
Inventor
Сергей Алексеевич Шпилев (RU)
Сергей Алексеевич Шпилев
Олег Геннадьевич Черепанов (RU)
Олег Геннадьевич Черепанов
Original Assignee
Открытое акционерное общество "АВТОВАЗ"
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Открытое акционерное общество "АВТОВАЗ" filed Critical Открытое акционерное общество "АВТОВАЗ"
Priority to RU2007128295/06A priority Critical patent/RU2361104C2/en
Publication of RU2007128295A publication Critical patent/RU2007128295A/en
Application granted granted Critical
Publication of RU2361104C2 publication Critical patent/RU2361104C2/en

Links

Landscapes

  • Storage Device Security (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Stored Programmes (AREA)

Abstract

FIELD: engines and pumps.
SUBSTANCE: invention is related to the field of propulsion engineering. Method for variation of software (SW) in control unit (CU) of internal combustion engine (ICE) of transport vehicle (TV) is realised so that CU is connected to computer, using password access is opened to data stored in memory device of TV ICE CU, and changes are introduced in mentioned data with further recording of coded message on legitimacy of conducted data variation. Memory device used is power-independent electrically erasable programmable read-only memory (EEPROM). During the first record of SW in EEPROM of ICE CU, program is also recorded in EEPROM for recognition of TV ICE CU command for changeover of TV ICE CU to mode of varied SW downloading and program of decoding. Varied SW is developed and coded. In order to change SW, command is sent for changeover of TV ICE CU into mode of changed SW downloading. By means of TV ICE CU, mentioned command is recognized, and TV ICE CU is changed over to mode of varied SW downloading. Coded SW is recorded into RAM of TV ICE CU and is decoded by means of decoding program. Decoded SW is recorded into EEPROM of TV ICE CU, afterwards EEPROM of TV ICE CU is closed for reading, and TV ICE CU is changed over to working mode.
EFFECT: increased extent of software protection against unauthorised replication and variation.
1 dwg

Description

Изобретение относится к области двигателестроения и может быть использовано для защиты программного обеспечения (далее ПО) блока управления (далее БУ) двигателем внутреннего сгорания (далее ДВС) транспортного средства (далее ТС) от несанкционированного изменения.The invention relates to the field of engine building and can be used to protect software (hereinafter referred to as software) of a control unit (hereinafter BU) of an internal combustion engine (hereinafter ICE) of a vehicle (hereinafter TS) from unauthorized changes.

Известны, см., например, описание к патенту РФ № 2146399 С1, публ. 10.03.2000 г., энергонезависимые стираемые перепрограммируемые запоминающие устройства (далее ЭСППЗУ), предназначенные для хранения информации в условиях отсутствия подвода электрической энергии. Такие устройства нашли применение в БУ ДВС ТС (см., например, заявку ФРГ № 3917979 А1, публ. 06.12.1990 г.).Known, see, for example, the description of the patent of the Russian Federation No. 2146399 C1, publ. 03/10/2000, non-volatile erasable reprogrammable memory devices (hereinafter EEPROM), designed to store information in the absence of a supply of electrical energy. Such devices have found application in the control unit of the internal combustion engine of the vehicle (see, for example, the application of Germany No. 3917979 A1, publ. 06.12.1990).

ПО БУ ДВС ТС включает в себя сведения, необходимые для управления ДВС:ON BU ICE TS includes the information necessary to control the internal combustion engine:

- исполняемый код (другими словами, программу управления) с адресами массива данных;- executable code (in other words, the control program) with the addresses of the data array;

- массив данных с константами и калибровочными таблицами, используемый исполняемым кодом в зависимости от режима работы ДВС.- an array of data with constants and calibration tables used by the executable code depending on the operating mode of the engine.

Проблемой для производителей ТС является несанкционированное изменение содержания калибровочных таблиц, известное как «чип-тюнинг» (термин см., например, журнал «За рулем», №6/99 г., стр.128). Вследствие изменения значений калибровочных таблиц ДВС ТС может выйти из строя или работать в аварийном режиме.A problem for vehicle manufacturers is an unauthorized change in the contents of calibration tables, known as “chip tuning” (for the term, see, for example, the magazine “Behind the Wheel,” No. 6/99, p. 128). Due to changes in the values of the calibration tables of the internal combustion engine, the vehicle may fail or operate in emergency mode.

Для выполнения несанкционированного «чип-тюнинга» необходимо располагать информацией об исполняемом коде, массиве данных с таблицами и константами и файлом описания данных для калибровки.To perform unauthorized “chip tuning” it is necessary to have information about the executable code, the data array with tables and constants, and the data description file for calibration.

Известен способ изменения ПО БУ ДВС ТС, см. журнал «АБС», март 2003 г., стр.8, при котором БУ ДВС ТС соединяют с персональным компьютером и записывают в ЭСППЗУ БУ ДВС ТС измененное ПО.There is a known method for changing the software of the internal combustion engine of the vehicle, see the journal "ABS", March 2003, p. 8, in which the internal combustion engine of the vehicle is connected to a personal computer and recorded in the EEPROM of the internal combustion engine of the vehicle the modified software.

Известные способы изменения ПО БУ ДВС ТС характеризуются малой степенью защиты ПО от несанкционированного копирования и изменения.Known methods for changing the software BU ICE TS are characterized by a low degree of software protection from unauthorized copying and changing.

За прототип заявляемого изобретения взят способ изменения ПО БУ ДВС ТС, патент РФ №2176028 С1, публ. 20.11.2001 г., при котором БУ ДВС ТС связывают с компьютером, вводят с клавиатуры компьютера пароль, проверяют в блоке управления правильность введенного пароля, при правильном пароле открывают доступ к данным, хранящимся в постоянном запоминающем устройстве (ПЗУ), и вносят изменения в упомянутые данные. При изменении данных в ПЗУ записывают сообщение о легитимности проведенного изменения данных. Сообщение о легитимности изменения данных, которое содержит сведения о контрольных суммах данных, размещенных в секторах ПЗУ блока управления двигателем, перед записью в ПЗУ зашифровывают.For the prototype of the claimed invention, a method of changing the software of the internal combustion engine IC, RF patent No. 2176028 C1, publ. November 20, 2001, in which the control unit of the internal combustion engine of the vehicle is connected to the computer, the password is entered from the computer keyboard, the correct password is entered in the control unit, if the password is correct, access to the data stored in the read-only memory (ROM) is made, and changes are made mentioned data. When data is changed, a message about the legitimacy of the data change is recorded in the ROM. The message about the legitimacy of the data change, which contains information about the checksums of the data located in the ROM sectors of the engine control unit, is encrypted before being written to the ROM.

Однако степень защиты ПО БУ ДВС ТС от несанкционированного копирования и изменения недостаточна, поскольку существует возможность обхода сообщения о легитимности проведенного изменения данных ввиду существования ПО БУ ДВС ТС в открытом виде и, таким образом, являющимся доступным для проведения действий по дезассемблированию исходного кода и его несанкционированной модификации.However, the degree of protection of the software of the internal combustion engine of the vehicle against unauthorized copying and modification is insufficient, since there is the possibility of circumventing the message about the legitimacy of the data modification due to the existence of the software of the internal combustion engine of the vehicle in open form and, thus, available for disassembling the source code and its unauthorized modifications.

Задачей заявляемого изобретения является создание способа изменения ПО БУ ДВС ТС с повышенной степенью защиты ПО от несанкционированного копирования и изменения.The objective of the invention is the creation of a method for changing the software of the internal combustion engine of a vehicle with a high degree of software protection against unauthorized copying and alteration.

Указанная задача решается в способе изменения программного обеспечения БУ ДВС ТС, при котором БУ связывают с компьютером, через пароль открывают доступ к данным, хранящимся в запоминающем устройстве БУ ДВС ТС, и вносят изменения в упомянутые данные с последующей записью зашифрованного сообщения о легитимности проведенного изменения данных. Задача решается тем, что в качестве запоминающего устройства используют ЭСППЗУ, при первой записи программного обеспечения в ЭСППЗУ БУ ДВС в ЭСППЗУ записывают также программу для распознавания команды перевода БУ ДВС ТС в режим загрузки измененного программного обеспечения и программу дешифрирования, разрабатывают измененное программное обеспечение, зашифровывают его, а для изменения программного обеспечения подают команду на перевод БУ ДВС ТС в режим загрузки измененного программного обеспечения, распознают посредством БУ ДВС ТС упомянутую команду, переводят БУ ДВС ТС в режим загрузки измененного программного обеспечения, записывают в оперативное запоминающее устройство (ОЗУ) БУ ДВС ТС зашифрованное программное обеспечение, дешифрируют подаваемое программное обеспечение посредством программы дешифрирования, записывают дешифрированное программное обеспечение в ЭСППЗУ БУ ДВС ТС, после чего закрывают ЭСППЗУ БУ ДВС ТС от считывания и переводят БУ ДВС ТС в рабочий режим.This problem is solved in a way to change the software of the internal combustion engine vehicle, in which the control unit is connected to the computer, through a password open access to the data stored in the storage device of the internal combustion engine, and make changes to the data, followed by recording an encrypted message about the legitimacy of the data change . The problem is solved in that the EEPROM is used as a storage device, the first time the software is written to the EEPROM of the internal combustion engine, the EEPROM also records the program for recognizing the command to transfer the BIC of the internal combustion engine to the download mode of the modified software and the decryption program, develop the modified software, encrypt it , and to change the software, a command is sent to transfer the control unit of the internal combustion engine to the loading mode of the modified software, recognize by means of the internal combustion engine of the vehicle omited command, transfer the control unit of the internal combustion engine to the boot mode of the modified software, write to the random access memory (RAM) the control unit of the internal combustion engine of the encrypted software, decrypt the supplied software by means of a decryption program, write the decoded software to the EEPROM of the control panel of the internal combustion engine, and then close EEPROM BU ICE vehicle from reading and put the control unit ICE vehicle in operating mode.

На чертеже изображена блок-схема устройства для записи в БУ ДВС ТС измененного ПО.The drawing shows a block diagram of a device for recording in a control unit of an internal combustion engine vehicle a modified software.

Изобретение может быть реализовано в устройстве, см. чертеж, включающем в себя БУ 1 ДВС ТС, снабженный микроконтроллером 2 с ЭСППЗУ 3 и ОЗУ 4, а также персональный компьютер 5.The invention can be implemented in a device, see the drawing, which includes a control unit 1 engine IC, equipped with a microcontroller 2 with EEPROM 3 and RAM 4, as well as a personal computer 5.

Для реализации изобретения выполняют следующие действия:To implement the invention perform the following steps:

- При первой загрузке ПО в ЭСППЗУ 3 БУ 1 ДВС ТС записывают также программу для распознавания команды перевода измененного ПО в режим загрузки и программу дешифрирования измененного ПО, после чего программно закрывают ЭСППЗУ 3 микроконтроллера 2 БУ 1 ДВС ТС от считывания ПО;- When the software is first loaded into EEPROM 3 BU 1 ICE TS, a program is also recorded for recognizing the command to transfer the changed software to boot mode and the program for decrypting the changed software, after which the EEPROM 3 of the microcontroller 2 BU 1 ICE TS is closed by software;

- Разрабатывают измененное ПО;- Develop modified software;

- Производят шифрование измененного ПО;- Produce encryption of modified software;

- Подключают персональный компьютер 5 к БУ 1 ДВС ТС;- Connect a personal computer 5 to the control unit 1 of the internal combustion engine;

- Устанавливают в персональный компьютер 5 носитель информации с измененным ПО;- Install in the personal computer 5 storage medium with modified software;

- Через пароль открывают доступ к данным, хранящимся в ЭСППЗУ 3 БУ 1 ДВС ТС;- Through a password open access to data stored in EEPROM 3 BU 1 ICE TS;

- Для записи в ЭСППЗУ 3 БУ 1 ДВС ТС измененного ПО подают (например, посредством клавиатуры персонального компьютера) команду на перевод БУ 1 ДВС ТС в режим загрузки измененного ПО;- To write the changed software to the EEPROM 3 BU 1 ICE TS of the modified software (for example, using the keyboard of a personal computer) a command to put the BU 1 ICE of the TS into the boot mode of the changed software;

- Распознают посредством БУ 1 ДВС ТС упомянутую команду и переводят БУ 1 ДВС ТС в режим загрузки измененного ПО;- Recognize the above-mentioned command by means of the control unit 1 of the internal combustion engine of the vehicle and transfer the control unit of the internal combustion engine of the vehicle to the boot mode of the modified software;

- Записывают в ОЗУ 4 БУ 1 ДВС ТС зашифрованное ПО;- Record encrypted software in RAM 4 BU 1 ICE TS;

- Дешифрируют ПО, записанное в ОЗУ 4, посредством программы дешифрирования измененного ПО и записывают дешифрированное ПО в ЭСППЗУ 3 БУ 1 ДВС ТС;- Decrypt the software recorded in RAM 4, using the program to decrypt the modified software and record the decoded software in EEPROM 3 BU 1 ICE TS;

- Записывают в ЭСППЗУ 3 БУ 1 ДВС ТС зашифрованное сообщение о легитимности проведенного изменения данных;- Write an encrypted message on the legitimacy of the data change in the EEPROM 3 BU 1 ICE TS;

- Программно закрывают ЭСППЗУ 3 БУ 1 ДВС ТС от считывания;- Software close EEPROM 3 BU 1 ICE TS from reading;

- Переводят БУ 1 ДВС ТС из режима загрузки измененного ПО в рабочий режим.- Transfer BU 1 ICE TS from the boot mode of the changed software to the operating mode.

Таким образом, разработан способ изменения программного обеспечения блока управления двигателем внутреннего сгорания транспортного средства, характеризующийся зашифрованным исполняемым кодом, осуществлением дешифрирования только внутри микроконтроллера и защитой от считывания, что повышает степень защиты программного обеспечения от несанкционированного копирования и изменения.Thus, a method has been developed for changing the software of the vehicle’s internal combustion engine control unit, characterized by encrypted executable code, performing decryption only inside the microcontroller, and reading protection, which increases the degree of protection of the software against unauthorized copying and changing.

Claims (1)

Способ изменения программного обеспечения блока управления (БУ) двигателем внутреннего сгорания (ДВС) транспортного средства (ТС), при котором БУ связывают с компьютером, через пароль открывают доступ к данным, хранящимся в запоминающем устройстве БУ ДВС ТС, и вносят изменения в упомянутые данные с последующей записью зашифрованного сообщения о легитимности проведенного изменения данных, отличающийся тем, что в качестве запоминающего устройства используют энергонезависимое стираемое перепрограммируемое запоминающее устройство (ЭСППЗУ), при первой записи программного обеспечения в ЭСППЗУ БУ ДВС в ЭСППЗУ записывают также программу для распознавания команды перевода БУ ДВС ТС в режим загрузки измененного программного обеспечения и программу дешифрирования, разрабатывают измененное программное обеспечение, зашифровывают его, а для изменения программного обеспечения подают команду на перевод БУ ДВС ТС в режим загрузки измененного программного обеспечения, распознают посредством БУ ДВС ТС упомянутую команду, переводят БУ ДВС ТС в режим загрузки измененного программного обеспечения, записывают в оперативное запоминающее устройство (ОЗУ) БУ ДВС ТС зашифрованное программное обеспечение, дешифрируют подаваемое программное обеспечение посредством программы дешифрирования, записывают дешифрированное программное обеспечение в ЭСППЗУ БУ ДВС ТС, после чего закрывают ЭСППЗУ БУ ДВС ТС от считывания и переводят БУ ДВС ТС в рабочий режим. The method for changing the software of the control unit (BU) of the internal combustion engine (ICE) of the vehicle (TS), in which the BU is connected to a computer, open the data stored in the memory of the control unit of the ICE TS through a password and make changes to the data mentioned the subsequent recording of an encrypted message about the legitimacy of the data change, characterized in that as a storage device using a non-volatile erasable reprogrammable storage device (ESPP U), during the first recording of the software in the EEPROM of the internal combustion engine, the EEPROM also records the program for recognizing the command to transfer the internal combustion engine of the vehicle to the download mode of the modified software and the decryption program, develop the modified software, encrypt it, and send the command to change the software transfer of the control unit of the internal combustion engine to the loading mode of the modified software, recognize the command by means of the control of the internal combustion engine of the vehicle, transfer the control of the internal combustion engine of the vehicle to the loading mode of the modified software encrypted software is written to random access memory (RAM) of the control unit of the internal combustion engine of the vehicle, the encrypted software is decoded, the decoded software is decoded of the encryption, the decoded software is written to the EEPROM of the internal combustion engine, then the EEPROM of the internal combustion engine of the vehicle is closed from reading and the control unit of the internal combustion engine is closed. into working mode.
RU2007128295/06A 2007-07-23 2007-07-23 Method for variation of internal combustion engine control unit software RU2361104C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2007128295/06A RU2361104C2 (en) 2007-07-23 2007-07-23 Method for variation of internal combustion engine control unit software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2007128295/06A RU2361104C2 (en) 2007-07-23 2007-07-23 Method for variation of internal combustion engine control unit software

Publications (2)

Publication Number Publication Date
RU2007128295A RU2007128295A (en) 2009-01-27
RU2361104C2 true RU2361104C2 (en) 2009-07-10

Family

ID=40543766

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2007128295/06A RU2361104C2 (en) 2007-07-23 2007-07-23 Method for variation of internal combustion engine control unit software

Country Status (1)

Country Link
RU (1) RU2361104C2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2622777C2 (en) * 2009-08-28 2017-06-20 Вольво Ластвагнар Аб Method of detecting self-signal violation of setting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2622777C2 (en) * 2009-08-28 2017-06-20 Вольво Ластвагнар Аб Method of detecting self-signal violation of setting

Also Published As

Publication number Publication date
RU2007128295A (en) 2009-01-27

Similar Documents

Publication Publication Date Title
US7979667B2 (en) Memory array search engine
US7681024B2 (en) Secure booting apparatus and method
US20080107275A1 (en) Method and system for encryption of information stored in an external nonvolatile memory
US7761740B2 (en) Power safe translation table operation in flash memory
US8533414B2 (en) Authentication and securing of write-once, read-many (WORM) memory devices
US8156563B2 (en) Method for managing keys and/or rights objects
JP4503576B2 (en) Method and apparatus for safely updating and booting a code image
US20130159733A1 (en) Memory device which protects secure data, method of operating the memory device, and method of generating authentication information
US8438652B2 (en) Restricted erase and unlock of data storage devices
US20090228639A1 (en) Data storage device and data management method thereof
KR20040055724A (en) System, Method, and Device for Playing Back Recorded Audio, Video or Other Content From Non-Volatile Memory Cards, Compact Disks, or Other Media
US20070028115A1 (en) Method for guaranteeing the integrity and authenticity of flashware for control devices
US8983072B2 (en) Portable data carrier featuring secure data processing
US20070192631A1 (en) Encryption key in a storage system
TW201903641A (en) Data storage devices and methods for encrypting and decrypting firmware thereof
US20070116288A1 (en) System for managing keys and/or rights objects
US20110022850A1 (en) Access control for secure portable storage device
US20070243937A1 (en) Method for booting and using software for AWP and B type amusement gaming machines, and for C type casino machines
US20170004300A1 (en) Hardware protection for encrypted strings and protection of security parameters
CN114266083A (en) Secure storage method of key in chip
EP1846826A2 (en) Secure memory card with life cycle phases
RU2361104C2 (en) Method for variation of internal combustion engine control unit software
US20070294543A1 (en) Method for reading encrypted data on an optical storage medium
JP2010193013A (en) Encryption key protection method and semiconductor memory device
US7243227B1 (en) Method and apparatus to copy protect software programs

Legal Events

Date Code Title Description
QA4A Patent open for licensing

Effective date: 20140606