KR100585529B1 - Method and system for download and version management of cpld - Google Patents
Method and system for download and version management of cpld Download PDFInfo
- Publication number
- KR100585529B1 KR100585529B1 KR1020030091231A KR20030091231A KR100585529B1 KR 100585529 B1 KR100585529 B1 KR 100585529B1 KR 1020030091231 A KR1020030091231 A KR 1020030091231A KR 20030091231 A KR20030091231 A KR 20030091231A KR 100585529 B1 KR100585529 B1 KR 100585529B1
- Authority
- KR
- South Korea
- Prior art keywords
- cpld
- version
- stored
- information
- memory
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
- H04N5/775—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television receiver
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
본 발명은 현재의 CPLD 버젼 정보를 ROM 등에 저장하고 시스템 부팅시 이를 체크하여 기 저장되어 있는 CPLD 버젼 데이터가 실제 CPLD 버젼과 다르다고 판단된 경우 자동적으로 CPLD를 다운로드하는 방법 및 시스템과 관련된 것으로서, 본 발명의 CPLD 다운로드 방법은 시스템을 부팅하면 CPU에서 CPLD 상의 실제 버젼 정보와 메모리에 기 저장된 CPLD 버젼 정보를 비교하는 단계, 비교 결과 CPLD 버젼이 상호 일치하지 않는 경우는 시스템 동작을 중지하고 시스템을 CPLD 다운로드 모드로 전환하는 단계, CPLD 다운로드 모듈에서 일치하는 버젼의 CPLD를 프로그램되도록 하여 CPLD를 다운로드 저장하는 단계, 및 CPLD를 다운로드한 후 CPLD의 새로운 버젼 정보를 메모리에 기록하는 단계를 포함한다.The present invention relates to a method and a system for automatically downloading a CPLD when the current CPLD version information is stored in a ROM or the like and checked when the system is booted, and the stored CPLD version data is different from the actual CPLD version. The CPLD download method is a step of comparing the actual CPLD information stored in the CPU with the CPLD version information stored in the memory when the system is booted. If the CPLD version does not match with each other as a result of the comparison, the system is stopped and the system is in the CPLD download mode. And converting the CPLD into a CPLD download module so that a CPLD of a matching version is programmed, downloading and storing the CPLD, and recording new version information of the CPLD into a memory after downloading the CPLD.
CPLD, DTVCPLD, DTV
Description
도 1은 본 발명의 일실시예에 따른 CPLD 다운로드 방법을 순차적으로 도시한 순서도.1 is a flowchart sequentially illustrating a CPLD download method according to an embodiment of the present invention.
도 2는 본 발명의 일실시예에 따른 CPLD 제어 관리 방법을 순차적으로 도시한 구성도.2 is a configuration diagram sequentially showing a CPLD control management method according to an embodiment of the present invention.
도 3은 본 발명의 일실시예에 따른 CPLD 제어 관리가 가능한 시스템의 주요 구성을 개략적으로 도시한 블록도.Figure 3 is a block diagram schematically showing the main configuration of a system capable of CPLD control management according to an embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
301: CPU 303: CPLD301: CPU 303: CPLD
305: EEPROM 307: Flash memory305: EEPROM 307: Flash memory
309: CPLD Downloader309: CPLD Downloader
본 발명은 DTV 셋 또는 셋탑박스의 CPLD 버젼 관리 및 다운로드 방법 및 시스템에 관한 것으로서, 특히 현재의 CPLD 버젼 정보를 EEPROM 등에 저장하고 시스 템 부팅시 이를 체크하여 기 저장되어 있는 CPLD 버젼 데이터가 실제 CPLD 버젼과 다르다고 판단된 경우 자동적으로 CPLD를 다운로드하는 방법 및 시스템에 관한 것이다.The present invention relates to a CPLD version management and download method and system of a DTV set or set-top box, and in particular, the current CPLD version information is stored in the EEPROM, etc. CPLD version data stored in the pre-stored CPLD version data is the actual CPLD version The present invention relates to a method and a system for automatically downloading a CPLD when it is determined to be different from.
DTV 시스템에서는 시스템 인터페이스, 외부 비디오 또는 오디오 신호 프로세싱, CPU 주변회로에서 신호 정합 등을 처리하기 위하여 CPLD(Complex Programmable Logic Device, 이하 "CPLD"라 함) 또는 EPLD(Erasable Programmable Logic Device, 이하 "EPLD"라 함) 등의 프로그램가능논리소자(PLD)를 사용하며, 통상 DTV 제품은 그 스펙(spec)에 따라 적어도 하나 이상의 CPLD가 사용된다.In DTV systems, complex programmable logic devices (CPLDs) or erasable programmable logic devices (EPLDs) for processing system interfaces, external video or audio signal processing, and signal matching in CPU peripherals. Programmable logic device (PLD), etc., and in general, at least one CPLD is used in a DTV product according to a spec.
CPLD는 전체 시스템이 부팅(Booting)하여 동작을 하기위한 필요 기본 신호를 제공해주며, 향후 시스템내에 수정이나 변동 사항이 발생한 경우 그에 따른 추가적인 하드웨어의 변경없이 CPLD를 다시 프로그램함으로써 전체 시스템을 보다 쉽게 변동사항에 적용시키는 중요한 역할을 하고 있다. 이와 같은 시스템 운영에 핵심적인 요소라 할 수 있는 CPLD는 사소한 수정이나 오류에서도 동작하지 않을 수 있으며, 이런 경우 전체 시스템 동작이 정지(Halt)되어 치명적인 문제점이 발생할 수도 있다.CPLD provides the necessary basic signals for the entire system to boot and operate, and in the event of any future modifications or changes in the system, it is easier to change the entire system by reprogramming the CPLD without additional hardware changes. It plays an important role in the application. CPLD, which is a key factor in operating such a system, may not operate even with minor modifications or errors. In this case, the entire system may be suspended and a fatal problem may occur.
그러므로, 제품 개발시부터 양산까지 시스템의 CPLD 버젼을 관리하고 각 프로그램 소스(Source) 및 이미지 파일을 정리 보관하는 것이 시스템 관리 및 향후 문제점 방지를 위하여 매우 중요한 사항이라 할 수 있다. 실제 제품 양산 과정에서는 CPLD의 양산 코드에 대한 버젼이 양산 제품의 하드웨어 및 소프트웨어와 맞지 않아서 양산이 불가능하게 되어버리는 경우도 종종 발생하고 있다.Therefore, managing the CPLD version of the system from product development to mass production and organizing and storing each program source and image file is very important for system management and prevention of future problems. In the actual production process, the version of the CPLD's production code often does not match the hardware and software of the production product, which makes it impossible to mass-produce.
이처럼 CPLD는 시스템 운영에 핵심 요소이며, 개발 초기부터 계속하여 수정되고 디버깅(debugging)되기 때문에 개발 단계부터 계속하여 버젼 관리가 요구된다.As such, CPLD is a key element in system operation, and since it is modified and debugged from the beginning of development, version management is required from the development stage.
그러나 종래 기술에 따르면 별도의 CPLD 버젼을 관리하기 위한 장치가 없어서 개발 담당자가 자기 나름대로의 방식을 이용하여 날짜와 소스상의 코멘트 등을 참조하여 CPLD 버젼을 관리하였으며, 따라서 CPLD의 버젼 관리는 담당자에게 의존할 수 밖에 없었다. 이 때문에 CPLD의 버젼관리가 용이하지 못하며, 문제가 발생한 경우 적절하게 대응하지 못하는 등의 많은 어려움이 발생하고 있다.However, according to the prior art, since there is no device for managing a separate CPLD version, the developer in charge manages the CPLD version by referring to the date and source comments using his own method, and thus, the version management of the CPLD depends on the person in charge. I had to do it. For this reason, CPLD version management is not easy, and when a problem occurs, there are many difficulties such as failure to properly respond.
본 발명은 상기 종래 기술의 문제점을 해결하기 위하여 DTV 시스템 내의 CPLD 버젼을 효율적으로 관리하고 버젼 불일치가 발생하여 시스템 이상 동작을 방지하는 것을 목적으로 한다.An object of the present invention is to efficiently manage the CPLD version in the DTV system in order to solve the problems of the prior art, and to prevent system abnormal operation because a version mismatch occurs.
또한, 개발 및 양산시 CPLD의 버젼 관리를 통하여 향후 업그레이드 및 이전 버젼에 대한 히스토리(History)를 관리할 수 있도록 하는 것을 다른 목적으로 한다.In addition, the development and mass production of CPLD version management through the future to upgrade and manage the history (History) for the previous version to another purpose.
나아가 이전 버젼 이미지 코드를 Re-Write 할 수 있도록 하여, CPLD가 잘못 수정된 경우라도 이전 버젼으로 쉽게 복귀하여 시스템의 정상적인 운영을 이루도록 하는 것을 또 다른 목적으로 하고 있다.In addition, the previous version of the image code can be re-written, so that even if the CPLD is incorrectly modified to easily return to the previous version to ensure the normal operation of the system.
상기 목적을 달성하기 위한 본 발명의 CPLD 다운로드 방법은, CPLD(Complex Programmable Logic Device), CPU, CPLD의 버젼 정보가 기록 저장된 메모리 및 CPLD를 외부로부터 다운로드하는 CPLD 다운로드 모듈을 포함한 시스템에서 CPLD를 다운로드하는 방법에 있어서, 시스템을 부팅하면 상기 CPU에서 상기 CPLD 상의 실제 버젼 정보와 상기 메모리에 기 저장된 CPLD 버젼 정보를 비교하는 단계, 상기 비교 결과 CPLD 버젼이 상호 일치하지 않는 경우는 시스템 동작을 중지하고 시스템을 CPLD 다운로드 모드로 전환하는 단계, 상기 CPLD 다운로드 모듈에서 일치하는 버젼의 CPLD를 프로그램되도록 하여 CPLD를 다운로드 저장하는 단계, 및 상기 CPLD를 다운로드한 후 CPLD의 새로운 버젼 정보를 상기 메모리에 기록하는 단계를 포함한다.CPLD download method of the present invention for achieving the above object, CPLD (Complex Programmable Logic Device), CPU, CPLD download in the system including a memory, CPLD download module for downloading the CPLD version information and CPLD from the outside; The method of claim 1, wherein when the system is booted, comparing the actual version information on the CPLD with the CPLD version information previously stored in the memory, and stopping the system operation if the CPLD versions do not match. Switching to a CPLD download mode; downloading and storing a CPLD by programming a CPLD of a matching version in the CPLD download module; and recording new version information of a CPLD in the memory after downloading the CPLD. do.
또한, 상기 CPLD 다운로드 방법에서 상기 메모리는 이이피롬(EEPROM)인 것을 특징으로 한다.In the CPLD download method, the memory is EPIROM.
또한, 시스템은 플래시 메모리를 더 구비하며, 플래시 메모리에는 이전 버젼의 CPLD 코드 이미지가 백업(back-up) 저장되어 있는 것을 특징으로 한다.In addition, the system further comprises a flash memory, the flash memory is characterized in that the previous version of the CPLD code image is stored (back-up).
본 발명의 CPLD 버젼을 제어 관리 하는 방법은, CPLD(Complex Programmable Logic Device), CPU, CPLD의 버젼 정보가 기록 저장된 메모리 및 소정의 데이터가 저장된 플래시메모리를 포함하는 DTV 시스템에서 CPLD 버젼을 제어 관리 하는 방법에 있어서, CPLD를 새롭게 버젼 업그레이드 한 경우 상기 플래시메모리에 업그레이드 이전 버젼의 CPLD 코드 이미지를 백업 저장하여 보관하고 있으며, 시스템을 부팅하면 CPU에서 CPLD 상의 실제 버젼 정보와 메모리에 기 저장된 CPLD 버젼 정보를 비교하는 단계, 및 비교 결과 CPLD 상의 실제 버젼 정보를 파악할 수 없거나 CPLD 내용을 파악할 수 없는 경우 플래시메모리에 백업 저장되어 있는 이전 버젼의 CPLD 코드 이미지를 다운로드 하는 단계, 및 CPLD를 플래시메모리의 백업 코드 이미지로부터 다운로드한 후 CPLD의 변경된 버젼 정보를 상기 메모리에 기록하는 단계를 포함하며, CPLD의 버젼 및 업그레이드 정보를 포함한 히스토리(History)정보를 상기 메모리에 기록하고 적어도 하나 이상의 종래 버젼의 CPLD 코드 이미지를 상기 플래시 메모리에 백업 저장하는 것을 특징으로 한다.A method of controlling and managing a CPLD version of the present invention includes controlling and managing a CPLD version in a DTV system including a CPLD (Complex Programmable Logic Device), a CPU, a memory in which version information of the CPLD is stored, and a flash memory in which predetermined data is stored. In the method, when a new version of CPLD is upgraded, a backup image of the previous version of the CPLD code is stored in the flash memory. When the system is booted, the CPU stores the actual version information on the CPLD and the CPLD version information stored in the memory. Comparing, and downloading the previous version of the CPLD code image stored in the flash memory when the actual version information on the CPLD cannot be identified or the contents of the CPLD are not stored; and the CPLD is a backup code image on the flash memory. Change the version information of CPLD after downloading from. Comprising the step of writing to the memory, characterized in that for recording history (History) information, including the version, and upgrade information of the CPLD in the memory, and a backup store CPLD code image of at least one or more conventional version of the flash memory.
본 발명의 CPLD 제어 관리 시스템은 CPLD(Complex Programmable Logic Device) 및 CPU를 포함한 DTV 시스템에 있어서, CPLD의 업그레이드 정보 및 이전 버젼 정보들이 순차적으로 기록 저장된 이이피롬(EEPROM), 이전 버젼의 CPLD 코드 이미지가 백업(back-up)되어 기록 저장되는 플래시 메모리, 및 CPLD의 버젼 불일치가 발생한 경우 외부로부터 새로운 버젼의 CPLD가 프로그램되어 다운로드되도록 하는 CPLD 다운로더(Downloader)를 포함하며, 상기 CPU에서는 상기 이이피롬에 저장된 CPLD 버젼 정보와 상기 CPLD의 실제 버젼 정보를 비교하여 버젼 일치 여부를 판단하여, 버젼 불일치가 발생한 경우는 새로운 버젼의 CPLD를 상기 CPLD 다운로더를 통하여 외부로부터 다운로드 받거나 또는 이전 버젼의 CPLD 코드 이미지가 백업되어 저장되어 있는 상기 플래시 메모리로부터 이전 버젼의 CPLD 코드 이미지를 다운로드 받아 CPLD를 되쓰기(Re-write)하여 CPLD 버젼을 제어 관리하는 것을 특징으로 한다.The CPLD control management system of the present invention is a DTV system including a CPLD (Complex Programmable Logic Device) and a CPU. Flash memory that is backed up and stored, and a CPLD Downloader which allows a new version of CPLD to be programmed and downloaded from the outside in case a version mismatch of CPLD occurs. By comparing the CPLD version information and the actual version information of the CPLD to determine whether there is a version match, if a version mismatch occurs, a new version of the CPLD is downloaded from the outside through the CPLD downloader or the previous version of the CPLD code image is backed up. The previous version of CPLD code from the stored flash memory. And download the images by writing (Re-write) are the CPLD it is characterized in that the control manages the CPLD version.
또한, 상기 CPLD 제어 관리 시스템은, CPLD의 버젼 불일치가 발생하여 새로운 버젼의 CPLD를 외부로부터 프로그램 다운로드 받는 경우 CPLD의 현재 버젼 코드 이미지를 플래시메모리로 백업 저장한 후 다운로드 받는 것을 특징으로 한다.In addition, the CPLD control management system, when a version mismatch of the CPLD occurs, when a new version of the CPLD program download from the outside, the current version code image of the CPLD is characterized in that the backup and store the flash memory to download after downloading.
또한, 상기 CPLD 제어 관리 시스템에서는, CPLD를 다운로드한 경우는 상기 이이피롬에 CPLD의 버젼 관리를 위한 갱신 정보를 기록 저장하는 것을 특징으로 한다.In the CPLD control management system, when CPLD is downloaded, update information for version management of CPLD is recorded and stored in the EPROM.
이하 첨부된 도면을 참조하여 본 발명의 실시예를 설명한다.Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[실시예]EXAMPLE
도 1은 본 발명의 일실시예에 따른 CPLD 다운로드 방법을 순차적으로 도시한 순서도 이다.1 is a flowchart sequentially illustrating a CPLD download method according to an embodiment of the present invention.
시스템을 시작하면 부팅(Booting)이 시작되고 이와 같은 부팅 및 정상적인 Operating이 될 수 있도록 동작하는데 필요한 기본 신호가 CPLD를 통하여 제공된다. 그러나 CPLD가 정상이 아니라면 시스템 동작이 Halt하여 치명적인 오류가 발생하게 된다. 따라서 가장 먼저 CPU에서는 CPLD를 체크하여 정상인지 여부를 판단하게 된다. When the system starts up, booting starts and basic signals necessary to operate such boot and normal operation are provided through CPLD. However, if the CPLD is not normal, the system will halt and cause a fatal error. Therefore, the CPU first checks the CPLD to determine whether it is normal.
우선 시스템의 전원을 인가하여 시스템을 시작한다(S101).First, the system is started by applying power to the system (S101).
CPU에서는 CPLD 및 롬(ROM)에 저장된 CPLD 버젼을 상호 비교한다(S103). The CPU compares the CPLD and the CPLD versions stored in the ROM (S103).
상기 비교는 버젼이 상호 일치하는지 여부를 판단하게 된다(S105). 즉 시스템의 롬에는 CPLD의 버젼 및 업그레이드 등의 히스토리(History)가 기록 저장되어 있으며, CPU에서는 롬상에 현재 CPLD 버젼 정보를 읽어와서 이를 실제 CPLD 버젼과 비교하여 일치여부를 판단하게 된다.The comparison determines whether the versions coincide with each other (S105). That is, a history of the CPLD version and upgrade is stored in the ROM of the system, and the CPU reads the current CPLD version information on the ROM and compares it with the actual CPLD version to determine whether there is a match.
이 때, 롬에 저장된 CPLD 버젼과 실제 CPLD의 버젼이 일치(Matching)되는 경 우는 시스템의 정상적인 동작을 시작하게 된다(S121). 만약, 불일치(Mismatching)라 판단된 경우는 CPLD 다운로드 모드로 전환한다(S107).At this time, when the CPLD version stored in the ROM and the actual CPLD version match (matching), the normal operation of the system starts (S121). If it is determined that there is mismatching, the process switches to the CPLD download mode (S107).
실제로 DTV 시스템 등에서의 CPLD는 개발 Event 진행중에 시스템 인터페이스를 위하여 많은 내용이 추가 또는 삭제되어 계속적인 수정이 이루어진다. 이에 따라, 개발이 진행될수록 많은 버젼의 CPLD 코드가 발생하게 되며, 이를 정확하게 매칭시켜주는 것이 필요하다. 따라서 CPLD 불일치일 경우는 CPLD 다운로드 모듈을 통하여 소스 코드를 수정하여 프로그램하게 된다. 이 때 바람직하게는 만일의 사태를 대비하고자 새로운 버젼의 CPLD를 다운로드하여 Over-Writing 하기 전에 현재 버젼의 CPLD를 제2의 메모리에 백업 저장하여 둔다. 이는 도 2를 참조하여 해당 부분에서 보다 상세히 설명한다.In fact, CPLD in DTV system, etc. is continuously modified as many contents are added or deleted for system interface during development event. Accordingly, as the development proceeds, many versions of CPLD codes are generated, and it is necessary to match them correctly. Therefore, in case of CPLD mismatch, the source code is modified through the CPLD download module. At this time, preferably, the current version of CPLD is backed up and stored in the second memory before downloading and over-writing the new version of CPLD in case of emergency. This will be described in more detail with reference to FIG. 2.
CPLD를 다운로드 하여 CPLD 정보가 변경된 경우는 다운로드된 CPLD의 버젼 정보를 롬에 저장한다(S111). 이는 이후의 시스템 부팅시 CPLD의 새로운 버젼과 롬의 CPLD 버젼이 일치하여야만 시스템이 정상적으로 동작되도록 하기 위함이며, 체계적인 CPLD 제어 관리를 위하여 롬 등에는 이러한 CPLD 갱신 정보를 체계적으로 저장하여 관리할 필요가 있다.If the CPLD information is changed by downloading the CPLD, the version information of the downloaded CPLD is stored in the ROM (S111). This is to ensure that the system can operate normally only when the new version of CPLD and the CPLD version of the ROM coincide with each subsequent system boot.In order to systematically manage CPLD control, the ROM needs to store and manage such CPLD update information systematically. .
롬에 CPLD 버젼 정보가 갱신 저장되면, 시스템을 동작시킨다(S121).When the CPLD version information is updated and stored in the ROM, the system is operated (S121).
도 2는 본 발명의 일실시예에 따른 CPLD 제어 관리 방법을 순차적으로 도시한 구성도이다. 이하에서는 상기 도 1과 동일한 과정은 동일한 도면부호를 사용하여 그 설명을 생략한다.2 is a configuration diagram sequentially showing a CPLD control management method according to an embodiment of the present invention. Hereinafter, the same process as in FIG. 1 will be omitted using the same reference numerals.
시스템 시작 및 CPLD 버젼 비교 과정은 앞서 설명한 도 1과 동일하다(101~ 105).The process of starting the system and comparing the CPLD version is the same as that of FIG. 1 described above (101 to 105).
CPU에서는 CPLD 및 롬(ROM)에 저장된 CPLD 버젼을 상호 비교(S103)하여 버젼 일치여부를 파악한다. The CPU compares the CPLD versions stored in the CPLD and the ROM with each other (S103) to determine whether the versions match.
판단 결과 버젼이 일치하는 경우는 시스템을 정상적으로 동작시킨다(S121).If the versions are the same as the determination result, the system operates normally (S121).
판단 결과 버젼이 불일치하는 경우는 CPLD 다운로드 모드로 전환한다.If the version is inconsistent as a result of the determination, switch to the CPLD download mode.
이 때, 구체적으로 CPLD의 내용이 부정확하거나 또는 정확한 버젼을 파악할 수 없는 경우도 발생할 수 있으며, 경우에 따라서는 CPLD의 업그레이드가 요구되는 경우도 발생할 수 있다. 본 발명에서는 시스템 상에서 CPLD의 체계적 버젼 관리 및 제어가 가능하므로 상기 모든 경우를 다 포함하여 CPLD를 갱신하는 것이 가능하다.In this case, in detail, the contents of the CPLD may be incorrect or may not be able to determine the correct version. In some cases, an upgrade of the CPLD may be required. In the present invention, since the systematic version management and control of the CPLD is possible on the system, it is possible to update the CPLD including all the above cases.
CPU는 버젼 불일치의 경우 실제 CPLD의 내용을 파악하는 것이 가능한지 채크한다(S206).In the case of version mismatch, the CPU checks whether it is possible to grasp the contents of the actual CPLD (S206).
실제 CPLD의 내용 파악을 통하여 롬상의 CPLD 버젼 정보와 현재 CPLD 상의 실제 버젼이 다른 경우는 CPLD 업그레이드를 위한 다운로드를 실시한다. 이 때, 외부로부터 새로운 버젼의 CPLD를 다운로드하여 CPLD 상에 Over-Writing하기 전에 현재 버젼의 CPLD 코드 이미지를 플래시메모리 상에 저장하여 둔다(S208). 실제 CPLD의 코드 이미지는 수 내지 수십 킬로바이트 정도에 불과하며, 이는 바이너리 형태로 백업 저장된다. 이는 향후 CPLD 버젼 비교 과정에서 CPLD의 내용 판독이 불가능한 경우 업그레이드 마져도 불가능해지는 상황을 대비한 것이다.If the CPLD version information on ROM is different from the actual CPLD version information through understanding the contents of actual CPLD, download for CPLD upgrade. At this time, the CPLD code image of the current version is stored in the flash memory before the new version of CPLD is downloaded from the outside and over-written on the CPLD (S208). Code images in actual CPLDs are only a few to tens of kilobytes long, which are backed up in binary form. This is to prepare for the situation where it is impossible to upgrade even if it is impossible to read the contents of CPLD in the process of comparing CPLD versions.
플래시메모리에 현재 버젼의 CPLD 코드 이미지가 백업 저장되면, 수정된 버젼의 CPLD 코드를 외부로부터 수정 또는 삭제 등의 과정을 통하여 다운로드 받는다(S209).When the current version of the CPLD code image is backed up and stored in the flash memory, the modified version of the CPLD code is downloaded from a process such as modification or deletion from the outside (S209).
이 후 CPLD 버젼의 갱신된 정보를 롬에 저장하여 계속적인 CPLD 버젼관리가 이루어지도록 한다(S211).Thereafter, the updated information of the CPLD version is stored in the ROM so that continuous CPLD version management is performed (S211).
CPLD 버젼 정보가 롬에 저장되면, 시스템을 정상적으로 동작시킨다(S121).If the CPLD version information is stored in the ROM, the system operates normally (S121).
한편, 앞서 CPU는 버젼 불일치의 경우 실제 CPLD의 내용을 파악하는 것이 가능한지 채크(S206)하여 실제 CPLD의 내용을 판독하는 것이 불가능하거나 또는 실제 CPLD의 버젼 정보를 판독할 수 없는 경우, CPLD 파악 불능으로 판단하여 시스템의 플래시메모리에 기 저장된 이전 버젼의 백업 데이터를 CPLD로 다운로드한다(S207).On the other hand, in the case of version mismatch, the CPU checks whether the contents of the actual CPLD can be checked (S206), so that the contents of the actual CPLD cannot be read or the version information of the actual CPLD cannot be read. In operation S207, the backup data of the previous version stored in the flash memory of the system is downloaded to the CPLD.
본 발명은 이와 같이 백업 데이터를 이용하여 시스템 내에서도 효율적인 CPLD 관리 및 제어가 가능하도록 한다.The present invention enables efficient CPLD management and control even within the system using the backup data.
이후 CPLD의 갱신된 버젼 정보를 롬에 저장하여 계속적인 CPLD 버젼 관리가 이루어지도록 한다(S211).Subsequently, the updated version information of the CPLD is stored in the ROM to continuously manage the CPLD version (S211).
CPLD 버젼 정보가 롬에 저장되면, 시스템을 정상적으로 동작시킨다(S121).If the CPLD version information is stored in the ROM, the system operates normally (S121).
도 3은 본 발명의 일실시예에 따른 CPLD 제어 관리가 가능한 시스템의 주요 구성을 개략적으로 도시한 블록도이다. 본 시스템은 기본적인 하드웨어 구성은 종래와 유사하지만, 체계적인 CPLD 버젼관리 및 제어가 가능한 특징이 있다.3 is a block diagram schematically showing the main configuration of a system capable of CPLD control management according to an embodiment of the present invention. The basic hardware configuration of this system is similar to the conventional one, but there is a feature that allows systematic CPLD version management and control.
도 3 및 이하에서는 본 CPLD 버젼 관리 및 제어와 관련된 기능을 중심으로 시스템 내부 구성과 그 동작을 설명한다.3 and below will be described the internal configuration of the system and its operation mainly on the functions related to the CPLD version management and control.
도 3에 도시된 CPLD 제어 관리 시스템은 CPU(301), CPLD(Complex Programmable Logic Device)(303), EEPROM(305), 플래시 메모리(307) 및 CPLD 다운로더(CPLD Downloader)(309)를 포함한다.The CPLD control management system illustrated in FIG. 3 includes a
CPU(301)는 시스템 동작을 위한 각종 모듈을 제어하며, CPLD 버젼 및 제어 관리를 위한 버젼 일치 여부 판단과 CPLD 다운로드 등의 동작을 수행한다.The
CPLD(303)는 Macro Cell을 기본 로직 유닛으로 하여 구성되며, 시스템이 부팅하여 동작하는데 필요한 기본적인 신호를 제공해 준다. 또한 버젼정보도 함께 가지고 있다.
이이피롬(305)은 시스템 동작시 초기 부팅에 필요한 각종 정보가 기록 저장되어 있으며, CPU(301)는 이이피롬을 통하여 필요한 정보를 획득하여 시스템을 동작시킨다. 무엇보다 본 발명과 관련해서 이이피롬에는 CPLD의 버젼 정보 및 기타 히스토리 정보가 기록 저장되어 관리된다. 그러나 본 실시예의 이이피롬(305)은 하나의 실시예일 뿐이며, 롬 또는 이피롬 등이 사용되더라도 무방하다.This pyrom 305 records and stores a variety of information necessary for initial booting during system operation, and the
플래시메모리(307)는 본 발명과 관련하여 이전(Previous) 버젼의 CPLD 코드 이미지가 백업(back-up)되어 기록 저장된다.The
CPLD 다운로더(CPLD Downloader)(309)는 CPLD의 버젼 불일치가 발생한 경우 외부로부터 새로운 버젼의 CPLD가 프로그램되어 다운로드되도록 하거나 또는 상기 플래시메모리에 저장된 이전(Previous) 버젼의 CPLD 백업 데이터를 CPLD에 다운로드 되도록 한다.The
무엇보다 CPU(301)에서는 이이피롬(305)에 저장된 CPLD 버젼 정보와 CPLD(303)의 실제 버젼 정보를 비교하여 버젼 일치 여부를 판단하여, 버젼 불일치가 발생한 경우는 새로운 버젼의 CPLD를 CPLD 다운로더(309)를 통하여 외부로부터 다운로드 받거나 또는 이전 버젼의 CPLD 코드 이미지가 백업되어 저장되어 있는 플래시메모리(307)로부터 이전 버젼의 CPLD 코드 이미지를 다운로드 받아 CPLD를 되쓰기(Re-write)하여 CPLD 버젼을 제어 관리하는 것을 특징으로 한다.First of all, the
즉, 도 3의 CPLD 제어 관리 시스템은 도 1 및 도 2를 참조하여 설명한 CPLD 다운로드 및 제어 관리 방법을 구현하는 시스템에 해당된다.That is, the CPLD control management system of FIG. 3 corresponds to a system implementing the CPLD download and control management method described with reference to FIGS. 1 and 2.
이상 첨부된 도면을 참조하여 본 실시예에서 설명한 것은 본 발명의 대표적인 실시예를 설명한 것이며, 본 발명의 CPLD 다운로드 및 버젼 제어 관리 방법은 이에 한정되지 않고 본 발명의 범위 내에서 다양한 형태로 구성될 수 있다. What has been described in the present embodiment with reference to the accompanying drawings has been described a representative embodiment of the present invention, CPLD download and version control management method of the present invention is not limited to this may be configured in various forms within the scope of the present invention. have.
또한 CPLD 뿐만이 아니라 앞서 설명한 EPLD의 다운로드 및 버젼 제어 관리 방법 및 시스템에서도 본 발명이 적용될 수 있음은 당업자에게 자명한 사항이다.In addition, it will be apparent to those skilled in the art that the present invention may be applied not only to CPLD but also to the method and system for managing and downloading EPLD described above.
본 발명에 따르면, CPLD를 사용하는 DTV 시스템에서 초기 개발 및 제품 양산 단계까지 CPLD의 내용 수정에 따른 체계적이며 효과적인 버젼 관리가 가능하고, 시스템에서 자동적으로 CPLD 버젼 일치 여부를 감지하여 다운로드를 수행할 수 있는 효과가 발생한다. 따라서, CPLD 버젼 불일치로 인한 시스템의 락 업(Lock-Up) 등을 미연에 방지할 수 있는 효과가 있다.According to the present invention, it is possible to systematically and effectively manage the version according to the contents of the CPLD until the initial development and mass production stage in the DTV system using the CPLD, and the system can automatically detect whether the CPLD version matches, and download can be performed. That effect occurs. Therefore, it is possible to prevent the lock-up of the system due to the CPLD version mismatch in advance.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030091231A KR100585529B1 (en) | 2003-12-15 | 2003-12-15 | Method and system for download and version management of cpld |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030091231A KR100585529B1 (en) | 2003-12-15 | 2003-12-15 | Method and system for download and version management of cpld |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050060146A KR20050060146A (en) | 2005-06-22 |
KR100585529B1 true KR100585529B1 (en) | 2006-06-07 |
Family
ID=37252888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020030091231A KR100585529B1 (en) | 2003-12-15 | 2003-12-15 | Method and system for download and version management of cpld |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100585529B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107544812B (en) * | 2017-09-15 | 2020-09-18 | 苏州浪潮智能科技有限公司 | Method for realizing remote reading of CPLD version |
CN112947989A (en) * | 2021-03-22 | 2021-06-11 | Tcl空调器(中山)有限公司 | Control method and device, mainboard controller, electric appliance and medium |
KR20230017617A (en) | 2021-07-28 | 2023-02-06 | 박세헌 | Wiper blade with low noise rubber blade |
-
2003
- 2003-12-15 KR KR1020030091231A patent/KR100585529B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20050060146A (en) | 2005-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6615404B1 (en) | Method and apparatus for downloading software into an embedded-system | |
US5432927A (en) | Fail-safe EEPROM based rewritable boot system | |
US7206971B2 (en) | Selectable and updatable computer boot memory | |
US6629259B2 (en) | Method for automatically duplicating a BIOS | |
US8280579B2 (en) | Memory management apparatus | |
US9027014B2 (en) | Updating firmware compatibility data | |
US20040030877A1 (en) | Using system BIOS to update embedded controller firmware | |
US20100180108A1 (en) | Electronic device and method for secure operating system update in embedded system | |
US20070094656A1 (en) | Self-modifying copier for downloading executable code in a non-disruptive manner | |
WO2000019317A1 (en) | Protection of boot block code while allowing write accesses to the boot block | |
RU2248627C2 (en) | Method and device for changing content of memory devices of control blocks | |
EP1701262B1 (en) | Method and device of rewriting a sector storing the bootloader code in a sector erasable semiconductor memory means | |
JP2008504628A (en) | Safe flushing | |
US8036786B2 (en) | On-vehicle control apparatus | |
US6134628A (en) | Method and computer-based system for rewriting a nonvolatile rewritable memory | |
CN110865822A (en) | Starting framework and method of Bootloader flash program for whole vehicle controller | |
JP3886539B2 (en) | How to load the operating system | |
CN115718610A (en) | Reliable method for updating application program of single chip microcomputer | |
US20040250058A1 (en) | System and method for automatic booting based on single flash ROM | |
KR100585529B1 (en) | Method and system for download and version management of cpld | |
CN108572835A (en) | A kind of FPGA configuration file online upgrade system | |
JP2005284902A (en) | Terminal device, control method and control program thereof, host device, control method and control program thereof, and method, system, and program for remote updating | |
US6604194B1 (en) | Program updating method and apparatus for communication terminal system | |
KR100832269B1 (en) | Program update method and system for wireless communication terminal | |
US20070220186A1 (en) | Frequency converter controller, peripheral device, method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |