KR20000074229A - Programe down loading apparatus in engine ECU of vehivle - Google Patents

Programe down loading apparatus in engine ECU of vehivle Download PDF

Info

Publication number
KR20000074229A
KR20000074229A KR1019990018010A KR19990018010A KR20000074229A KR 20000074229 A KR20000074229 A KR 20000074229A KR 1019990018010 A KR1019990018010 A KR 1019990018010A KR 19990018010 A KR19990018010 A KR 19990018010A KR 20000074229 A KR20000074229 A KR 20000074229A
Authority
KR
South Korea
Prior art keywords
program
download
microcomputer
output
gate
Prior art date
Application number
KR1019990018010A
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 KR1019990018010A priority Critical patent/KR20000074229A/en
Publication of KR20000074229A publication Critical patent/KR20000074229A/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/26Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
    • F02D41/263Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor the program execution being modifiable by physical parameters

Abstract

PURPOSE: A system is provided save cost and time by eliminating the necessity of masking download program to ROM of a micro computer. CONSTITUTION: A system comprises a micro computer(11) for outputting a control signal for performing downloading of a download program stored in an EPROM(14) when a program download command is transmitted from a personal computer, a decoder(12) for executing a main program or a download program by selecting a flash memory(13) or the EPROM in accordance with a control signal output from the micro computer, and a flash memory(13) for storing a main program and which is used as a data area permitting read and write operations during program downloading from the EPROM, and the EPROM storing a download program.

Description

차량의 엔진 이씨유에서의 프로그램 다운 로딩장치 {Programe down loading apparatus in engine ECU of vehivle}Program down loading apparatus in engine ECU of vehivle}

본 발명은 차량의 엔진 전자제어장치(Electronic Control Unit ; 이하, 'ECU '라 칭함)내 마이컴(MICOM)의 외부에 다운 로드 프로그램(Down Load Program)을 탑재한 이피롬(EPROM)의 외부 메모리를 구비하여 프로그램 다운 로딩 기능을 수행할 수 있도록 한 차량의 엔진 ECU에서의 프로그램 다운 로딩장치에 관한 것이다.The present invention provides an external memory of an EPROM in which a down load program is mounted outside a MICOM in an electronic control unit (hereinafter referred to as "ECU") of a vehicle. The present invention relates to a program download apparatus in an engine ECU of a vehicle so as to perform a program download function.

일반적으로 대부분의 차량에는 엔진 ECU가 구비되어 있으며, 이 엔진 ECU내에는 마이컴과 외부 메모리인 플래쉬 메모리(Flash Memory)가 구비되어 있다.In general, most vehicles are equipped with an engine ECU, which is equipped with a microcomputer and an external memory flash memory.

상기와 같이 구성된 엔진 ECU내 마이컴에서는 마이컴 내부의 메모리인 롬(ROM)에 다운 로드 프로그램을 마스킹(Masking)하여 엔진 ECU 개발시 또는 프로그램 업데이트시 플래쉬 메모리에 상기 다운 로드 프로그램을 로딩하거나 업데이트한다.The microcomputer in the engine ECU configured as described above masks the download program in a ROM, which is an internal memory of the microcomputer, so that the download program is loaded or updated in the flash memory during engine ECU development or program update.

즉, 종래에는 마이컴 제조회사에서 마이컴 내부의 메모리에 다운 로드 프로그램을 마스킹한 후, 내부 메모리 모드(Internal Memory Mode)와 외부 메모리 모드(External Memory Mode)로 전환하면서 외부 메모리에 상기 다운 로드 프로그램을 다운 로딩하거나 업데이트하였다.That is, in the related art, a microcomputer manufacturer masks a download program in an internal memory of a microcomputer, and then downloads the download program to an external memory while switching between an internal memory mode and an external memory mode. Loaded or updated.

그러나, 상기와 같은 종래 프로그램 다운 로딩방법은 마이컴 제조회사를 통해 다운 로드 프로그램을 마이컴 내부의 메모리에 반드시 마스킹해야 하므로 많은 마스킹 비용이 소요되게 되는 문제점이 있었다.However, the conventional program download method as described above has a problem in that a large amount of masking cost is required because the download program must be masked in the memory of the microcomputer through the microcomputer manufacturer.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 그 목적은 차량의 엔진 ECU내 마이컴의 외부에 다운 로드 프로그램을 탑재한 이피롬의 외부 메모리를 구비하고, 이 외부 메모리에 탑재한 다운 로드 프로그램을 로딩하거나 업데이트함으로써 프로그램 다운 로딩 기능을 수행할 수 있도록 한 차량의 엔진 ECU에서의 프로그램 다운 로딩장치를 제공하는 데에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object thereof is to provide an external memory of ipyrom in which a download program is mounted on the outside of the microcomputer in the engine ECU of a vehicle, and the download mounted on the external memory. The present invention provides a program downloading device in an engine ECU of a vehicle that can perform a program download function by loading or updating a program.

도 1은 본 발명에 의한 차량의 엔진 이씨유에서의 프로그램 다운 로딩장치의 블록 구성도,1 is a block diagram of a program downloading device in an engine of a vehicle according to the present invention;

도 2는 도 1의 디코더에 대한 상세한 블록 구성도.FIG. 2 is a detailed block diagram of the decoder of FIG. 1. FIG.

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

10 : 엔진 ECU11 : 마이컴10: engine ECU11: microcomputer

12 : 디코더 13 : 플래쉬 메모리12 decoder 13 flash memory

14 : 이피롬A1 : 제1 오아 게이트14: Ipyrom A1: first ora gate

A2 : 인버터 A3 : 제3 오아 게이트A2: inverter A3: third ora gate

A4 : 앤드 게이트A4: End Gate

이하, 첨부된 도면을 참고하여 본 발명에 의한 차량의 엔진 ECU에서의 프로그램 다운 로딩장치의 구성 및 동작을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the configuration and operation of the program downloading device in the engine ECU of the vehicle according to the present invention.

도 1은 본 발명에 의한 차량의 엔진 ECU에서의 프로그램 다운 로딩장치의 블록 구성도로서, PC와 RS 232C 통신을 수행하여 PC로부터 프로그램 다운 로드 명령을 수신하는 경우 이피롬의 다운 로드 프로그램을 수행할 수 있도록 제어신호를 출력하는 마이컴(11)과, 상기 마이컴(11)에서 출력되는 제어신호에 따라 플래쉬 메모리(13) 또는 이피롬(14)을 선택하여 메인 프로그램 또는 다운 로드 프로그램을 수행하도록 하는 디코더(Decoder)(12)와, 메인 프로그램을 저장하며, 이피롬(14)의 프로그램 다운 로딩 기능 수행시 리드 및 라이트 동작을 통해 데이터 영역으로 사용하는 플래쉬 메모리(13)와, 다운 로드 프로그램을 저장하고 있는 이피롬(14)으로 구성된다.FIG. 1 is a block diagram of a program download apparatus in an engine ECU of a vehicle according to the present invention. When a program download command is received from a PC by performing RS 232C communication with a PC, a download program of Epirome is performed. A microcomputer 11 for outputting a control signal to output a control signal, and a decoder for selecting a flash memory 13 or an epirom 14 according to the control signal output from the microcomputer 11 to perform a main program or a download program. (Decoder) 12, a main program, a flash memory 13 used as a data area through read and write operations when performing a program download function of the epirom 14, and a download program. It consists of a pyrimium 14.

도 2는 상기 디코더(12)에 대한 상세한 블록 구성도로서, 상기 마이컴(11)의 모드별 출력단자(POT, A15)에서 출력되는 제어신호를 논리합하여 상기 이피롬(14)으로 출력하는 제1 오아 게이트(OR Gate)(A1)와, 상기 제1 오아 게이트(A1)의 출력신호를 반전하는 인버터(Inverter)(A2)와, 상기 마이컴(11)의 출력단자()에서 출력되는 프로그램 코드(Program Code)를 액세스하기 위해 사용되는 제어신호와 상기 인버터(A2)의 출력신호를 논리합하는 제2 오아 게이트(A3)와, 상기 마이컴(11)의 출력단자()에서 출력되는 제어신호와 상기 제2 오아 게이트(A3)의 출력신호를 논리곱하여 상기 플래쉬 메모리(13)로 출력하는 앤드 게이트(AND Gate)(A4)로 구성된다.FIG. 2 is a detailed block diagram of the decoder 12. The first logic outputting the control signal output from the mode-specific output terminals POT and A15 of the microcomputer 11 to the pyramid 14 is output. OR gate A1, an inverter A2 for inverting the output signal of the first OR gate A1, and an output terminal of the microcomputer 11 A second OR gate A3 for ORing the control signal used for accessing the program code output from the second output signal and the output signal of the inverter A2, and the output terminal of the microcomputer 11 A AND gate A4 outputs the control signal output from the control circuit and the output signal of the second OR gate A3 to the flash memory 13.

한편, 차량에 있어서 엔진 ECU내 마이컴에서 운용 소프트웨어를 바꾸고자 할 경우 롬을 하드웨어적으로 교체할 수는 있으나 이는 하드웨어적으로 이루어지는 것으로 어려움이 있다.On the other hand, in the vehicle, if you want to change the operating software in the microcomputer in the ECU ECU ROM can be replaced by hardware, but this is made by hardware.

따라서, PC나 기타 툴(Tool)을 이용하여 소프트웨어적으로 운용 소프트웨어를 교체하는 것이 여러면에서 유리하다.Therefore, it is advantageous in many ways to replace the operating software in software using a PC or other tool.

특히, 개발 단계에서 운용 소프트웨어를 빈번히 교체하거나 차량의 엔진 ECU내 마이컴에서와 같이 차량에 장착되어 있을 때에는 더욱 유리하다.This is particularly advantageous when the operating software is frequently replaced during development, or when mounted on the vehicle, such as in a microcomputer in the engine ECU of the vehicle.

상기와 같이 구성된 차량의 엔진 ECU에서의 프로그램 다운 로딩장치의 동작을 설명하면 다음과 같다.Referring to the operation of the program downloading device in the engine ECU of the vehicle configured as described above are as follows.

먼저, 마이컴(11)에서는 PC로부터 프로그램 다운 로드 명령이 전달되면 이피롬(14)의 다운 로드 프로그램을 수행할 수 있도록 각각의 출력단자를 통해 해당하는 제어신호를 생성하여 디코더(12)로 출력한다.First, when a program download command is transmitted from a PC, the microcomputer 11 generates a corresponding control signal through each output terminal and outputs the corresponding control signal to the decoder 12 so as to execute the download program of the EPROM 14. .

마이컴(11)의 출력단자(POT)를 통해 하이신호를 출력하여 디코더(12)내 제1 오아 게이트(A1)가 출력단자(A15)의 신호에 상관없이 하이신호를 출력한다.The high signal is output through the output terminal POT of the microcomputer 11 so that the first OR gate A1 in the decoder 12 outputs the high signal regardless of the signal of the output terminal A15.

이어, 인버터(A2)를 통해 로우신호를 출력하면 제2 오아 게이트(A3)는 마이컴(11)의 출력단자()의 제어신호를 그대로 앤드 게이트(A4)로 출력하고, 이어 앤드 게이트(A4)는 마이컴(11)의 출력단자()의 제어신호와 상기 제2 오아 게이트(A3)의 출력신호를 논리곱하여 제어신호를 플래쉬 메모리(13)에 출력함으로써 플래쉬 메모리(13)의 메인 프로그램을 액세스하여 메인 프로그램을 수행하도록 한다.Subsequently, when the low signal is output through the inverter A2, the second OR gate A3 is an output terminal of the microcomputer 11. ) Is outputted to the AND gate A4 as it is, and the AND gate A4 is then connected to the output terminal of the microcomputer 11 ( By multiplying the control signal of the control circuit and the output signal of the second ora gate A3 and outputting the control signal to the flash memory 13 to access the main program of the flash memory 13 to perform the main program.

상기 메인 프로그램 수행 후, 프로그램 다운 로드 모드시에는 마이컴(11)의 출력단자(POT, A15)를 통해 로우신호를 출력하여 디코더(12)내 제1 오아 게이트(A1)가 로우신호를 출력하고, 이어 인버터(A2)를 통해 하이신호를 출력하면 제2 오아 게이트(A3)는 마이컴(11)의 출력단자()의 로우신호와 상기 인버터(A2)의 하이신호를 논리합하여 하이신호를 앤드 게이트(A4)로 출력하고, 이어 앤드 게이트(A4)는 마이컴(11)의 출력단자()의 하이신호와 상기 제2 오아 게이트(A3)의 하이신호를 논리곱하여 하이신호를 플래쉬 메모리(13)를 출력한다.After the main program is executed, in the program download mode, a low signal is output through the output terminals POT and A15 of the microcomputer 11 so that the first ora gate A1 in the decoder 12 outputs a low signal. Subsequently, when the high signal is output through the inverter A2, the second OR gate A3 is an output terminal of the microcomputer 11 ( ) And the high signal of the inverter A2 are logically combined to output a high signal to the AND gate A4. The AND gate A4 is then connected to the output terminal of the microcomputer 11. ) And the high signal of the second OR gate A3 are ANDed to output the high signal to the flash memory 13.

이때, 상기 마이컴(11)의 출력단자(POT)의 로우신호를 이피롬(14)에 출력함으로써 프로그램 영역으로 동작하는 이피롬(14)을 액세스하여 저장된 다운 로드 프로그램을 수행할 수 있도록 한다.At this time, by outputting the low signal of the output terminal (POT) of the microcomputer 11 to the pyramid 14, it is possible to access the pyramid (14) acting as a program area to perform the stored download program.

그리고, 상기 플래쉬 메모리(13)는 데이터 영역으로 리드 및 라이트를 할 수 있도록 하여 프로그램 다운 로드 기능을 수행할 수 있도록 한다.The flash memory 13 reads and writes data to the data area to perform a program download function.

이상, 상기 설명에서와 같이 본 발명은, 엔진 ECU내 마이컴의 외부에 구비되는 2개의 외부 메모리에 대해 같은 어드레스 영역을 필요에 따라 각각 액세스할 수 있고, PC나 기타 툴을 통해 이피롬 영역의 다운 로드 프로그램을 업데이트할 수 있다.As described above, according to the present invention, the same address area can be accessed to each of the two external memories provided outside the microcomputer in the engine ECU, as necessary, and the down-loading of the pyramid area via a PC or other tool is possible. The load program can be updated.

그리고, 종래와 같이 마이컴 내부의 롬에 다운 로드 프로그램을 마스킹할 필요가 없어 많은 비용과 시간 등을 절감할 수 있게 되는 효과가 있다.In addition, since there is no need to mask the download program in the ROM inside the microcomputer as in the related art, it is possible to reduce a lot of cost and time.

Claims (1)

PC와 RS 232C 통신을 수행하여 PC로부터 프로그램 다운 로드 명령을 수신하는 경우 이피롬의 다운 로드 프로그램을 수행할 수 있도록 제어신호를 출력하는 마이컴(11)과,When receiving a program download command from the PC by performing RS 232C communication with the PC, the microcomputer 11 for outputting a control signal to execute the download program of this pyrom, and 상기 마이컴(11)의 모드별 출력단자(POT, A15)에서 출력되는 제어신호를 논리합하여 상기 이피롬(14)으로 출력하는 제1 오아 게이트(A1)와, 상기 제1 오아 게이트(A1)의 출력신호를 반전하는 인버터(A2)와, 상기 마이컴(11)의 출력단자()에서 출력되는 프로그램 코드를 액세스하기 위해 사용되는 제어신호와 상기 인버터(A2)의 출력신호를 논리합하는 제2 오아 게이트(A3)와, 상기 마이컴(11)의 출력단자()에서 출력되는 제어신호와 상기 제2 오아 게이트(A3)의 출력신호를 논리곱하여 상기 플래쉬 메모리(13)로 출력하는 앤드 게이트(A4)로 이루어져, 상기 마이컴(11)에서 출력되는 제어신호에 따라 플래쉬 메모리(13) 또는 이피롬(14)을 선택하여 메인 프로그램 또는 다운 로드 프로그램을 수행하도록 하는 디코더(12)와,The first OR gate A1 and OR of the first OR gate A1 for logically combining the control signals output from the mode-specific output terminals POT and A15 of the microcomputer 11 and outputting the same to the pyramid 14. An inverter A2 for inverting an output signal and an output terminal of the microcomputer 11 ( A second OR gate A3 for ORing the control signal used to access the program code outputted from the output signal and the output signal of the inverter A2, and the output terminal of the microcomputer 11 ) And AND gate (A4) to logically multiply the control signal output from the output signal and the output signal of the second ora gate (A3) to the flash memory 13, according to the control signal output from the microcomputer (11) A decoder 12 that selects the flash memory 13 or the pyramid 14 to execute a main program or a download program, 메인 프로그램을 저장하며, 이피롬(14)의 프로그램 다운 로딩 기능 수행시 리드 및 라이트 동작을 통해 데이터 영역으로 사용하는 플래쉬 메모리(13)와,A flash memory 13 for storing a main program and using the read and write operations as a data area when performing a program download function of the epirome 14; 다운 로드 프로그램을 저장하고 있는 이피롬(14)으로 구성됨을 특징으로 하는 차량의 엔진 이씨유에서의 프로그램 다운 로딩장치.A program downloading device in an engine ISI of a vehicle, characterized by comprising a pyramid (14) storing a download program.
KR1019990018010A 1999-05-19 1999-05-19 Programe down loading apparatus in engine ECU of vehivle KR20000074229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990018010A KR20000074229A (en) 1999-05-19 1999-05-19 Programe down loading apparatus in engine ECU of vehivle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990018010A KR20000074229A (en) 1999-05-19 1999-05-19 Programe down loading apparatus in engine ECU of vehivle

Publications (1)

Publication Number Publication Date
KR20000074229A true KR20000074229A (en) 2000-12-15

Family

ID=19586465

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990018010A KR20000074229A (en) 1999-05-19 1999-05-19 Programe down loading apparatus in engine ECU of vehivle

Country Status (1)

Country Link
KR (1) KR20000074229A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020097363A (en) * 2001-06-20 2002-12-31 현대자동차주식회사 Method for reprograming of electronic control unit of vehicle
KR100593165B1 (en) * 2004-01-16 2006-06-26 주식회사 현대오토넷 Microprocessor Computer for vehicle
KR100859601B1 (en) * 2007-03-13 2008-09-23 주식회사 현대오토넷 Method of upgrading control data based on deck for car electronic device and computer-readable medium having thereon program performing function embodying the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020097363A (en) * 2001-06-20 2002-12-31 현대자동차주식회사 Method for reprograming of electronic control unit of vehicle
KR100593165B1 (en) * 2004-01-16 2006-06-26 주식회사 현대오토넷 Microprocessor Computer for vehicle
KR100859601B1 (en) * 2007-03-13 2008-09-23 주식회사 현대오토넷 Method of upgrading control data based on deck for car electronic device and computer-readable medium having thereon program performing function embodying the same

Similar Documents

Publication Publication Date Title
US7856614B2 (en) Programmable system-on-chip apparatus and method for updating firmware
US6810444B2 (en) Memory system allowing fast operation of processor while using flash memory incapable of random access
KR19990041698A (en) Computer system capable of updating data of fixed flash ROM and its control method
US20030084232A1 (en) Device and method capable of changing codes of micro-controller
KR20000074229A (en) Programe down loading apparatus in engine ECU of vehivle
US6859855B1 (en) Data processing device
US20040049665A1 (en) Trace control circuit adapted for high-speed microcomputer operation
US8019985B2 (en) Data-processing arrangement for updating code in an auxiliary processor memory
JPH0969064A (en) External memory system
EP0878765A2 (en) Microcontroller utilizing internal and external memory
KR20000003404A (en) Micro controller for accessing an external memory
JPH11149376A (en) Boot loader circuit
EP0864983A2 (en) Computer system including memory adress management circuit for protecting memory from illegal writing
JP2597409B2 (en) Microcomputer
US20030226081A1 (en) On chip debugging method of microcontrollers
JP3912447B2 (en) Memory system and method of using external nonvolatile memory
KR19980024961A (en) I / O Memory Card Type Wireless Select Paging Receiver and Operation Method
KR100277458B1 (en) PD system control device and control method
KR100290280B1 (en) Microcontroller with Programmable Flash Memory
KR200170154Y1 (en) Apparatus for controlling flash memory
JPH1083384A (en) Microcomputer
KR100578642B1 (en) Apparatus and method for updating flash epirom on a CPU without a bootstrap loader
JP2919357B2 (en) CPU interface circuit
JP3633812B2 (en) Flash memory control system with flash farm download
JPH11212945A (en) Microcomputer and it memory

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination