KR970005646B1 - One time programmable coding device and method - Google Patents

One time programmable coding device and method Download PDF

Info

Publication number
KR970005646B1
KR970005646B1 KR1019940012817A KR19940012817A KR970005646B1 KR 970005646 B1 KR970005646 B1 KR 970005646B1 KR 1019940012817 A KR1019940012817 A KR 1019940012817A KR 19940012817 A KR19940012817 A KR 19940012817A KR 970005646 B1 KR970005646 B1 KR 970005646B1
Authority
KR
South Korea
Prior art keywords
time programmable
data
coding
microcomputer
voltage
Prior art date
Application number
KR1019940012817A
Other languages
Korean (ko)
Other versions
KR960001983A (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 KR1019940012817A priority Critical patent/KR970005646B1/en
Publication of KR960001983A publication Critical patent/KR960001983A/en
Application granted granted Critical
Publication of KR970005646B1 publication Critical patent/KR970005646B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7821Tightly coupled to memory, e.g. computational memory, smart memory, processor in memory
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

One time programmable coding unit and a method thereof are provided, in which one time programmable coding repeats several tens of times in response to memory capacity and one time programmable coded data can be read out. The one time programmable coding unit includes a first power source generator(10) for outputting DC voltage of 12V by reducing the pressure of a predetermined input voltage and rectifying the predetermined input voltage, a second power source generator(20) for outputting DC voltage of 5V by reducing the pressure of the DC voltage of 12V of the first power source generator(10), a chip socket(30) for inserting one time programmable for coding, a microprocessor(70) for storing data coding and reading steps in the one time programmable inserted into the chip socket(30) in a form of program and controlling the overall system, an oscillating circuit(60) for driving the microprocessor(70), a switch(40) for supplying DC voltage of 12V of the first power source generator(10) to the chip socket(30) under the control of the microprocessor(70), and an external computer(80) connected with an input/output control terminal of the microprocessor(70), for transferring a control signal to read one time programmable coding data and coded data.

Description

원타임 프로그래머블 코딩장치 및 그 방법One-time programmable coding device and method

제1도는 본 발명에 따른 원타임 프로그래머블 코딩장치의 상세 회로도.1 is a detailed circuit diagram of a one-time programmable coding device according to the present invention.

제2도는 본 발명에 따른 마이콤의 원타임 프로그래머블 코딩 과정의 흐름도로서, (a)는 모드 판단과정의 흐름도, (b)는 읽기의 모드시의 과정흐름도, (c)는 쓰기 모드시의 과정흐름도, (d)는 재사용 모드시의 과정흐름도.2 is a flowchart of a one-time programmable coding process of a microcomputer according to the present invention, (a) is a flowchart of a mode determination process, (b) is a flow chart of a read mode, (c) a flow chart of a write mode, (d) is process flow chart in reuse mode.

제3도는 본 발명에 따른 동작 타이밍 챠트도로서, (a)는 읽기 모드시의 동작 타이밍 챠트도, (b)는 쓰기 모드시의 동작 타이밍 챠트도.3 is an operation timing chart diagram according to the present invention, (a) is an operation timing chart diagram in read mode, and (b) an operation timing chart diagram in write mode.

제4도는 본 발명에 적용되는 원타임 프로그래머블의 어드레스 구조도.4 is an address structure diagram of a one-time programmable according to the present invention.

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

10 : 제1전원발생부 11,21 : 정전압회로10: first power generator 11, 21: constant voltage circuit

20 : 제2전원발생부 30 : 칩소켓(원타임 프로그래머블)20: second power generator 30: chip socket (one time programmable)

40 : 스위칭부 50 : 리셋회로40: switching unit 50: reset circuit

60 : 발진회로 70 : 마이콤60: oscillation circuit 70: micom

80 : 외부컴퓨터80: external computer

본 발명은 원타임 프로그래머블 코딩장치 및 그 방법에 관한 것으로서, 특히 원타임 프로그래머블 코딩을 메모리 용량에 따라 수십회 반복할 수 있도록 함은 물론 원타임 프로그래머블에 코딩된 내용을 읽을 수 있게 원타임 프로그래머블 코딩장치 및 그 방법에 관한 것이다.The present invention relates to a one-time programmable coding apparatus and a method thereof, and more particularly, to a one-time programmable coding apparatus and method capable of repeating a one-time programmable coding dozens of times according to a memory capacity, as well as reading the content coded in the one-time programmable. It is about.

일반적으로 원타임 프로그래머블(One Time Programmable Coding : OTP) 코딩장비는 원타임 프로그래머블 데이타 또는 프로그램을 기록하는 장비로서, 학교나 연구소에서 특정 프로그램을 원타임 프로그래머블에 저장하여 실험하기 위해 널리 사용되어 지고 있다.In general, One Time Programmable Coding (OTP) coding equipment is a device that records one-time programmable data or programs, and is widely used in schools and laboratories for experimenting by storing specific programs in one-time programmable.

그러나 이러한 종래에 사용되는 원타임 프로그래머블 코딩장치는 용어의 정의대로 한번밖에 사용되지 못하는 원칩(One Chip)이므로 내부 메모리의 용량에 관계없이 단 1회의 코딩만이 가능하게 되어 잔여된 영량이 존재하더라도 더 이상 사용할 수 없고 코딩된 데이타(프로그램)를 읽기가 불가능하게 되어 별도의 리딩장비를 필요로 하게 된다.However, since the conventional one-time programmable coding apparatus is a one-chip that can be used only once as defined by the term, only one coding is possible regardless of the capacity of the internal memory, and even if there is a remaining amount, It can't be used and the coded data (programs) can't be read, requiring a separate reading device.

따라서 원타임 프로그래머블의 가격이 다른 반도체칩에 비해 상당히 고가인 점을 고려할 때 대량으로 소비하는 학교나 연구소에서 많은 예산을 낭비하게 되어 원타임 프로그래머블 코딩장치의 신뢰성 저하를 가져오게 되는 것이다.Therefore, considering that the price of the one-time programmable is considerably higher than that of other semiconductor chips, a large amount of budget is wasted in schools or laboratories that consume a large amount of time, resulting in a decrease in reliability of the one-time programmable coding device.

본 발명은 이러한 문제점을 해소하기 위해 마이콤을 포함하는 간단한 회로의 구성으로 원타임 프로그래머블 코딩장치를 구성하고, 이의 마이콤에 소정의 프로그램을 부여하여 외부의 컴퓨터에 의해 선택적으로 코딩 및 리딩이 이루어질 수 있도록 하는 한편, 코딩하고자 하는 데이타가 원타임 프로그래머블의 메모리 용량에 도달할 때까지 수십회 반복 코딩이 가능토록 함으로써 코딩 대상의 원타임 프로그래머블을 최대한 활용할 수 있도록 하는 원타임 프로그래머블 코딩장치 및 그 방법을 제공하는데 본 발명의 목적이 있는 것이다.The present invention configures a one-time programmable coding apparatus with a simple circuit including a microcomputer to solve such a problem, and gives a predetermined program to the microcomputer so that coding and reading can be selectively performed by an external computer. On the other hand, the present invention provides a one-time programmable coding device and a method for making the most of the one-time programmable of the object to be coded by allowing the code to be repeated dozens of times until the data to be coded reaches the memory capacity of the one-time programmable object of the present invention. Is there.

상기와 같은 목적을 실현하기 위한 본 발명은, 원타임 프로그래머블에 데이타를 코딩하는 원타임 프로그래머블 코딩장치에 있어서, 소정 입력전압을 감압 및 정류하여 DC 12V 전압을 출력하는 제1전원 발생부, 상기 제1전원 발생부의 DC 12V 전원을 감압하여 DC 5V 전압을 출력하는 제2전원 발생부, 코딩 대상의 원타임 프로그래머블이 삽입되는 칩소켓, 상기 칩소켓에 삽입되는 원타임 프로그래머블에 데이타를 코딩 및 리딩하는 일련의 과정이 프로그램으로 저장되고 시스템 전체를 제어하는 마이콤, 상기 마이콤을 구동시키기 위한 발진회로, 상기 마이콤의 제어에 따라 제1전원 발생부의 DC 12V 전원을 코딩대상의 원타임 프로그래머블이 삽입되는 칩소켓에 공급하는 스위칭부, 상기 마이콤의 입출력 제어단자에 연결되어 원타임 프로그래머블 코딩을 위한 데이타 및 코딩 완료된 데이타를 리딩하기 위해 제어신호를 전송하는 외부컴퓨터를 구비하여 이루어진 것이다.According to an aspect of the present invention, there is provided a one-time programmable coding device for coding data in a one-time programmable device, comprising: a first power supply unit configured to output a DC 12V voltage by reducing and rectifying a predetermined input voltage; A second power generator for depressurizing the DC 12V power supply of the generator and outputting a DC 5V voltage, a chip socket into which the one-time programmable target is inserted, and a series of processes of coding and reading data into the one-time programmable inserted into the chip socket A microcomputer, which is stored as a program and controls the entire system, an oscillation circuit for driving the microcomputer, and a switching unit for supplying a DC 12V power supply of a first power generation unit to a chip socket into which a one-time programmable target is inserted according to the control of the microcomputer. Connected to the input / output control terminal of the microcomputer for one-time programmable coding It has been made in an external computer to transmit the control signal for reading the data iterator and coding is completed.

또한 본 발명은 제1 및 제2전원 발생부 칩소켓, 마이콤, 발진회로, 스위칭부, 외부컴퓨터를 구비하는 원타임 프로그래머블장치의 코딩방법에 있어서, 재사용모드 선택시 어드레스에 데이타유무를 판단하는 단계(단계 502), 상기 단계 후 독립적으로 동작하는 프로그램이 있는지를 판단하는 단계(단계 503), 상기 단계 후 독립적으로 동작하는 프로그램이 있는 경우 이전의 데이타와 새로운 데이타가 일치하는지를 판단하는 단계(단계 504), 상기 단계에서 데이타가 일치할 경우 데이타를 보존하고, 일치하지 않을 경우 기록되어 있는 데이타를 클리어 시키는 단계(단계 505, 506), 상기 단계와 독립적으로 동작하는 프로그램이 없을 경우 어드레스 증가에 따라 데이타를 순차적으로 기록하는 단계(단계 507), 상기 단계 후 마지막 어드레스인가를 판단하여 마지막 어드레스일 경우 종료하는 단계(단계 508), 상기 단계 후 데이타 저장의 완료 상태를 판단하여 데이타 저장이 완료되지 않을 경우 데이타 기록을 계속 수행하는 단계(단계 507)로 이루어진 것이다.In addition, the present invention provides a coding method of a one-time programmable device including a first socket and a second power generator chip socket, a microcomputer, an oscillator circuit, a switching unit, and an external computer, comprising: determining whether data is present at an address when selecting a reuse mode ( Step 502), after the step of determining whether there is a program to operate independently (step 503), and if there is a program to operate independently after the step, determining whether old data and new data match (step 504). If the data match in the above step, the data is stored; if the data do not match, the recorded data is cleared (steps 505 and 506). Step of recording sequentially (step 507), it is determined whether it is the last address after the step Is made of a terminating when the dress (step 508), the step (step 507) after which the steps to determine the completion status of the data storage continues to perform data recording if the data storage is not complete.

이하 첨부된 도면에 의해 상세히 설명하면 다음과 같다.Hereinafter, described in detail by the accompanying drawings as follows.

제1도는 본 발명에 따른 원타임 프로그래머블 코딩장치의 상세회로도로서, 제1전원발생부(10)는 정전압회로(11), 콘덴서(C1)(C2) 및 다이오드(D1)(D2)로 구성되어 입력전원이 제1전원발생부(10)로 인가되면, 콘덴서(C1)에 의해 평활된 후 정전압회로(11)와 다이오드(D1)(D2)에 의해 DC 12V 전압을 만들어 출력시킨다.1 is a detailed circuit diagram of a one-time programmable coding apparatus according to the present invention, in which the first power generator 10 includes a constant voltage circuit 11, a capacitor C1, C2, and a diode D1, D2. When the power is applied to the first power generation unit 10, after the smoothing by the capacitor (C1), and generates a DC 12V voltage by the constant voltage circuit 11 and the diode (D1) (D2).

그리고 제1전원발생부(10)에서 생성되는 DC 12V 출력은 다시 후단의 정전압회로(21)와 콘덴서(C3)로 이루어지는 제2전원발생부(20)를 경유함으로써 DC 5V의 전원이 출력되어 발진회로(60), 칩소켓(30), 마이콤(70)에 공급되어 동작가능한 상태로 만들게되고, 제1전원발생부(10)의 출력단과 칩소켓(30)의 클리어단자(MCLR)사이에 두개의 제1 및 제2트랜지스터(TR1)(TR2)가 직렬로 접속된 스위칭부(40)가 연결되어 마이콤(70)의 제6제어단자(RC5)의 출력신호(하이신호)에 따라 칩소켓(30)에 DC 12V의 전원을 공급 및 차단하게 되며, 이의 DC 12V 전원은 원타임 프로그래머블에 코딩 및 리딩시 결정적인 제어신호로서의 역할을 하게 된다.The DC 12V output generated by the first power generator 10 is again passed through the second power generator 20 formed of the constant voltage circuit 21 and the capacitor C3 at the rear stage to output the DC 5V power and oscillate. It is supplied to the circuit 60, the chip socket 30, the microcomputer 70 to be operable, two between the output terminal of the first power generating section 10 and the clear terminal (MCLR) of the chip socket 30. The first and second transistors TR1 and TR2 of the switching unit 40 connected in series are connected to the chip socket according to the output signal (high signal) of the sixth control terminal RC5 of the microcomputer 70. 30) DC 12V power supply and cut off, and its DC 12V power supply acts as a definitive control signal when coding and reading in one-time programmable.

또한 외부컴퓨터(80)는 마이콤(70)의 제1 내지 제8제어단자(RC0∼RC7)와 콘넥터로 연결되어 코딩 및 리딩시 데이타의 교환이 이루어지며, 칩소켓(30)의 입출력단자(RA0∼RA7)와 마이콤(70)의 제1 내지 제8입출력단자(RA0∼RA7)가 서로 접속되어 코딩시에는 외부컴퓨터(80)로부터 전송되는 코딩데이타를 마이콤(70)의 제1 내지 제8제어단자(RC0∼RC7) 및 제1 내지 제8입출력단자(RA0∼RA7)을 통해 칩소켓(30)에 전달되고, 리딩시에는 칩소켓(30)에 안치되는 원타임 프로그래머블의 데이타가 칩소켓(30)의 입출력단자(RA0∼RA7)와 마이콤(70)의 제1 내지 제8입출력단자(RA0∼RA7)를 통해 마이콤(70)에 입력된 후 다시 제1 내지 제8제어단자(RC0∼RC7)를 경유하여 외부컴퓨터(80)로 전송되어 리딩 가능하게 된다.In addition, the external computer 80 is connected to the first to eighth control terminals RC0 to RC7 of the microcomputer 70 to exchange data during coding and reading, and the input / output terminal RA0 of the chip socket 30. The first to eighth controls of the microcomputer 70 control the coding data transmitted from the external computer 80 at the time of coding when the first to eighth input and output terminals RA0 to RA7 of the microcomputer 70 are connected to each other. The one-time programmable data that is transferred to the chip socket 30 through the terminals RC0 to RC7 and the first to eighth input and output terminals RA0 to RA7, and placed in the chip socket 30 at the time of reading, is transferred to the chip socket 30. After input to the microcomputer 70 through the input and output terminals (RA0 to RA7) and the first to eighth input and output terminals (RA0 to RA7) of the microcomputer 70, the first to eighth control terminals (RC0 to RC7) again. It is transmitted to the external computer 80 via the reading is possible.

그리고 원타임 프로그래머블 코딩시 데이타의 기록 및 읽기과정은 물론 발진선택, 프로텍트 등의 장치제어 및 고유번호를 코딩할 수 있도록 되어 있으며, 이는 마이콤(70)에 저장된 프로그램에 의해 실행되고, 여기서 칩소켓과, 이의 칩소켓에 삽입되는 코딩 대상의 원타임 프로그래머블 부호를 30으로 혼용되어 사용한다.In the one-time programmable coding, data recording and reading processes, as well as device control and unique numbers such as oscillation selection and protection can be coded, which is executed by a program stored in the microcomputer 70, where the chip socket, The one-time programmable code of the coding target inserted into the chip socket is mixed with 30 and used.

제2도는 본 발명에 따른 마이콤의 원타임 프로그래머블 코딩과정의 흐름도이며, 제3도는 각각의 과정에 따른 타임챠트도이다.2 is a flowchart of a one-time programmable coding process of the microcomputer according to the present invention, and FIG. 3 is a time chart diagram according to each process.

상기와 같이 이루어진 본 발명을 제1 내지 제3도에 의해 상세히 설명하면 다음과 같다.The present invention made as described above will be described in detail with reference to FIGS. 1 to 3 as follows.

먼저 원타임 프로그래머블을 칩소켓(30)에 삽입한 다음 제2도의 (a)와 같이 시스템을 스타트시키며 마이콤(70)의 제6 제어단자(RC5)로부터 하이신호를 출력하여 스위칭부(40)의 제1 및 제2 트랜지스터(TR1)(TR2)를 턴온시킴으로써 제1 전원발생부(10)의 DC 12V 전원을 원타임 프로그래머블(30)의 클리어단자에 인가하여 원타임 프로그래머블을 초기화시키는 초기화과정(L1)을 수행한다.First, the one-time programmable is inserted into the chip socket 30, and then the system is started as shown in FIG. 2 (a), and a high signal is output from the sixth control terminal RC5 of the microcomputer 70 to output the first signal of the switching unit 40. The first and second transistors TR1 and TR2 are turned on to apply the DC 12V power supply of the first power generator 10 to the clear terminal of the one time programmable 30 to perform the initialization process L1 for initializing the one time programmable. do.

이후 마이콤(70)에서는 외부컴퓨터(80)로부터 출력된 신호를 판독하여 읽기모드(단계101), 쓰기모드(단계201), 장치제어모드(단계301), 고유번호 입력모드(단계401) 인지를 판단하는 모드판단과정(L2)을 실행하고, 이후의 설명은 각 모드별로 상세히 설명하기로 한다.Thereafter, the microcomputer 70 reads the signal output from the external computer 80 to determine whether the read mode (step 101), the write mode (step 201), the device control mode (step 301), or the unique number input mode (step 401). The mode determination process (L2) for determining is performed, and the following description will be described in detail for each mode.

먼저 제2도의 (b)도에 도시한 바와 같이 모드판단과정(L2)에서 읽기모드(단계101)일 경우에는 마이콤(70)의 제1 내지 제8입출력단자(RA0∼RA7)를 통해 제3도 (a)의 (A)와 같이 원타임 프로그래머블(30)에 읽기모드에 대한 데이타를 전송(단계102)하게 되면 원타임 프로그래머블(30)은 이를 인지하여 데이타를 출력시킬 모드로 전환되어 대기 상태에 있게 된다.First, as shown in (b) of FIG. 2, in the read mode (step 101) in the mode determination process L2, the third through the first to eighth input / output terminals RA0 to RA7 of the microcomputer 70 are used. When the data for the read mode is transmitted (step 102) to the one-time programmable 30 as shown in (A) of FIG. (A), the one-time programmable 30 switches to a mode in which the data is output and is in a standby state. do.

이후 마이콤(70)의 제6 제어단자 (RC5)에서 로우신호가 출력되어 스위칭부(40)의 제1 및 제2 트랜지스터(TR1)(TR2)를 턴 오프 시킴에 따라 제1 전원발생부(10)의 제3도(a)의 (A)와 같이 DC 12V 전원공급이 되고(단계105) 마이콤(70)의 제3 제어단자(RC2)에서 하이신호를 출력하여 제3도(a)의 (B)와 같이 원타임 프로그래머블(30)에 DC 5V의 전원을 공급(단계104)한 다음 마이콤(70)의 제 2 제어단자(RC1)로부터 제3도 (a)의 (D)와 같은 발진주파수를 원타임 프로그래머블(30)의 발진단자(OSC)에 공급(단계106)하며, 이의 발진주파수는 일정시간 지연(단계108)된 후 다시 하이레벨로 상승(단계106)되는 일정주기의 발진주파수를 원타임 프로그래머블(30)에 전송하게 되며, 이러한 (a)의 (D)와 같은 발진주파수가 원타임 프로그래머블(30)에 인가될 때 마다 어드레스가 하나씩 증가한다.Thereafter, a low signal is output from the sixth control terminal RC5 of the microcomputer 70 to turn off the first and second transistors TR1 and TR2 of the switching unit 40. As shown in (A) of FIG. 3 (a), DC 12V power is supplied (step 105), and a high signal is output from the third control terminal RC2 of the microcomputer 70 to display ((a) of FIG. After supplying DC 5V power to the one-time programmable 30 (step 104) as shown in B), the oscillation frequency as shown in (D) of FIG. 3 (a) is obtained from the second control terminal RC1 of the microcomputer 70. The oscillation terminal (OSC) of the one-time programmable 30 is supplied to the oscillation terminal (OSC) (step 106), and its oscillation frequency is one-time programmable for a certain period of oscillation frequency which is raised to a high level again (step 106) after being delayed for a predetermined time (step 108). In step 30, an address is increased by one each time an oscillation frequency such as (D) of (a) is applied to the one-time programmable 30.

그러므로 제3도 (a)의 (E)와 같이 어드레스를 지정하는 발진주파수가 하이레벨이 되면 원타임 프로그래머블(30)의 지정된 어드레서에 존재하는 데이타가 원타임 프로그래머블 입출력단자(RA0∼RA7) 및 제1 내지 제8 입출력단자(RB0∼RB7)를 통해 마이콤(70)으로 전송되고(단계107), 이의 데이타는 다시 제1 내지 제8 제어단자(RC0∼RC7)를 경유하여 외부컴퓨터(80)로 보내게 됨으로써 원타임 프로그래머블(30)에 코딩된 데이타 및 프로그램을 확인함과 동시에 마이콤(70)에서는 어드레스를 증가시킬 때 마다 원타임 프로그래머블(30)의 메모리 어드레스가 끝인지를 판단, 즉 마지막 어드레스인지를 판단(단계109)하여 마지막 어드레스일 경우 읽기모드를 종료하고, 어드레스가 계속 존재할 경우에는 어드레스를 계속 증가하기 위해 발진주파수를 공급하는 단계106으로 귀환하여 원타임 프로그래머블(30)에 코딩된 데이타를 계속해서 읽기 작업을 반복하게 되는 것이다.Therefore, when the oscillation frequency specifying the address becomes high level as shown in (E) of FIG. 3 (a), data existing in the designated address of the one-time programmable 30 is stored in the one-time programmable input / output terminals RA0 to RA7 and the first. To the microcomputer 70 through the eighth input / output terminals RB0 to RB7 (step 107), and the data thereof is sent back to the external computer 80 via the first to eighth control terminals RC0 to RC7. By checking the data and program coded in the one-time programmable 30, the microcomputer 70 determines whether the memory address of the one-time programmable 30 is the end, that is, the last address every time the address is increased ( Step 109), it exits the read mode in the case of the last address and returns to step 106 in which the oscillation frequency is supplied to continuously increase the address if the address still exists. And will be continued to the coded data in one-time programmable (30) repeatedly reads.

그 다음 제2도의 (c)도에 의해 모드판단과정(L2)에서 쓰기모드(단계201)일 경우를 설명하면, 먼저 마이콤(70)의 제4 제어단자(RC3)로부터 제3도(b)의 (C)와 같이 읽기모드의 하이신호를 원타임 프로그래머블(30)에 인가(단계202)시킨 다음 마이콤(70)의 제3 제어단자(RC2)에 하이신호를 출력하여 제3도(b)의 (B)와 같이 원타임 프로그래머블(30)에 DC 5V의 전원을 공급(단계 203)한 다음 마이콤(70)의 제6 제어단자(RC5)에서 로우신호가 출력되어 스위칭부(40)의 제1 및 제2 트랜지스터(TR1)(TR2)를 턴 오프 시킴에 따라 제1 전원발생부(10)의 출력전압 즉, 제3도 (b)의 (C)와 같이 DC 12V 전원공급을 차단(단계204)한다.Next, the case of the write mode (step 201) in the mode determination process L2 will be described with reference to (c) of FIG. 2, first from the fourth control terminal RC3 of the microcomputer 70 (b). As shown in (C), a high signal in the read mode is applied to the one-time programmable 30 (step 202), and then a high signal is output to the third control terminal RC2 of the microcomputer 70, thereby as shown in FIG. As shown in (B), the power supply of DC 5V is supplied to the one-time programmable device 30 (step 203), and then a low signal is output from the sixth control terminal RC5 of the microcomputer 70 to display the first and the first switches of the switching unit 40. As the second transistors TR1 and TR2 are turned off, the DC 12V power supply is cut off as shown in (C) of FIG. do.

이후 마이콤(70)의 제3 제어단자(RC2)로부터 제3도(b)의 (C)와 같은 클럭을 원타임 프로그래머블(30)의 RTCC단자에 공급(단계 205)하며, 이의 클럭이 하이에서 로우로 떨어지기 직전에부터 제2 제어단자(RC1)로부터 제3도 (b)의 (D)와 같은 발진주파수를 원타임 프로그래머블(30)의 발진단자(OSC)에 공급(단계 209)하며, 이의 발진주파수가 하이레벨로 상승하면 데이타 출력(단계210)을 하여 확인하게 된다.Thereafter, a clock such as (C) of FIG. 3B is supplied from the third control terminal RC2 of the microcomputer 70 to the RTCC terminal of the one-time programmable 30 (step 205), and the clock thereof is high to low. Immediately before dropping, the oscillation frequency from the second control terminal RC1 to the oscillation terminal OSC of the one-time programmable 30 is supplied to the oscillation terminal OSC of the one-time programmable 30 (step 209). When the frequency rises to a high level, data output (step 210) is checked.

한편 1비트의 데이타 저장이 완료되면 원타임 프로그래머블(30)의 메모리 어드레스가 끝인지를 판단, 즉 마지막 어드레스인지를 판단(단계 212)하여 마지막 어드레스일 경우 쓰기모드를 종료하고, 어드레스가 계속 존재할 경우에는 어드레스를 계속 증가하기 위해 발진주파수를 공급하는 단계205로 귀환하여 외부컴퓨터(80)로부터 출력되는 코딩 데이타를 계속해서 쓰기작업을 반복하게 되는 것이다.On the other hand, when the storage of one bit of data is completed, it is determined whether the memory address of the one-time programmable 30 is the end, that is, whether it is the last address (step 212). In order to continue to increase the address, the process returns to step 205 of supplying the oscillation frequency to repeat the write operation of the coded data output from the external computer 80.

한편 제4도는 본 발명에 적용되는 원타임 프로그래머블(ROM)의 구조도로서, 첫 번째 어드레스에는 시스템에 관한 정보 즉, 발진선택, 프로텍트 등의 장치 제어를 저장할 수 있으며, 끝부분 4개의 어드레스에는 고유번호를 코딩할 수 있도록 되어 있고, 이의 코딩 방법은 전술한 바와 유사한 과정으로 진행이 이루어지므로 설명은 생략한다.4 is a structural diagram of a one-time programmable (ROM) according to the present invention. In the first address, information about a system, that is, device control such as oscillation selection and protection, can be stored. It is possible to code, and since the coding method proceeds to a similar process as described above, the description is omitted.

그 다음 제2도의 (a)에 의해 모드판단과정(L2)에서 재사용모드(단계501)일 경우를 설명하면, 먼저 외부컴퓨터(80)로부터 마이콤(70)의 제1 내지 제8 제어단자(RC0∼RC7)를 통해 재사용모드에 대한 제어신호가 인가되면 마이콤(70)은 제1 내지 제8 입출력단자(RB0∼RB7)를 거쳐 원타임 프로그래머블(30) 내부의 어드레스에 데이타 존재여부를 제3도 (d)와 같이 판단(단계 502)하여 원타임 프로그래머블(30)내부에 데이타가 존재할 경우 새로운 데이타의 저장을 위해 독립적으로 동작하는 프로그램이 있는지를 판단(단계 503)하여 독립적으로 동작하는 새로운 데이타와 이전에 저장되어 있는 데이타가 서로 일치하는지를 비교판단(단계 504)하여 이전의 데이타와 새로운 데이타가 일치하지 않는 이전의 데이타 부분은 모두 0으로 클리어시키고(단계 505), 이전의 데이타와 새로운 데이타가 일치하는 부분은 데이타를 계속적으로 보존(단계 506)함으로써 원타임 프로그래머블(30)의 활용을 보다 높일 수 있도록 하였다.Next, referring to the case of the reuse mode (step 501) in the mode determination process L2 according to (a) of FIG. 2, first, the first to eighth control terminals RC0 of the microcomputer 70 from the external computer 80 are described. When the control signal for the reuse mode is applied through ˜RC7, the microcomputer 70 passes through the first to eighth input / output terminals RB0 to RB7 to determine whether data exists at an address in the one-time programmable 30. As in d) (step 502), if there is data in the one-time programmable 30, it is determined whether there is a program that operates independently for the storage of new data (step 503). Comparing the stored data with each other (step 504), the old data portion and the old data portion that do not match the new data are all cleared to zero (step 505), and the old data and the new data are cleared. The portion where the data coincides with each other further improves the utilization of the one-time programmable 30 by continuously storing the data (step 506).

이후 상기 단계 503에서 독립적으로 동작하는 프로그램이 없거나 단계 505, 506의 데이타 클리어 및 데이타 보존 과정을 거친 다음 어드레스를 증가시켜 순차적으로 데이타를 기록(단계507)하게 되고, 이러한 데이타 기록 과정에서 원타임 프로그래머블(30)의 어드레스가 마지막인지를 판단(단계 508)하여 원타임 프로그래머블(30)의 어드레스가 더이상 데이타를 저장할 수 없는 마지막 어드레스일 경우 재사용모드를 종료하고, 어드레스가 존재하는 상태에서 데이타 저장의 완료가 판단(단계 509)되면 재사용모드를 종료하게 되나 데이타 저장이 완료되지 않을 경우에는 단계 507의 데이타 기록과정을 계속 실행하게 된다.Thereafter, in step 503, there is no program to operate independently, or after the data clearing and data preserving processes of steps 505 and 506, the data is sequentially recorded by increasing the address (step 507). It is determined whether the address of 30) is the last (step 508). If the address of the one-time programmable 30 is the last address that can no longer store data, the reuse mode is terminated, and the completion of data storage is determined in the state where the address exists. At step 509, the re-use mode is terminated, but if data storage is not completed, the data recording process of step 507 is continued.

한편 재사용모드 완료 후 외부컴퓨터(80)로부터 모드판단과정(L2)을 실행하여 읽기모드(단계 101)로 선택될 경우 단계 505에서 0으로 클리어된 이전의 데이타는 읽지않고 바로 새로운 데이타가 저장된 어드레스부터 읽기 시작함으로써 데이타 처리속도를 증가시키도록 되어 있다.On the other hand, if the read mode (step 101) is executed by executing the mode determination process (L2) from the external computer 80 after completion of the reuse mode, the previous data cleared to 0 in step 505 is immediately read from the address where the new data is stored. Start reading to increase data throughput.

이상에서 상술한 바와 같이 본 발명은 제1 및 제2전원발생부, 코딩 대상의 원타임 프로그래머블이 삽입되는 칩소켓, 마이콤, 발진회로, 스위칭부, 외부컴퓨터를 구비하는 원타임 프로그래머블 코딩장치를 구성하고, 이의 마이콤에 소정의 프로그램을 부여하여 외부의 컴퓨터에 의해 선택적으로 코딩 및 리딩이 이루어질 수 있도록 하는 한편, 코딩하고자 하는 데이타가 원타임 프로그래머블의 메모리 용량에도 도달할 때까지 수십회 반복 코딩이 가능토록 함으로써 코딩 대상의 원타임 프로그래머블을 최대한 활용할 수 있게 됨으로써 원타임 프로그래머블 코딩장치의 신뢰성 향상은 물론 경제적인 절감에 크게 기여할 수 있는 것이다.As described above, the present invention constitutes a one-time programmable coding apparatus including a first socket and a second power generator, a chip socket into which a one-time programmable object to be coded is inserted, a microcomputer, an oscillator circuit, a switching unit, and an external computer. By assigning a predetermined program to the microcomputer, the coding and reading can be selectively performed by an external computer, and the coding is performed by allowing several times repetitive coding until the data to be coded reaches the memory capacity of the one-time programmable. By making the most of the target one-time programmable, it is possible to greatly improve the reliability and economic savings of the one-time programmable coding device.

Claims (2)

원타임 프로그래머블에 데이타를 코딩하는 원타임 프로그래머블 코딩장치에 있어서, 소정 입력전압을 감압 및 정류하여 DC 12V 전압을 출력하는 제1 전원발생부(10), 상기 제1 전원발생부(10)의 DC 12V 전원을 감압하여 DC 5V 전압을 출력하는 제2 전원발생부(20), 코딩 대상의 원타임 프로그래머블이 삽입되는 칩소켓(30), 상기 칩소켓(30)에 삽입되는 원타임 프로그래머블에 데이타를 코딩 및 리딩하는 일련의 과정이 프로그램으로 저장되고, 시스템 전체를 제어하는 마이콤(70), 상기 마이콤(70)을 구동시키기 위한 발진회로(60), 상기 마이콤(70)의 제어에 따라 제1 전원발생부(10)의 DC 12V 전원을 코딩대상의 원타임 프로그래머블이 삽입되는 칩소켓(30)에 공급하는 스위칭부(40), 상기 마이콤(70)의 입출력 제어단자에 연결되어 원타임 프로그래머블 코딩을 위한 데이타 및 코딩 완료된 데이타를 읽기 위해 제어신호를 전송하는 외부컴퓨터(80)를 구비하는 원타임 프로그래머블 코딩장치.In a one-time programmable coding apparatus for coding data in a one-time programmable, the first power generator 10 and a DC 12V power supply of the first power generator 10 outputting a DC 12V voltage by reducing and rectifying a predetermined input voltage. Coding and reading data to the second power generator 20 for outputting a DC 5V voltage by decompressing the voltage, the chip socket 30 into which the one-time programmable target is inserted, and the one-time programmable inserted into the chip socket 30. A series of processes are stored as a program, and the first power generator 10 is controlled by the microcomputer 70 for controlling the entire system, the oscillation circuit 60 for driving the microcomputer 70, and the microcomputer 70. 1) DC 12V power supply to the chip socket 30 into which the one-time programmable target is inserted. The switching unit 40 is connected to the input / output control terminal of the microcomputer 70 for one-time programmable coding. And an external computer (80) for transmitting a control signal to read the coded data. 제1 및 제2 전원발생부 칩소켓, 마이콤, 발진회로, 스위칭부, 외부컴퓨터를 구비하는 원타임 프로그래머블장치의 코딩방법에 있어서, 재사용모드 선택시 어드레스에 데이타유무를 판단하는 단계(단계 502), 상기 단계 후 독립적으로 동작하는 프로그램이 있는지를 판단하는 단계(단계 503), 상기 단계 후 독립적으로 동작하는 프로그램이 있는 경우 이전의 데이타와 새로운 데이타가 일치하는지를 판단하는 단계(단계 504), 상기 단계에서 데이타가 일치할 경우 데이타를 보존하고, 일치하지 않을 경우 기록되어 있는 데이타를 클리어 시키는 단계(단계 505, 506), 상기 단계 및 독립적으로 동작하는 프로그램이 없을 경우 어드레스 증가에 따라 데이타를 순차적으로 기록하는 단계(단계 507), 상기 단계 후 마지막 어드레스인가를 판단하여 마지막 어드레스일 경우 종료하는 단계(단계 508), 상기 단계후 데이타 저장의 완료 상태를 판단하여 데이타 저장이 완료되지 않을 경우 데이타 기록을 계속 수행하는 단계(단계 507)로 이루어진 원타임 프로그래머블의 코딩방법.A coding method of a one-time programmable device comprising a first and a second power generator chip socket, a microcomputer, an oscillator circuit, a switching unit, and an external computer, the method comprising: determining whether data is present at an address when selecting a reuse mode (step 502); Determining whether there is a program that operates independently after the step (step 503), and if there is a program that operates independently after the step, determining whether old data and new data match (step 504), in the step If the data matches, the data is stored; if the data does not match, the recorded data is cleared (steps 505 and 506), and if the program does not operate independently, the data is recorded sequentially according to the address increase. Step 507, it is determined whether it is the last address after the step; End comprising: (step 508), the coding method of the one-time programmable consisting of steps (step 507) after which the steps to determine the completion status of the data storage continues to perform data recording if the data storage is not complete.
KR1019940012817A 1994-06-08 1994-06-08 One time programmable coding device and method KR970005646B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940012817A KR970005646B1 (en) 1994-06-08 1994-06-08 One time programmable coding device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940012817A KR970005646B1 (en) 1994-06-08 1994-06-08 One time programmable coding device and method

Publications (2)

Publication Number Publication Date
KR960001983A KR960001983A (en) 1996-01-26
KR970005646B1 true KR970005646B1 (en) 1997-04-18

Family

ID=19384850

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940012817A KR970005646B1 (en) 1994-06-08 1994-06-08 One time programmable coding device and method

Country Status (1)

Country Link
KR (1) KR970005646B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7180764B2 (en) 2004-09-30 2007-02-20 Samsung Electronics Co., Inc. One-time programmable (OTP) memory devices enabling programming based on protected status and methods of operating same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7180764B2 (en) 2004-09-30 2007-02-20 Samsung Electronics Co., Inc. One-time programmable (OTP) memory devices enabling programming based on protected status and methods of operating same

Also Published As

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

Similar Documents

Publication Publication Date Title
US5365047A (en) IC card with clock signal input control
JPH03240127A (en) Program control system
US6289411B1 (en) Circuit for generating a chip-enable signal for a multiple chip configuration
AU7406798A (en) Data processing method and apparatus
KR970005646B1 (en) One time programmable coding device and method
JP3053301B2 (en) Semiconductor integrated circuit and IC card
JP2006286048A (en) Semiconductor memory device
JPH10161868A (en) Synchronous semiconductor memory device having macro instruction function and macro instruction storage and execution method
US5910652A (en) Portable terminal apparatus for an IC card for supplying a power source voltage in a predetermined timing
US6421773B1 (en) Sequence control circuit
JPH0765139A (en) Ic memopry card
JP2008123203A (en) Portable electronic device and method for controlling portable electronic device
EP0678316B1 (en) CPU controlled apparatus capable of storing a program address
JPH05135596A (en) Memory designate control device
US6513123B2 (en) Power saving control by predetermined frequency slot timing signal based start index and halt instruction termination signal
KR100434136B1 (en) Plc system including a flash memory a cpu
JP3691890B2 (en) IC card clock switching control method
KR100241892B1 (en) Method for changing program code
JP2002183697A (en) Noncontact ic card
JPH02144702A (en) Programmable controller
JP3619629B2 (en) Memory access time control device
KR19990037307A (en) Mobile cordless telephone set with control signal generator
JPH03257608A (en) Microcomputer
JPH0458333A (en) Information processor
JPS60243760A (en) Setting method of system parameter

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

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee