KR100377548B1 - Method for checking normal operation of flash memory - Google Patents
Method for checking normal operation of flash memory Download PDFInfo
- Publication number
- KR100377548B1 KR100377548B1 KR1019970062384A KR19970062384A KR100377548B1 KR 100377548 B1 KR100377548 B1 KR 100377548B1 KR 1019970062384 A KR1019970062384 A KR 1019970062384A KR 19970062384 A KR19970062384 A KR 19970062384A KR 100377548 B1 KR100377548 B1 KR 100377548B1
- Authority
- KR
- South Korea
- Prior art keywords
- check sum
- previously written
- flash memory
- program
- drive program
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1816—Testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B7/00—Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor
- G11B7/28—Re-recording, i.e. transcribing information from one optical record carrier on to one or more similar or dissimilar record carriers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/20—Employing a main memory using a specific memory technology
- G06F2212/202—Non-volatile memory
- G06F2212/2022—Flash memory
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Read Only Memory (AREA)
Abstract
Description
본 발명은 광디스크 재생장치에서 구동 프로그램을 저장하고 있는 플레쉬메모리가 정상동작을 수행할 수 있는지를 체크하는 방법에 관한 것이다.The present invention relates to a method for checking whether a flash memory storing a drive program in an optical disc reproducing apparatus can perform a normal operation.
종래의 광디스크 재생장치에서는, 광디스크 재생장치를 구동하기 위한 프로그램이 외부 롬라이터에 의해 프로그램 저장기에 저장된다. 구동 프로그램이 저장된 프로그램 저장기는 광디스크 재생장치 내의 소정 위치에 납땜방식 또는 소켓방식으로 부착된다. 그러나, 구동 프로그램에 문제가 발생하거나, 프로그램을 변경해야할 경우, 특히 납땜방식으로 재생장치의 회로기판에 부착된 프로그램 저장기의경우는 거의 재사용이 불가능하였다. 이를 해결하기 위해서 외부 롬라이터 없이 구동 프로그램을 직접 프로그램 저장기에 라이트(write)할 수 있게 하는 방안이 제안되었다. 이러한 프로그램 라이트방법에서, 재라이트 하기 위해서는, 이전 라이트된 구동프로그램이 정상인지 확인할 필요가 있었다. 그래서, 재라이트신호가 인가되었을 때의 프로그램 저장기예 저장된 구동프로그램의 최상위번지와 최하위번지의 데이터를 이전 라이트된 구동프로그램의 최상위번지 및 최하위번지의 데이터와 각각 비교한 후, 비교결과, 데이터가 동일하면 이전 라이트된 구동프로그램이 정상인 것으로 판단하여 해당 드라이브를 구동시키며, 데이터가 동일하지 않으면 이전 라이트된 구동프로그램이 비정상인 것으로 판단하여 라이트명령을 실행하여 재라이트 시킨다. 이는 프로그램 저장기의 구동 프로그램 재라이트시에 이전 라이트된 구동프로그램의 정상여부를 체크할 수는 있으나, 전원이 켜질 때마다 체크할 수는 없었으며, 최상위번지와 최하위번지 이외의 번지들에 대응하는 데이터가 전기적 충격 등에 의해 변경되는 경우에는 대응할 수 없는 문제점이 있었다.In a conventional optical disc reproducing apparatus, a program for driving the optical disc reproducing apparatus is stored in a program storage by an external ROM writer. The program storage in which the drive program is stored is attached to a predetermined position in the optical disk reproducing apparatus by soldering or socketing. However, when a problem occurs in the driving program or when the program needs to be changed, the program storage device attached to the circuit board of the reproducing apparatus by soldering is almost impossible to reuse. In order to solve this problem, a method of writing a driving program directly to a program store without an external ROM writer has been proposed. In this program writing method, in order to rewrite, it is necessary to check whether the previously written driving program is normal. Therefore, the program storage device when the rewrite signal is applied, the data of the highest address and the lowest address of the stored drive program are compared with the data of the highest address and the lowest address of the previously written drive program, respectively, and the comparison result is the same. If it is determined that the previously written drive program is normal, the corresponding drive is driven. If the data is not the same, the previously written drive program is determined to be abnormal and executes a write command to rewrite the drive. It can check whether the previously written drive program is normal when the program saver rewrites the drive program, but it cannot check each time the power is turned on, and it corresponds to addresses other than the top and bottom addresses. If the data is changed by an electric shock or the like, there is a problem that cannot be coped.
따라서, 본 발명의 목적은 전술한 문제점을 해결할 수 있도록 외부 롬라이터를 이용하지 않고, 호스트컴퓨터를 이용하여 구동프로그램을 직접 플레쉬메모리에 라이트 할 때, 이전 라이트된 구동프로그램이 정상인지의 여부를 판별하기 위한 새로운 플레쉬메모리 정상동작 체크방법을 제공함에 있다.Accordingly, an object of the present invention is to determine whether the previously written driving program is normal when writing the driving program directly to the flash memory without using an external ROM writer to solve the above-mentioned problems. A new flash memory normal operation check method is provided.
도 1은 본 발명의 일실시예에 따른 플레쉬메모리 정상동작 체크방법을 설명하기 위한 시스템의 블록도.1 is a block diagram of a system for explaining a flash memory normal operation check method according to an embodiment of the present invention.
※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing
10 : 호스트컴퓨터 20 : 광디스크 재생장치10: host computer 20: optical disc player
21 : 디코더(Decoder) 22 : PROM(Programmable Read Only Memory)21: Decoder 22: PROM (Programmable Read Only Memory)
23 : 마이콤(MICOM) 24 : 플레쉬메모리(Flash Memory)23: MICOM 24: Flash Memory
이와 같은 목적을 달성하기 위한 본 발명에 따른 플레쉬메모리 정상동작 체크방법은 이전 라이트된 구동프로그램이 정상적인 경우의 이전 라이트된 구동프로그램의 데이터들의 제 1체크합을 기저장하는 제 1단계와, 이전 라이트된 구동프로그램을 이용하기 위한 실행명령이 인가될 때마다 이전 라이트된 구동 프로그램의 데이터들의 제 2체크합을 구하는 제 2단계와, 제 1체크합과 제 2체크합을 비교하고 그 비교결과에 따라 이전 라이트된 구동프로그램의 정상여부를 판정하는 제 3단계를 포함한다.The flash memory normal operation checking method according to the present invention for achieving the above object includes a first step of previously storing a first check sum of data of a previously written drive program when the previously written drive program is normal; A second step of obtaining a second check sum of the data of the previously written drive program each time an execution command for using the specified drive program is applied, and comparing the first check sum with the second check sum and according to the comparison result. And a third step of determining whether the previously written drive program is normal.
이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 기술하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시예에 따른 플레쉬메모리 정상동작 체크방법을 설명하기 위한 시스템의 블록도이다. 도 1의 시스템은 호스트컴퓨터(10)와 광디스크 재생장치(20)를 포함한다. 호스트컴퓨터(10)는 광디스크 재생장치(20)를 구동시키기 위한 구동프로그램을 가지고 있으며, 라이트명령을 광디스크재생장치(20)에 인가한다. 광디스크 재생장치(20)는 호스트컴퓨터(10)로부터의 라이트명령에 상응하는 명령코드를 생성하는 디코더(21), 디코더(21)와 출력단에 연결되어 명령코드를 입력받는 제어부(23), 그리고 제어부(23)에 연결된 PROM(22) 및 플레쉬메모리(24)를 포함한다. 여기서, 플레쉬메모리(24)는 이전 라이트된 구동프로그램을 갖고 있다.1 is a block diagram of a system for explaining a flash memory normal operation check method according to an embodiment of the present invention. The system of FIG. 1 includes a
도 1에서, 호스트컴퓨터(10)는 광디스크 재생장치(20)로 구동프로그램의 재라이트명령을 인가한다. 광디스크 재생장치(20)내의 디코더(21)는 호스트컴퓨터 (10)에서 인가되는 재라이트 명령에 상응하는 명령코드를 생성한다. 디코더(21)는 명령코드를 제어부(23)로 출력한다. 제어부(23)는 디코더(21)로부터의 명령코드가입력됨에 따라 플레쉬메모리(24)의 이전 라이트된 구동프로그램이 정상인지를 체크하기 위하여 이전 라이트된 구동프로그램의 2000번지부터 FFFD번지까지의 데이터를 모두 읽어서 체크합(check sum)을 구하여 FFFE번지와 FFFF번지에 나누어 기저장된 체크합과 비교한다. 여기서, FFFE번지와 FFFF번지에 나누어 저장된 체크합은 이전 라이트된 구동프로그램의 체크합이다. 비교결과, 제어부(23)는 2000번지부터 FFFD 번지까지의 체크합이 이전 라이트된 구동프로그램의 체크합과 동일하면 이전 라이트된 구동프로그램이 정상인 것으로 판단한다. 따라서, 제어부(23)는 라이트명령을 수행하지 않고 이전 라이트된 구동프로그램에 따라 드라이브를 구동시킨다.In FIG. 1, the
한편, 제어부(23)는 2000번지부터 FFFD번지까지의 체크합이 이전 라이트된 구동프로그램의 체크합과 동일하지 않으면 이전 라이트된 구동프로그램이 비정상인 것으로 판단한다. 제어부(23)는 PROM(22)에 저장된 플레쉬메모리(24)의 라이트동작을 실행시키기 위한 실행데이터를 읽어들인다. 제어부(23)는 읽어들인 실행데이터에 따라 플레쉬메모리(24)에 호스트컴퓨터(10)로부터의 구동프로그램을 재라이트한다.On the other hand, the
전술한 실시예는 라이트명령이 인가된 경우에 플레쉬메모리에 구동프로그램이 정상적으로 라이트되어 있는지를 체크하는 것이나, 광디스크재생장치에 전원이인가될 때마다 전술한 실시예와 동일한 과정으로 플레쉬메모리의 이전 라이트된 구동프로그램이 정상인지를 체크하는 것은 당업자라면 용이하게 실시할 수 있는 자명한 것이다.The above-described embodiment checks whether the drive program is normally written to the flash memory when a write command is applied, or writes to the flash memory in the same manner as the above-described embodiment each time power is supplied to the optical disc reproducing apparatus. It is obvious that a person skilled in the art can easily check whether the drive program is normal.
상술한 바와 같이, 본 발명은 재라이트를 할 때나 전원이 켜질때마다 플레쉬메모리의 구동프로그램의 정상여부를 체크하므로 드라이브가 이상동작 하는 것을 막을 수 있다.As described above, the present invention checks whether the drive program of the flash memory is normal whenever rewrite or power is turned on, thereby preventing the drive from malfunctioning.
Claims (3)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970062384A KR100377548B1 (en) | 1997-11-24 | 1997-11-24 | Method for checking normal operation of flash memory |
JP33274498A JPH11242888A (en) | 1997-11-24 | 1998-11-24 | Normal operation checking method for flash memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970062384A KR100377548B1 (en) | 1997-11-24 | 1997-11-24 | Method for checking normal operation of flash memory |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990041731A KR19990041731A (en) | 1999-06-15 |
KR100377548B1 true KR100377548B1 (en) | 2003-07-10 |
Family
ID=19525457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970062384A KR100377548B1 (en) | 1997-11-24 | 1997-11-24 | Method for checking normal operation of flash memory |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPH11242888A (en) |
KR (1) | KR100377548B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008077243A1 (en) * | 2006-12-22 | 2008-07-03 | Sidense Corp. | A power up detection system for a memory device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970058070A (en) * | 1995-12-13 | 1997-07-31 | 배순훈 | Determination method of abnormality of TV receiver by checking data error |
-
1997
- 1997-11-24 KR KR1019970062384A patent/KR100377548B1/en not_active IP Right Cessation
-
1998
- 1998-11-24 JP JP33274498A patent/JPH11242888A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970058070A (en) * | 1995-12-13 | 1997-07-31 | 배순훈 | Determination method of abnormality of TV receiver by checking data error |
Also Published As
Publication number | Publication date |
---|---|
JPH11242888A (en) | 1999-09-07 |
KR19990041731A (en) | 1999-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5613130A (en) | Card voltage switching and protection | |
KR100280637B1 (en) | Computer system capable of data update of fixed flash ROM and its control method | |
KR20030043691A (en) | Detecting partially erased units in flash devices | |
US5226006A (en) | Write protection circuit for use with an electrically alterable non-volatile memory card | |
US8914602B2 (en) | Display controller having an embedded non-volatile memory divided into a program code block and a data block and method for updating parameters of the same | |
JP2006178403A (en) | Display unit | |
US5339402A (en) | System for connecting an IC memory card to a central processing unit of a computer | |
KR100377548B1 (en) | Method for checking normal operation of flash memory | |
US6216225B1 (en) | PC system having flash-ROM controlling device and method for protecting BIOS stored in flash-ROM | |
US6535442B2 (en) | Semiconductor memory capable of debugging an incorrect write to or an incorrect erase from the same | |
JPS586596A (en) | Memory life detecting system | |
JPH10247165A (en) | Method and device for data writing in write-compensation-frequency limited memory | |
JPH07122087A (en) | Eeprom error check system | |
KR100238298B1 (en) | Optical disk reproducing apparatus writing a program for driving to use pc and writing method driving program therefor | |
KR19990004140A (en) | Error discrimination method of driving program written to program storage means | |
JP3947643B2 (en) | Data control device | |
US7596717B2 (en) | Microcomputer and debugging method | |
JPS63305444A (en) | Storage device | |
KR960001096B1 (en) | Booting drive system | |
JPH0765586A (en) | Access system for eeprom | |
KR100280475B1 (en) | Storage memory semiconductor | |
KR100280476B1 (en) | Storage memory semiconductor | |
JP2581057B2 (en) | Evaluation microcomputer | |
JPS6365547A (en) | Integrated circuit with built-in memory | |
JPH1064299A (en) | Method for testing random access memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
AMND | Amendment | ||
J201 | Request for trial against refusal decision | ||
B601 | Maintenance of original decision after re-examination before a trial | ||
J301 | Trial decision |
Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 19991217 Effective date: 20001223 |
|
S901 | Examination by remand of revocation | ||
GRNO | Decision to grant (after opposition) | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20080303 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |