KR20020072005A - Contactless smart card - Google Patents
Contactless smart card Download PDFInfo
- Publication number
- KR20020072005A KR20020072005A KR1020010011939A KR20010011939A KR20020072005A KR 20020072005 A KR20020072005 A KR 20020072005A KR 1020010011939 A KR1020010011939 A KR 1020010011939A KR 20010011939 A KR20010011939 A KR 20010011939A KR 20020072005 A KR20020072005 A KR 20020072005A
- Authority
- KR
- South Korea
- Prior art keywords
- address
- buffer
- multiplexer
- outside
- counter
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/0723—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/073—Special arrangements for circuits, e.g. for protecting identification code in memory
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Read Only Memory (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
본 발명은 비접촉식 스마트 카드에 관한 것으로서, 좀 더 구체적으로는 비접촉식 스마트 카드에 사용되는 데이터 버퍼의 버퍼 어드레스를 발생하는 회로에 관한 것이다.The present invention relates to a contactless smart card, and more particularly to a circuit for generating a buffer address of a data buffer used in a contactless smart card.
비접촉식 스마트 카드 (contactless smart card)는 PCD (proximity coupling device)로부터 전원을 공급받아 동작되는 카드이다. 그러므로 카드에서 기입 동작이 수행되고 있는 도중에 상기 PCD로부터의 전원 공급이 불충분하거나 불안정한 전원이 공급되는 경우 또는 동작 범위 (operating distance)에서 벗어나는 경우, 기입 동작이 비정상적으로 종료된다.A contactless smart card is a card operated from a power supply from a proximity coupling device (PCD). Therefore, if the power supply from the PCD is insufficient or unstable while the write operation is being performed on the card, or if it is out of the operating distance, the write operation is abnormally terminated.
이를 극복하기 위해서, 데이터를 기입할 때, 에러 발생시 데이터를 복원하기 위해 기입하고자 하는 곳에 있는 데이터를 데이터 버퍼에 복사 (또는 기입)한다. 따라서 데이터 버퍼에서 일어날 수 있는 에러들 (내구성, 버퍼 에러 등)을 효율적으로 처리하여 안전하게 데이터 기입 동작을 수행하여야 한다.To overcome this, when writing data, copy (or write) the data in the place to be written to the data buffer to restore the data in the event of an error. Therefore, it is necessary to efficiently handle errors that may occur in the data buffer (durability, buffer error, etc.) to perform a data writing operation safely.
본 발명의 목적은 결함이 있는 버퍼가 예비 버퍼로 자동적으로 지정되게 하는 버퍼 어드레스 발생 회로를 구비한 비접촉식 스마트 카드를 제공하는 것이다.It is an object of the present invention to provide a contactless smart card having a buffer address generation circuit which automatically allows a defective buffer to be designated as a spare buffer.
도 1은 본 발명의 바람직한 실시예에 따른 비접촉식 스마트 카드의 버퍼 어드레스 발생 회로를 보여주는 블럭도이다.1 is a block diagram illustrating a buffer address generation circuit of a contactless smart card according to a preferred embodiment of the present invention.
* 도면의 주요 부분에 대한 부호 설명 *Explanation of symbols on the main parts of the drawings
100 : 버퍼 카운터120 : 어드레스 선택기100: buffer counter 120: address selector
140, 160 : 멀티플렉서180 : 버퍼 어드레스 판별부140, 160: multiplexer 180: buffer address determination unit
(구성)(Configuration)
상기한 제반 목적을 달성하기 위한 본 발명의 특징에 따르면, 데이터 복원용 버퍼를 구비한 비접촉식 스마트 카드에 사용되는 버퍼 어드레스 발생 회로는 상기 버퍼의 읽기/쓰기 횟수를 카운트하는 버퍼 카운터와; 상기 버퍼의 읽기/쓰기 횟수를 나타내는 상기 버퍼 카운터의 신호에 응답하여 선택 신호를 출력하는 어드레스 선택기와; 상기 버퍼를 지정하기 위한 버퍼 어드레스의 상위 어드레스에 대응하는 다른 상위 어드레스들을 받아들이고, 상기 어드레스 선택기로부터 출력되는 선택 신호에 응답하여 상기 다른 상위 어드레스들 중 하나를 선택적으로 출력하는 제 1 멀티플렉서와; 외부로부터 제공되는 어드레스가 버퍼 어드레스인 지의 여부를 판별하는 버퍼 어드레스 판별부 및; 상기 버퍼 어드레스 판별부의 출력 신호가 상기 외부로부터 제공되는 어드레스가 버퍼 어드레스임을 나타낼 때, 상기 제 1 멀티플렉서로부터의 상위 어드레스 비트들과 상기 외부로부터 제공되는 어드레스의 하위 어드레스 비트들의 결합으로 이루어진 상기 버퍼 어드레스를 출력하는 제 2 멀티플렉서를 포함한다.According to an aspect of the present invention for achieving the above object, a buffer address generation circuit for a contactless smart card having a data recovery buffer includes a buffer counter for counting the number of read / write times of the buffer; An address selector for outputting a selection signal in response to a signal of the buffer counter indicating the number of read / write times of the buffer; A first multiplexer which accepts other upper addresses corresponding to upper addresses of the buffer address for designating the buffer and selectively outputs one of the other upper addresses in response to a selection signal output from the address selector; A buffer address judging unit for judging whether an address provided from the outside is a buffer address; When the output signal of the buffer address determination unit indicates that the address provided from the outside is a buffer address, the buffer address formed by combining the upper address bits from the first multiplexer and the lower address bits of the address provided from the outside is determined. And a second multiplexer for outputting.
이 실시예에 있어서, 상기 버퍼는 EEPROM으로 구성된다.In this embodiment, the buffer consists of EEPROM.
이 실시예에 있어서, 상기 버퍼 카운터의 값은 상기 EEPROM의 내구 특성에 따라 가변적으로 설정된다.In this embodiment, the value of the buffer counter is variably set according to the endurance characteristic of the EEPROM.
이 실시예에 있어서, 상기 버퍼 어드레스 판별부의 출력 신호가 상기 외부로부터 제공되는 어드레스가 버퍼 어드레스가 아님을 나타낼 때, 상기 제 2 멀티플렉서는 상기 외부로부터 제공되는 어드레스를 그대로 출력한다.In this embodiment, when the output signal of the buffer address determining unit indicates that the address provided from the outside is not a buffer address, the second multiplexer outputs the address provided from the outside as it is.
(작용)(Action)
이러한 장치에 의하면, 버퍼 카운터의 출력값에 따라 버퍼 어드레스의 상위 어드레스 비트들이 결정되도록 함으로써 현재 사용되는 버퍼의 어드레스를 소프트웨어 대신에 하드웨어적으로 자동적으로 생성하게 된다.According to such an apparatus, the upper address bits of the buffer address are determined according to the output value of the buffer counter, thereby automatically generating hardware addresses instead of software.
(실시예)(Example)
이하 본 발명의 바람직한 실시예가 참조 도면들에 의거하여 상세히 설명된다.DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
본 발명의 신규한 비접촉식 스마트 카드는 버퍼 어드레스 발생 회로를 포함하며, 상기 버퍼 어드레스 발생 회로는 내장된 버퍼 카운터의 값에 따라 현재 사용 가능한 버퍼 어드레스의 상위 어드레스 비트들을 내부적으로 생성하고, 외부로부터 제공되는 NVM 어드레스의 하위 어드레스 비트들과 상기 상위 어드레스 비트들을 결합하여 상기 버퍼 어드레스를 발생한다. 이러한 회로 구성에 따르면, 소프트웨어입장에서는 항상 버퍼 어드레스가 최초에 설정된 버퍼를 지정하는 버퍼 어드레스가 되기 때문에, 버퍼 어드레스 관리가 소프트웨어 대신 하드웨어적으로 수행될 수 있다.The novel contactless smart card of the present invention includes a buffer address generating circuit, which internally generates the upper address bits of the currently available buffer address according to the value of the built-in buffer counter, and is provided from the outside. The lower address bits of the NVM address and the upper address bits are combined to generate the buffer address. According to this circuit configuration, since the buffer address is always the buffer address specifying the buffer initially set at the software entry, the buffer address management can be performed in hardware instead of software.
도 1은 본 발명의 바람직한 실시예에 따른 비접촉식 스마트 카드의 버퍼 어드레스 발생 회로를 보여주는 블럭도이다.1 is a block diagram illustrating a buffer address generation circuit of a contactless smart card according to a preferred embodiment of the present invention.
도 1을 참조하면, 버퍼 어드레스 발생 회로는 버퍼 카운터 (100), 어드레스 선택기 (120), 제 1 멀티플렉서 (140), 제 2 멀티플렉서 (160), 그리고 버퍼 어드레스 판별부 (180)를 포함한다. 상기 버퍼 카운터 (100)는 비접촉식 스마트 카드의 데이터 버퍼로서 사용되는 불휘발성 반도체 메모리 장치 (예를 들면, EEPROM, FLASH 메모리, FRAM, NROM) (이하, NVM으로 표기됨)의 내구 특성에 따라 결정된 값을 가지며, 그러한 값은 NVM의 내구 특성에 따라 가변될 수 있다. 상기 버퍼 카운터 (100)는, 예를 들면, 카운트된 횟수가 0번-100만번 사이에 존재할 때 "0001"의 값을 출력한다. 상기 버퍼 카운터 (100)의 출력값은, 그러므로, NVM의 읽기/쓰기 횟수를 나타낸다. 상기 버퍼 카운터 (100)는 카운트된 횟수가 100만번-200만번 사이에 존재할 때 "0010"의 값을 출력하고, 카운트된 횟수가 200만번-300만번 사이에 존재할 때 "0100"의 값을 출력하며, 카운트된 횟수가 400만번 이상일 때 "1000"의 값을 출력한다.Referring to FIG. 1, a buffer address generation circuit includes a buffer counter 100, an address selector 120, a first multiplexer 140, a second multiplexer 160, and a buffer address discrimination unit 180. The buffer counter 100 is a value determined according to the durability characteristics of a nonvolatile semiconductor memory device (for example, EEPROM, FLASH memory, FRAM, NROM) (hereinafter referred to as NVM) used as a data buffer of a contactless smart card. Such value may vary depending on the durability characteristics of the NVM. The buffer counter 100 outputs, for example, a value of "0001" when the counted number is present between 0 and 100 million times. The output value of the buffer counter 100 therefore represents the number of reads / writes of the NVM. The buffer counter 100 outputs a value of "0010" when the counted number exists between 1 million and 2 million times, and outputs a value of "0100" when the counted number exists between 2 million and 3 million times. When the counted number is more than 4 million times, a value of "1000" is output.
상기 어드레스 선택기 (120)는 상기 버퍼 카운터 (100)로부터 출력되는 4-비트 데이터를 받아들여 2-비트 선택 신호를 출력한다. 여기서, 어드레스 선택기 (120)의 출력값이 "00"일 때 NVM의 읽기/쓰기 횟수는 0번에서 100만번 이하이고,어드레스 선택기 (120)의 출력값이 "01"일 때 EEPROM의 읽기/쓰기 횟수는 100만번에서 200만번 이하이고, 어드레스 선택기 (120)의 출력값이 "10"일 때 NVM의 읽기/쓰기 횟수는 200만번에서 300만번 이하이고, 어드레스 선택기 (120)의 출력값이 "11"일 때 NVM의 읽기/쓰기 횟수는 400만번 이상이다.The address selector 120 receives 4-bit data output from the buffer counter 100 and outputs a 2-bit select signal. Here, when the output value of the address selector 120 is "00", the number of reads / writes of the NVM is 0 to 1 million times or less, and when the output value of the address selector 120 is "01", the number of reads / writes of the EEPROM is When 1 million to 2 million times or less and the output value of the address selector 120 is "10" NVM read / write times are 2 to 3 million times or less and the output value of the address selector 120 is "11" NVM The number of reads / writes is over 4 million times.
상기 제 1 멀티플렉서 (140)는 상기 어드레스 선택기 (120)의 출력 신호에 응답하여 버퍼 어드레스의 4개의 상위 8-비트 어드레스들 (90h, 91h, 92h, 93h) 중 하나를 선택적으로 출력한다. 상기 버퍼 어드레스 판별부 (180)는 현재 입력된 NVM 어드레스가 버퍼 어드레스 (예를 들면, 9000h)인 지의 여부를 판별한다. 상기 제 2 멀티플렉서 (160)는 버퍼 어드레스 판별부 (180)의 출력 신호에 응답하여 제 1 및 제 2 어드레스들 중 하나를 버퍼 어드레스로서 출력한다.The first multiplexer 140 selectively outputs one of the four upper 8-bit addresses 90h, 91h, 92h, 93h of the buffer address in response to the output signal of the address selector 120. The buffer address determination unit 180 determines whether the currently input NVM address is a buffer address (for example, 9000h). The second multiplexer 160 outputs one of the first and second addresses as a buffer address in response to an output signal of the buffer address determination unit 180.
여기서, 상기 제 1 어드레스는 외부로부터 제공되는 NVM 16-비트 어드레스이고, 상기 제 2 어드레스는 상기 NVM 16-비트 어드레스 중 하위 8-비트 어드레스와 상기 제 1 멀티플렉서 (140)로부터 출력되는 상위 8-비트 어드레스의 합이다. 만약 현재 입력된 NVM 어드레스가 버퍼 어드레스인 경우, 상기 제 2 멀티플렉서 (160)는 상기 제 2 어드레스를 출력한다. 만약 현재 입력된 NVM 어드레스가 버퍼 어드레스가 아닌 경우, 상기 제 2 멀티플렉서 (160)는 상기 제 1 어드레스를 출력한다.Here, the first address is an NVM 16-bit address provided from the outside, and the second address is a lower 8-bit address of the NVM 16-bit address and an upper 8-bit output from the first multiplexer 140. It is the sum of addresses. If the currently input NVM address is a buffer address, the second multiplexer 160 outputs the second address. If the currently input NVM address is not a buffer address, the second multiplexer 160 outputs the first address.
이상에서, 본 발명에 따른 회로의 구성 및 동작을 상기한 설명 및 도면에 따라 도시하였지만, 이는 예를 들어 설명한 것에 불과하며 본 발명의 기술적 사상 및 범위를 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능함은 물론이다.In the above, the configuration and operation of the circuit according to the present invention has been shown in accordance with the above description and drawings, but this is only an example, and various changes and modifications can be made without departing from the spirit and scope of the present invention. Of course.
상술한 바와 같이, 버퍼 카운터의 출력값에 따라 버퍼 어드레스의 상위 어드레스 비트들이 결정되도록 함으로써 현재 사용되는 버퍼의 어드레스를 소프트웨어 대신에 하드웨어적으로 자동적으로 생성하게 된다.As described above, the upper address bits of the buffer address are determined according to the output value of the buffer counter, thereby automatically generating hardware addresses instead of software.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010011939A KR20020072005A (en) | 2001-03-08 | 2001-03-08 | Contactless smart card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010011939A KR20020072005A (en) | 2001-03-08 | 2001-03-08 | Contactless smart card |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20020072005A true KR20020072005A (en) | 2002-09-14 |
Family
ID=27696761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020010011939A KR20020072005A (en) | 2001-03-08 | 2001-03-08 | Contactless smart card |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20020072005A (en) |
-
2001
- 2001-03-08 KR KR1020010011939A patent/KR20020072005A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7203091B2 (en) | Semiconductor integrated circuit device and non-volatile memory system using the same | |
US20030188091A1 (en) | Exchanging operation parameters between a data storage device and a controller | |
EP1465203A1 (en) | Nonvolatile memory with page copy capability and method thereof | |
CN109493910B (en) | Microcontroller and operating method thereof and memory system having the same | |
JPS63223901A (en) | On-vehicle controller | |
US5710734A (en) | Semiconductor memory device and data writing method thereof | |
EP0483978A2 (en) | I.C. card | |
NL8600217A (en) | DATA PROCESSING DEVICE CONTAINING A MEMORY DEVICE EQUIPPED WITH A COINCIDENCE CIRCUIT WHICH IS SWITCHABLE IN AN ERROR RECOGNITION AND COINCIDENCE MODE. | |
KR100484077B1 (en) | Semiconductor memory | |
KR0139494B1 (en) | Smart card data communication device and method | |
US6320791B1 (en) | Writing apparatus for a non-volatile semiconductor memory device | |
US6549475B2 (en) | Semiconductor memory device and information device | |
KR20020072005A (en) | Contactless smart card | |
US8924671B2 (en) | Semiconductor storage device and control method thereof | |
JP2002150246A (en) | Portable electronic device | |
US5404475A (en) | Memory apparatus comprising memory cards with a side detecting signal pin and address assignment circuitry | |
JP2006107363A (en) | Portable electronic device and memory access method used in the same | |
JP3734798B2 (en) | Method for identifying an exact command input address when using command words having different lengths | |
JP4236539B2 (en) | Nonvolatile memory device | |
JPH11232885A (en) | Semiconductor memory | |
KR20070011743A (en) | Memory apparatus and method for processing data for the same | |
JPH11184833A (en) | Discrimination method for write termination of microcomputer | |
JP2005157684A (en) | Memory card and memory determining method | |
KR100235604B1 (en) | Semiconductor writing apparatus to be able to simultaneously write data to non volatile memories and a method of writing the same | |
TWI439926B (en) | Circuit for setting a plurality of blocks as an in-system programming area and a data buffer area and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid |