KR0155749B1 - Program method for memory - Google Patents

Program method for memory

Info

Publication number
KR0155749B1
KR0155749B1 KR1019930025901A KR930025901A KR0155749B1 KR 0155749 B1 KR0155749 B1 KR 0155749B1 KR 1019930025901 A KR1019930025901 A KR 1019930025901A KR 930025901 A KR930025901 A KR 930025901A KR 0155749 B1 KR0155749 B1 KR 0155749B1
Authority
KR
South Korea
Prior art keywords
memory
data
program
programmed
microcomputer
Prior art date
Application number
KR1019930025901A
Other languages
Korean (ko)
Other versions
KR950015081A (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 KR1019930025901A priority Critical patent/KR0155749B1/en
Publication of KR950015081A publication Critical patent/KR950015081A/en
Application granted granted Critical
Publication of KR0155749B1 publication Critical patent/KR0155749B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/66Updates of program code stored in read-only memory [ROM]

Abstract

이 발명은 셋트내의 메인 마이콤에 미리 메모리용 프로그램 및 데이타를 프로그래밍시키고 최초로 셋트의 파워가 온되면 메모리에 데이타가 프로그래밍되도록 하는 메모리의 프로그램 방법에 관한 것이다.The present invention relates to a memory programming method in which a program and data for a memory are programmed in advance in a main micom in a set and data is programmed into the memory when the set is first powered on.

이 발명은 메모리에 프로그램시킬 데이타를 셋트의 메인 마이콤에 미리 프로그램시키는 스텝과, 양산시 최초로 파워가 온되면 메모리의 모든 데이타가 FF인지를 판별하는 스텝과, 메모리의 모든 데이타가 FF가 아니면 메모리 프로그램 과정을 중지하고 모든 데이타가 FF이면 메모리를 초기화시키는 스텝과, 메모리가 초기화되면 마이콤으로부터 메모리에 프로그램할 데이타를 읽어와 메모리에 프로그래밍시키는 스텝과, 메모리에 프로그램이 완료되면 디스플레이 장치를 이용하여 프로그램 완료를 알리는 스텝으로 이루어짐으로써, 메모리 지그 제작을 따로 할필요가 없고 프로그램 전용 마이콤과 메모리 케이스가 필요없게 되며, 메모리에 프로그래밍하기 위해서 지그에 메모리를 꽂거나 뽑는 작업을 할 필요가 없게 되므로 시간과 비용 및 소비전력이 절약된다.The present invention comprises the steps of pre-programming the data to be programmed into the memory into a set of main microcomputers, a step of determining whether all data in the memory is FF when power is first turned on in mass production, and a memory program process if all data in the memory is not FF. Stop all the data and if all data is FF, initialize the memory; if the memory is initialized, read the data to be programmed into the memory from the microcomputer and program it into the memory; if the program is completed in the memory, complete the program by using the display device. It is a notification step, so there is no need to make a memory jig separately, no need for a program-specific microcomputer and memory case, and there is no need to plug or unplug a memory to program the memory. Power Saving.

Description

메모리의 프로그램 방법Program method of memory

제1도는 종래의 메모리의 프로그램 방법을 수행하기 위한 블럭도.1 is a block diagram for performing a program method of a conventional memory.

제2도는 이 발명에 따른 메모리의 프로그램 방법을 수행하기 위한 흐름도이다.2 is a flowchart for performing a program method of a memory according to the present invention.

이 발명은 메모리의 프로그램 방법에 관한 것으로서, 더욱 상세하게는 셋트내의 메인 마이콤에 메모리용 프로그램 및 데이타를 프로그래밍시키고 셋트의 양산시 최초의 파워가 온되면 메모리에 데이타가 프로그래밍되도록 하는 메모리의 프로그램 방법에 관한 것이다.The present invention relates to a method of programming a memory, and more particularly, to a method of programming a memory program and data in a main micom in a set and to program the data in the memory when the power is first turned on during the mass production of the set. will be.

여기에서, 상기 메모리는 롬(Read Only Memory ; ROM)과 램(Random Access Memory ; RAM)이 모두 해당되며, 특히, 롬은 PROM(Programmable ROM), EPROM(Erasable PROM), EEPROM(Electrically Erasable PROM)등이 해당된다.Herein, the memory corresponds to both a read only memory (ROM) and a random access memory (RAM). In particular, the ROM includes a programmable ROM (PROM), an erasable PROM (EPROM), and an electrically erasable PROM (EEPROM). And the like.

제1도는 종래의 메모리의 프로그램 방법을 수행하기 위한 블럭도로서, 메모리 지그(JIG)(100)라고 한다.FIG. 1 is a block diagram for performing a conventional method of programming a memory, and is referred to as a memory jig (JIG) 100.

제1도는 전원 코드를 통해 전원이 인가되면 직류로 변환하는 전원 공급부(101)와, 온/오프에 의해 상기 전원 공급부(101)의 출력전압을 각부로 제공하는 전원 스위치(102)와, 전원이 공급되고 프로그램 시작신호가 입력되면 메모리에 데이타를 프로그래밍시키는 마이콤(103)과, 상기 마이콤(103)에 메모리 프로그램 시작신호를 인가하는 메모리 시작 스위치(104)와, 메모리에 프로그래밍이 완료되면 점등되는 발광 다이오드(Light Emitting Diode ; 이하, LED라 칭함.)(105)와, 소정개의 메모리를 꽂을 수 있는 소정개의 메모리 소켓(110)으로 구성된다.1 is a power supply unit 101 for converting to direct current when power is applied through a power cord, a power switch 102 for providing the output voltage of the power supply unit 101 to each unit by turning on / off, and A microcomputer 103 for programming data to a memory when supplied and a program start signal is input, a memory start switch 104 for applying a memory program start signal to the microcomputer 103, and a light emitting to be turned on when programming to the memory is completed A light emitting diode (hereinafter referred to as LED) 105 and a predetermined memory socket 110 into which a predetermined memory can be inserted.

여기서는, 한번에 6개의 메모리를 프로그래밍시킨다고 가정하였다.It is assumed here that six memories are programmed at a time.

이와같이 구성된 제1도에서, 마이콤(103)은 메모리 프로그램 전용 마이콤으로서, 메모리 구동 프로그램과 메모리에 라이트시킬 데이타가 저장되어 있다.In FIG. 1 configured as described above, the microcomputer 103 is a microcomputer-only microcomputer that stores a memory drive program and data to be written to the memory.

전원 코드가 콘센트에 꽂히면 전원 공급부(101)는 전원 코드를 통해 입력되는 교류를 직류로 변환하고 전원 스위치(102)가 온되면 마이콤(103)과 메모리 소켓(110)에 꽂혀 있는 제1 내지 제6 메모리(111~116)에 전원을 공급한다.When the power cord is plugged into an outlet, the power supply 101 converts alternating current inputted through the power cord into direct current, and when the power switch 102 is turned on, the first to the first plugs plugged into the microcomputer 103 and the memory socket 110. 6 Supply power to the memory 111-116.

그리고, 메모리 시작 스위치(104)를 온하면 마이콤(103)은 제1내지 제6메모리(111~116)를 초기화한 후 데이타 또는 프로그램을 제1 내지 제6 메모리(111~116)에 동시에 라이트한다.When the memory start switch 104 is turned on, the microcomputer 103 initializes the first to sixth memories 111 to 116 and simultaneously writes data or programs to the first to sixth memories 111 to 116. .

그리고, 프로그램 시작 후 소정 시간이 지나 프로그래밍이 완료되면 LED(105)가 온되면서 프로그램 완료를 알리면 프로그램 완료된 메모리를 뽑아서 메모리 케이스에 넣으면 된다.When the programming is completed after a predetermined time after the start of the program, when the LED 105 is turned on to notify the completion of the program, the program completed memory may be extracted and inserted into the memory case.

그러나, 상기된 제1도는 메모리 지그를 따로 제작해야 하고, 메모리 프로그램 전용 마이콤이 별도로 필요하며, 프로그램된 메모리를 메모리 케이스에 넣어서 따로 보관하여야 한다. 또한, 셋트 양산전에 작업자가 양산하고자 하는 갯수만큼 일일이 메모리 작업을 한 후 지삽 및 수삽을 해야 하므로 시간 손실과 비용 손실이 컸었다.However, in FIG. 1, a memory jig must be manufactured separately, a memory program dedicated microcomputer is separately required, and the programmed memory must be stored separately in a memory case. In addition, before the mass production of the set, the worker has to work as many times as he wants to mass produce, and then the manual insertion and manual insertion had a large time and cost loss.

이 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 이 발명의 목적은 셋트의 메인 마이콤에 메모리에 프로그램할 로직을 프로그램시키고 최초로 셋트의 파워가 온되면 메모리에 프로그램시킴으로써 별도의 전용 마이콤과 메모리 케이스 및 메모리 지그를 따로 제작하지 않아도 되므로 시간과 비용이 절약되는 메모리의 프로그램 방법을 제공함에 있다.The present invention is to solve the above problems, an object of the present invention is to program the logic to be programmed in the memory of the main microcomet of the set, and when the power of the first set the program in the memory by a separate dedicated microcom and memory case and There is no need to make a separate memory jig to provide a memory programming method that saves time and money.

상기와 같은 목적을 달성하기 위한 이 발명에 따른 메모리의 프로그램 방법의 특징은, 메모리에 프로그램시킬 데이타를 셋트의 메인 마이콤에 미리 프로그램시키는 스텝과, 양산시 최초로 파워가 온되면 메모리의 모든 데이타가 메모리의 초기 데이타인지를 판별하는 스텝과, 메모리의 모든 데이타가 초기 데이타가 아니면 메모리 프로그램 과정을 중지하고 모든 데이타가 초기 데이타면이면 메모리를 초기화시키는 스텝과, 메모리가 초기화되면 마이콤으로부터 메모리에 프로그램할 데이타를 읽어와 메모리에 프로그래밍시키는 스텝과, 메모리에 프로그램이 완료되면 디스플레이 장치를 이용하여 프로그램 완료를 알리는 스텝으로 이루어지는 점에 있다.The memory programming method according to the present invention for achieving the above object is the step of pre-programming the data to be programmed into the memory to the set of main microcomputer, and if the power is turned on for the first time in mass production, all the data in the memory Determining whether the initial data is initial data, stopping the memory program process if all the data in the memory is not the initial data, and initializing the memory if all the data is the initial data, and when the memory is initialized, the data to be programmed into the memory from the microcomputer. And a step of notifying the completion of the program by using a display device when the program is completed in the memory.

이하, 이 발명에 따른 메모리의 프로그램 방법의 바람직한 일실시예에 대하여 첨부 도면을 참조하여 상세히 설명한다.Hereinafter, a preferred embodiment of a memory program method according to the present invention will be described in detail with reference to the accompanying drawings.

제2도는 이 발명에 따른 메모리의 프로그램 방법을 수행하기 위한 흐름도이다.2 is a flowchart for performing a program method of a memory according to the present invention.

이 발명은 메모리에 프로그래밍할 프로그램 및 데이타를 셋트의 메인 마이콤에 프로그래밍시켜 놓고 양산시 최초의 파워가 온되면 메모리 시작 스위치의 온/오프에 관계없이 프로그래밍할 메모리에 이미 데이타가 프로그램되어 있는지를 판별하여 프로그램되어 있지 않다고 판별되면 메모리에 프로그램 및 데이타를 프로그래밍시킨다.According to the present invention, when a program and data to be programmed in a memory are programmed in a set of main microcomputers and the first power is turned on during mass production, the program is determined whether or not data is already programmed in the memory to be programmed regardless of whether the memory start switch is turned on or off. If it is not determined, program and program the data in memory.

즉, 최초로 셋트의 파워가 온되면 메모리의 시작 어드레스를 읽어온다(스텝 201).That is, when the power of the set is first turned on, the start address of the memory is read (step 201).

그리고, 읽어온 어드레스의 데이타가 FF인지를 판별한다(스텝 202).Then, it is determined whether the data of the read address is FF (step 202).

프로그램 되기전 메모리의 초기 데이타는 FF이다. 그러므로, 메모리의 시작 어드레스부터 마지막 어드레스까지의 데이타가 모두 FF이면 메모리에는 아무것도 프로그래밍되어 있지 않은 것을 의미한다.The initial data in memory before programming is FF. Therefore, if the data from the start address to the last address of the memory are all FF, it means that nothing is programmed in the memory.

따라서, 상기 스텝(202)에서 읽어온 어드레스의 데이타가 FF라고 판별되면 상기 스텝(201)에서 읽어온 어드레스가 마지막 어드레스인지를 판별한다(스텝 203).Therefore, if it is determined that the data of the address read in step 202 is FF, it is determined whether the address read in step 201 is the last address (step 203).

상기 스텝(203)에서 어드레스가 마지막 어드레스가 아니라고 판별되면 다시 스텝(201)으로 리턴하여 다음 어드레스를 읽어온다. 그리고, 다시 읽어온 어드레스의 데이타가 FF인지를 판별한다.If it is determined in step 203 that the address is not the last address, the process returns to step 201 to read the next address. Then, it is determined whether the data of the address read again is FF.

이때, 읽어온 어드레스의 데이타가 FF가 아니면 이미 메모리에는 데이타가 프로그램되어 있는 것을 의미하므로 메모리 프로그램 과정을 끝낸다.At this time, if the data of the read address is not FF, it means that the data is already programmed in the memory.

한편, 상기 스텝(203)에서 읽어온 어드레스가 마지막 어드레스라면 메모리의 모든 데이타가 FF를 의미하므로 마이콤으로부터 메모리에 라이트할 데이타를 읽어와(스텝 204) 메모리에 프로그래밍 시킨다(스텝 205).On the other hand, if the address read in the step 203 is the last address, all data in the memory means FF. Therefore, data to be written to the memory from the microcomputer is read (step 204) and programmed into the memory (step 205).

그리고, 프로그램이 완료되면 온 스크린 디스플레이 기능을 이용하여 화면에 프로그램 완료상태를 알리거나 LED등을 이용하여 완료 상태를 알린 후, 메모리에 프로그래밍이 정확히 이루어졌는지 확인 작업을 수행한다(스텝 206).When the program is completed, the program completion status is notified on the screen by using the on-screen display function or the completion status is notified by using the LED lamp, and then a check operation is performed in the memory (step 206).

이때, 메모리에 프로그램시키기 위해서 필요한 마이콤의 용량은 약 30바이트 정도이므로 메인 마이콤에서는 무시할 정도로 작은 용량이다. 그러므로, 마이콤의 용량은 큰 문제가 되지 않는다.At this time, the capacity of the microcomputer required to program the memory is about 30 bytes, so the capacity of the microcomputer is negligibly small. Therefore, the capacity of the microcomputer does not matter much.

이상에서와 같이 이 발명에 따른 메모리의 프로그램 방법에 의하면, 셋트의 메인 마이콤에 메모리에 프로그램할 로직을 미리 프로그램시키고 양산시 셋트의 파워가 최초로 온되면 셋트의 메인 마이콤으로부터 데이타를 읽어와 메모리에 프로그래밍시킴으로써, 메모리 지그 제작을 따로 할필요가 없고 프로그램 전용 마이콤과 메모리 케이스가 필요없게 된다. 또한, 메모리에 프로그래밍하기 위해서 지그에 메모리를 꽂거나 뽑는 작업을 할 필요가 없게 되므로 시간과 비용 및 소비전력이 절약되는 효과가 있다.As described above, according to the memory programming method according to the present invention, the logic to be programmed into the set of main microcomputers is programmed in advance. This eliminates the need for a separate memory jig and eliminates the need for a dedicated microcomputer and memory case. In addition, there is no need to insert or pull the memory into the jig to program the memory, saving time, cost, and power consumption.

Claims (1)

메모리에 프로그램시킬 데이타를 셋트의 메인 마이콤에 미리 프로그램시키는 스텝과, 양산시 최초로 파워가 온되면 메모리의 모든 데이타가 메모리의 초기 데이타인지를 판별하는 스텝과, 메모리의 모든 데이타가 초기 데이타가 아니면 메모리 프로그램 과정을 중지하고 모든 데이타가 초기 데이타이면 메모리를 초기화시키는 스텝과, 메모리가 초기화되면 셋트의 메인 마이콤으로부터 메모리에 프로그래밍할 데이타 및 프로그램을 읽어와 메모리에 라이트시키는 스텝과, 메모리에 프로그래밍이 완료되면 디스플레이 장치를 이용하여 프로그램 완료를 알리는 스텝으로 이루어지는 메모리의 프로그램 방법.A step of pre-programming the data to be programmed into the memory into the set main micom; a step of determining whether all data in the memory is the initial data of the memory when power is first turned on in mass production; and a memory program if all the data in the memory is not the initial data. Stopping the process and initializing the memory if all the data is initial data, reading the data and program to be programmed into the memory from the set's main micom and writing it to the memory when the memory is initialized, and displaying when the programming is completed in the memory. A program method of a memory comprising a step of notifying completion of a program by using a device.
KR1019930025901A 1993-11-30 1993-11-30 Program method for memory KR0155749B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930025901A KR0155749B1 (en) 1993-11-30 1993-11-30 Program method for memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930025901A KR0155749B1 (en) 1993-11-30 1993-11-30 Program method for memory

Publications (2)

Publication Number Publication Date
KR950015081A KR950015081A (en) 1995-06-16
KR0155749B1 true KR0155749B1 (en) 1998-11-16

Family

ID=19369425

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930025901A KR0155749B1 (en) 1993-11-30 1993-11-30 Program method for memory

Country Status (1)

Country Link
KR (1) KR0155749B1 (en)

Also Published As

Publication number Publication date
KR950015081A (en) 1995-06-16

Similar Documents

Publication Publication Date Title
US4593376A (en) System for vending program cartridges which have circuitry for inhibiting program usage after preset time interval expires
EP0211308A2 (en) Data processing machine
CA2294467A1 (en) Software loading system for a coin sorter
US4030080A (en) Variable module memory
ES2177131T3 (en) MINICONTROLLER.
CN116009921A (en) Method, device and medium for upgrading embedded operating system
US4319319A (en) Programmable time control apparatus
KR0155749B1 (en) Program method for memory
KR0172001B1 (en) Re-programming apparatus of bios memory
WO2021129051A1 (en) Parameter correction control method and apparatus, and small home appliance and storage medium
US5537599A (en) CPU controlled apparatus formed on an IC
CN210721449U (en) EEPROM chip program programming device and system
JP3659399B2 (en) Programmable logic controller
KR100254785B1 (en) Data back-up apparatus and method for plc
JPH01184503A (en) Programmable controller
KR0170747B1 (en) A protection method for power on/off
CN110609770A (en) Flash off-line parameter adjusting system and method based on single chip microcomputer
KR100774004B1 (en) computer system capable of storing data on an initial use date, and storing method thereof
GB2108735A (en) Electronic control means
US10725790B2 (en) Method for identifying a boot stage of bios from a screen image
KR910001307Y1 (en) Piloting apparatus of hard disk use state for personal computer
KR970005646B1 (en) One time programmable coding device and method
KR20020015641A (en) Apparatus and method of relay test of electronic time switch
JPH0330877Y2 (en)
KR100377548B1 (en) Method for checking normal operation of flash memory

Legal Events

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

Payment date: 20050629

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee