KR100230020B1 - Epprom diagonistic method - Google Patents

Epprom diagonistic method Download PDF

Info

Publication number
KR100230020B1
KR100230020B1 KR1019970030358A KR19970030358A KR100230020B1 KR 100230020 B1 KR100230020 B1 KR 100230020B1 KR 1019970030358 A KR1019970030358 A KR 1019970030358A KR 19970030358 A KR19970030358 A KR 19970030358A KR 100230020 B1 KR100230020 B1 KR 100230020B1
Authority
KR
South Korea
Prior art keywords
ecu
eprom
check sum
calculating
comparing
Prior art date
Application number
KR1019970030358A
Other languages
Korean (ko)
Other versions
KR19990006136A (en
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 KR1019970030358A priority Critical patent/KR100230020B1/en
Publication of KR19990006136A publication Critical patent/KR19990006136A/en
Application granted granted Critical
Publication of KR100230020B1 publication Critical patent/KR100230020B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/006Identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

본 발명은 엔진 운영 시스템 전자 제어부의 소프트웨어를 저장하고 있는 EPROM 의 정상적인 작동여부를 검사하는 EPROM 진단방법에 관한 것으로, PC에서 ECU S/W의 제1검사합을 계산하는 계산단계와, 상기 계산단계에서 얻어진 제1검사합을 ECU의 메모리에 로딩하는 저장단계와, ECU내에서 ECU S/W의 제2검사합을 계산하여 이를 상기 계산단계의 제1검사합과 비교하는 비교단계를 포함하는 것을 특징으로 한다.The present invention relates to an EPROM diagnosis method for checking whether the EPROM storing software of the engine operating system electronic control unit is normally operated. A calculation step of calculating a first inspection sum of ECU S / W in a PC, and the calculation step. And a storing step of loading the first check sum obtained in the ECU into the memory of the ECU, and a comparing step of calculating a second check sum of the ECU S / W in the ECU and comparing it with the first check sum of the calculating step. It features.

이것에 의해, 짧은 시간 동안에 동안에 EPROM의 진단이 수행된다.By this, diagnosis of the EPROM is performed during a short time.

Description

EPROM 진단방법(METHOD FOR CHECKING EPROM)METHOD FOR CHECKING EPROM

본 발명은 EPROM 진단방법에 관한 것으로, 보다 상세하게는 엔진 운영 시스템을 전자적으로 제어하는 전자 제어부의 소프트웨어를 저장하고 있는 EPROM의 정상적인 작동여부를 검사하는 EPROM 진단방법에 관한 것이다.The present invention relates to a method for diagnosing EPROM, and more particularly, to an EPROM diagnostic method for checking whether an EPROM that stores software of an electronic controller that electronically controls an engine operating system is normally operated.

이하, 종래의 경우를 설명하기로 한다.Hereinafter, the conventional case will be described.

일반적으로 EPROM(Electronical Erasable and Programmable ROM)은 전기적인 삭제와 프로그래밍이 가능한 ROM으로서, EMS(Engine Management System ; 엔진 운영 시스템) ECU(Electronic Control Unit : 전자 제어부)의 S/W(Software)를 저장하고 있는 ROM이다.In general, EPROM (Electronic Erasable and Programmable ROM) is an electrically erasable and programmable ROM that stores software of EMS (Engine Management System) and ECU (Electronic Control Unit) ECU. Is a ROM.

그런데, 이와 같은 EPROM에는 엔진의 작동을 제어하는 중요한 소프트웨어가 저장되어 있으므로, ECU를 장착한 자동차에 있어서 주행중 어떤원인에 의해 EPROM의 일부 또는 전부가 파괴되었을 경우, 엔진의 작동이 적절히 제어되지 못하여 치명적인 사고가 유발되는 문제점이 있다.However, since important software for controlling the operation of the engine is stored in such an EPROM, when some or all of the EPROM is destroyed due to some cause during driving in an ECU-equipped vehicle, the operation of the engine is not properly controlled and it is fatal. There is a problem that causes an accident.

따라서, 본 발명은 상술한 종래의 문제점을 극복하기 위한 것으로서, 본 발명의 목적은 짧은 시간 동안에 많은 처리를 하여야 하는 EMS ECU에 있어서, 간단하고 실행시간이 짧은 알고리듬에 의해 일정한 시간마다 EPROM의 진단을 수행함으로써 다른 제어기능에 영향을 주지 않는 EPROM 진단방법을 제공하는데 있다.Accordingly, an object of the present invention is to overcome the above-mentioned conventional problems, and an object of the present invention is to provide a diagnosis of EPROM at regular time intervals by a simple and short execution time algorithm in an EMS ECU which requires a lot of processing in a short time. The purpose of the present invention is to provide an EPROM diagnostic method that does not affect other control functions.

상기 본 발명의 목적을 달성하기 위한 EPROM 진단방법의 일예로서, 본 발명은 PC에서 ECU S/W의 제1검사합을 계산하는 계산단계와, 상기 계산단계에서 얻어진 제1검사합을 ECU의 메모리에 로딩하는 저장단계와, ECU내에서 ECU S/W의 제2검사합을 계산하여 이를 상기 계산단계의 제1검사합과 비교하는 비교단계를 포함하는 것을 특징으로 한다.As an example of the EPROM diagnostic method for achieving the object of the present invention, the present invention is a calculation step of calculating the first check sum of the ECU S / W in a PC, and the first check sum obtained in the calculation step is the memory of the ECU And a comparison step of calculating a second check sum of the ECU S / W in the ECU and comparing it with the first check sum of the calculation step.

이러한 구성에 의해, 짧은 시간 동안에 EPROM의 진단이 수행된다.With this arrangement, the diagnosis of the EPROM is performed in a short time.

제1도은 본 발명에 따른 EPROM 진단방법의 계산단계와 저장단계를 도시한 흐름도.1 is a flowchart showing a calculation step and a storage step of the EPROM diagnosis method according to the present invention.

제2도는 본 발명에 따른 EPROM 진단방법의 비교단계를 도시한 흐름도.2 is a flowchart illustrating a comparison step of the EPROM diagnosis method according to the present invention.

이하, 본 발명의 실시예를 첨부도면을 참조하여 상세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도1 및 도2를 참조하면, 본 발명에 따른 EPROM 진단방법은 계산단계, 저장단계 및 비교단계로 구성된다.1 and 2, the EPROM diagnosis method according to the present invention is composed of a calculation step, a storage step and a comparison step.

먼저, ECU S/W를 PC 메모리에 로딩하고(S110), 상기 S/W의 프로그램 및 데이터 영역의 데이터가 첫번째 번지부터 마지막 번지까지 1바이트씩 더해짐으로써 제1검사합이 계산된다(S120-S124). 상기 단계(S120-S124)에서 계산된 제1검사합은 PC에서 이루어져 ECU의 메모리에 로딩된다(S130).First, the ECU S / W is loaded into the PC memory (S110), and the first check sum is calculated by adding data of the program and data areas of the S / W from the first address to the last address by one byte (S120-S124). ). The first checksum calculated in the steps S120-S124 is made in the PC and loaded into the memory of the ECU (S130).

ECU에서는 일정주기마다 카운터가 초기화된 후(S210), EPROM 내의 프로그램 및 데이터 영역의 데이터가 첫번째 번지부터 마지막 번지까지 1 바이트씩 더해짐으로써 제2검사합이 이루어진다(S220-S224).In the ECU, after the counter is initialized every certain period (S210), the second check sum is performed by adding data of the program and data areas in the EPROM by one byte from the first address to the last address (S220-S224).

상기 단계(S220-S224)에서 계산된 제2검사합은 ECU에서 제1검사합과 비교되어, 두 값이 서로 동일한 경우 상기 S210 단계로 되돌아가고(S230), 상기 검사합이 동일하지 않을 경우에는 에러 세팅이 된다(S240). 세팅된 에러는 제네럴 스캔 툴(General Scan Tool)을 통해 확인된다.The second check sum calculated in the steps S220 to S224 is compared with the first check sum in the ECU, and when the two values are equal to each other, the process returns to step S210 (S230). Error setting is made (S240). The set error is confirmed by the General Scan Tool.

상술한 바와 같이, 본 발명에 따른 EPROM 진단방법은 간단하고 실행시간이 짧은 알고리듬에 의해 일정한 시간마다 EPROM의 진단이 수행하여, ECU에 대한 신뢰성이 향상되고 고장시 정비가 용이해지는 효과를 제공한다.As described above, the EPROM diagnostic method according to the present invention provides an effect of improving the reliability of the ECU and facilitating maintenance in case of failure by performing a diagnosis of the EPROM at a predetermined time by a simple and short execution time algorithm.

이상에서 설명한 것은 본 발명에 따른 EPROM 진단방법를 실시하기 위한 하나의 실시예에 불과한 것으로서, 본 발명은 상기한 실시예에 한정되지 않고, 이하의 특허청구의 범위에서 청구하는 본 발명의 요지에 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진자라면 누구든지 다양한 변경 실시가 가능할 것이다.What has been described above is only one embodiment for carrying out the EPROM diagnostic method according to the present invention, and the present invention is not limited to the above-described embodiment, and the present invention is not departing from the gist of the present invention as claimed in the following claims. Without departing from the scope of the present invention, those of ordinary skill in the art can make various modifications.

Claims (3)

PC에서 ECU S/W의 제1검사합을 계산하는 계산단계와, 상기 계산단계에서 얻어진 제1검사합을 ECU의 메모리에 로딩하는 저장단계와, ECU내에서 ECU S/W의 제2검사합을 계산하여 이를 상기 계산단계의 제1검사합과 비교하는 비교단계를 포함하는 것을 특징으로 하는 EPROM 진단방법.A calculation step of calculating a first check sum of the ECU S / W in a PC; a storing step of loading the first check sum obtained in the calculation step into the memory of the ECU; and a second check sum of the ECU S / W in the ECU. And comparing and comparing it with the first checksum of the calculating step. 제1항에 있어서, 상기 계산단계와 저장단계는 ECU S/W를 PC 메모리에 로딩하는 단계(S110)와, 상기 S/W의 프로그램 및 데이터 영역의 데이터를 첫번째 번지부터 마지막 번지까지 1바이트씩 더함으로써 제1검사합을 계산하는 단계(S120-S124)와, 상기 단계(S120-S124)에서 계산된 제1검사합을 ECU의 메모리에 로딩하는 단계(S130)를 포함하는 것을 특징으로 하는 EPROM 진단방법.The method of claim 1, wherein the calculating step and the storing step include loading the ECU S / W into the PC memory (S110), and storing data of the program and data areas of the S / W by one byte from the first address to the last address. Adding the first checksum calculated in the step S120-S124 to the memory of the ECU (S130). Diagnostic method. 제1항 또는 제2항에 있어서, 상기 비교단계는 카운터를 초기화하는 단계(S210)와, EPROM 내의 프로그램 및 데이터 영역의 데이터를 첫번째 번지부터 마지막 번지까지 1 바이트씩 더 함으로써 제2검사합을 계산하는 단계(S220-S224)와 상기 단계(S220-S224)에서 계산된 제2검사합을 제1검사합과 비교하여 동일할 경우 S210단계로 되돌아가는 단계(S230)와, 상기 검사값이 동일하지 않을 경우 에러 세팅(S240)을 하는 단계를 포함하는 것을 특징으로 하는 EPROM 진단방법.The method of claim 1 or 2, wherein the comparing step includes initializing a counter (S210) and calculating a second check sum by adding data of a program and a data area in the EPROM by one byte from the first address to the last address. If the step (S220-S224) and the second check sum calculated in the step (S220-S224) is the same compared with the first check sum, returning to step S210 (S230) and the check value is not the same If not, the EPROM diagnostic method comprising the step of setting the error (S240).
KR1019970030358A 1997-06-30 1997-06-30 Epprom diagonistic method KR100230020B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970030358A KR100230020B1 (en) 1997-06-30 1997-06-30 Epprom diagonistic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970030358A KR100230020B1 (en) 1997-06-30 1997-06-30 Epprom diagonistic method

Publications (2)

Publication Number Publication Date
KR19990006136A KR19990006136A (en) 1999-01-25
KR100230020B1 true KR100230020B1 (en) 1999-11-15

Family

ID=19513047

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970030358A KR100230020B1 (en) 1997-06-30 1997-06-30 Epprom diagonistic method

Country Status (1)

Country Link
KR (1) KR100230020B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010004387A (en) * 1999-06-28 2001-01-15 김영환 Device and method for testing Memory module
KR20080009313A (en) * 2005-06-03 2008-01-28 김희정 Anion receptor and electrolyte using the same

Also Published As

Publication number Publication date
KR19990006136A (en) 1999-01-25

Similar Documents

Publication Publication Date Title
US5826211A (en) Electronic controller having excellent control program and control data overwriting capabilities
US7251551B2 (en) On-vehicle electronic control device
US6081755A (en) Vehicle control device
JP4404147B2 (en) In-vehicle electronic control device and information updating method for in-vehicle electronic control device
US7437218B2 (en) Method and device for controlling the functional unit of a motor vehicle
US6067586A (en) Method for checking a first processor performing functions by a data word received and stored, and modified after performing a given function, and monitored by a second processor
JP2001508897A (en) Vehicle controller memory reset system and method
KR100230020B1 (en) Epprom diagonistic method
US6564177B1 (en) Electronic device
JP4001088B2 (en) Electronic control unit
US6125309A (en) Vehicle control device
US7360013B2 (en) Method of rewriting flash EEPROM and electronic control device using same
JP2002091834A (en) Rom diagnostic device
US11169828B2 (en) Electronic control unit and method for verifying control program
JP3995717B2 (en) Method of operating a control device having a programmable memory device
JP3296043B2 (en) Vehicle electronic control unit
US7725644B2 (en) Memory device and an arrangement for protecting software programs against inadvertent execution
US6295589B1 (en) Apparatus and method prohibiting RAM diagnosis when other units may access RAM
US6377493B1 (en) Semiconductor apparatus
WO2023233611A1 (en) Electronic control device
JP2011028657A (en) Ram diagnosis device and program
JP2004021520A (en) Electronic controller for vehicle
JPH09120368A (en) Cpu monitor device
US20240160414A1 (en) Vehicle Electronic Control Device and Program Rewriting Method
US5644618A (en) Method of self-diagnosing a mobile telephone set for use in a mobile telephone switching system and a mobile telephone set to which the method is applied

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee