KR0140838B1 - Setting and checking ROM version of electronic equipment - Google Patents

Setting and checking ROM version of electronic equipment

Info

Publication number
KR0140838B1
KR0140838B1 KR1019940014976A KR19940014976A KR0140838B1 KR 0140838 B1 KR0140838 B1 KR 0140838B1 KR 1019940014976 A KR1019940014976 A KR 1019940014976A KR 19940014976 A KR19940014976 A KR 19940014976A KR 0140838 B1 KR0140838 B1 KR 0140838B1
Authority
KR
South Korea
Prior art keywords
rom
version
data
version number
sum
Prior art date
Application number
KR1019940014976A
Other languages
Korean (ko)
Other versions
KR960002038A (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 KR1019940014976A priority Critical patent/KR0140838B1/en
Publication of KR960002038A publication Critical patent/KR960002038A/en
Application granted granted Critical
Publication of KR0140838B1 publication Critical patent/KR0140838B1/en

Links

Abstract

이 발명은 전자기기의 롬 데이타 설정 및 점검 방법에 관한 것으로서, 금전등록기, 팩시밀리 등과 같은 전자기기에 장착되는 롬을 제작시 특정 저장 영역에 버젼에 대한 데이타를 저장시킨 후 사용중 롬의 교체 또는 버젼의 확인이 필요한 경우 간단한 키 조작에 의하여 미리 특정 저장 영역의 데이타를 활용하여 현재 롬의 버젼을 간단히 확인하도록 구성하므로써 롬의 버젼 확인에 있어서 편리함을 제공할 수 있는 효과가 있다. 이것은 롬이 장착되는 모든 전자기기에 이용 가능하다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of setting and checking a ROM data of an electronic device. If confirmation is required, it is possible to provide convenience in checking the version of the ROM by simply confirming the version of the current ROM by using data of a specific storage area by simple key manipulation. This is available for all electronics on which the ROM is mounted.

Description

전자기기의 롬 버젼 설정 및 점검방법Setting and checking ROM version of electronic equipment

제 1 도는 이 발명을 수행하기 위한 금전등록기의 블럭도,1 is a block diagram of a cash register for carrying out this invention,

제 2 도는 이 발명에 따른 실시예인 금전등록기의 롬 버젼 설정 방법을 나타내는 흐름도,2 is a flowchart showing a ROM version setting method of the cash register according to the embodiment of the present invention;

제 3 도는 이 발명에 따른 실시예인 금전등록기의 롬 버젼 점검 방법을 나타내는 흐름도이다.3 is a flowchart showing a ROM version checking method of a cash register according to an embodiment of the present invention.

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

10: 키보드20: 중앙처리부10: keyboard 20: central processing unit

30: 전원부40: EPROM30: power supply unit 40: EPROM

50: 램60: 디스플레이부50: RAM 60: display unit

70: 인자부70: printing part

이 발명은 전자기기의 롬 버젼 설정 및 점검 방법에 관한 것으로서, 보다 상세하게는 금전등록기에 있어서 제작시 롬을 내장할 때 롬의 버젼을 설정하고, 이 설정된 롬의버젼을 사용자가 필요시 간단한 키조작으로 롬의 버젼을 확인토록 하는 전자기기의 롬 버젼 설정 및 점검 방법에 관한 것이다.The present invention relates to a method for setting and checking a ROM version of an electronic device. More specifically, the cash register sets a version of the ROM when the ROM is built at the time of manufacture. The present invention relates to a method for setting and checking a ROM version of an electronic device that allows an operation to check a version of a ROM.

통상적으로 마이크로 컴퓨터(Micro Computer)또는 마이크로 프로세서(Micro Processor)가 내장된 전자기기에는 이들 마이크로 컴퓨터 또는 마이크로 프로세스의 동작 제어를 위한 롬(ROM)이 내장되어 있는 바, 이 롬에는 이들 마이크로 컴퓨터 또는 마이크로 프로세서의 동작에 대한 프로그램 데이터가 소정의 데이터 저장 영역의 특정 어드레스(Address)에 할당, 저장되어 있다.In general, electronic devices incorporating a microcomputer or a microprocessor include a ROM for controlling the operation of the microcomputer or the microprocessor, and the ROM includes the microcomputer or the microprocessor. Program data relating to the operation of the processor is allocated and stored at a specific address in a predetermined data storage area.

그리고, 이 동작 프로그램이 저장되는 롬에 있어서 저장된 데이터는 전원이 오프(off)되더라도 저장 상태가 그대로 유지되도록 이피롬(Erasable Programmable Read Only Memory : 이하 'EPROM'이라 함)으로 대개 제작되고 있다. 그리고, 제작자는 이 롬의 교체 장착 필요시 용이성을 제공하기 위하여 롬 종류 구분을 위한 버젼(Version) 번호를 본체에 인쇄하거나, 스티거(Sticker)를 붙이는 방법으로 버젼관리를 행해 왔으며, 이와 같은 방법이 제공되지 않는 롬은 특별한 장비를 사용하여야만 저장된 데이터를 확인하여 버젼을 알 수 있었다.In the ROM in which the operation program is stored, the stored data is generally produced in an erasable programmable read only memory (hereinafter referred to as 'EPROM') so that the stored state is maintained even when the power is turned off. In order to provide ease of replacement when the ROM is required, the manufacturer has printed a version number for distinguishing the ROM type on the main body, or has a version management method by attaching a sticker. The ROM that is not provided was able to know the version by checking the stored data only by using special equipment.

이와 같이 제작된 전자기기의 롬 상에 오류가 발생되었거나, 버젼을 높일 경우에는, 사용자는 현재 롬의 버젼을 상기한 방법으로 확인한 후 수정하고 버젼이 높은 프로그램 데이터가 저장된 다른 롬으로 교체 장착하였으므로 롬의 버젼 확인에 상당한 어려움이 있었다.If an error occurs on the ROM of the electronic device manufactured in this way or if the version is increased, the user checks the version of the current ROM in the above-described manner, corrects it, and replaces it with another ROM that has a higher version of program data. There was considerable difficulty in checking the version of.

이러한 불편함을 극복하기 위하여 전자기기에 연결되는 단말기의 경우에 롬이 위치한 본체에 덮개를 형성시키는 기술이 대한민국 공개 특허 번호 제 93-2951호에 개시되어 있다. 이것은 전자기기의 단말기에 장착된 롬을 교체시키기 위하여, 단말기내에 장착된 회로기판상의 롬 위치에 해당하는 본체의 특정 부위에 덮개를 만들어 롬 교체시 덮개를 열어서 교체할 수 있도록 한 것이다. 따라서 사용자가 롬의 버젼 번호를 확인하기 위해서는 덮개를 열어서 확인하여야 하였다.In order to overcome this inconvenience, a technique for forming a cover on a main body in which a ROM is located in the case of a terminal connected to an electronic device is disclosed in Korean Patent Publication No. 93-2951. In order to replace the ROM mounted on the terminal of the electronic device, a cover is made at a specific part of the body corresponding to the ROM position on the circuit board mounted in the terminal so that the cover can be replaced by opening the ROM. Therefore, the user has to open the cover to check the ROM version number.

결국 롬의 버젼 번호의 확인을 위해서는 본체를 분해하거나 본체를 변형시키는 방법만을 사용할 수 밖에 없어서, 작업시 상당한 난점이 있었다. 특히 그 내부 구성이 복잡하여 특정 부위에 덮개를 형성시킬 수 없는 금전등록기 또는 이와 유사한 사무용 기기의 경우에는 롬의 버젼 확인상에 어려운 문제점이 있었다.After all, only the method of disassembling the main body or modifying the main body can be used to check the version number of the ROM. In particular, in the case of a cash register or similar office equipment that can not form a cover on a specific part because the internal configuration is complicated, there was a difficult problem in checking the version of the ROM.

이 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 이 발명의 목적은 본체를 분해하지 않고 간단한 키 조작으로만 전자기기내에 장착된 롬의 버젼을 확인할 수 있는 전자기기의 롬 버젼 설정 및 점검 방법을 제공함에 있다.The present invention is to solve the above problems, an object of the present invention is to set the ROM version of the electronic device to check the version of the ROM installed in the electronic device only with a simple key operation without disassembling the main body In providing.

상기와 같은 목적을 달성하기 위한 이 발명에 따른 전자기기의 롬 버젼 설정 및 점검 방법의 특징은, 롬을 내장하는 전자기기의 롬 버젼 설정 및 점검 방법에 있어서; 상기 롬에 버젼 번호를 부여할 때, 입력 수단으로부터 입력되는 상기 롬의 버젼 번호를 설정하고 정해진 범위내의 데이터의 합을 계산하여, 이 데이터의 합과 상기 롬의 버젼 번호를 버젼 체크 영역에 저장하는 버젼 설정 단계와; 상기 버젼 체크 영역에 저장된 데이터의 합과 상기 롬의 버젼 번호를 사용자가 입력하는 롬의 버젼 번호 및 현재 롬의 데이터 저장 영역의 데이터의 합을 계산한 데이터와 비교하여 그 결과를 출력 수단으로서 출력시키는 체크 단계로 구성되는 점에 있다.Features of the ROM version setting and checking method of the electronic device according to the present invention for achieving the above object, in the ROM version setting and checking method of the electronic device embedded ROM; When a version number is assigned to the ROM, a version number of the ROM inputted from an input means is set, a sum of data within a predetermined range is calculated, and the sum of this data and the version number of the ROM are stored in a version check area. A version setting step; Comparing the sum of the data stored in the version check region and the version number of the ROM with the calculated data by comparing the sum of the ROM version number input by the user and the data of the data storage region of the current ROM and outputting the result as an output means. It consists of a check step.

그리고, 상기 버젼 설정 단계는; 상기 입력 수단으로부터 입력되는 상기 롬의 버젼 번호를 입력하는 단계와; 상기 롬의 데이터 영역의 지정 어드레스로부터 시작하여 또 다른 지정 어드레스까지의 데이터의 합을 계산하는 단계와; 상기 롬의 버젼 번호와 상기 계산된 총 어드레스를 롬의 상기 버젼 체크 영역에 저장하는 단계로 구성됨이 바람직하다.Then, the version setting step; Inputting a version number of the ROM input from the input means; Calculating a sum of data starting from a designated address of the data area of the ROM and up to another designated address; And storing the version number of the ROM and the calculated total address in the version check region of the ROM.

상기의 시작을 지정하는 지정 어드레스의 롬의 데이터 영역의 시작 어드레스를, 끝을 지정하는 지정 어드레스는 롬의 데이터 영역의 마지막 어드레스를 지정하여 합산하는 어드레스의 폭을 최대한 크게 하는 것이 바람직하다.It is preferable to make the width of the address which adds the start address of the ROM data area of the ROM of the designation address which designates the start above, and the sum of the address which adds the designation of the last address of the data area of the ROM as maximum as possible.

그리고, 상기 체크 단계는; 상기 입력 수단으로부터 입력되는 상기 롬의 버젼 번호를 입력하는 단계와; 상기 롬의 데이터 영역 중 체크할 시작 지정 어드레스를 지정하고, 시작 지정 어드레스로부터 시작하여 지정되는 끝 지정 어드레스까지의 데이터의 합을 계산하는 단계와; 상기 롬의 버젼 체크 영역에 저장된 버젼 번호와 데이터의 합을 독출하는 단계와; 상기 독출된 버젼 번호와 데이터의 합을 상기 입력된 버젼 번호와 상기 계산된 데이터의 합과 비교하여 그 결과를 출력 수단으로 출력하는 단계로 구성됨이 바람직하다.And, the checking step; Inputting a version number of the ROM input from the input means; Designating a start designation address to be checked in the data area of the ROM, and calculating a sum of data starting from a start designation address to a designated end designation address; Reading a sum of a version number and data stored in a version check region of the ROM; And comparing the sum of the read version number and the data with the sum of the input version number and the calculated data and outputting the result to the output means.

이하. 이 발명에 따른 전자기기의 롬 버젼 설정 및 점검 방법의 바람직한 하나의 실시예에 대하여 첨부 도면을 참조하여 상세히 설명한다.Below. A preferred embodiment of the ROM version setting and checking method for an electronic device according to the present invention will be described in detail with reference to the accompanying drawings.

여기에서 시작 지정 어드레스를 롬의 데이터 영역의 시작 어드레스로 하고, 끝 지정 어드레스를 롬의 데이터 영역의 마지막 어드레스로 설정하여 사용하는 것을 예로 들었다.In this example, the start designation address is used as the start address of the ROM data area and the end designation address is set as the last address of the ROM data area.

제 1 도는 이 발명을 수행하기 위한 금전등록기의 블록도이다.1 is a block diagram of a cash register for carrying out this invention.

이것은, 사용자가 금전등록기를 동작시키기 위한 도시되지 않은 다수 개의 키와 금전등록기의 모드를 설정시키기 위한 도시되지 않은 모드 전환 스위치가 구비된 키보드(10)와, 키보드(10)로부터 입력되는 키 신호에 의하여 정해진 프로그램에 따라 입출력되는 데이터를 처리하는 중앙처리부(20)와, 중앙처리부(20)로부터 제공되는 제어 신호에 의하여 전원 공급을 제어하는 전원부(30)와, 전원부(30)로부터 전원이 공급되면 중앙처리부(20)가 정해진 프로그램을 수행하기 위한 데이터를 출력하는 EPROM(40)과, 중앙처리부(20)에서 동작 수행시 발생되는 데이터 또는 동작 수행시 필요한 데이터를 저장하는 램(50)과, 중앙처리부(20)로부터 출력되는 데이터를 디스플레이 시키는 디스플레이부(70)와, 중앙처리부(30)로부터 출력되는 데이터를 인자시키는 인자부(80)가 구성되어 있다.This includes a keyboard 10 having a plurality of keys not shown for operating the cash register and an unshown mode changeover switch for setting the mode of the cash register, and a key signal input from the keyboard 10. When the power is supplied from the central processing unit 20 for processing data input and output according to the program determined by the control unit, the power supply unit 30 for controlling the power supply by the control signal provided from the central processing unit 20, and the power supply unit 30 The central processing unit 20 outputs data for executing a predetermined program, an EPROM 40, a RAM 50 storing data generated when an operation is performed in the central processing unit 20 or data necessary for performing an operation, and a central part. The display unit 70 for displaying the data output from the processing unit 20, and the printing unit 80 for printing the data output from the central processing unit 30 There is sex.

일반적인 금전등록기의 동작에 대하여 우선 언급하면, 금전등록기에 제공되는 모드로는 프로그램 모드, 점검 모드, 정산 모드, 판매 모드등 그 기종에 따라 여러 가지가 있을 수 있다. 우선 사용자는 이러한 모드를 그 필요성에 따라 도시되지 않은 모드 전환 스위치를 조작하여 이용할 수 있고, 매장의 물품 판매시에는 판매 모드에 스위치를 위치시킨 후 금전등록기를 조작시킨다.Referring first to the operation of the general cash register, there may be various modes provided to the cash register depending on the type of the program mode, the check mode, the settlement mode, the sales mode. First, the user can use this mode by manipulating a mode changeover switch (not shown) according to the necessity, and operate the cash register after placing the switch in the sale mode at the time of selling goods in the store.

우선, 금전등록기의 도시되지 않은 전원선을 도시되지 않은 플러그에 연결시키면 중앙처리부(20)로부터 제공되는 제어 신호에 의하여 전원부(30)는 EPROM(40)에 전원을 공급하게 되고, 이에 따라 EPROM(40)으로부터 제공되는 프로그램에 의하여 중앙처리부(20)는 동작을 개시한다.First, when a power line (not shown) of the cash register is connected to a plug (not shown), the power supply unit 30 supplies power to the EPROM 40 according to a control signal provided from the central processing unit 20. Accordingly, the EPROM ( By the program provided from 40, the central processing unit 20 starts an operation.

사용자가 물품의 판매 또는 정산 등을 수행하기 위한 소정 키를 조작하면, 키보드(10)로부터 출력되는 키 신호가 중앙처리부(20)로 인가되고, 중앙처리부(20)는 정해진 과정에 의하여 연산 처리 및 영수 처리하여 수계 및 총계에 대한 데이터를 디스플레이부(60)로 출력시키고 영수증을 발급하기 위한 데이터를 인자부(70)에 출력하여 인자시킨다. 따라서 사용자는 물품 판매에 대한 내역 및 금액이 인자된 영수지를 구매자에게 발급하고, 금전등록기는 판매된 물품에 대한 정산 및 잔량을 동작시 계산하여 데이터로서 램(50)에 저장시킨다.When a user operates a predetermined key for selling or paying for an item, a key signal output from the keyboard 10 is applied to the central processing unit 20, and the central processing unit 20 performs arithmetic processing and Receipt processing to output the water and the total data on the display unit 60 and to print the data for issuing a receipt to the printing unit 70 to print. Therefore, the user issues a receipt to the purchaser whose details and amounts of the goods are printed to the buyer, and the cash register calculates the settlement and the remaining amount of the sold goods in operation and stores them in the RAM 50 as data.

이와 같은 동작을 수행하기 위해서 금전등록기에는 정해진 과정에 의한 동작 수행을 위한 프로그램이 EPROM(40)에 저장되어 있어야 한다.In order to perform such an operation, a cash register must store a program for performing an operation by a predetermined process in the EPROM 40.

그리고, EPROM(40)은 상기 기술한 바와 같이 저장된 프로그램에 따른 버젼이 정해져 있다. 이와 같은 버젼을 간단한 키 조작에 의하여 확인하기 위한 제 2 도의 제작시 롬 버젼 설정 방법과 제 3 도의 롬 버젼 점검 방법에 대하여 구체적으로 설명한다.In the EPROM 40, the version corresponding to the stored program is determined as described above. The method of setting the ROM version at the time of manufacture of FIG. 2 and the method of checking the ROM version of FIG. 3 for confirming such a version by simple key operation will be described in detail.

우선, 전자기기의 제작시 롬 버젼 설정 방법을 금전등록기에 적용하여 제 2 도를 참조하여 설명한다.First, the method of setting the ROM version at the time of manufacture of the electronic device is described with reference to FIG.

제작자가 금전등록기의 키보드(10)에 구비된 도시되지 않은 모드 전환 스위치를 프로그램 위치로 설정하면, 중앙처리부(20)는 단계(S2)를 수행하여 수행 모드를 프로그램 모드로 설정한 후 단계(S4)를 수행하여 입력되는 키 신호를 스캐닝한다.When the producer sets the mode switching switch (not shown) provided in the keyboard 10 of the cash register to the program position, the central processing unit 20 performs step S2 to set the execution mode to the program mode and then step S4. Scan the input key signal.

중앙처리부(20)는 단계(S6)와 단계(S8)를 수행하여 버젼 번호와 체크키가 각각 입력되었는지 판단하여 버젼 번호와 체크키가 입력되지 않았다면 단계(S10)를 수행하여 입력 키에 해당하는 동작을 수행하고, 버젼 번호와 체크키가 입력되었다면 단계(S12)를 수행하여 데이터 계산 값(Total)을 '0'으로 세팅한 후 EPROM(40)의 데이터 시작 어드레스를 지정한다.The central processing unit 20 performs steps S6 and S8 to determine whether the version number and the check key are respectively input. If the version number and the check key are not input, the central processing unit 20 performs the step S10 to correspond to the input key. If the version number and the check key are input, the step S12 is performed to set the data calculation value Total to '0' and then specify the data start address of the EPROM 40.

여기에서 Total은 임의의 상수를 의미하며 체크썸(Check Sum)을 위한 것이다. 이는 EPROM등의 메모리에 관련된 기술적 용어로써, 해당 메모리에 저장된 데이터의 총 합산을 임의의 상수에 저장하여 EPROM등의 메모리의 이상 여부를 확인할 때 사용된다. 즉, A라는 EPROM과 B라는 EPROM의 동일성 여부 또는 이상여부를 확인할 때 각 어드레스의 데이터를 일일이 확인하지 않고도 체크썸의 값을 확인하므로써 동일성을 판단할 수 있다. 본원에서의 Toral은 이를 위해 일정 어드레스 영역 내에 저장된 데이터 값을 저장하기 위해 설정된 상수를 의미하는 것이다.Where Total means any constant and is for Check Sum. This is a technical term related to a memory such as an EPROM. The total sum of data stored in the memory is stored in an arbitrary constant and used when checking whether the memory of the EPROM or the like is abnormal. That is, when checking whether or not the EPROM A and EPROM are identical or not, the sameness can be determined by checking the value of the checksum without checking the data of each address. Toral herein means a constant set for storing a data value stored in a certain address area for this purpose.

이때 EPROM(40)의 데이터 시작 어드레스란 일반적인 롬의 경우 그 저장 용량에 따라 데이터를 저장할 수 있는 양이 틀리고, 롬의 사양에 따라 프로그램이 저장된 데이터 영역의 시작 어드레스가 틀린다. 즉, 롬의 데이터 저장 영역이 예를 들어 '(0000)16'번지 어드레스부터 시작되는 것이 아니라 소정 필수 저장 데이터를 위한 저장 영역 이후부터 시작된다. 이와 같은 데이터 시작 어드레스가 롬의 기종마다 상이하므로 이 데이터 영역의 시작 어드레스 값을 지정해 주어야 한다.In this case, in the case of a general ROM, the data start address of the EPROM 40 is different from the amount of data that can be stored, and the start address of the data area in which the program is stored is wrong according to the ROM specification. That is, the data storage area of the ROM does not start with, for example, the address '(0000) 16 ', but starts after the storage area for the required essential storage data. Since this data start address is different for each ROM type, the start address value of this data area should be specified.

즉, 구체적인 예로서 전체 어드레스가 (0000)16부터 (FFFF)16까지 설정 가능한 롬의 경우 '(0000)16'번지까지는 수정 필수 저장 데이터를 위한 영역이 된다면, '(003B)16'번지부터 데이터 저장 영역이 시작되는 것이다. 따라서 '(003B)16'번지가 데이터 시작 어드레스가 되는 것이다.That is, as a specific example, in the case of the ROM where the entire address can be set from (0000) 16 to (FFFF) 16 , if '(0000) 16 ' is an area for the necessary storage data to be modified, data from '(003B) 16 ' The storage area starts. Therefore, '(003B) 16 ' is the data start address.

따라서, 중앙처리부(20)는 단계(S14)에서 지정된 어드레스에 저장된 데이터를 독출한 후 버퍼에 저장하고, 단계(S16)에서 현재 어드레스를 버퍼만큼 증가하여 그 값을 Total값에 합한 후, 단계(S18)에서 마지막 어드레스인가를 확인한다.Therefore, the central processing unit 20 reads out the data stored at the address designated in step S14 and stores it in the buffer, increases the current address by the buffer in step S16, adds the value to the total value, and then, In S18), it is checked whether or not it is the last address.

중앙처리부는 단계(S18)에서 마지막 영역이 아닌 것으로 판단되면, 단계(S20)에서 다음 어드레스로 지정하여 단계(S14)와 단계(S16)를 재수행한다.If it is determined in step S18 that it is not the last region, the central processing unit re-performs steps S14 and S16 by designating the next address in step S20.

즉 단계(S14), 단계(S16), 단계(S18), 단계(S20)를 반복 수행함에 따라서 중앙처리부(20)는 마지막 어드레스인 것으로 판단되면 단계(S22)를 수행하여 단계(S4)에서 입력된 버젼 번호를 EPROM(40)의 버젼 체크 영역에 저장하고, 또 단계(S24)를 수행하여 현재의 데이터 합 즉 Total값을 EPROM(40)의 버젼 체크 영역에 저장한다.That is, as the central processing unit 20 determines that the final address is the last address as the steps S14, S16, S18, and S20 are repeatedly performed, the processor 20 performs the step S22 and inputs it in the step S4. The stored version number is stored in the version check area of the EPROM 40, and step S24 is further performed to store the current data sum, that is, the total value, in the version check area of the EPROM 40.

이상과 같이 설정된 롬의 버젼을 점검하는 방법에 대하여 제 3 도에 기술된 바와 같이 금전등록기에 적용하여 설명한다.How to check the version of the ROM set as described above will be described by applying to the cash register as shown in FIG.

금전등록기에 장착된 EPROM의 교체 또는 버젼 확인을 위하여 사용자가 금전등록기의 키보드(10)에 구비된 도시되지 않은 모드 전환 스위치를 점검 위치로 설정하면, 중앙처리부(20)는 단계(S32)를 수행하여 수행 모드를 점검 모드로 설정한 후 단계(S34)를 수행하여 입력되는 키 신호를 스캐닝한다.When the user sets the mode change switch (not shown) provided in the keyboard 10 of the cash register to the check position to replace or replace the EPROM mounted on the cash register, the central processing unit 20 performs step S32. After setting the execution mode to the check mode to perform the step (S34) to scan the input key signal.

단계(S36)와 단계(S38)에서 중앙처리부(20)는 버젼 번호와 체크키가 입력되지 않았다고 판단되면 단계(S40)을 수행하여 입력된 키에 해당하는 기능을 수행하도록 한다. 그리고 단계(S36)과 단계(S38)에서 중앙처리부(20)는 버젼 번호와 체크키가 입력되었다고 판단되면 단계(S42)를 수행하여 데이터 합을 '0'으로 세팅한 후 EPROM(40)의 데이터 시작 어드레스를 지정한다.(S44)In step S36 and step S38, if it is determined that the version number and the check key are not input, the central processing unit 20 performs step S40 to perform a function corresponding to the input key. If it is determined in step S36 and step S38 that the version number and the check key are input, the central processing unit 20 performs step S42 to set the data sum to '0' and then the data of the EPROM 40. Specify the start address. (S44)

따라서, 중앙처리부(20)는 지정된 어드레스에 저장된 데이터를 독출한 후 단계(S46)에서 버퍼에 저장하고, 단계(S48)에서 현재 어드레스를 증가하여 해당하는 데이터 값을 Total값에 합한 후, 단계(S50)에서 마지막 어드레스인가를 확인한다.Therefore, the central processing unit 20 reads out the data stored at the designated address and stores it in the buffer in step S46, increases the current address in step S48, adds the corresponding data value to the total value, and then executes the step ( In S50), check whether or not the last address is applied.

중앙처리부는 단계(S50)에서 데이타가 저장된 마지막 영역이 아닌 것으로 판단되면, 단계(S52)에서 다음 어드레스로 지정하여 단계(S46)와 단계(S48)을 재수행한다.If it is determined in step S50 that the data is not the last area in which the data is stored, the central processing unit re-performs steps S46 and S48 by specifying the next address in step S52.

즉, 단계(S46), 단계(S48), 단계(S50), 단계(S52)를 반복 수행함에 따라서 중앙처리부(2)는 마지막 어드레스인 것을 판단되면 단계(S54)를 수행하여 제작시 버젼 체크 영역에 저장된 버젼 번호 및 Total값을 독출하고, 단계(S56)에서 이 버젼 체크 영역에서 독출된 버젼 번호와 단계(S36)에서 확인된 버젼 번호와 동일한가 판단한다.In other words, as it is determined that the step S46, step S48, step S50, and step S52 are repeated, the central processing unit 2 performs the step S54 when it is determined that it is the last address. The version number and the total value stored in the program are read out, and it is judged in step S56 whether the version number read out in this version check area is the same as the version number checked in step S36.

그리고 단계(S58)에서 동일한 것으로 판단되면 중앙처리부(20)는 단계(S60)에서 버젼 체크 영역에서 독출된 Total값과 (S46, S48, S50, S52)들의 수행에 의하여 계산된 Total값이 동일한가 비교한 후 단계(S62)에서 동일한가 판단한다.If it is determined in step S58 that the same value is determined in the step S58, the CPU 20 compares whether the total value read in the version check region in step S60 is equal to the total value calculated by performing the operations S46, S48, S50, and S52. After that, it is determined in step S62 whether they are the same.

단계(S58)와 단계(S62)에서 서로 비교되는 버젼 번호 및 Total값이 상이하면 중앙처리부(20)는 입력된 버젼이 다른 것으로 판단함에 따라 단계(S66)을 수행하여 독출된 버젼 번호와 Total과 입력된 버젼 번호와 계산된 Total값을 인자부(70)에서 인자하도록 하고, 단계(S62)에서 각 Total값이 동일하면 사용자가 키를 통하여 입력한 버젼이 정확하다고 판단하여 EPROM(40)롬의 버젼 체크 영역으로부터 독출된 버젼 번호와 Total을 인자시킨다.If the version number and Total value which are compared with each other in step S58 and step S62 are different, the central processing unit 20 determines that the input version is different and performs step S66 to read the version number and Total and The version number and the calculated Total value are printed in the printing unit 70. If each Total value is the same in step S62, it is determined that the version entered by the user through the key is correct. Prints the version number and Total read from the version check region.

그러므로 사용자는 현재 사용하고 있는 금전등록기의 모드를 모드 전환 스위치를 이용하여 점검 모드로 설정하고, 사용자가 생각하는 버젼 번호를 입력한 후 설정 가능한 체크키를 조작함으로써 자동적으로 버젼 번호가 체크된 후 인자됨에 따라 쉽게 EPROM의 버젼을 확인할 수 있다.Therefore, the user sets the mode of the current cash register to the inspection mode by using the mode change switch, inputs the version number that the user thinks, and operates the check key that can be set, and then automatically prints the version number. You can easily check the version of the EPROM.

이상에서와 같이 이 발명에 따른 전자기기의 롬 버젼 설정 및 점검 방법에 의하면, 전자기기의 제작시에 장착되는 롬의 버젼 체크 영역에 버젼 번호 및 데이터 합을 저장하여 사용할 때 간단한 키 조작에 의하여 롬의 버젼 확인 필요시 이 버젼 체크 영역의 데이터를 확인할 수 있도록 구성함으로써 롬의 교체 또는 버젼 확인시 편리함을 제공할 수 있는 효과가 있다.As described above, according to the method for setting and checking the ROM version of the electronic device according to the present invention, when the version number and the data sum are stored and used in the version check area of the ROM mounted at the time of manufacturing the electronic device, the ROM is operated by a simple key operation. If you need to check the version of this version, you can check the data in this version check area so that you can provide convenience when replacing or checking the version.

비록, 이 발명의 상세한 설명란에는 전자기기로서 금전등록기에 한하여 장착된 롬의 버젼을 설정 및 점검하는 방법을 기술하였으나, 제작자의 의도에 따라 롬이 장착되는 모든 전자기기에 활용할 수 있다.Although the detailed description of the present invention describes a method of setting and checking a version of a ROM mounted only on a cash register as an electronic device, it can be utilized in all electronic apparatuses equipped with a ROM according to the intention of the manufacturer.

그 구체적인 예로서, 팩시밀리, 복사기, 전화기와 같은 사무용 기기내에 장착되는 롬의 버젼 체크 영역을 설정하여 이 영역에 체크 데이터를 저장시킴으로써 간단한 키 조작에 의하여 현재 롬의 버젼을 확인할 수 있도록 구성할 수도 있다.As a specific example, a version check area of a ROM mounted in an office device such as a facsimile machine, a copier, a telephone, etc. may be set, and check data may be stored in this area so that the current ROM version can be checked by simple key operation. .

Claims (3)

롬을 내장하는 전자기기의 롬 버젼 설정 및 점검 방법에 있어서, 상기 롬에 버젼 번호를 부여할 때, 입력 수단으로부터 입력되는 상기 롬의 버젼 번호를 설정하고 일정 범위의 데이터 합을 계산하여, 이 데이터 합과 상기 롬의 버젼 번호를 버젼 체크 영역에 저장하는 버젼 설정 단계와; 상기 버젼 체크 영역에 저장된 데이터 합과 상기 롬의 버젼 번호를 사용자가 입력하는 롬의 버젼 번호 및 현재 롬의 일정 범위의 데이터 합을 계산한 값과 비교하여 그 결과를 출력 수단으로서 출력시키는 체크 단계로 구성되는 전자기기의 롬 버젼 설정 및 점검 방법.In a method of setting and checking a ROM version of an electronic device incorporating a ROM, when a version number is assigned to the ROM, a version number of the ROM input from an input means is set, and a sum of data in a predetermined range is calculated to determine the data. A version setting step of storing the sum and the version number of the ROM in a version check region; A check step of comparing the sum of data stored in the version check region and the version number of the ROM with a calculated value of a ROM number input by a user and a data sum of a predetermined range of the current ROM, and outputting the result as an output means. How to set up and check the ROM version of the electronic device. 제 1 항에 있어서, 상기 버젼 설정 단계는; 상기 입력 수단으로부터 입력되는 상기 롬의 버젼 번호를 입력하는 단계와; 상기 롬의 데이터 저장 영역의 데이터 합을 계산하는 단계와; 상기 롬의 버젼 번호와 상기 계산된 데이터 합을 롬의 상기 버젼 체크 영역에 저장하는 단계로 구성되는 전자기기의 롬 버젼 설정 및 점검 방법.The method of claim 1, wherein the version setting step; Inputting a version number of the ROM input from the input means; Calculating a data sum of a data storage area of the ROM; And storing the version number of the ROM and the calculated data sum in the version check region of the ROM. 제 1 항에 있어서, 상기 체크 단계는; 상기 입력 수단으로부터 입력되는 상기 롬의 버젼 번호를 입력하는 단계와; 상기 롬의 데이터 저장 영역의 데이터 합을 계산하는 단계와; 상기 롬의 버젼 체크 영역에 저장된 버젼 번호와 데이터 합을 독출하는 단계와; 상기 독출된 버젼 번호와 데이터 합을 상기 입력된 버젼 번호와 상기 계산된 데이터 합과 비교하는 과정과, 상기 비교 결과를 출력 수단으로 출력하는 단계로 구성되는 전자기기의 롬 버젼 설정 및 점검 방법.The method of claim 1, wherein the checking step; Inputting a version number of the ROM input from the input means; Calculating a data sum of a data storage area of the ROM; Reading a version number and a data sum stored in a version check region of the ROM; And comparing the read version number and the data sum with the input version number and the calculated data sum, and outputting the comparison result to the output means.
KR1019940014976A 1994-06-28 1994-06-28 Setting and checking ROM version of electronic equipment KR0140838B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940014976A KR0140838B1 (en) 1994-06-28 1994-06-28 Setting and checking ROM version of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940014976A KR0140838B1 (en) 1994-06-28 1994-06-28 Setting and checking ROM version of electronic equipment

Publications (2)

Publication Number Publication Date
KR960002038A KR960002038A (en) 1996-01-26
KR0140838B1 true KR0140838B1 (en) 1998-07-01

Family

ID=66686436

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940014976A KR0140838B1 (en) 1994-06-28 1994-06-28 Setting and checking ROM version of electronic equipment

Country Status (1)

Country Link
KR (1) KR0140838B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100350972B1 (en) 1997-12-08 2002-12-18 삼성전자 주식회사 Computer system and method possessing the function of storing an ID in its ROM

Also Published As

Publication number Publication date
KR960002038A (en) 1996-01-26

Similar Documents

Publication Publication Date Title
KR950019980A (en) Consumable Parts Engineering Apparatus and Method of Image Forming Device by Secret Code
KR0140838B1 (en) Setting and checking ROM version of electronic equipment
EP0126286B1 (en) Electronic cash register
US20100146154A9 (en) System for verifying the identification of a device
US5943247A (en) Electronic desk calculator with counter and counter display
JPH03223901A (en) Semiconductor manufacturing equipment
EP0355020A2 (en) Transaction processing apparatus capable of performing additional processing
JP2656975B2 (en) Key input device
KR100250877B1 (en) Printing method of program processing paper for ecr
US20010038008A1 (en) Microwave oven control with external memory control data
JP2617250B2 (en) Electronic cash register
KR100343011B1 (en) Data exchange control method for ecr
JPH04105112A (en) Information processor with key setting function
JPH064776A (en) Electronic cash register
JPH01112424A (en) Electronic equipment
JPH07128095A (en) Measuring equipment
Thomas Evaluation of three phase motors: categorisation of local magnetic polarity combinations
JPH08339208A (en) Program preparation device for programmable controller
KR19990024389A (en) How to substitute a bad numeric key for a cash register
JP3056767B2 (en) Image forming device
JP2022020189A (en) Net list generator
JPH0658711B2 (en) POS system
JP2612651B2 (en) Product data processing device
KR100269781B1 (en) Printer controll command changing method for ecr
KR0178267B1 (en) Control calculation method in remote control

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: 20010227

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee