KR940011043B1 - Method of initializing eeprom - Google Patents

Method of initializing eeprom Download PDF

Info

Publication number
KR940011043B1
KR940011043B1 KR1019920016457A KR920016457A KR940011043B1 KR 940011043 B1 KR940011043 B1 KR 940011043B1 KR 1019920016457 A KR1019920016457 A KR 1019920016457A KR 920016457 A KR920016457 A KR 920016457A KR 940011043 B1 KR940011043 B1 KR 940011043B1
Authority
KR
South Korea
Prior art keywords
eeprom
data
microcomputer
code
vcr
Prior art date
Application number
KR1019920016457A
Other languages
Korean (ko)
Other versions
KR940007889A (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 KR1019920016457A priority Critical patent/KR940011043B1/en
Publication of KR940007889A publication Critical patent/KR940007889A/en
Application granted granted Critical
Publication of KR940011043B1 publication Critical patent/KR940011043B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Abstract

In TV or VCR, EEPROM (Electrically Erasable Programming ROM) is used to store channel data and volume data transmitted from a micom. The initialization method comprises the first step to retrieve data stored in a specified address of EEPROM, the second step to compare the retrieved data and a predetermined data, the final step to set all in EEPROM to an initial value and store the predetermined data in the specified address of EEPROM in the non-equal cases.

Description

이이피롬(EEPROM)의 초기화 방법How to initialize EEPROM

제 1 도는 일반적인 마이컴과 EEPROM과의 접속 관계의 구성을 도시하는 블록도.1 is a block diagram showing a configuration of a connection relationship between a general microcomputer and an EEPROM.

제 2 도는 제 1 도에 도시된 마이컴에 의해 실행되는 본 발명에 따른 EEPROM 초기화 인터럽트 과정을 설명하는 플로우차트.2 is a flowchart illustrating an EEPROM initialization interrupt process according to the present invention executed by the microcomputer shown in FIG.

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

10 : 마이컴 CS : 칩 선택 단자10: microcomputer CS: chip select terminal

20 : EEPROM CK : 클럭 단자20: EEPROM CK: clock terminal

AD : 어드레스 단자 DI/O : 데이타 입/출력 단자AD: Address terminal DI / O: Data input / output terminal

본 발명은 VCR 또는 TV 등에서 사용되는 채널 데이타와 키 볼륨 데이타를 기억하는 EEPROM을 자동으로 초기화시켜주는 EEPROM 초기화 방법에 관한 것이다.The present invention relates to an EEPROM initialization method for automatically initializing an EEPROM for storing channel data and key volume data used in a VCR or a TV.

일반적으로, EEPROM(Electrically Erasable Programmable ROM)은 자외선 소거형인 EPROM과 달리 전기적으로 소거가 가능한 ROM이며, RAM과 달리 백업용 배터리가 필요하지 않으며 재기록이 가능한 프로그램 변경 가능한 장점이 있다.In general, unlike an ultraviolet erasing EPROM, an EEPROM (Electrically Erasable Programmable ROM) is an electrically erasable ROM. Unlike RAM, an EEPROM does not require a backup battery and has a merit in which a program can be rewritten.

이러한 EEPROM은 TV 또는 VCR 등에서 방송 채널과 연관된 기능, 예를들면, 우리나라의 가능한 채널대역 2 내지 83 채널중 원하는 채널들만을 기억하고 선택적으로 스킵 온/오프하는 기능과, 전원을 오프하기 전에 선택된 최종 채널 기억 기능과, 키 데이타 및 볼륨 데이타등을 기억하는 기능을 수행하는데 사용되고 있다.The EEPROM is a function associated with a broadcasting channel in a TV or a VCR, for example, a function of storing and selectively skipping ON / OFF only desired channels among the available channel bands 2 to 83 of Korea, and selecting the final selected before turning off the power. It is used to perform a channel storage function and a function for storing key data and volume data.

이러한 목적에 사용되는 EEPROM은 제품 세트에 설치시, 정전 보상 시간, 예로, 약 30분 경과시 등에 전기적 오류에 의해 원하지 않는 데이타가 기록된 것을 소거하기 위하여 초기화 작업이 필요하다.EEPROMs used for this purpose require an initialization operation to erase unwanted data recorded by an electrical error when installed in a product set, such as power failure compensation time, e.g., about 30 minutes.

선행기술에 의한 EEPROM의 초기화 작업은 TV 또는 VCR 세트에 설치되어 있는 EEPROM 올(all)클리어 스위치(도시안됨)를 눌러주므로서, EEPROM에 대하여 소거가능한 전기 신호가 제공되게 하고 있다. 상기와 같은 EEPROM의 초기화를 위하여, 세트에는 EEPROM과 관련하여 별도 구성의 클리어 스위치를 더 만들어 주어야 했으며, 이 스위치를 인위적으로 눌러주어야만 초기화가 가능했다. 또한, 클리어 스위치는 세트내부에 설치되어 사용자등에 의해 억세스가 불가능하기 때문에, 시기적절한 초기화의 불이행은 시스템의 신뢰도를 저하시켜주는 요인이 되기도 한다.The prior art initialization of the EEPROM allows the EEPROM to be provided with an erasable electrical signal by pressing an EEPROM all clear switch (not shown) installed in the TV or VCR set. In order to initialize the EEPROM as described above, a clear switch having a separate configuration in relation to the EEPROM had to be added to the set, and the switch could be initialized only by artificially pressing the switch. In addition, since the clear switch is installed inside the set and cannot be accessed by a user or the like, timely failure to initialize may cause a decrease in the reliability of the system.

그러므로, 본 발명은 EEPROM의 초기화 작업을 자동적으로 실행하는 방법을 제공하는 것을 그 목적으로 한다.Therefore, an object of the present invention is to provide a method for automatically executing an initialization operation of an EEPROM.

본 발명의 다른 목적은 EEPROM의 재초기화 시간을 단축시키는 초기화 방법을 제공하는 것이다.Another object of the present invention is to provide an initialization method for shortening the reinitialization time of an EEPROM.

이러한 목적을 달성하기 위하여, 본 발명은 TV 또는 VCR에서 기억되는 채널 데이타, 키 및 볼륨 데이타를 EEPROM으로 제공하는 마이컴을 이용하여 수행되며, 그 방법은 EEPROM의 특정 번지에 세트되어 있는 데이타 코드를 판독하는 단계와 ; 상기 판독된 데이타가 사전설정된 데이타 코드와 일치하는지의 여부를 판단하는 단계와 ; 상기 코드 값이 일치하지 않을 때 EEPROM 내의 데이타를 모두 초기 상태로 클리어하는 단계와 ; 상기 초기화된 EEPROM의 상기 특정 번지에 상기 사전설정된 코드를 비빌 코드 데이타로서 세트시키는 단계를 포함하는 것을 특징으로 한다.In order to achieve this object, the present invention is carried out using a microcomputer that provides channel data, key and volume data stored in a TV or VCR to an EEPROM, and the method reads the data code set at a specific address of the EEPROM. Doing steps; Determining whether the read data coincides with a preset data code; Clearing all data in the EEPROM to an initial state when the code values do not match; And setting the preset code as non-code data at the specific address of the initialized EEPROM.

본 발명은 첨부도면을 참조하여 다음과 같이 상세히 설명될 것이다.The invention will be described in detail as follows with reference to the accompanying drawings.

제 1 도를 참조하면, 마이컴(10)과 EEPROM과의 일반적인 구성이 도시된다. 마이컴(10)은 TV 또는 VCR에서 선택된 채널에 관한 데이타와 키 데이타 및 볼륨 데이타를 처리하는데 적합한 수단으로, TV의 경우 시스템 마이컴이 사용되며, VCR의 경우 타이머 마이컴이 사용될 수 있다. 마이컴(10)은 EEPROM(20)을 하나의 주변장치로서 선택할 수 있는 칩 선택 단자(CS)와, 클럭을 제공하는 클럭 단자(CK), 특정 어드레스 신호를 발생하는 어드레스 신호 출력 단자(AD)와, 데이타를 양방향으로 수수할 수 있는 16비트의 데이타 입출력 단자(DI/O)를 가지고 있다.Referring to FIG. 1, a general configuration of the microcomputer 10 and the EEPROM is shown. The microcomputer 10 is a suitable means for processing data and key data and volume data on a channel selected from a TV or a VCR. In the case of a TV, a system microcomputer may be used, and in the case of a VCR, a timer microcomputer may be used. The microcomputer 10 includes a chip select terminal CS for selecting the EEPROM 20 as one peripheral device, a clock terminal CK for providing a clock, an address signal output terminal AD for generating a specific address signal, and It has a 16-bit data input / output terminal (DI / O) that can receive data in both directions.

EEPROM(20)은 1K 비트의 용량으로서 00 H 번지부터 3F H 번지까지 두개의 블록으로 분리되어 있으며, 좌측 블록(21)에는 채널에 관련한 데이타가 기억되며, 예로, 우측 블록(22)에는 키 데이타 및 볼륨에 관련한 데이타가 기억될 수 있다. EEPROM(20)의 3F H 번지에는 다음에 설명되는 바와 같이 본 발명에 따른 사전 설정된 비밀 코드의 데이타 기억되는 장소로 예약되어 있다. 이 비빌 코드는 EEPROM(20)의 초기화시에 마이컴(10)에 의해 기록되는 신호로서, 이 코드의 유무에 따라 마이컴(10)은 재초기화가 필요한지의 여부를 판단하는데 용이하게 사용된다.The EEPROM 20 is divided into two blocks from address 00 H to address 3F H as a capacity of 1K bits, and data related to a channel is stored in the left block 21, for example, key data in the right block 22. And data related to the volume can be stored. The 3F H address of the EEPROM 20 is reserved as a data storage place of a preset secret code according to the present invention as described below. This beacon code is a signal recorded by the microcomputer 10 at the time of initialization of the EEPROM 20. The microcomputer 10 can be easily used to determine whether reinitialization is necessary depending on the presence or absence of this code.

제 2 도는 제조자가 세트를 처음 시험 작동할 때, 또는 사용자가 처음 사용할 때 또는 정전 보상 시간 경과 후 사용될 때 마이컴(10)에 의해 실행되는 EEPROM의 초기화 인터럽트 과정을 도시하며, 제 1 도 및 제 2 도를 참조하여 본 발명의 작동은 다음과 같이 설명될 수 있다.FIG. 2 shows the initialization interrupt process of the EEPROM executed by the microcomputer 10 when the manufacturer first runs the set, or when the user first uses it or after the power failure compensation time has elapsed. FIGS. The operation of the present invention with reference to the drawings can be described as follows.

EEPROM 초기화 인터럽트가 발생되면, 마이컴(10)은 어드레스 라인을 통하여 EEPROM(20)의 두 블록(21) 및 (22)에 대한 3F H 번지를 지정하고, 이 번지내에 기록되어 있는 데이타를 페치하여 데이타 라인을 통하여 수신한다(S1 단계).When the EEPROM initialization interrupt is generated, the microcomputer 10 designates the 3F H addresses for the two blocks 21 and 22 of the EEPROM 20 through the address line, and fetches the data recorded in the address. Receive via the line (step S1).

S2 단계에서, 마이컴(10)은 이 데이타가 각기 사전설정된 비밀 코드, 예를들면, 07 H 및 02 H인지의 여부를 판단한다. 이 데이타가 각기 사전설정된 비밀 코드 07 H 및 02 H가 아닌 다른 코드의 데이타인 것으로 판명되면, 세트의 오류에 의해 잘못된 데이타가 기억된 것이거나 초기화가 안된 상태이므로 EEPROM의 초기화를 위하여 다음 단계를 진행한다. 그러나, 이 데이타들이 서로 일치한다면 EEPROM(20)의 초기화되어 있는 상태로 판명된 것이므로, 다음의 초기화 단계를 거치지 않고 초기화 인터럽트 루틴을 끝마친다. 이것은 EEPROM(20)을 초기화시키는 시간을 절약할 수 있는 효과를 제공해 줄 수 있다.In step S2, the microcomputer 10 determines whether this data is a predetermined secret code, for example, 07H and 02H, respectively. If this data is found to be data of codes other than the preset secret codes 07 H and 02 H, the next step is performed to initialize the EEPROM because the wrong data is stored or not initialized due to a set error. do. However, if these data coincide with each other, it is determined that the EEPROM 20 is in an initialized state, and thus the initialization interrupt routine is completed without going through the following initialization step. This may provide an effect that saves time for initializing the EEPROM 20.

S3 단계에서, 마이컴(10)은 EEPROM(20)을 초기화시키기 위하여 EEPROM(20)에 대하여 모든 어드레스를 순차적으로 지정하여 데이타 출력단자(DI/O)로부터 초기화 값을 나타내는 FF H 값을 출력하여 해당하는 모든 메모리 영역을 그 데이타로 세트시킨다.In step S3, the microcomputer 10 sequentially assigns all addresses to the EEPROM 20 to initialize the EEPROM 20, and outputs an FF H value indicating an initialization value from the data output terminal DI / O. Set all memory areas to the data.

그 다음에, 마이컴(10)은 3F H 번지를 지정하고 이 번지내에 사전설정된 비밀 코드를 세트시키게 되며, 이때 제 1 블록(21)에 대하여 07 H 값을 그리고 제 2 블록(22)에 대하여 02 H 값을 세트시킨다. 이 비밀코드는 상기 설명된 바와 같이 EEPROM를 초기화시킬 상황에서 재초기화의 필요성을 판단하는데 기준이 된다.The microcomputer 10 then designates the 3F H address and sets a preset secret code within the address, with a 07 H value for the first block 21 and a 02 for the second block 22. Set the H value. This secret code is the basis for determining the necessity of reinitialization in the situation of initializing the EEPROM as described above.

이렇게 초기화 값으로 세트된 EEPROM(20)은 사용자가 선택한 채널을 기억하여 채널 업/다운 스위치에 의해 기억된 채널과 기억안된 채널을 스킵 온/오프하는 기능을 수행하며, 최종 선택 채널 기억 기능과 더불어 키 데이타 및 볼륨 데이타를 기억할 수 있는 기능을 각기 수행할 수 있다.The EEPROM 20 set as an initialization value stores a channel selected by a user and skips on and off channels stored by a channel up / down switch and channels that are not memorized. Each function can store key data and volume data.

그러므로, 본 발명에 따른 EEPROM 초기화 방법을 사용하므로써 클리어 스위치와 관련한 별도의 구성이 제거될 수 있으며, 비밀코드에 따라 무작정 EEPROM을 초기화시킬 필요가 없어 많은 시간이 소모되지 않고도 EEPROM의 초기화가 가능해질 수 있다. 그 결과로서 세트의 신뢰성을 한층 높여줄 수 있다.Therefore, the separate configuration related to the clear switch can be eliminated by using the EEPROM initialization method according to the present invention, and it is not necessary to initialize the EEPROM randomly according to the secret code, so that the initialization of the EEPROM can be performed without much time. have. As a result, the reliability of the set can be further increased.

Claims (2)

TV 또는 VCR에서 마이컴(10)으로부터 전달되는 채널 데이타는, 키 및 볼륨 데이타를 기억하는 EEPROM(20)을 초기화시키는 방법이 : EEPROM(20)의 특정 번지에 세트되어 있는 데이타 코드를 판독하는 단계(S1)와 ; 상기 판독된 데이타가 사전설정된 데이타 코드와 일치하는지의 여부를 판단하는 단계(S2)와 ; 상기 코드 값이 서로 일치하지 않을 때 EEPROM(20)내의 데이타를 모두 초기 상태로 클리어하는 단계(S3)와 ; 상기 초기화된 EEPROM(20)의 상기 특정 번지에 상기 사전 설정된 코드를 비밀 데이타 코드로서 세트시키는 단계(S4)를 포함하는 EEPROM 초기화 방법.The channel data transferred from the microcomputer 10 in the TV or VCR, the method of initializing the EEPROM 20 storing the key and volume data includes: reading the data code set at a specific address of the EEPROM 20 ( S1) and; Judging whether the read data coincides with a preset data code (S2); Clearing all data in the EEPROM 20 to an initial state when the code values do not coincide with each other (S3); And setting the preset code as a secret data code at the specific address of the initialized EEPROM (S4). 제 1 항에 있어서, 상기 방법은 TV 또는 VCR 세트의 초기 설치시, 사용자에 의한 전원 인가시 또는 상기 마이컴(10)의 정전 보상 주기 경과후 자동 실행되는 EEPROM 초기화 방법.The method of claim 1, wherein the method is automatically executed at initial installation of a TV or VCR set, when a power is applied by a user, or after a power failure compensation cycle of the microcomputer 10 has elapsed.
KR1019920016457A 1992-09-09 1992-09-09 Method of initializing eeprom KR940011043B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920016457A KR940011043B1 (en) 1992-09-09 1992-09-09 Method of initializing eeprom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920016457A KR940011043B1 (en) 1992-09-09 1992-09-09 Method of initializing eeprom

Publications (2)

Publication Number Publication Date
KR940007889A KR940007889A (en) 1994-04-28
KR940011043B1 true KR940011043B1 (en) 1994-11-22

Family

ID=19339320

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920016457A KR940011043B1 (en) 1992-09-09 1992-09-09 Method of initializing eeprom

Country Status (1)

Country Link
KR (1) KR940011043B1 (en)

Also Published As

Publication number Publication date
KR940007889A (en) 1994-04-28

Similar Documents

Publication Publication Date Title
CN1078721C (en) Data protection circuit
US4523271A (en) Software protection method and apparatus
US4710971A (en) Channel selecting device for CATV terminal unit
KR100617669B1 (en) System and method for independently downloading features into a set of storage locations in a wireless communication device
US5245330A (en) Microprocessor-controlled apparatus with improved disabling
EP0124331A2 (en) Remote control transmitter arrangement for one or more television devices
KR960030700A (en) Data reception processing apparatus, data reception processing method, and broadcasting method
EP0483978B1 (en) I.C. card
US5564032A (en) Control apparatus for controlling memory unit capable of selecting an electrically erasable non-volatile memory and loading information stored therein
KR940011043B1 (en) Method of initializing eeprom
US5986965A (en) Method and device for writing data in non-volatile memory circuit
US5229972A (en) Nonvolatile semiconductor memory system
US4926264A (en) Addressable terminal for CATV
JPH05217361A (en) Memory card
US5590303A (en) Memory designation control device
US5247572A (en) Apparatus for control of storing information into dial memories in a telephone set
US5493665A (en) Portable memory device and method of securing the integrity of stored data therein utilizing a starting address and a stored memory cycle number
US5283907A (en) Process for safeguarding transfer of data from a temporary part into a main part of a non-volatile memory
US5838902A (en) Copy protection circuit for a data in a memory
CA2021797C (en) Apparatus for control of storing information into dial memories in a telephone set
JPH04256145A (en) Integrated circuit device
US6298412B1 (en) Microcomputer and method of determining completion of writing in the microcomputer
US6112302A (en) Device for setting initializing data for every destination in electronic device
KR100260138B1 (en) Automatic setting method for rewrite memory
JPH10143434A (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20081103

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee