KR20080042502A - Electronic control unit for vehicle and method of control program setup thereof - Google Patents

Electronic control unit for vehicle and method of control program setup thereof Download PDF

Info

Publication number
KR20080042502A
KR20080042502A KR1020060111039A KR20060111039A KR20080042502A KR 20080042502 A KR20080042502 A KR 20080042502A KR 1020060111039 A KR1020060111039 A KR 1020060111039A KR 20060111039 A KR20060111039 A KR 20060111039A KR 20080042502 A KR20080042502 A KR 20080042502A
Authority
KR
South Korea
Prior art keywords
memory
control program
cal
stored
program data
Prior art date
Application number
KR1020060111039A
Other languages
Korean (ko)
Inventor
전동식
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 KR1020060111039A priority Critical patent/KR20080042502A/en
Publication of KR20080042502A publication Critical patent/KR20080042502A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/126Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/3004Arrangements for executing specific machine instructions to perform operations on memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Stored Programmes (AREA)

Abstract

An ECU(Electronic Control Unit) for a vehicle and a control program setting method thereof are provided to implement stability for upgrading and reprogramming a control program by storing a calibration ID, which stores information of the control program stored/set in a volatile memory area of the ECU, to a non-volatile memory area of the ECU. A first memory(120) sets up control program data(121) to one area and stores a calibration ID(122) to another area. A processor(110) performs entire application for vehicle control according to the control program data set in the first memory. A second memory(130) stores the same calibration ID(131) as the calibration ID stored in the first memory. The calibration ID stored in the second memory is upgraded by the calibration ID stored in the first memory when the control program data is normally reprogrammed by a programming device(200).

Description

차량의 전자제어장치 및 그것의 제어 프로그램 설정방법{ELECTRONIC CONTROL UNIT FOR VEHICLE AND METHOD OF CONTROL PROGRAM SETUP THEREOF}ELECTRICAL CONTROL UNIT FOR VEHICLE AND METHOD OF CONTROL PROGRAM SETUP THEREOF

도 1은 종래의 차량에 적용되는 전자제어장치의 구조 및 제어 프로그램 설정을 도시한 구성도이다. 1 is a block diagram showing the structure and control program settings of an electronic control apparatus applied to a conventional vehicle.

도 2는 본 발명의 실시예에 따른 차량의 전자제어장치 및 제어 프로그램 설정을 도시한 구성도이다. 2 is a block diagram showing an electronic control apparatus and a control program setting of a vehicle according to an exemplary embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100 : 전자제어장치 110 : 프로세서100: electronic control device 110: processor

120 : 제1메모리 130 : 제2메모리120: first memory 130: second memory

본 발명은 차량의 전자제어장치에 관한 것으로, 더 상세하게는 전자제어장치의 휘발성 메모리 영역에 저정되며, 설정된 제어 프로그램의 정보가 기록되는 CAL ID(Calibration Identification)를 비 휘발성 영역에 백업 저장하여 제어 프로그램의 업그레이드 및 재 프로그램에 안정성을 제공하도록 하는 차량의 전자제어장치 및 그것의 제어 프로그램 설정방법에 관한 것이다.The present invention relates to an electronic control apparatus of a vehicle, and more particularly, is stored in a volatile memory region of an electronic control apparatus, and is controlled by backing and storing a CAL ID (Calibration Identification) in which information of a set control program is recorded in a nonvolatile region. The present invention relates to an electronic control apparatus of a vehicle for providing stability to upgrade and reprogramming of a program, and a control program setting method thereof.

차량의 전자제어장치에는 차량의 운행시 검출되는 각각의 조건에 따라 각 구동수단의 동작을 최적으로 제어하여 차량이 최적의 성능을 발휘할 수 있도록 하는 프로그램이 설정된다.The electronic control apparatus of the vehicle is set with a program for optimally controlling the operation of each driving means according to the respective conditions detected when the vehicle is running so that the vehicle can exhibit the optimum performance.

그러나, 차량의 고장이나 혹은 기타 이상으로 인하여 전자제어장치에 설정된 프로그램에 에러가 발생하였을 경우 차량의 제어가 비정상적으로 수행된다.However, when an error occurs in a program set in the electronic control apparatus due to a vehicle failure or other abnormality, the control of the vehicle is abnormally performed.

따라서, 전자제어장치에 설정된 프로그램을 복원하거나 업그레이드 혹은 기 설정되어 있는 프로그램을 모두 삭제한 다음 새로운 프로그램으로 재 프로그램하여야 한다.Therefore, it is necessary to restore the program set in the electronic control device, or to upgrade or delete all preset programs, and then reprogram it with a new program.

전자제어장치에 설정된 제어 프로그램을 재 프로그램하기 위해서는 첨부된 도 1에 도시된 바와 같이, 전자제어장치(10)와 프로그래밍 장치(20)를 시리얼 버스로 연결하여 프로그래밍 장치(20)에 설정되어 있는 툴을 이용하여 전자제어장치(10)에 설정된 제어 프로그램을 복원하거나 업그레이드 혹은 재 프로그래밍한다.In order to reprogram the control program set in the electronic control apparatus, as shown in FIG. 1, a tool set in the programming apparatus 20 by connecting the electronic control apparatus 10 and the programming apparatus 20 with a serial bus. Restore or upgrade or reprogram the control program set in the electronic control apparatus 10 by using.

상기한 도 1의 연결을 통해 전자제어장치(10)에 설정된 제어 프로그램을 재프로그래밍하는 동작에 대하여 개략적으로 설명하면 다음과 같다.The operation of reprogramming a control program set in the electronic control apparatus 10 through the connection of FIG. 1 will be described below.

프로그래밍 장치(20)는 이그니션 온의 상태에서 재 프로그래밍 모드로 진입하여 동작 실행이 결정되면 전자제어장치(10)에 CAL.ID를 요청한다(①).The programming device 20 enters the reprogramming mode in the ignition on state and requests the CAL. ID from the electronic controller 10 when the execution of the operation is determined (①).

상기 CAL.ID는 전자제어장치(10)에 설정된 제어 프로그램 데이터의 사양[EM 규제, 차량 시스템, 판매지역, 버전(Version)]을 판단할 수 있도록 설정되는 정보이며, 양산 이후 품질 문제로 제어 프로그램 데이터의 변경이 발생되는 경우 버전 정보만 순차적으로 표시된다.The CAL.ID is information set to determine a specification [EM regulation, vehicle system, sales region, version] of the control program data set in the electronic control apparatus 10, and the control program due to quality problems after mass production. When data changes occur, only version information is displayed sequentially.

예를 들어, 양산단계는 버전 정보가 '0'으로 시작하여 필드 문제로 개선 사양이 배포되는 경우 '0→2→3→ …' 순으로 변경된다.For example, the mass production stage may include '0 → 2 → 3 →…' if the version information starts with '0' and the improvement specification is distributed due to a field problem. 'In order.

이에 따라 전자제어장치(10)를 구성하고 있는 프로세서(11)는 휘발성 메모리인 제1메모리(12)의 특정 영역에 저장되어 있는 CAL.ID를 엑세스하여 프로그래밍 장치(20)에 제공한다(②).Accordingly, the processor 11 constituting the electronic controller 10 accesses the CAL.ID stored in the specific region of the first memory 12, which is a volatile memory, and provides the same to the programming device 20 (2). .

프로그래밍 장치(20)는 전자제어장치(10)로부터 제공되는 CAL.ID와 자신이 가지고 있는 재 프로그래밍 대상의 CAL.ID와 비교하여 일치하는지를 판단한다.The programming device 20 compares the CAL.ID provided from the electronic control device 10 with the CAL.ID of the reprogramming target that the programming device 20 has.

비교 결과 CAL.ID가 서로 일치하는 것으로 판단되면 프로그래밍 장치(20)는 업그레이드 툴(Upgrade Tool)을 이용하여 전자제어장치(10)의 제1메모리(12) 영역에 설정되어 있는 제어 프로그램 데이터를 삭제한 다음 새로운 제어 프로그램 데이터를 삭제된 영역에 재 프로그래밍함으로써, 전자제어장치(10)에 설정된 제어 프로그램의 복원이나 업그레이드 혹은 재 프로그래밍을 실행한다(③).If it is determined that the CAL.IDs match each other, the programming device 20 deletes the control program data set in the first memory 12 area of the electronic control device 10 by using an upgrade tool. Then, the new control program data is reprogrammed in the deleted area, thereby restoring, upgrading or reprogramming the control program set in the electronic control apparatus 10 (3).

상기와 같이 프로그래밍 장치(20)를 이용하여 전자제어장치(10)에 설정된 제어 프로그램을 재 프로그래밍하는 과정에서 작업자의 실수나 전원공급(배터리 전원)이 원활하지 않아 다운 경우가 발생될 수 있다.In the process of reprogramming the control program set in the electronic control apparatus 10 using the programming device 20 as described above, a mistake may occur due to an operator's mistake or power supply (battery power supply) not smooth.

이와 같이 재 프로그래밍이 도중에 다운이 발생하면 전자제어장치(10)의 제1메모리(12) 특정 영역에 저장되어 있는 CAL.ID가 삭제되어 있는 상태이므로, 재 프로그래밍을 재시도하기 위해 프로그래밍 장치(20)가 전자제어장치(10)에 CAL.ID를 요청하더라도 전자제어장치(10)는 CAL.ID를 프로그래밍 장치(20)에 전송하지 못하여 전자제어장치(10)의 재 프로그래밍을 불가능하게 만드는 문제점이 있다.In this way, if the down occurs in the middle of reprogramming, the CAL.ID stored in the specific area of the first memory 12 of the electronic controller 10 is deleted. Even if the CAL.ID is requested from the electronic controller 10, the electronic controller 10 does not transmit the CAL.ID to the programming apparatus 20, thereby making it impossible to reprogram the electronic controller 10. have.

즉, 전자제어장치의 재 프로그래밍 도중에 다운되는 경우 재 프로그래밍을 수행할 수 없어 고가의 전자제어장치를 교환하여야 하는 문제점이 발생된다. That is, when down during the reprogramming of the electronic control device, there is a problem in that an expensive electronic control device needs to be replaced because reprogramming is not possible.

본 발명은 상기와 같은 문제점을 해결하기 위하여 발명한 것으로, 그 목적은 전자제어장치의 휘발성 메모리 영역에 저장되며, 설정된 제어 프로그램의 정보가 기록되는 CAL. ID를 비 휘발성 영역에 백업 저장하여 제어 프로그램 데이터의 업그레이드 및 재 프로그램에 안정성을 제공하도록 하는 것이다.The present invention has been made to solve the above problems, the object of which is stored in the volatile memory area of the electronic control device, the CAL. The ID is backed up and stored in a non-volatile area to provide stability for upgrade and reprogramming of control program data.

상기와 같은 목적을 실현하기 위한 본 발명은 어느 하나의 특정 영역에 제어 프로그램 데이터가 설정되고, 다른 하나의 특정 영역에 CAL.ID가 저장되는 제1메모리와; 상기 제1메모리에 설정된 제어 프로그램 데이터에 따라 차량 제어에 대한 제반적인 어플리케이션을 실행하는 프로세서와; 상기 제1메모리에 저장된 CAL.ID와 동일한 CAL.ID가 저장되는 제2메모리를 포함한다.The present invention for realizing the above object comprises: a first memory in which control program data is set in one specific area and a CAL. ID is stored in another specific area; A processor that executes an overall application for vehicle control according to the control program data set in the first memory; And a second memory in which the same CAL. ID as the CAL. ID stored in the first memory is stored.

또한, 어느 하나의 특정 영역에 제어 프로그램 데이터가 설정되고, 다른 하나의 특정 영역에 CAL.ID가 저장되는 제1메모리와; 상기 제1메모리에 설정된 제어 프로그램 데이터에 따라 차량 제어에 대한 제반적인 어플리케이션을 실행하는 프로세서와; 프로그래밍 장치의 요구에 따라 상기 제1메모리에 저장된 CAL.ID가 엑세스 되는 경우 엑세스된 CAL.ID를 백업 파일로 저장하는 제2메모리를 포함한다.A first memory in which control program data is set in one specific area and CAL. ID is stored in another specific area; A processor that executes an overall application for vehicle control according to the control program data set in the first memory; And a second memory for storing the accessed CAL.ID as a backup file when the CAL.ID stored in the first memory is accessed according to a request of a programming device.

또한, 본 발명은 프로그래밍 장치와 전자제어장치를 시리얼 버스로 연결하여 전자제어장치에 설정된 제어 프로그램을 재 프로그램하는 방법에 있어서,In addition, the present invention relates to a method for reprogramming a control program set in an electronic control apparatus by connecting a programming device and an electronic control apparatus to a serial bus.

전자제어장치는 이그니션 온 상태에서 프로그래밍 장치로부터 제어 프로그램 데이터의 재 프로그래밍 요구가 검출되는지 판단하는 과정; 제어 프로그램 데이터의 재 프로그래밍이 요구되면 제1메모리에 저장되어 있는 CAL.ID를 엑세스하여 프로그래밍 장치에 제공함과 동시에 CAL.ID를 복사하여 제2메모리에 백업 파일로 저장하는 과정; 제1메모리에 제어 프로그램 데이터의 재 프로그램이 정상적으로 완료되면 제2메모리에 백업 파일로 저장된 CAL.ID를 삭제하는 과정을 포함한다.Determining whether a reprogramming request of control program data is detected from a programming device in an ignition on state; If the reprogramming of the control program data is required, accessing the CAL.ID stored in the first memory and providing the same to the programming device, and simultaneously copying the CAL.ID and storing it as a backup file in the second memory; If the reprogramming of the control program data in the first memory is normally completed, the step of deleting the CAL.ID stored as a backup file in the second memory.

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진자가 용이하게 실시할 수 있도록 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

그러나, 본 발명은 여러 가지 상이한 형태로 구현될 수 있으므로 여기에서 설명하는 실시예에 한정되지 않는다. However, the present invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.

그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였다.In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention.

도 2에 도시된 바와 같이 본 발명에 따른 차량의 전자제어장치는, 프로세서(110)와 제1메모리(120), 제2메모리(130)를 포함한다.As shown in FIG. 2, the electronic control apparatus for a vehicle according to the present invention includes a processor 110, a first memory 120, and a second memory 130.

프로세서(110)는 제1메모리(120)에 설정되는 어플레케이션 및 제어 프로그램 데이터에 따라 각각의 운행 조건에서 검출되는 정보르 분석하여 차량의 제반적인 제어를 수행한다.The processor 110 analyzes the information detected in each driving condition according to the application and control program data set in the first memory 120 to perform overall control of the vehicle.

제1메모리(120)는 휘발성 메모리로, 어느 하나의 특정 영역(121)에 제어 프로그램 데이터가 설정되고, 다른 하나의 특정 영역(122)에 CAL.ID가 설정된다.The first memory 120 is a volatile memory in which control program data is set in one specific region 121 and CAL. ID is set in another specific region 122.

제2메모리(130)는 비 휘발성 메모리로, 제1메모리(120)로부터 백업 파일로 제공되는 CAL.ID를 특정 영역에 저장한다.The second memory 130 is a nonvolatile memory, and stores the CAL. ID provided as a backup file from the first memory 120 in a specific area.

상기 제2메모리(130)에 백업 파일로 저장되는 CAL.ID는 프로그램 장치(200)와 전자제어장치(100)가 시리얼 버스로 연결되어 제어 프로그램의 업그레이드, 재 프로그램 등의 요구가 발생하는 경우 프로세서(110)가 프로그래밍 장치(200)에 CAL.ID를 제공하는 과정에서 백업 파일로 저장한다.The CAL.ID stored as a backup file in the second memory 130 is a processor when the program device 200 and the electronic control device 100 are connected by a serial bus and a request for upgrading or reprogramming of a control program occurs. In the process of providing the CAL.ID to the programming device 200, the 110 stores it as a backup file.

상기 제2메모리(130)에 백업 파일로 저장된 CAL.ID는 제1메모리(120)의 특정 영역(121)에 제어 프로그램 데이터가 정상적으로 재 프로그래밍되는 경우 자동으로 삭제 파기된다.The CAL.ID stored as a backup file in the second memory 130 is automatically deleted and destroyed when the control program data is normally reprogrammed in a specific area 121 of the first memory 120.

다른 하나의 방법은 휘발성 메모리인 제1메모리(120)의 특정 영역(122)과 비 휘발성 메모리인 제2메모리(130)의 특정 영역(131)에 CAL.ID를 각각 저장하는 방법이다.Another method is to store CAL. IDs in the specific region 122 of the first memory 120 which is a volatile memory and the specific region 131 of the second memory 130 which is a nonvolatile memory.

그리고, 제1메모리(120)의 어느 하나의 특정 영역(121)에 제어 프로그램 데이터가 정상적으로 재 프로그래밍되는 경우 재 프로그래밍 과정에서 제공되는 버전 정보를 제공받아 제1메모리(120)의 특정 영역(122)에 업그레이드 저장함과 동시에 비휘발성 메모리인 제2메모리(130)의 특정 영역(131)에도 복사하여 저장한다.When the control program data is normally reprogrammed in any one specific region 121 of the first memory 120, the specific region 122 of the first memory 120 may be provided with version information provided during the reprogramming process. At the same time as the upgrade storage is stored in the specific area 131 of the second memory 130, which is a nonvolatile memory.

따라서, 제2메모리(130)의 특정 영역(131)에 CAL.ID를 저장함으로써, 재 프로그래밍의 도중에 다운되더라도 제2메모리(130)에 CAL.ID가 저장되어 있어 재 프로그래밍의 재 시도시에 프로그래밍 장치(200)에 CAL.ID를 정상적으로 제공한다.Therefore, by storing the CAL.ID in the specific area 131 of the second memory 130, the CAL.ID is stored in the second memory 130 even when it is down during the reprogramming. The CAL.ID is normally provided to the 200.

전술한 바와 같은 구조를 갖는 본 발명에서 재 프로그래밍의 동작은 다음과 같다.Operation of the reprogramming in the present invention having the structure as described above is as follows.

이그니션 온의 상태에서 프로그래밍 장치(200)와 전자제어장치(100)를 시리얼 버스로 연결한 다음 프로그래밍 장치(200)로 재 프로그래밍 모드로 진입시키고, 전자제어장치(100)에 CAL.ID를 요청한다(⑪).In the ignition on state, the programming device 200 and the electronic control device 100 are connected to the serial bus, and then the programming device 200 enters the reprogramming mode, and the electronic control device 100 requests CAL.ID. (Iii).

이에 따라 전자제어장치(100)내의 프로세서(110)는 휘발성 메모리인 제1메모리(120)의 특정 영역(122)에 저장되어 있는 CAL.ID를 엑세스하여 프로그래밍 장치(200)에 제공한다(⑫).Accordingly, the processor 110 in the electronic control apparatus 100 accesses the CAL.ID stored in the specific region 122 of the first memory 120, which is a volatile memory, and provides the same to the programming apparatus 200 (장치). .

이때, 프로세서(110)는 비 휘발서 메모리인 제2메모리(130)의 특정 영역에 CAL.ID가 저장되어 있지 않은 경우에는 제1메모리(120)에서 엑세스한 CAL.ID를 복사하여 제2메모리(130)의 특정 영역(131)에 백업 파일로 저장한다.In this case, when the CAL. ID is not stored in a specific region of the second memory 130 which is a nonvolatile volatility memory, the processor 110 copies the CAL.ID accessed from the first memory 120 to the second memory. The data is stored as a backup file in the specific area 131 of 130.

이후, 프로그래밍 장치(200)는 전자제어장치(100)로부터 제공되는 CAL.ID와 자신이 가지고 있는 재 프로그래밍 대상의 CAL.ID와 비교하여 일치하는지를 판단하며, CAL.ID가 서로 일치하면 프로그래밍 장치(200)는 업그레이드 툴을 이용하여 전자제어장치(100)의 제1메모리(120) 영역에 설정되어 있는 제어 프로그램 데이터를 삭제한 다음 새로운 제어 프로그램 데이터를 삭제된 영역에 재 프로그래밍함으로써, 전자제어장치(100)에 설정된 제어 프로그램의 복원이나 업그레이드 혹은 재 프로그래밍을 실행한다(⑬).Thereafter, the programming device 200 compares the CAL.ID provided from the electronic control device 100 with the CAL.ID of the reprogramming target, and determines whether the programming device 200 matches the CAL.ID. The controller 200 deletes the control program data set in the area of the first memory 120 of the electronic control apparatus 100 using the upgrade tool and then reprograms the new control program data into the deleted area. Restore, upgrade or reprogram the control program set in 100).

상기한 과정을 통한 전자제어장치(100)의 재 프로그래밍이 완료되면 제어 프로그램 데이터에 포함된 CAL.ID가 제1메모리(120)의 특정 영역(122)에 저장되므로, 프로세서(110)는 제2메모리(130)의 특정 영역(131)에 저장된 CAL.ID의 백업 파일을 삭제한다.When the reprogramming of the electronic control apparatus 100 through the above-described process is completed, the CAL.ID included in the control program data is stored in the specific region 122 of the first memory 120, and thus the processor 110 may perform a second operation. The backup file of CAL. ID stored in the specific area 131 of the memory 130 is deleted.

다른 하나의 방법으로, 전자제어장치(100)의 제1메모리(120)와 제2메모리(130)에 각각 CAL.ID를 저장하고 제1메모리(120)의 특정 영역에 설정된 제어 프로그램 데이터의 재 프로그램이 이루어지는 경우 프로세서(110)가 제2메모리(130)에 저장된 CAL.ID를 업그레이드 함으로써, 제1메모리(120)와 제2메모리(130)에는 항상 동일한 최신 버전의 CAL.ID가 저장되도록 한다.As another method, the CAL.ID is stored in the first memory 120 and the second memory 130 of the electronic control apparatus 100, respectively, and the control program data set in the specific region of the first memory 120 is read again. When the program is performed, the processor 110 upgrades the CAL.ID stored in the second memory 130 so that the first memory 120 and the second memory 130 always store the same latest CAL.ID. .

본 발명은 도면에 도시된 일 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 실시예가 가능하므로 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 역시 본 발명의 권리범위에 속하는 것이다.Although the present invention has been described with reference to one embodiment shown in the drawings, this is merely exemplary, and various modifications and equivalent embodiments thereof are possible to those skilled in the art, and are defined in the following claims. Various modifications and improvements by those skilled in the art using the basic concepts of the present invention are also within the scope of the present invention.

이상에서 설명한 바와 같이 전자제어장치에 설정된 제어 프로그램의 정보를 지시하는 CAL.ID를 안정되게 관리함으로써, 제어 프로그램 데이터의 재 프로그래밍에 안정성을 제공한다.As described above, the CAL. ID indicating the information of the control program set in the electronic controller is stably managed, thereby providing stability to reprogramming of the control program data.

Claims (7)

어느 하나의 특정 영역에 제어 프로그램 데이터가 설정되고, 다른 하나의 특정 영역에 CAL.ID가 저장되는 제1메모리와;A first memory in which control program data is set in one specific area and CAL. ID is stored in another specific area; 상기 제1메모리에 설정된 제어 프로그램 데이터에 따라 차량 제어에 대한 제반적인 어플리케이션을 실행하는 프로세서와;A processor that executes an overall application for vehicle control according to the control program data set in the first memory; 상기 제1메모리에 저장된 CAL.ID와 동일한 CAL.ID가 저장되는 제2메모리를 포함하는 전자제어장치.And a second memory in which the same CAL. ID as the CAL. ID stored in the first memory is stored. 제1항에 있어서,The method of claim 1, 상기 제2메모리에 저장된 CAL.ID는 제어 프로그램 데이터의 재 프로그램이 정상적으로 완료되는 경우 제1메모리에 저정된 CAL.ID와 동일하게 업그레이드 되는 것을 특징으로 하는 전자제어장치. And the CAL.ID stored in the second memory is upgraded to be the same as the CAL.ID stored in the first memory when the reprogramming of control program data is normally completed. 어느 하나의 특정 영역에 제어 프로그램 데이터가 설정되고, 다른 하나의 특정 영역에 CAL.ID가 저장되는 제1메모리와;A first memory in which control program data is set in one specific area and CAL. ID is stored in another specific area; 상기 제1메모리에 설정된 제어 프로그램 데이터에 따라 차량 제어에 대한 제반적인 어플리케이션을 실행하는 프로세서와;A processor that executes an overall application for vehicle control according to the control program data set in the first memory; 프로그래밍 장치의 요구에 따라 상기 제1메모리에 저장된 CAL.ID가 엑세스 되는 경우 엑세스된 CAL.ID를 백업 파일로 저장하는 제2메모리를 포함하는 전자제 어장치.And a second memory for storing the accessed CAL.ID as a backup file when the CAL.ID stored in the first memory is accessed according to a request of a programming device. 제2항에 있어서,The method of claim 2, 상기 제2메모리에 백업 파일로 저장된 CAL.ID는 제1메모리의 특정 영역에 제어 프로그램 데이터의 재 프로그래밍이 정상적으로 완료되면 삭제되는 것을 특징으로 하는 전자제어장치.And the CAL. ID stored as a backup file in the second memory is deleted when the reprogramming of control program data to a specific area of the first memory is normally completed. 프로그래밍 장치와 전자제어장치를 시리얼 버스로 연결하여 전자제어장치에 설정된 제어 프로그램을 재 프로그램하는 방법에 있어서,In a method of reprogramming a control program set in an electronic controller by connecting a programming device and an electronic controller to a serial bus, 전자제어장치는 이그니션 온 상태에서 프로그래밍 장치로부터 제어 프로그램 데이터의 재 프로그래밍 요구가 검출되는지 판단하는 과정;Determining whether a reprogramming request of control program data is detected from a programming device in an ignition on state; 제어 프로그램 데이터의 재 프로그래밍이 요구되면 제1메모리에 저장되어 있는 CAL.ID를 엑세스하여 프로그래밍 장치에 제공함과 동시에 CAL.ID를 복사하여 제2메모리에 백업 파일로 저장하는 과정;If the reprogramming of the control program data is required, accessing the CAL.ID stored in the first memory and providing the same to the programming device, and simultaneously copying the CAL.ID and storing it as a backup file in the second memory; 제1메모리에 제어 프로그램 데이터의 재 프로그램이 정상적으로 완료되면 제2메모리에 백업 파일로 저장된 CAL.ID를 삭제하는 과정을 포함하는 차량의 전자제어장치 제어 프로그램 설정방법.And deleting the CAL. ID stored as a backup file in the second memory when the reprogramming of the control program data in the first memory is normally completed. 제5항에 있어서,The method of claim 5, 상기 전자제어장치의 제1메모리에 저장된 제어 프로그램 데이터의 재 프로그 램 도중에 전원 다운되어 중지된 이후 재 프로그래밍의 요구가 검출되면 제2메모리에 백업 파일로 저장한 CAL.ID를 엑세스하여 프로그래밍 장치에 제공하여 버전 체크가 가능하도록 하는 차량의 전자제어장치 제어 프로그램 설정방법.If a reprogramming request is detected after the power is down during the reprogramming of the control program data stored in the first memory of the electronic controller, the CAL.ID stored as a backup file is accessed in the second memory and provided to the programming device. How to set the electronic control device control program of the vehicle to enable the version check. 제5항에 있어서,The method of claim 5, 상기 전자제어장치의 제1메모리에 저장된 제어 프로그램 데이터의 재 프로그램 도중에 전원 다운되어 중지된 이후 재 프로그래밍의 요구가 검출되면 제2메모리에 저장된 CAL.ID를 엑세스하여 프로그래밍 장치에 제공하여 버전 체크가 가능하도록 하는 차량의 전자제어장치 제어 프로그램 설정방법.If a reprogramming request is detected after the power is down during the reprogramming of the control program data stored in the first memory of the electronic controller, the CAL.ID stored in the second memory is accessed and provided to the programming device to check the version. How to set the electronic control device control program of the vehicle.
KR1020060111039A 2006-11-10 2006-11-10 Electronic control unit for vehicle and method of control program setup thereof KR20080042502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060111039A KR20080042502A (en) 2006-11-10 2006-11-10 Electronic control unit for vehicle and method of control program setup thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060111039A KR20080042502A (en) 2006-11-10 2006-11-10 Electronic control unit for vehicle and method of control program setup thereof

Publications (1)

Publication Number Publication Date
KR20080042502A true KR20080042502A (en) 2008-05-15

Family

ID=39649199

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060111039A KR20080042502A (en) 2006-11-10 2006-11-10 Electronic control unit for vehicle and method of control program setup thereof

Country Status (1)

Country Link
KR (1) KR20080042502A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140057878A (en) * 2012-11-05 2014-05-14 콘티넨탈 오토모티브 시스템 주식회사 Data rstoration mehtod of re-programing and data rstoration apparatus
KR20160128057A (en) * 2015-04-28 2016-11-07 현대오트론 주식회사 System and method for reprogramming of vehicle
KR102399103B1 (en) * 2020-11-26 2022-05-18 (주)볼트마이크로 Apparatus and method of managing vehicle diagnosis event memory based on file system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140057878A (en) * 2012-11-05 2014-05-14 콘티넨탈 오토모티브 시스템 주식회사 Data rstoration mehtod of re-programing and data rstoration apparatus
KR20160128057A (en) * 2015-04-28 2016-11-07 현대오트론 주식회사 System and method for reprogramming of vehicle
KR102399103B1 (en) * 2020-11-26 2022-05-18 (주)볼트마이크로 Apparatus and method of managing vehicle diagnosis event memory based on file system
WO2022114754A1 (en) * 2020-11-26 2022-06-02 (주)볼트마이크로 Device and method for managing vehicle diagnosis event memory on basis of file system

Similar Documents

Publication Publication Date Title
CN110474961B (en) Method for realizing multi-path remote OTA (over the air) upgrading of pure passenger vehicle based on CAN (controller area network) bus
RU2142168C1 (en) Method for complete rewriting of cleared non- volatile memory
US6904457B2 (en) Automatic firmware update of processor nodes
US20030163664A1 (en) Method and apparatus for updating a distributed program
US8539472B2 (en) Method and system of updating shared memory
US20100122017A1 (en) Memory controller, non-volatile memory system, and host device
CN102508686A (en) Method and system for realizing safe upgrading of system
JP2007257473A (en) Onboard control unit
WO2019123747A1 (en) Electronic control device for automobile and control method thereof
JP3886539B2 (en) How to load the operating system
KR101601751B1 (en) Ecu of vehicle and boot software re-programming method thereof
KR20080042502A (en) Electronic control unit for vehicle and method of control program setup thereof
JP3385844B2 (en) vending machine
JP2016126699A (en) Electronic control unit for vehicle
TWI438402B (en) Navigation device for vehicle
JP7484791B2 (en) OTA master, update control method, and update control program
WO2012077604A1 (en) Processing device, program update method, and program
JP3028055B2 (en) PC card system and program rewriting method
JP2002175193A (en) Device and method for rewriting program
JP2001034822A (en) Controller for automatic vending machine
WO2019064644A1 (en) Electronic control device and control program verification method
CN114610355A (en) Upgrading method and device suitable for power chip control software
US20020073408A1 (en) Method for writing and erasing a non-volatile memory area
CN113176891A (en) Program programming method of ECU with backup function based on Bootloader
JP6935694B2 (en) Electronic control device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application