KR100432313B1 - Method for checking errors of data downloaded to flash memory of subsystem from host system - Google Patents

Method for checking errors of data downloaded to flash memory of subsystem from host system Download PDF

Info

Publication number
KR100432313B1
KR100432313B1 KR1019970020187A KR19970020187A KR100432313B1 KR 100432313 B1 KR100432313 B1 KR 100432313B1 KR 1019970020187 A KR1019970020187 A KR 1019970020187A KR 19970020187 A KR19970020187 A KR 19970020187A KR 100432313 B1 KR100432313 B1 KR 100432313B1
Authority
KR
South Korea
Prior art keywords
error
flash memory
data
correction data
subsystem
Prior art date
Application number
KR1019970020187A
Other languages
Korean (ko)
Other versions
KR19980084401A (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 KR1019970020187A priority Critical patent/KR100432313B1/en
Publication of KR19980084401A publication Critical patent/KR19980084401A/en
Application granted granted Critical
Publication of KR100432313B1 publication Critical patent/KR100432313B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding 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

Abstract

PURPOSE: A method for checking errors of data downloaded to a flash memory of a subsystem from a host system is provided to prevent wrong operation of the subsystem by checking the errors of the correction data received from the host system and stored in the flash memory, and repeatedly performing download/error checking processes if the error is generated. CONSTITUTION: The host system calculates the error discriminating information by performing operation for the correction data transferred to the subsystem(S10). After transferring the error discriminating information, the host system transfers the correction data to the subsystem and the correction data is stored in the flash memory(S30). The error discriminating information is generated again by performing the operation for the correction data stored in the subsystem(S50). The transfer error of the correction data is judged by comparing the error discriminating information of the host system with the error discriminating information of the subsystem(S60). A judgment result is displayed(S70,S80).

Description

플래쉬 메모리에 다운로드된 데이터의 오류검사방법Error checking method of data downloaded to flash memory

본 발명은 플레쉬 메모리(Flash Memory)에 다운로드(Download)된 데이터의 오류검사방법에 관한 것으로, 특히 새로이 수정된 데이터를 호스트시스템(Host-system)에서 서브시스템(Sub-system)으로 전송하여 플레쉬 메모리에 기록 저장하는 도중 오류가 발생되었는지의 여부를 검사하는 방법에 관한 것이다.The present invention relates to an error checking method of data downloaded to a flash memory, and in particular, a newly modified data is transferred from a host system to a sub-system to a flash memory. The present invention relates to a method of checking whether or not an error has occurred during recording and storing.

일반적으로 플레쉬 메모리는 소프트웨어(Software)적으로 섹터(Sector)별 쓰기/지우기(Write/Erase)가 가능한 기억소자로서, 전기적으로 비휘발성이면서도 저장된 내용을 프로그램(Program)에 의해 유통성 있게 수정 갱신할 수 있는 특성을 지닌다.In general, the flash memory is a memory device capable of writing / erasing by sector in software. The flash memory is electrically nonvolatile and can store and update contents stored in a program. Possesses certain characteristics.

이러한 특성 때문에 프린터와 같은 정보연산처리 시스템에서, 제어 프로그램과 같은 반영구적인 데이터를 저장하기 위해 기존에 사용하였던 롬(Read-Only Memory; ROM)을 대용하여, 저장된 데이터를 필요에 따라 새로이 수정된 데이터(이하 '수정 데이터'라 칭함)로 갱신할 수 있는 플레쉬 메모리가 널리 사용되는 추세이다.Due to these characteristics, data stored in an information processing system such as a printer is newly modified as needed by using a read-only memory (ROM), which is used to store semi-permanent data such as a control program. Flash memory that can be updated with (hereinafter referred to as 'correction data') is widely used.

이 경우 정보연산처리 시스템은, 외부에 별도로 접속된 시스템으로부터 수정 데이터를 전송받은 후 이를 플레쉬 메모리에 기 저장된 데이터(이하 '기존 데이터'라 칭함) 대신 기록 저장하게 된다.In this case, the information operation processing system receives the correction data from a system connected to the outside and records and stores the data instead of data previously stored in the flash memory (hereinafter referred to as 'existing data').

도 1은 호스트시스템으로부터 서브 시스템의 플레쉬 메모리까지 수정 데이터가 이동되는 과정을 설명하기 위한 도면으로서, 컴퓨터(10)와 접속된 프린터(20) 내부의 메모리부를 도시하고 있다.FIG. 1 is a view for explaining a process of moving correction data from a host system to a flash memory of a sub system, and illustrates a memory unit inside a printer 20 connected to a computer 10.

여기서, 호스트시스템이라 함은 수정 데이터를 전송하는-상기 수정 데이터의 원천지(Source)가 되는 시스템을 가리키는 것이고, 서브시스템이라 함은 상기 수정 데이터를 전송받는-상기 수정 데이터의 목적지(Destination)가 되는 시스템을 가리키는 것으로서, 이하부터 이들 각각을 호스트시스템 및 서브시스템으로 지칭한다.Here, the host system refers to a system that transmits the correction data—the source of the correction data, and the subsystem refers to a system that receives the correction data—the destination of the correction data. As referring to the system being referred to hereinafter, each of these is referred to as a host system and a subsystem.

도 1을 통해 수정 데이터가 호스트시스템으로부터 서브시스템의 플레쉬 메모리에 기록 저장되기까지의 과정을 살펴보면, 프린터(20)의 플레쉬 메모리(22)에 저장되어 있던 기존 데이터, 이를테면 제어 프로그램이나 바이오스(BIOS) 혹은 에뮬레이션(Emulation) 등과 같은 데이터를 갱신할 필요가 있어서 이를 수정하여 새로운 수정 데이터가 작성되면, 호스트시스템인 컴퓨터(10)에서는 그에 접속된 프린터(20)로 상기 수정 데이터를 전송하고, 서브시스템인 프린터(20)에서는 상기 수정 데이터를 전송받아 일단 램(Random Access Memory; RAM)(21)에 임시 저장한 후 상기 램(21)에 저장된 수정 데이터를 플레쉬 메모리(22)로 복사함으로써, 최종적으로 플레쉬 메모리(22)의 저장된 기존 데이터가 새로운 수정 데이터로 갱신된다.Referring to the process from the host system to the correction data is written and stored in the flash memory of the subsystem through Figure 1, the existing data stored in the flash memory 22 of the printer 20, such as a control program or BIOS (BIOS) Alternatively, when data such as emulation or the like needs to be updated and modified and new correction data is created, the computer 10, which is a host system, transmits the correction data to the printer 20 connected thereto. The printer 20 receives the correction data and temporarily stores it in a random access memory (RAM) 21, and then copies the modified data stored in the RAM 21 to the flash memory 22, thereby finally flashing the flash data. The existing data stored in the memory 22 is updated with new correction data.

이 경우 플레쉬 메모리(22)는, 도 2에 도시된 바와 같이 프린터(20)를 기동시키기 위한 부트 루틴(Boot Routine) 및 각종 제어 루틴(Control Routine)이 들어있는 부트 영역(Boot Area)과, 상기 프린터(20)의 입출력에 대한 정보가 저장되는 바이오스 영역(BIOS Area), 그리고 컴퓨터(10)에서 전송되는 정보를 인쇄 가능한 이미지(Image)로 변환하기 위한 각종 에뮬레이션이 저장되는 에뮬레이션 영역(Emulation Area)들로 각각 할당되어 있으며, 상기 부트 영역에는 플레쉬 메모리(22)를 관리하고 그에 기록 저장되는 데이터의 오류를 자체적으로 검사하는 루틴도 저장되어 있어, 프린터(20)의 중앙처리부(도시 안됨)에서는 이를 수행하여 상기 램(21)에 저장된 수정 데이터가 오류 없이 플레쉬 메모리(22)에 기록 저장될 때까지 복사와 검사를 반복한다.In this case, the flash memory 22 includes a boot area including a boot routine and various control routines for starting the printer 20, as shown in FIG. A BIOS area in which information on input / output of the printer 20 is stored, and an emulation area in which various emulations for converting information transmitted from the computer 10 into a printable image are stored. And a routine for managing the flash memory 22 and checking an error of data recorded and stored therein in the boot area, and the central processing unit (not shown) of the printer 20 stores the routine. Copying and checking are repeated until correction data stored in the RAM 21 is recorded and stored in the flash memory 22 without error.

하지만 상술한 바와 같이 호스트시스템으로부터 수정 데이터가 서브시스템의 플레쉬 메모리에 최종적으로 기록 저장되기까지에는 다단계의 과정, 이를테면 호스트시스템에서 서브시스템의 램에 임시 저장하고, 상기 램에서 플레쉬 메모리로 복사하는 등의 과정들을 거쳐야 하기 때문에 도중에 데이터의 일부가 손실 등의 오류가 발생된다.However, as described above, until the modified data is finally recorded and stored in the flash memory of the sub-system, for example, temporary storage in the RAM of the sub-system is copied from the RAM to the flash memory. Because some of the data must be gone, errors such as loss of data occur along the way.

이러한 경우에 있어서 수정 데이터에 오류가 발생되었는지의 여부를 검사할만한 별다른 대책이 마련되어 있지 않았기 때문에 사용자는 단순히 다운로드 완료 여부만을 파악할 수 있을 뿐 그 성공 여부는 파악할 수 없었으며, 또한 오류가 발생된 데이터가 플레쉬 메모리에 기록 저장됨에 따라 서브 시스템이 오 작동될 소지가 있다. 더욱이 수정 데이터에 오류가 발생된 부분이 서브시스템을 기동시키고 제어 관리하기 위한 제어 프로그램인 경우 그 문제는 더욱 심각하였다.In this case, since there was no other measure to check whether the corrected data had an error or not, the user could simply determine whether the download was completed but not the success or failure. Subsystems may malfunction as they are written to and stored in flash memory. Moreover, the problem was even worse when the error part of the correction data was a control program for starting and controlling the subsystem.

따라서 본 발명은, 상기한 바와 같은 종래의 문제점을 감안하여 호스트시스템에서 전송하기 전의 수정 데이터와 서브시스템에서 전송받아 플레쉬 메모리에 기록 저장한 수정 데이터 각각으로 소정의 연산을 수행하여 산출된 두 연산 결과 값이 서로 일치하는가의 여부를 통해 수정 데이터의 오류 발생 여부를 검사하고 그 결과를 표시함과 동시에 오류 발생시 호스트시스템으로부터 수정 데이터가 정상적으로 전송되어 플레쉬 메모리에 기록 저장되기까지 다운로드와 오류검사를 반복적으로 수행함으로써, 플레쉬 메모리에 오류가 발생된 데이터가 기록 저장됨으로 인해 서브시스템이 오작동하는 것을 방지하는데 그 목적이 있다.Accordingly, in view of the above-described problems, the present invention calculates two calculation results obtained by performing a predetermined operation on each of the correction data before transmission from the host system and the correction data received from the subsystem and stored in the flash memory. It checks whether the corrected data has an error by checking whether the values match each other and displays the result. At the same time, the download and error check is repeatedly performed until the corrected data is transferred from the host system and recorded in the flash memory. By doing so, the purpose is to prevent the subsystem from malfunctioning due to the recording and storing of the failed data in the flash memory.

도 1은 호스트-서브 시스템의 일례로서, 컴퓨터와 접속된 프린터를 도시한 블록도.1 is a block diagram showing a printer connected to a computer as an example of a host-sub system;

도 2는 도 1의 프린터 시스템에서 플레쉬 메모리의 메모리 맵을 도시한 도면.FIG. 2 illustrates a memory map of flash memory in the printer system of FIG. 1; FIG.

도 3은 본 발명에 따른 플레쉬 메모리에 다운로드된 데이터의 오류검사방법을 도시한 흐름도.3 is a flowchart illustrating an error checking method of data downloaded to a flash memory according to the present invention.

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

10 : 컴퓨터 20 : 프린터10: computer 20: printer

21 : 램 22 : 플레쉬 메모리21: RAM 22: flash memory

상기 목적을 달성하기 위한 본 발명은,The present invention for achieving the above object,

호스트시스템으로부터 서브시스템의 플레쉬 메모리로 다운로드 된 데이터의 오류검사방법에 있어서, 상기 호스트시스템에서 상기 서브시스템으로 전송할 수정 데이터에 대하여 소정의 연산을 수행하여 오류판별정보를 산출하는 단계; 상기 산출된 오류판별정보를 먼저 전송하고, 다음으로 상기 수정데이터를 전송하는 순으로, 상기 오류판별정보 및 상기 수정데이터를 상기 서브시스템에 전송하여 상기 플레쉬 메모리에 저장하는 단계; 상기 플레쉬 메모리에 저장된 데이터에 대하여 소정의 연산을 수행하여 재차 오류판별정보를 산출하는 단계; 상기 호스트시스템에서 전송된 오류판별정보와 상기 플레쉬 메모리에 저장된 수정데이터에 대하여 재차 산출된 오류판별정보를 비교하여 상기 수정데이터의 전송의 오류 발생을 판단하는 단계; 상기 오류발생 판단단계에서의 판단결과를 표시하는 단계를 포함한다.An error checking method of data downloaded from a host system to a flash memory of a subsystem, the method comprising: calculating error discrimination information by performing a predetermined operation on correction data to be transmitted from the host system to the subsystem; Transmitting the error determination information and the correction data to the subsystem in order of transmitting the calculated error determination information first, and then transmitting the correction data, and storing the error determination information in the flash memory; Calculating error discrimination information again by performing a predetermined operation on the data stored in the flash memory; Comparing the error determination information transmitted from the host system with the error determination information calculated again with respect to the correction data stored in the flash memory, and determining an error occurrence of the transmission of the correction data; And displaying the determination result in the error occurrence determination step.

바람직하게는, 상기 오류발생 판단단계에서 오류가 발생된 것으로 판단되면 상기 각 단계를 반복하여 오류를 복원한다.Preferably, if it is determined that an error has occurred in the error occurrence determining step, the steps are repeated to restore the error.

바람직한 예로, 상기 연산은, 상기 수정데이터에 대하여 자리 넘침(over-flow)을 무시한 합 연산을 수행하여 검사 합계(check-sum)를 수행하여 구하는 검사 합산(check summation)이다.In a preferred example, the operation is a check summation obtained by performing a check-sum by performing a sum operation ignoring over-flow on the corrected data.

이러한 특징을 갖는 본 발명은, 전송전의 수정 데이터와 전송후의 수정 데이터 각각으로 검사 합산하여 각각의 체크 섬을 구하고, 두 체크 섬이 서로 일치하는지의 여부를 통해 오류 발생 여부를 검사하여 그 결과를 표시한다.According to the present invention having such a feature, each checksum is obtained by checking and adding the corrected data before the transmission and the corrected data after the transmission, and checking whether or not an error has occurred by checking whether the two check sums coincide with each other and displaying the result. do.

또한 오류 발생시 호스트시스템으로부터 수정 데이터가 정상적으로 전송되어플레쉬 메모리에 기록 저장되기까지 다운로드와 오류검사를 반복적으로 수행한다.In case of an error, download and error checking is repeatedly performed until corrected data is transferred from the host system and recorded in flash memory.

이하, 본 발명을 바람직한 일실시예를 통해 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail through a preferred embodiment.

여기서 호스트시스템으로부터 데이터를 다운로드 하는 서브시스템은, 컴퓨터에 접속된 프린터를 예로서 설명하기로 하며, 이 때 프린터는 그 기능을 구현하기 위해 각 부를 제어하기 위한 제어 프로그램 및 상기 제어 프로그램을 수행하는 데 필요한 각종 정보를 저장하는 프로그램 메모리로서 플레쉬 메모리를 사용하는 것으로 설명하기로 한다. 또한 오류판별정보로는 체크 섬을 사용하는 것으로 설명하기로 한다.Here, the subsystem for downloading data from the host system will be described as an example of a printer connected to a computer, where the printer executes a control program for controlling each unit and the control program to implement the functions. The flash memory will be described as a program memory for storing various kinds of necessary information. In addition, the error determination information will be described by using a checksum.

도 3은 본 발명에 따른 플레쉬 메모리에 다운로드 된 데이터의 오류검사방법을 도시한 흐름도로서, 호스트시스템인 컴퓨터에서 전송할 수정 데이터의 체크 섬을 구하는 단계(S10)와, 상기 체크 섬과 더불어 상기 수정 데이터를 서브시스템인 프린터로 전송하여 램에 저장하는 단계(S20, S30)와, 상기 램에 저장된 수정 데이터를 플레쉬 메모리로 복사하는 단계(S40)와, 상기 플레쉬 메모리에 복사된 수정 데이터로 재차 체크 섬을 구하는 단계(S50)와, 상기 컴퓨터로부터 전송되어 램에 저장된 체크 섬과 상기 프린터에서 산출한 체크 섬이 일치하는가를 비교 판단하는 단계(S60)와, 상기 비교 결과에 따라 오류 발생 여부를 표시하는 단계(S70, S80)로 이루어진다.3 is a flowchart illustrating an error checking method of data downloaded to a flash memory according to an embodiment of the present invention, the method comprising: obtaining a checksum of corrected data to be transmitted from a computer as a host system (S10); And storing the modified data stored in the RAM into the flash memory (S40 and S30), and copying the modified data stored in the RAM into the flash memory (S40) and the checksum again with the modified data copied into the flash memory. Obtaining (S50), comparing and determining whether the checksum transmitted from the computer and stored in the RAM matches the checksum calculated by the printer (S60), and displaying whether an error occurs according to the comparison result. Steps S70 and S80 are made.

그리고, 상기 비교 판단결과 상기 두 체크 섬이 일치하지 않으면 오류 발생 메시지를 표시한 후 상기 단계들을 반복 수행하여 정상적으로 수정 데이터가 다운로드 되도록 하며(S70), 상기 두 체크 섬이 일치하면 다운로드가 정상 완료 메시지를 표시하고 다운로드를 종료한다(S80).If the two check sums do not match, an error occurrence message is displayed and the steps are repeated to correct the data to be downloaded normally (S70). If the two check sums match, the download is normally completed. Display and end the download (S80).

이와 같은 구성을 갖는 본 발명에 따라 컴퓨터에서 프린터로 수정 데이터를 다운로드 하는 과정을 첨부된 도 1 내지 도 3을 참조하여 살펴보기로 한다.The process of downloading the correction data from the computer to the printer according to the present invention having such a configuration will be described with reference to FIGS. 1 to 3.

사용자는 프린터(20)의 플레쉬 메모리(22)에 저장된 기존 데이터를 갱신할 필요가 있는 경우 이를 새로이 수정하여 얻어진 수정 데이터를 컴퓨터(10)를 통해 프린터(20)로 전송하는데, 이 때 컴퓨터(10)에서는 전송에 앞서 수정 데이터의 체크 섬을 구한다(S10).When the user needs to update existing data stored in the flash memory 22 of the printer 20, the user transmits the modified data obtained by newly modifying the data to the printer 20 through the computer 10, at which time the computer 10 In step S10, a checksum of the corrected data is obtained prior to the transmission.

여기서 컴퓨터(10)는 수정 데이터를 소정 단위로, 이를테면 바이트(byte)나 워드(word) 단위로 검사 합산을 수행하여 연산 단위와 동일한 크기의 연산 결과 값 - 연산 단위가 바이트였으면 바이트, 워드였으면 워드- 을 체크 섬으로 사용하며, 상기 연산도중 발생하는 자리 넘침(Over-flow)은 무시한다.Herein, the computer 10 checks and adds the corrected data in a predetermined unit, for example, byte or word, and calculates the result of the same size as the operation unit-byte if the operation unit was byte, word if the word was word -Is used as a checksum, and the over-flow occurring during the calculation is ignored.

그리고, 컴퓨터(10)에서는 이처럼 구해진 체크 섬을 미리 규약된 방법으로 수정 데이터와 더불어 프린터(20)로 전송하는데, 이 때 체크 섬을 수정 데이터에 앞서 전송하므로 프린터가 전송받은 데이터 중 체크 섬을 판별할 수 있도록 한다(S20).In addition, the computer 10 transmits the checksum thus obtained to the printer 20 together with the correction data in a predetermined method. At this time, the checksum is transmitted before the correction data, so that the printer checks the checksum of the transmitted data. To do so (S20).

프린터(20)에서는 컴퓨터(10)로부터 전송된 모든 데이터를 일단 램(21)에 임시 저장하고, 램(21)에 저장된 데이터 중 수정 데이터만을 플레쉬 메모리(22)에 복사하여, 저장되어 있던 기존 데이터를 새로운 수정 데이터로 갱신한다(S30, S40).The printer 20 temporarily stores all data transmitted from the computer 10 in the RAM 21, and copies only the correction data of the data stored in the RAM 21 into the flash memory 22, thereby storing the existing data. Is updated with new correction data (S30, S40).

그리고, 프린터(20)에서는 플레쉬 메모리(22)에 저장된 수정 데이터로 재차 체크 섬을 구하는데, 이 때에도 상술한 바와 동일하게 검사 합산을 통해 체크 섬을구하며, 프린터(20)에서 산출된 체크 섬을 컴퓨터(10)로부터 전송되어 램(21)에 저장되어 있는 체크 섬과 비교하여 두 값이 서로 일치하는가를 판단한다(S50, S60).Then, the printer 20 obtains the check sum again from the correction data stored in the flash memory 22. In this case, the check sum is obtained through the check sum as described above, and the check sum calculated by the printer 20 is obtained. The checksums transmitted from the computer 10 and stored in the RAM 21 are compared to determine whether the two values coincide with each other (S50 and S60).

상기 비교 판단결과 두 체크 섬이 일치하지 않으면 전송 도중에 데이터 손실 등의 오류가 발생된 것이므로, 프린터(20)는 오류가 발생되었음을 알리는 메시지를 표시부(도시 안됨)에 표시한다(S70). 그리고 상기 과정(S10 내지 S70)들을 반복 수행하여 컴퓨터(10)로부터 수정 데이터가 정상적으로 전송되어 프린터(20)의 플레쉬 메모리(22)에 기록 저장되도록 한다.If the two check sums do not coincide with each other as a result of the comparison determination, an error such as data loss occurs during transmission, and thus, the printer 20 displays a message indicating that an error has occurred on the display unit (not shown) (S70). Then, the processes S10 to S70 are repeatedly performed so that the correction data is normally transmitted from the computer 10 to be recorded and stored in the flash memory 22 of the printer 20.

또한 상기 비교 판단결과 두 체크 섬이 서로 일치하면 전송전과 전송후의 수정 데이터가 동일한 것이므로, 프린터(20)는 다운로드가 정상적으로 완료되었음을 알리는 메시지를 표시하고 다운로드를 종료한다(S80).In addition, if the two check sums match each other as a result of the comparison determination, since the correction data before and after transmission are the same, the printer 20 displays a message indicating that the download is normally completed and ends the download (S80).

이상에서 상세히 살펴본 바와 같이 본 발명에 따르면, 플레쉬 메모리에 다운로드 된 데이터에 오류가 발생되었는지의 여부를 표시하여 사용자에게 통보하여 줄뿐만 아니라 오류 발생시 호스트시스템으로부터 데이터가 정상적으로 전송되어 플레쉬 메모리에 기록 저장되기까지 다운로드와 오류검사를 반복적으로 수행함으로써, 플레쉬 메모리에 오류가 발생된 데이터가 기록 저장됨으로 인해 서브시스템이 오작동하는 것을 방지한다.As described in detail above, according to the present invention, not only the user can be notified by indicating whether an error has occurred in the data downloaded to the flash memory, but also when the error occurs, the data is normally transmitted from the host system and stored in the flash memory. By repeatedly downloading and checking the error, the system prevents the subsystem from malfunctioning because the failed data is recorded and stored in the flash memory.

Claims (3)

호스트시스템으로부터 서브시스템의 플레쉬 메모리에 다운로드 된 데이터의 오류검사방법에 있어서,In the error checking method of the data downloaded from the host system to the flash memory of the subsystem, 상기 호스트시스템에서 상기 서브시스템으로 전송할 수정 데이터에 대하여 소정의 연산을 수행하여 오류판별정보를 산출하는 단계;Calculating error discrimination information by performing a predetermined operation on the correction data to be transmitted from the host system to the subsystem; 상기 산출된 오류판별정보를 먼저 전송하고, 다음으로 상기 수정데이터를 전송하는 순으로, 상기 오류판별정보 및 상기 수정데이터를 상기 서브시스템에 전송하여 상기 플레쉬 메모리에 저장하는 단계;Transmitting the error determination information and the correction data to the subsystem in order of transmitting the calculated error determination information first, and then transmitting the correction data, and storing the error determination information in the flash memory; 상기 플레쉬 메모리에 저장된 데이터에 대하여 소정의 연산을 수행하여 재차 오류판별정보를 산출하는 단계;Calculating error discrimination information again by performing a predetermined operation on the data stored in the flash memory; 상기 호스트시스템에서 전송된 오류판별정보와 상기 플레쉬 메모리에 저장된 수정데이터에 대하여 재차 산출된 오류판별정보를 비교하여 상기 수정 데이터의 전송의 오류 발생을 판단하는 단계;Comparing the error determination information transmitted from the host system with the error determination information calculated again with respect to the correction data stored in the flash memory, and determining an error occurrence of the transmission of the correction data; 상기 오류발생 판단단계에서의 판단결과를 표시하는 단계를 포함하는 것을 특징으로 하는 플레쉬 메모리에 다운로드 된 데이터의 오류검사방법.And displaying the result of the determination in the error occurrence determining step. 제 1 항에 있어서,The method of claim 1, 상기 오류발생 판단단계에서 오류가 발생된 것으로 판단되면 상기 각 단계를 반복하여 오류를 복원하는 것을 특징으로 하는 플레쉬 메모리에 다운로드 된 데이터의 오류검사방법.And if it is determined that an error has occurred in the error occurrence determining step, repeating the steps to restore the error. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 소정의 연산은, 상기 수정데이터에 대하여 자리 넘침(over-flow)을 무시한 합 연산을 수행하여 검사 합계(check-sum)를 수행하여 구하는 검사 합산(check summation)인 것을 특징으로 하는 플레쉬 메모리에 다운로드 된 데이터의 오류검사방법.The predetermined operation may be a check summation obtained by performing a check-sum by performing a sum operation ignoring over-flow on the corrected data. Error checking method of downloaded data.
KR1019970020187A 1997-05-23 1997-05-23 Method for checking errors of data downloaded to flash memory of subsystem from host system KR100432313B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970020187A KR100432313B1 (en) 1997-05-23 1997-05-23 Method for checking errors of data downloaded to flash memory of subsystem from host system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970020187A KR100432313B1 (en) 1997-05-23 1997-05-23 Method for checking errors of data downloaded to flash memory of subsystem from host system

Publications (2)

Publication Number Publication Date
KR19980084401A KR19980084401A (en) 1998-12-05
KR100432313B1 true KR100432313B1 (en) 2004-09-08

Family

ID=37340907

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970020187A KR100432313B1 (en) 1997-05-23 1997-05-23 Method for checking errors of data downloaded to flash memory of subsystem from host system

Country Status (1)

Country Link
KR (1) KR100432313B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101050623B1 (en) * 2004-04-28 2011-07-19 삼성전자주식회사 Error recovery method of NAD flash memory block

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR940015873A (en) * 1992-12-24 1994-07-21 이헌조 VM bus data integrity guarantee device
KR960018927A (en) * 1994-11-30 1996-06-17 이헌조 Program download method using serial I / O
US5606660A (en) * 1994-10-21 1997-02-25 Lexar Microsystems, Inc. Method and apparatus for combining controller firmware storage and controller logic in a mass storage system
KR19980067233A (en) * 1997-01-31 1998-10-15 김광호 Memory device and recording method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR940015873A (en) * 1992-12-24 1994-07-21 이헌조 VM bus data integrity guarantee device
KR950005803B1 (en) * 1992-12-24 1995-05-31 주식회사금성사 Data holding compensation unit in versa module europe bus
US5606660A (en) * 1994-10-21 1997-02-25 Lexar Microsystems, Inc. Method and apparatus for combining controller firmware storage and controller logic in a mass storage system
KR960018927A (en) * 1994-11-30 1996-06-17 이헌조 Program download method using serial I / O
KR19980067233A (en) * 1997-01-31 1998-10-15 김광호 Memory device and recording method thereof

Also Published As

Publication number Publication date
KR19980084401A (en) 1998-12-05

Similar Documents

Publication Publication Date Title
US6622246B1 (en) Method and apparatus for booting and upgrading firmware
US6560703B1 (en) Redundant updatable self-booting firmware
US6836859B2 (en) Method and system for version control in a fault tolerant system
US7185191B2 (en) Updatable firmware having boot and/or communication redundancy
KR100584338B1 (en) Method and system for updating software
EP1934727B1 (en) Method and system for in-place updating content stored in a storage device
US7206971B2 (en) Selectable and updatable computer boot memory
US7383431B2 (en) Control system and method for rewriting data in a flash memory and a data storage medium in which a program is stored for rewriting data in a flash memory
US8566429B2 (en) Firmware updating system and method for update the same
EP0723226A1 (en) Powerfail durable flash EEPROM upgrade
CA2021274C (en) Non-volatile memory usage
CN107239411B (en) Memory management method and system for vehicle-mounted controller
CN109933340B (en) On-orbit writing and self-checking method of spacecraft EEPROM (electrically erasable programmable read-Only memory) based on page mode
US7904896B2 (en) Program rewriting system, boot loader, storage medium, and electronic control unit
CN112015447A (en) System updating method and device for electronic equipment, electronic equipment and storage medium
US7007036B2 (en) Method and apparatus for embedding configuration data
KR100432313B1 (en) Method for checking errors of data downloaded to flash memory of subsystem from host system
US7490321B2 (en) Method for updating firmware via determining program code
EP0918287B1 (en) ROM image processing when supply of electric power is interrupted
US6314024B1 (en) Data processing apparatus
US6301709B1 (en) Circuit pack system with semi-or fully-automatic upgrade capability
US11586504B2 (en) Electronic apparatus and boot method thereof
US7536507B1 (en) Methods, systems, and computer program products for preserving atomic writes using leaves and bitmaps
JP4062429B2 (en) Memory rewrite control method and program for executing each step of memory rewrite control method
JP4258312B2 (en) Image forming apparatus and program update history management method thereof

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
FPAY Annual fee payment

Payment date: 20070427

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee