KR20050117753A - Apparatus and method for automatically programming an programmable logic device - Google Patents

Apparatus and method for automatically programming an programmable logic device Download PDF

Info

Publication number
KR20050117753A
KR20050117753A KR1020040042950A KR20040042950A KR20050117753A KR 20050117753 A KR20050117753 A KR 20050117753A KR 1020040042950 A KR1020040042950 A KR 1020040042950A KR 20040042950 A KR20040042950 A KR 20040042950A KR 20050117753 A KR20050117753 A KR 20050117753A
Authority
KR
South Korea
Prior art keywords
programmable logic
logic device
stored
memory
booted
Prior art date
Application number
KR1020040042950A
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 KR1020040042950A priority Critical patent/KR20050117753A/en
Publication of KR20050117753A publication Critical patent/KR20050117753A/en

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

본 발명은 프로그램 가능 로직 디바이스의 자동 프로그래밍 장치 및 방법에 관한 것으로서, 상기 프로그램 가능 로직 디바이스에 기록될 프로그램 코드가 저장된 메모리와, 시스템이 최초 부팅되는 경우 상기 메모리에 저장된 상기 프로그램 코드를 독출하여 상기 프로그램 가능 로직 디바이스에 기록하는 제어부를 포함하는 것을 특징으로 한다. 본 발명에 따르면, 프로그램 가능 로직 디바이스가 탑재된 기판 공정시 수작업이 비율이 감소되어 공정 시간을 단축시킬 수 있게 된다. The present invention relates to an apparatus and method for automatically programming a programmable logic device, comprising: a memory in which program code to be written in the programmable logic device is stored, and the program code stored in the memory when the system is first booted and read out the program; And a controller for writing to a possible logic device. According to the present invention, manual processing in substrate processing with programmable logic devices reduces the ratio, thereby shortening the processing time.

Description

프로그램 가능 로직 디바이스의 자동 프로그래밍 장치 및 방법 {APPARATUS AND METHOD FOR AUTOMATICALLY PROGRAMMING AN PROGRAMMABLE LOGIC DEVICE}Automatic programming device and method of programmable logic device {APPARATUS AND METHOD FOR AUTOMATICALLY PROGRAMMING AN PROGRAMMABLE LOGIC DEVICE}

본 발명은 프로그램 가능 로직 디바이스(PLD; Programmable Logic Device)의 자동 프로그래밍 장치 및 방법에 관한 것으로서, 보다 상세하게는 PLD를 채용하는 기판 공정에서 PLD의 프로그램 다운로드 공정 작업을 자동화시킬 수 있는 장치 및 방법에 관한 것이다. The present invention relates to an apparatus and method for automatically programming a programmable logic device (PLD), and more particularly, to an apparatus and method for automating a program download process of a PLD in a substrate process employing a PLD. It is about.

최근 각종 전자 제품, 예컨대 PDP, LCD TV 등에는 외부 입력 신호의 동기 신호 처리, 디지털 오디오 신호(SPDIF) 검출, 디스플레이 인에이블 신호 제어 등을 비롯한 주요 기능 구현을 위해 PLD를 채용하는 경우가 늘고 있다. 상기 PLD는 사용자에 의해 입력되는 프로그램 정보에 따라 로직 디바이스의 구현 기능이 결정되는 것으로서, PLD의 종류에는 PLA(Programmable Logic Array),PAL(Programmable Array Logic), EPLD(Embeded Programmable Logic Device) 등이 있다. Recently, PLDs have been increasingly used in various electronic products such as PDPs and LCD TVs to implement main functions such as synchronization signal processing of external input signals, digital audio signal (SPDIF) detection, display enable signal control, and the like. The PLD is an implementation function of a logic device according to program information input by a user. Examples of the PLD include a programmable logic array (PLA), a programmable array logic (PAL), and an embedded programmable logic device (EPLD). .

상기 PLD의 동작을 가능하기 위해서는 기판 공정 중 사용자에 의해 제작된 PLD 프로그램을 상기 PLD로 다운로드 해야 하는 과정이 필요하다. In order to enable the operation of the PLD, a process of downloading a PLD program produced by a user during the substrate process to the PLD is required.

종래에는, 이를 위하여 프로그램 정보가 저장된 별도의 PC 등을 PLD의 연결 포트(예컨대, JTAG 포트)에 수작업으로 연결한 후 프로그램을 다운로드시키는 방식을 취하였다. 그러나, 이와 같이 매 기판 공정시 마다 수작업으로 PLD에 프로그램을 다운로드시켜야 하는 경우, 공정 절차가 복잡해지고 작업 시간도 늘어나는 문제가 있다. In the related art, for this purpose, a separate PC or the like in which program information is stored is manually connected to a connection port (for example, a JTAG port) of a PLD, and then a program is downloaded. However, when a program must be manually downloaded to the PLD in every substrate process, the process procedure is complicated and the work time is increased.

따라서, PLD의 기판 공정시 PLD 프로그램을 자동으로 다운로드 시킬 수 있는 방안이 요구되고 실정이다. Therefore, there is a need for a method for automatically downloading a PLD program during a PLD substrate process.

본 발명은 전술한 종래 기술의 문제점을 해결하기 위하여 제안된 것으로서, 그 목적은 기판 공정시 PLD 프로그램을 자동으로 다운로드시키는 장치 및 방법을 제공하는 것이다. The present invention has been proposed to solve the above-mentioned problems of the prior art, and an object thereof is to provide an apparatus and method for automatically downloading a PLD program during a substrate process.

전술한 본 발명의 목적 및 장점 이외에 다른 목적 및 장점은 이하의 상세한 설명 및 첨부 도면을 통하여 명백해 질 것이다.Other objects and advantages in addition to the above objects and advantages of the present invention will become apparent from the following detailed description and the accompanying drawings.

본 발명의 제1 특징에 따르면, 프로그램 가능 로직 디바이스의 자동 프로그래밍 장치는 상기 프로그램 가능 로직 디바이스에 기록될 프로그램 코드가 저장된 메모리와, 시스템이 최초 부팅되는 경우 상기 메모리에 저장된 상기 프로그램 코드를 독출하여 상기 프로그램 가능 로직 디바이스에 기록하는 제어부를 포함한다. According to a first aspect of the present invention, an automatic programming device of a programmable logic device reads a memory in which a program code to be written in the programmable logic device is stored, and the program code stored in the memory when the system is first booted. And a controller for writing to the programmable logic device.

상기 특징에 따른 바람직한 실시예에 있어서, 상기 장치는 시스템의 최초 부팅 여부를 나타내는 소정의 데이터 값을 갖는 초기화 식별 ID가 저장된 제2 메모리를 더 포함한다. In a preferred embodiment according to the above feature, the apparatus further comprises a second memory in which an initialization identification ID having a predetermined data value indicating whether the system is initially booted is stored.

또한, 상기 특징에 따른 다른 바람직한 실시예에 있어서, 상기 제어부는 시스템의 최초 부팅이 정상적으로 완료된 경우 상기 초기화 식별 ID값을 업데이트시킨다. Further, in another preferred embodiment according to the feature, the control unit updates the initialization identification ID value when the initial boot of the system is normally completed.

본 발명의 제2 특징에 따르면, 프로그램 가능 로직 디바이스의 자동 프로그래밍 방법은 (a) 시스템이 최초 부팅된 경우 메모리에 기저장된 프로그램 코드를 독출하는 단계와, (b) 상기 독출된 프로그램 코드를 상기 프로그램 가능 로직 디바이스에 기록하는 단계를 포함한다. According to a second aspect of the invention, an automatic programming method of a programmable logic device comprises the steps of (a) reading a program code previously stored in a memory when the system is first booted, and (b) reading the read program code. Writing to the programmable logic device.

상기 특징에 따른 바람직한 실시예에 있어서, 상기 시스템의 최초 부팅 여부는, 상기 메모리에 저장된 초기화 식별 ID가 초기값을 갖는지 여부에 따라 결정된다. In a preferred embodiment according to the above feature, whether the system boots for the first time is determined according to whether the initialization identification ID stored in the memory has an initial value.

또한, 상기 특징에 따른 다른 바람직한 실시예에 있어서, 상기 방법은 (c) 시스템의 최초 부팅이 정상적으로 완료된 경우 상기 초기화 식별 ID값을 업데이트하는 단계를 더 포함한다. Further, in another preferred embodiment according to the above feature, the method further comprises (c) updating the initialization identification ID value when the initial boot of the system is normally completed.

이제, 첨부 도면을 참조하여 본 발명의 바람직한 실시예를 보다 상세히 설명한다. DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 바람직한 실시예에 따른 EPLD 프로그램의 자동 다운로드 장치의 구성을 개략적으로 도시한 구성도이다. 1 is a block diagram schematically showing the configuration of an automatic download apparatus for an EPLD program according to a preferred embodiment of the present invention.

도 1을 참조하면, 상기 EPLD 프로그램 자동 다운로드 장치는 플래시 메모리(10), 제어부(12), EEPROM(14) 및 EPLD 칩(16)을 포함한다. Referring to FIG. 1, the automatic EPLD program download apparatus includes a flash memory 10, a controller 12, an EEPROM 14, and an EPLD chip 16.

도 1의 상기 EPLD 프로그램 자동 다운로드 장치는 전자 제품, 예컨대 PDP, LCD TV의 기판(PCB)에 탑재되는 시스템의 일부에 해당하는 것이며, 기판 공정 단계에서 상기 각 구성 요소들은 이미 전기적으로 연결되어 있다. The apparatus for automatically downloading the EPLD program of FIG. 1 corresponds to a part of a system mounted on a substrate (PCB) of an electronic product, such as a PDP and an LCD TV. In the substrate processing step, the respective components are already electrically connected.

상기 플래시 메모리(10)에는 응용 프로그램 코드(application code), 부팅 코드(boot code), 폰트 코드(font code) 등이 저장되며, 특히 본 실시예에서는 EPLD 코드(EPLD code)가 추가로 저장되어 있다. In the flash memory 10, an application code, a boot code, a font code, and the like are stored, and in this embodiment, an EPLD code is additionally stored. .

상기 EEPROM(14)에는 해상도, 초기 화질, 기판에 탑재되는 칩들의 세팅 정보 등이 통상 저장되며, 특히 본 실시예에서는 이에 추가하여 시스템의 최초 부팅 여부를 나타내는 초기화 식별 ID(15) 정보가 저장되어 있다. 상기 초기화 식별 ID는 시스템이 최초로 부팅되기 전에는 소정의 초기값을 갖다가, 최초 부팅이 완료되면 다른 값으로 업데이트된다. The EEPROM 14 typically stores resolution, initial image quality, setting information of chips mounted on a substrate, and the like, and in this embodiment, initialization identification ID 15 information indicating whether the system is first booted is stored. have. The initialization identification ID has a predetermined initial value before the system is first booted, and is updated to another value when the initial booting is completed.

상기 제어부(12)는 최초 부팅시 플래시 메모리(10)에 저장된 EPLD 코드를 독출하여 이를 상기 EPLD 칩(16)에 기록하며, 최초 부팅 완료시 상기 EEPROM(14)의 초기화 식별 ID 값을 업데이트한다. The controller 12 reads the EPLD code stored in the flash memory 10 at the first boot and writes it to the EPLD chip 16, and updates the initialization identification ID value of the EEPROM 14 when the first boot is completed.

도 2는 본 발명의 바람직한 실시예에 따른 EPLD 프로그램의 자동 다운로드 방법을 개략적으로 도시한 흐름도이다. 2 is a flowchart schematically illustrating a method for automatically downloading an EPLD program according to a preferred embodiment of the present invention.

도 2를 참조하면, 시스템이 부팅되면 상기 제어부(12)는 EEPROM(14)의 초기화 식별 ID를 판독하여 최초 부팅인지 여부를 확인한다(단계 10). 상기 초기화 식별 ID값이 초기값인 경우는 시스템이 최초 부팅된 것으로 판단한다. Referring to FIG. 2, when the system is booted, the controller 12 reads the initialization identification ID of the EEPROM 14 to confirm whether or not it is the first boot (step 10). If the initialization identification ID value is an initial value, it is determined that the system is first booted.

상기 확인 결과, 상기 초기화 식별 ID가 초기값을 갖는 경우(단계 10에서 "예"), 상기 제어부(12)는 상기 시스템이 최초 부팅되는 것으로 판단하여 플래시 메모리(10)에 기저장된 EPLD 코드를 독출하고(단계 12), 이를 EPLD 칩(16)에 기록한다(단계 14). As a result of the check, when the initialization identification ID has an initial value (YES in step 10), the controller 12 determines that the system is booted for the first time and reads out the EPLD code previously stored in the flash memory 10. (Step 12) and record it on the EPLD chip 16 (step 14).

다음, 상기 제어부(12)는 EPLD 코드가 정상적으로 기록되었는지에 대한 검증 결과를 상기 EPLD 칩(16)으로부터 전송받는다. 여기서, 검증 방식은 체크섬(checksum)을 이용하는 것이 바람직하나, 반드시 이에 한정될 필요는 없다. Next, the controller 12 receives a verification result of whether the EPLD code is normally recorded from the EPLD chip 16. Here, the verification method preferably uses a checksum, but is not necessarily limited thereto.

검증 결과 이상이 없는 경우(단계 16에서 "예"), 상기 제어부(12)는 상기 EEPROM(14)의 초기화 식별 ID값을 업데이트한다(단계 18). If there is no abnormality in the verification result (YES in step 16), the control unit 12 updates the initialization identification ID value of the EEPROM 14 (step 18).

한편, 단계 16에서, 검증 결과가 이상이 있는 경우, 단계 14로 되돌아가 이후 절차를 반복한다. 이로써, 본 절차를 모두 종료한다. On the other hand, in step 16, if the verification result is abnormal, the process returns to step 14 and repeats the following procedure. This completes this procedure.

본 실시예에서는, EPLD 코드가 플래시 메모리(10)에 사전 저장되어 있고, 이는 제어부에서 생성되는 소정의 제어 신호에 응답하여 자동으로 독출되어 EPLD 칩(16)에 저장된다. 따라서, 종래와 같이 기판 공정시 EPLD 칩의 입력 포트(예컨대, JTAG 포트)에 외부의 PC 등을 연결한 후 프로그램을 다운로드시키는 작업이 불필요하게 된다. In this embodiment, the EPLD code is pre-stored in the flash memory 10, which is automatically read in response to a predetermined control signal generated by the controller and stored in the EPLD chip 16. Therefore, as in the prior art, an operation of downloading a program after connecting an external PC or the like to an input port (for example, a JTAG port) of the EPLD chip during a substrate process is unnecessary.

또한, 본 실시예에는 PLD의 일 예인 EPLD를 중심으로 설명하였으나, 이 분야의 당업자라면 다른 종류의 PLD 역시 동일하게 적용될 수 있음을 쉽게 이해할 수 있을 것이다. In addition, the present embodiment has been described with reference to EPLD as an example of the PLD, it will be readily understood by those skilled in the art that other kinds of PLD can be equally applicable.

본 발명에 따르면, PLD가 탑재된 기판 공정시 PLD 프로그램이 시스템의 최초 부팅과 함께 자동으로 PLD에 저장되기 때문에, 기판 공정 과정을 간소화시키고 수작업의 비율을 줄일 수 있게 된다. 또한, 이로 인해 공정 시간의 단축과 생산성의 향상을 기대할 수 있게 된다. According to the present invention, since the PLD program is automatically stored in the PLD upon the first boot of the system, the substrate processing process can be simplified and the ratio of manual work can be reduced. In addition, it can be expected to reduce the process time and improve the productivity.

이상으로, 본 발명을 바람직한 실시예를 중심으로 살펴보았으나, 이 분야의 당업자라면 발명의 사상 및 범위를 벗어나지 않는 한도에서 변경될 수 있음을 이해할 것이다. 즉, 본 발명은 첨부된 청구 범위 내에서 변경 가능하므로, 전술한 예시적인 실시예로 제한되는 것으로 간주되어서는 안 된다. While the present invention has been described with reference to the preferred embodiments, those skilled in the art will understand that changes may be made without departing from the spirit and scope of the invention. In other words, the present invention may be modified within the scope of the appended claims and should not be considered as being limited to the above-described exemplary embodiments.

도 1은 본 발명의 바람직한 실시예에 따른 EPLD 프로그램의 자동 다운로드 장치의 구성을 개략적으로 도시한 구성도.1 is a configuration diagram schematically showing the configuration of the automatic download device of the EPLD program according to a preferred embodiment of the present invention.

도 2는 본 발명의 바람직한 실시예에 따른 EPLD 프로그램의 자동 다운로드 방법을 개략적으로 도시한 흐름도.2 is a flow chart schematically illustrating a method for automatic download of an EPLD program according to a preferred embodiment of the present invention.

< 도면 부호의 주요 부분에 대한 설명 ><Description of main parts of reference numerals>

10 : 플래시 메모리10: flash memory

12 : 제어부12: control unit

14 : EEPROM14: EEPROM

16 : EPLD 칩16: EPLD chip

Claims (6)

프로그램 가능 로직 디바이스의 자동 프로그래밍 장치에 있어서, An automatic programming device for a programmable logic device, 상기 프로그램 가능 로직 디바이스에 기록될 프로그램 코드가 저장된 메모리와, A memory in which program code to be written to the programmable logic device is stored; 시스템이 최초 부팅되는 경우 상기 메모리에 저장된 상기 프로그램 코드를 독출하여 상기 프로그램 가능 로직 디바이스에 기록하는 제어부Control unit for reading the program code stored in the memory and writing to the programmable logic device when the system is first booted 를 포함하는 것을 특징으로 하는 프로그램 가능 로직 디바이스의 자동 프로그래밍 장치. Automatic programming device of a programmable logic device comprising a. 제1항에 있어서, The method of claim 1, 시스템의 최초 부팅 여부를 나타내는 소정의 데이터 값을 갖는 초기화 식별 ID가 저장된 제2 메모리를 더 포함하는 것을 특징으로 하는 프로그램 가능 로직 디바이스의 자동 프로그래밍 장치. And a second memory in which an initialization identification ID having a predetermined data value indicating whether the system is booted for the first time is stored. 제2항에 있어서, The method of claim 2, 상기 제어부는 시스템의 최초 부팅이 정상적으로 완료된 경우 상기 초기화 식별 ID값을 업데이트시키는 것을 특징으로 하는 프로그램 가능 로직 디바이스의 자동 프로그래밍 장치. And the control unit updates the initialization identification ID value when the initial booting of the system is normally completed. 프로그램 가능 로직 디바이스의 자동 프로그래밍 방법에 있어서, In the automatic programming method of a programmable logic device, (a) 시스템이 최초 부팅된 경우 메모리에 기저장된 프로그램 코드를 독출하는 단계와, (a) reading the program code stored in memory when the system is first booted, (b) 상기 독출된 프로그램 코드를 상기 프로그램 가능 로직 디바이스에 기록하는 단계(b) writing the read program code to the programmable logic device 를 포함하는 것을 특징으로 하는 프로그램 가능 로직 디바이스의 자동 프로그래밍 방법. Automatic programming method of a programmable logic device comprising a. 제4항에 있어서, The method of claim 4, wherein 상기 시스템의 최초 부팅 여부는, 상기 메모리에 저장된 초기화 식별 ID가 초기값을 갖는지 여부에 따라 결정되는 것을 특징으로 하는 프로그램 가능 로직 디바이스의 자동 프로그래밍 방법. Or whether the system is initially booted is determined according to whether an initialization identification ID stored in the memory has an initial value. 제5항에 있어서, The method of claim 5, (c) 시스템의 최초 부팅이 정상적으로 완료된 경우 상기 초기화 식별 ID값을 업데이트하는 단계를 더 포함하는 것을 특징으로 하는 프로그램 가능 로직 디바이스의 자동 프로그래밍 방법. (c) updating the initialization identification ID value when the initial boot of the system is normally completed.
KR1020040042950A 2004-06-11 2004-06-11 Apparatus and method for automatically programming an programmable logic device KR20050117753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040042950A KR20050117753A (en) 2004-06-11 2004-06-11 Apparatus and method for automatically programming an programmable logic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040042950A KR20050117753A (en) 2004-06-11 2004-06-11 Apparatus and method for automatically programming an programmable logic device

Publications (1)

Publication Number Publication Date
KR20050117753A true KR20050117753A (en) 2005-12-15

Family

ID=37291037

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040042950A KR20050117753A (en) 2004-06-11 2004-06-11 Apparatus and method for automatically programming an programmable logic device

Country Status (1)

Country Link
KR (1) KR20050117753A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085527A (en) * 2017-04-25 2017-08-22 航天科技控股集团股份有限公司 Journey system is copied based on cloud platform Full-automatic instrument and Cheng Fangfa is copied

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085527A (en) * 2017-04-25 2017-08-22 航天科技控股集团股份有限公司 Journey system is copied based on cloud platform Full-automatic instrument and Cheng Fangfa is copied

Similar Documents

Publication Publication Date Title
US7080245B2 (en) Method and system of switching between two or more images of firmware on a host device
US7602655B2 (en) Embedded system
US7856614B2 (en) Programmable system-on-chip apparatus and method for updating firmware
US7039799B2 (en) Methods and structure for BIOS reconfiguration
US6842858B2 (en) Mechanism for updating firmware of an electronic device
US6748515B1 (en) Programmable vendor identification circuitry and associated method
US20060117313A1 (en) Method for patching firmware in memory device
US20110283297A1 (en) System management interrupt interface wrapper
US6925522B2 (en) Device and method capable of changing codes of micro-controller
US20050010914A1 (en) Method for upgrading firmware
KR20050117753A (en) Apparatus and method for automatically programming an programmable logic device
WO2020129324A1 (en) Module, information processing device equipped with same, and program data updating method for updating program data of module
US20040148499A1 (en) Method and apparatus for programming revision identification numbers
EP1496433A2 (en) Program and computer capable of easily updating, setting, or testing control program
US6622245B1 (en) Firmware field programming interface and module for programming non-volatile memory on a circuit board while isolating the processor from power using expansion bus controller
US7010680B2 (en) ROM writer has switching device for switching between external start-up ROM and data ROM to update control program in built-in writable ROM
WO2004003742A1 (en) Information processing unit and method, recording medium, and program
JP2009080736A (en) Plc construction method
JP4330355B2 (en) Display device
CN110633109A (en) Method for dynamically setting display panel and electronic device
JP3500100B2 (en) Display device program rewriting method
JPH11149377A (en) Image forming device
KR20030011553A (en) Electronic apparatus and correction method
KR100337855B1 (en) Upgrade method and apparatus of program/data
KR19980067233A (en) Memory device and recording method thereof

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid