RU2351977C2 - Method of developing ice control unit software - Google Patents
Method of developing ice control unit software Download PDFInfo
- Publication number
- RU2351977C2 RU2351977C2 RU2005126873/09A RU2005126873A RU2351977C2 RU 2351977 C2 RU2351977 C2 RU 2351977C2 RU 2005126873/09 A RU2005126873/09 A RU 2005126873/09A RU 2005126873 A RU2005126873 A RU 2005126873A RU 2351977 C2 RU2351977 C2 RU 2351977C2
- Authority
- RU
- Russia
- Prior art keywords
- software
- internal combustion
- ice
- control unit
- combustion engine
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000002485 combustion reaction Methods 0.000 claims description 42
- 239000012634 fragment Substances 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract 1
- 239000000126 substance Substances 0.000 abstract 1
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 4
- 230000004075 alteration Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 102200091804 rs104894738 Human genes 0.000 description 1
- 230000001988 toxicity Effects 0.000 description 1
- 231100000419 toxicity Toxicity 0.000 description 1
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
- Stored Programmes (AREA)
Abstract
Description
Изобретение относится к области двигателестроения и может быть использовано для защиты программного обеспечения блока управления (далее - БУ) двигателем внутреннего сгорания (далее - ДВС) транспортного средства (далее - ТС).The invention relates to the field of engine building and can be used to protect the software of the control unit (hereinafter - control unit) by an internal combustion engine (hereinafter - ICE) of a vehicle (hereinafter - vehicle).
Программное обеспечение БУ ДВС ТС включает в себя сведения, необходимые для управления ДВС:The software for the internal combustion engine of the vehicle 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.
Доводка программного обеспечения БУ ДВС ТС заключается в подборе констант и массива данных для выполнения норм токсичности и достижения требуемых пусковых и ездовых качеств.The finalization of the software of the ICE engine IC consists in the selection of constants and an array of data to meet the toxicity standards and achieve the required starting and driving qualities.
Проблемой для производителей ТС и фирм, профессионально занимающихся разработкой программного обеспечения для БУ ДВС ТС, является несанкционированное изменение содержания калибровочных таблиц, известное как “чип-тюнинг” (термин см., например, журнал “За рулем”, №б/99 г., стр.128). Вследствие изменения значений калибровочных таблиц ДВС ТС может выйти из строя или работать в аварийном режиме.The problem for vehicle manufacturers and companies that are professionally engaged in the development of software for the control system of internal combustion engines is an unauthorized change in the contents of the calibration tables, known as “chip tuning” (for the term, see, for example, the magazine “Behind the Wheel,” No. B / 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, at a minimum, to have information about the executable code, the data array with tables and constants, and the data file for calibration.
Следует отметить, что “утечка” информации о программном обеспечении может происходить уже на стадии проведения доводки программного обеспечения на работающем в составе системы управления БУ ДВС ТС.It should be noted that the “leakage” of information about the software can occur already at the stage of fine-tuning the software on the control system of the internal combustion engine IC.
Из уровня техники известны, см., например, описание к патенту RU 2146399 C1, G11C 16/06, G06K 19/00, G06F 7/10, публ. 10.03.2000 г., энергонезависимые стираемые перепрограммируемые запоминающие устройства (далее - ЭСППЗУ), предназначенные для хранения информации в условиях отсутствия подвода электрической энергии. Такие устройства нашли применение в БУ ДВС ТС (см., например, заявку DE 3917979 A1, 5 G06F 9/44, F02P 5/15, F02D 41/26, публ. 06.12.1990 г.), где они используются для записи и хранения упомянутого выше программного обеспечения БУ ДВС ТС.The prior art known, see, for example, the description of patent RU 2146399 C1, G11C 16/06, G06K 19/00, G06F 7/10, 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 ICE engine control unit (see, for example, application DE 3917979 A1, 5 G06F 9/44, F02P 5/15, F02D 41/26, publ. December 6, 1990), where they are used for recording and storage of the above-mentioned software;
Конструктивно ЭСППЗУ БУ ДВС ТС может быть интегрировано в микроконтроллер (см. журнал “АБС”, март 1999 г., стр.18-19). В этом случае в состав микроконтроллера входит (см. журнал “АБС”, март 2003 г., стр.9) микропроцессор, ЭСППЗУ и оперативное запоминающее устройство (далее - ОЗУ).Structurally, the EEPROM BU ICE TS can be integrated into the microcontroller (see the journal “ABS”, March 1999, p. 18-19). In this case, the microcontroller includes (see the “ABS” journal, March 2003, p. 9) a microprocessor, an EEPROM, and random access memory (hereinafter - RAM).
За прототип заявляемого способа взят способ доводки программного обеспечения БУ ДВС ТС на работающем ДВС, см. патент Германии DE 4107052, МКИ5 G06F 13/00, F02D 41/26, 43/04, публ. 10.09.1992 г. Способ заключается в том, что БУ ДВС ТС снабжают внешним двухпортовым ОЗУ, к первому из портов которого подключают персональный компьютер, а ко второму - микроконтроллер БУ ДВС ТС, подключают БУ ДВС к системе управления ДВС, записывают во внешнее двухпортовое ОЗУ программное обеспечение, запускают ДВС, осуществляют перевод ДВС в режим, работа ДВС в котором требует корректировки, уточняют данные калибровочных таблиц при работе ДВС в выбранном режиме работы и записывают уточненные данные во внешнее ОЗУ, а по окончании процесса доводки записывают доведенное программное обеспечение в ПЗУ БУ ДВС.For the prototype of the proposed method, a method for updating the software of the internal combustion engine of a vehicle on a working internal combustion engine is taken, see German Patent DE 4107052, MKI 5 G06F 13/00, F02D 41/26, 43/04, publ. 09/10/1992, the Method consists in the fact that the control unit of the internal combustion engine of the vehicle is equipped with an external dual-port RAM, the personal computer is connected to the first of the ports and the microcontroller of the control unit of the internal combustion engine is connected to the second one, the control unit of the internal combustion engine is connected to the control system of the internal combustion engine, and it is recorded in the external two-port RAM software, start the internal combustion engine, transfer the internal combustion engine to the mode, the internal combustion engine operation in which requires adjustment, specify the calibration table data when the internal combustion engine operates in the selected operating mode and write the updated data to external RAM, and at the end of the process carried through and write software in ROM-hand engine.
Задачей заявляемого изобретения является создание способа доводки программного обеспечения БУ ДВС ТС на работающем ДВС с повышенной степенью защиты программного обеспечения от несанкционированного копирования и изменения.The task of the claimed invention is to provide a method for fine-tuning the software of the internal combustion engine of a vehicle on a working internal combustion engine with a high degree of software protection from unauthorized copying and alteration.
Указанная задача решается в способе доводки программного обеспечения БУ ДВС ТС на работающем ДВС, при котором БУ ДВС ТС снабжают внешним двухпортовым ОЗУ, к первому из портов которого подключают персональный компьютер, а ко второму - микроконтроллер БУ ДВС ТС, снабженный ЭСППЗУ, подключают БУ ДВС к системе управления ДВС, записывают во внешнее двухпортовое ОЗУ программное обеспечение БУ ДВС ТС, запускают ДВС, осуществляют перевод ДВС в режим, работа ДВС в котором требует корректировки, уточняют данные калибровочных таблиц при работе ДВС в выбранном режиме работы, записывают уточненные данные во внешнее ОЗУ, а по окончании процесса доводки записывают доведенное программное обеспечение в ЭСППЗУ микроконтроллера БУ ДВС.This problem is solved in a way of finalizing the software of the internal combustion engine vehicle on an internal combustion engine, in which the internal combustion engine control unit is equipped with an external dual-port RAM, the personal computer is connected to the first port and the internal combustion engine equipped with an EEPROM microcontroller is connected to the internal combustion engine control unit, and the internal combustion engine control unit is connected to the internal combustion engine control system; the internal control unit of the internal combustion engine of the vehicle is written to the external dual-port RAM; the selected operating mode, write the updated data to external RAM, and at the end of the debugging process, write the brought software to the EEPROM of the ICE microcontroller.
Указанная задача решается тем, что программное обеспечение БУ ДВС ТС разделяют на два файла, первый из которых содержит массив данных с калибровочными таблицами и константами, а второй файл содержит исполняемый код, переписывают во внешнее двухпортовое ОЗУ массив данных с калибровочными таблицами и константами, записывают в ЭСППЗУ микроконтроллера исполняемый код, программно закрывают ЭСППЗУ микроконтроллера от считывания, а по окончании процесса доводки программного обеспечения изменяют массив данных с калибровочными таблицами и константами, после чего добавляют измененные адреса данных к исполняемому коду, массив данных и исполняемый код соединяют в один файл доведенного программного обеспечения, записывают доведенное программное обеспечение в ЭСППЗУ микроконтроллера БУ ДВС ТС и программно закрывают ЭСППЗУ микроконтроллера от считывания программного обеспечения. При этом в варианте реализации изобретения массив данных может быть разбит на отдельные фрагменты, которые могут быть размещены в различные места исполняемого кода.This problem is solved in that the software of the internal combustion engine engine is divided into two files, the first of which contains an array of data with calibration tables and constants, and the second file contains executable code, the data array with calibration tables and constants is transferred to an external dual-port RAM, and written to The EEPROM of the microcontroller executable code, programmatically close the EEPROM of the microcontroller from reading, and at the end of the process of fine-tuning the software, the data array with calibration tables and with constants, after which the changed data addresses are added to the executable code, the data array and the executable code are combined into one brought software file, the brought software is recorded in the EEPROM of the microcontroller of the internal combustion engine, and the EEPROM of the microcontroller is programmatically closed from reading the software. Moreover, in an embodiment of the invention, the data array can be divided into separate fragments, which can be placed in different places of the executable code.
В результате предлагаемого способа в массиве данных и исполняемом коде доведенного программного обеспечения изменяется адресация данных, благодаря чему даже в случае разблокирования ЭСППЗУ микроконтроллера для считывания программного обеспечения существенно затрудняется нахождение данных калибровочных таблиц, используемых при “чип-тюнинге”.As a result of the proposed method, the addressing of the data is changed in the data array and executable code of the brought software, which makes it even more difficult to find calibration table data used in chip tuning even if the EEPROM of the microcontroller is unlocked for reading software.
Изобретение поясняется чертежом, где изображена блок-схема устройства доводки программного обеспечения БУ ДВС ТС.The invention is illustrated in the drawing, which shows a block diagram of a device for fine-tuning software BU ICE TS.
Изобретение может быть успешно реализовано в устройстве доводки программного обеспечения БУ ДВС ТС, см. чертеж, включающей в себя БУ ДВС ТС 1, снабженный микроконтроллером 2 с ЭСППЗУ 3, персональный компьютер 4 и двухпортовое ОЗУ 5 с первым и вторым портами 6, 7.The invention can be successfully implemented in a software development device for a control unit for internal combustion engines; see the drawing, which includes a control panel for internal combustion engines TS 1, equipped with a microcontroller 2 with EEPROM 3, a personal computer 4, and dual-port RAM 5 with the first and second ports 6, 7.
Для реализации изобретения выполняют следующие действия:To implement the invention perform the following steps:
- БУ ДВС ТС 1 снабжают внешним двухпортовым ОЗУ 5, к первому из портов которого подключают персональный компьютер 4, а ко второму - микроконтроллер БУ ДВС ТС 1;- The control unit of the internal combustion engine TC 1 is equipped with an external dual-port RAM 5, the personal computer 4 is connected to the first of the ports and the microcontroller of the internal combustion engine of the TC 1 is connected to the second;
- подключают БУ ДВС к системе управления ДВС;- connect the internal combustion engine control unit to the internal combustion engine control system;
- разделяют программное обеспечение БУ ДВС ТС на исполняемый код и массив данных с калибровочными таблицами и константами;- share the software of the internal combustion engine of the vehicle into an executable code and an array of data with calibration tables and constants;
- переписывают во внешнее двухпортовое ОЗУ 5 массив данных с калибровочными таблицами и константами;- rewrite the data array with calibration tables and constants to an external two-port RAM 5;
- записывают в ЭСППЗУ микроконтроллера исполняемый код;- write the executable code in the EEPROM of the microcontroller;
- программно закрывают ЭСППЗУ микроконтроллера от считывания;- programmatically close the EEPROM of the microcontroller from reading;
- запускают ДВС;- start the internal combustion engine;
- переводят ДВС в нужный рабочий режим;- translate the engine into the desired operating mode;
- уточняют данные калибровочных таблиц;- specify the data of calibration tables;
- записывают уточненные данные во внешнее двухпортовое ОЗУ 5;- write the updated data to an external dual-port RAM 5;
- по окончании процесса доводки записывают в запоминающее устройство персонального компьютера 4 исполняемый код и массив данных с калибровочными таблицами и константами;- at the end of the debugging process, the executable code and data array with calibration tables and constants are recorded in the storage device of the personal computer 4;
- изменяют массив данных с калибровочными таблицами и константами таким образом, чтобы в результате изменения изменились адреса данных;- modify the data array with calibration tables and constants so that as a result of the change the data addresses change;
- добавляют измененные адреса данных к исполняемому коду;- add changed data addresses to the executable code;
- записывают доведенное программное обеспечение, включающее в себя измененный массив данных (с калибровочными таблицами и константами) и исполняемый код, в ЭСППЗУ 3 микроконтроллера 2 БУ ДВС ТС 1;- record the brought software, which includes the modified data array (with calibration tables and constants) and the executable code, in the EEPROM 3 of the microcontroller 2 of the control unit of the internal combustion engine of the vehicle 1;
- программно закрывают ЭСППЗУ 3 микроконтроллера 2 БУ ДВС ТС 1 от считывания программного обеспечения.- programmatically close the EEPROM 3 of the microcontroller 2 BU ICE TS 1 from reading the software.
В предпочтительном варианте реализации изобретения массив данных могут изменять посредством персонального компьютера 4, разбив его на отдельные фрагменты, которые размещают затем в различные места исполняемого кода.In a preferred embodiment of the invention, the data array can be changed using a personal computer 4, breaking it into separate fragments, which are then placed in different places of the executable code.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2005126873/09A RU2351977C2 (en) | 2005-08-25 | 2005-08-25 | Method of developing ice control unit software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2005126873/09A RU2351977C2 (en) | 2005-08-25 | 2005-08-25 | Method of developing ice control unit software |
Publications (2)
Publication Number | Publication Date |
---|---|
RU2005126873A RU2005126873A (en) | 2007-02-27 |
RU2351977C2 true RU2351977C2 (en) | 2009-04-10 |
Family
ID=37990509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
RU2005126873/09A RU2351977C2 (en) | 2005-08-25 | 2005-08-25 | Method of developing ice control unit software |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2351977C2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3917979A1 (en) * | 1989-06-02 | 1990-12-06 | Bosch Gmbh Robert | Emulator for controller, esp. ignition and/or injection controller - is for internal combustion engine and plugs into controller socket for data-program memory |
DE4107052A1 (en) * | 1991-03-06 | 1992-09-10 | Bosch Gmbh Robert | Control unit esp. for ignition and fuel injection in motor vehicle - has RAM emulation memory allowing data to be manipulated to suit different conditions |
RU2146399C1 (en) * | 1993-04-13 | 2000-03-10 | Мондекс Интернэшнл Лимитед | Method for data storage in non-volatile memory unit, method for using integral circuit device, and integral circuit device |
JP2001101015A (en) * | 1999-09-27 | 2001-04-13 | Toshiba Corp | How to share software data |
RU2189623C2 (en) * | 2000-06-27 | 2002-09-20 | Тюрин Сергей Феофентович | System for program control of manufacturing equipment |
US20040003134A1 (en) * | 2002-06-27 | 2004-01-01 | Lin Eugene S. | Software sharing model |
-
2005
- 2005-08-25 RU RU2005126873/09A patent/RU2351977C2/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3917979A1 (en) * | 1989-06-02 | 1990-12-06 | Bosch Gmbh Robert | Emulator for controller, esp. ignition and/or injection controller - is for internal combustion engine and plugs into controller socket for data-program memory |
DE4107052A1 (en) * | 1991-03-06 | 1992-09-10 | Bosch Gmbh Robert | Control unit esp. for ignition and fuel injection in motor vehicle - has RAM emulation memory allowing data to be manipulated to suit different conditions |
RU2146399C1 (en) * | 1993-04-13 | 2000-03-10 | Мондекс Интернэшнл Лимитед | Method for data storage in non-volatile memory unit, method for using integral circuit device, and integral circuit device |
JP2001101015A (en) * | 1999-09-27 | 2001-04-13 | Toshiba Corp | How to share software data |
RU2189623C2 (en) * | 2000-06-27 | 2002-09-20 | Тюрин Сергей Феофентович | System for program control of manufacturing equipment |
US20040003134A1 (en) * | 2002-06-27 | 2004-01-01 | Lin Eugene S. | Software sharing model |
Also Published As
Publication number | Publication date |
---|---|
RU2005126873A (en) | 2007-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2142168C1 (en) | Method for complete rewriting of cleared non- volatile memory | |
US8504763B2 (en) | Method and memory device that powers-up in a read-only mode and is switchable to a read/write mode | |
US8533414B2 (en) | Authentication and securing of write-once, read-many (WORM) memory devices | |
JP6739148B2 (en) | Dynamic memory address remapping in computing systems | |
US7003621B2 (en) | Methods of sanitizing a flash-based data storage device | |
US8281411B2 (en) | Security memory device and method for making same | |
US7120730B2 (en) | System and method for executing binary images | |
CN109634517A (en) | Carry out method, memory storage, electronic device and its controller of access management | |
US20080162792A1 (en) | Caching device for nand flash translation layer | |
US20090193193A1 (en) | Translation table coherency mecahanism using cache way and set index write buffers | |
JP4046877B2 (en) | Batch erase nonvolatile memory and mobile phone | |
JPH08328762A (en) | Semiconductor disk device and memory management method therefor | |
US20080189476A1 (en) | Nonvolatile semiconductor storage device and method of managing the same | |
US20100115004A1 (en) | Backup system that stores boot data file of embedded system in different strorage sections and method thereof | |
JP3125070B2 (en) | IC card | |
RU2351977C2 (en) | Method of developing ice control unit software | |
US8275969B2 (en) | Storage with persistent user data | |
US20110125865A1 (en) | Method for operating an electronic control unit during a calibration phase | |
JP2009110077A (en) | Computer system | |
JP2007323488A (en) | Data storage device and data access method | |
US20050262291A1 (en) | Method to write in a non-volatile memory and system to implement such method | |
JP4053245B2 (en) | Semiconductor memory device that can prevent unauthorized use | |
JP3899223B2 (en) | How to change / add IC card and IC card loading processing program | |
US20080147966A1 (en) | Flash memory device, update method and program search method thereof | |
RU2361104C2 (en) | Method for variation of internal combustion engine control unit software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
QA4A | Patent open for licensing |
Effective date: 20140408 |