JPS63301384A - Method for inspecting write of portable storage medium - Google Patents

Method for inspecting write of portable storage medium

Info

Publication number
JPS63301384A
JPS63301384A JP62137201A JP13720187A JPS63301384A JP S63301384 A JPS63301384 A JP S63301384A JP 62137201 A JP62137201 A JP 62137201A JP 13720187 A JP13720187 A JP 13720187A JP S63301384 A JPS63301384 A JP S63301384A
Authority
JP
Japan
Prior art keywords
data
write
memory
storage medium
portable storage
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP62137201A
Other languages
Japanese (ja)
Inventor
Hiroshi Sakai
博 酒井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62137201A priority Critical patent/JPS63301384A/en
Publication of JPS63301384A publication Critical patent/JPS63301384A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To inspect memory write without being affected by distributed capacity between wirings, by sending data different from write data onto a data bus after writing the data, and after that, reading the write data. CONSTITUTION:The write data is set in a CPU1, and it is sent onto the data bus 7, and the data is written on a memory 3. After that, another data different from the write data is set in the CPU1. Then, the another data is send onto the bus 7. Thereby, the data stored in the distributed capacity of the bus 7 in a preceding operation, that is, the same data as the write data is changed to the another data. Next, the data is read out from the memory 3 to the CPU1. The data read out in such way is placed in the CPU1 and is compared with the write data. As a result of comparison, it is decided that read out data is not equal to the write data is decided as the true error of the memory 3.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、携帯可能記憶媒体にデータを書き込んだ後、
この占き込んだデータを続けて読み出して比較すること
により書込内容の確認を行なう携帯可能記憶媒体の書込
検査方法に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention provides a method for writing data to a portable storage medium.
The present invention relates to a write inspection method for a portable storage medium in which written contents are confirmed by successively reading and comparing the read data.

(従来の技術) CPUおよびメモリ等の集積回路を内蔵してカード状に
形成された携帯可能記憶媒体、いわゆるICカードにお
いて、該ICカードが内蔵するメモリの書込データを検
査するライト・ベリファイ方法はEPROMライター等
を利用して従来機のように行なわれている。
(Prior Art) A write verification method for inspecting written data in a memory built into a so-called IC card, which is a portable storage medium formed in a card shape and incorporating an integrated circuit such as a CPU and a memory. This is done using an EPROM writer, etc., as in conventional machines.

すなわち、すべてのデータをまずバッフ?に一旦蓄積し
、CPUのレジスタ(RAM)に書込データを準備する
。それから、メモリの書込アドレスをセットし、メモリ
をライト・イネーブル状態に設定し、書込データをデー
タバスに送出してメモリに書き込む゛。すべてのアドレ
スにデータを書き込んだ後、メモリを読出モードにセッ
トし、メモリからデータを読み出す。この続出データを
前記バッファに蓄積された書込データと比較し、データ
が正しく書き込まれているか否かを検査する。
i.e. buffer all data first? , and prepares the write data in the register (RAM) of the CPU. Then, the write address of the memory is set, the memory is set to the write enable state, and the write data is sent to the data bus and written to the memory. After writing data to all addresses, set the memory to read mode and read the data from the memory. This successive data is compared with the write data stored in the buffer to check whether the data has been written correctly.

このようにデータをICカードのメモリに書き込んだ後
、この書込データを続けて読み出して比較することでI
Cカードのメモリの書込検査を実行している。
After writing the data to the memory of the IC card in this way, the written data can be continuously read and compared.
A write check of the memory of the C card is being executed.

(発明が解決しようとする問題点) ICカードは上述したように通常CPUおよびメモリか
らなる少なくとも2チツプを有し、これらのチップ間の
データバス等を当然配線で接続しているが、この配線に
は通常分布容量がアース等との間に発生しているため、
この分布容量がメモリにデータを書き込んだり、読み出
す場合にデータに影響を与え、間違ったデータを1き込
んだり、読み出すという問題がある。詳しくは、あるデ
ータをデータバスを介してメモリに1き込んだとすると
、この書込データと同じデータがデータバスの分布容量
に蓄積されたまま残ってしまうため、次に続いてメモリ
読出動作を行なうと、データバスの分布容量に蓄積され
ていたデータが読出データとしてラッチされてしまうこ
とがある。このため、仮りにメモリが不良であったとし
ても、データバスの分布容量に蓄積されていたデータを
読出時にラッチすることでメモリは正常なものと間違っ
た判断をしてしまい、メモリの不良を適確に検出できな
いという問題がある。
(Problems to be Solved by the Invention) As mentioned above, an IC card usually has at least two chips consisting of a CPU and a memory, and the data bus etc. between these chips are naturally connected by wiring. Because distributed capacitance usually occurs between the ground and the ground,
This distributed capacitance affects the data when writing or reading data into the memory, causing the problem that incorrect data may be written or read. Specifically, if some data is written into memory via a data bus, the same data as this write data will remain accumulated in the distributed capacity of the data bus, so the next memory read operation will be performed. In this case, the data stored in the distributed capacitance of the data bus may be latched as read data. Therefore, even if the memory is defective, the data stored in the distributed capacitance of the data bus is latched when read, and the memory is incorrectly judged to be normal. There is a problem that it cannot be detected accurately.

本発明は、上記に鑑みてなされたもので、その目的とす
るところは、配線間の分布容量の影響を受けることなく
適確にメモリ書込検査を行なうことができる携帯可能記
憶媒体の書込検査方法を提供することにある。
The present invention has been made in view of the above, and an object of the present invention is to provide a portable storage medium that can accurately perform a memory write test without being affected by distributed capacitance between wirings. The objective is to provide an inspection method.

〔発明の構成〕[Structure of the invention]

(問題点を解決するための手段) 上記問題点を解決するため、本発明の携帯可能記憶媒体
の書込検査方法は、携帯可能記憶媒体にデータを書き込
んだ後、この書き込んだデータを続けて読み出して比較
することにより書込内容の確認を行なう携帯可能配憶媒
体の書込検査方法において、携帯可能記憶媒体にデータ
バスを介して所定のデータを書き込んだ後、該所定の書
込データと異なるデータを前記データバス上に送出し、
この送出後に前記書込データを携帯可能記憶媒体から読
み出すことを要旨とする。
(Means for Solving the Problems) In order to solve the above problems, the writing inspection method for a portable storage medium of the present invention is such that after writing data to a portable storage medium, the written data is continuously In a write inspection method for a portable storage medium in which the written contents are confirmed by reading and comparing, after predetermined data is written to the portable storage medium via a data bus, the predetermined written data and sending different data onto the data bus;
The gist is to read the written data from the portable storage medium after this sending.

〔作用〕[Effect]

本発明の携帯可能記憶媒体の書込検査方法では、携帯可
能記憶媒体にデータバスを介してデータを書き込んだ後
、該書込データと異なるデータをデータバス上に送出し
、この送出後に書込データを携帯可能記憶媒体から読み
出している。
In the write inspection method for a portable storage medium of the present invention, after data is written to the portable storage medium via a data bus, data different from the written data is sent onto the data bus, and after this sending, data is written to the portable storage medium via a data bus. Reading data from a portable storage medium.

(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の携帯可能記g!Its体の書込検査方
法を実施する処理動作の一例を示すフローチャートであ
り、第2図は携帯可能記憶媒体の書込検査方法が適用さ
れる携帯可能記憶媒体、すなわちICカードの回路構成
を示すブロック図である。
Figure 1 shows the portable recorder of the present invention! FIG. 2 is a flowchart showing an example of a processing operation for carrying out a writing inspection method for a portable storage medium, and FIG. 2 shows a circuit configuration of a portable storage medium, that is, an IC card, to which the writing inspection method for a portable storage medium is applied. It is a block diagram.

第2図に示すように、ICカードは各種データを記憶し
、処理するために集積回路チップからなるCPU 1お
よびメモリ3を有し、このCPU1とメモリ3との間は
アドレスバス5、データバス7およびチップイネーブル
ライン11からなる配線で接続されている。これらのバ
スを構成する配線には例えばアースとの間に分布容量が
発生しているが、特に図示のようにデータバス7に接続
されている分布容量9はメモリ3に対するデータの書込
検査、すなわちライト・ベリファイ動作に悪影響を与え
ている。
As shown in FIG. 2, the IC card has a CPU 1 and a memory 3, each of which is an integrated circuit chip, for storing and processing various data, and an address bus 5, a data bus 7 and a chip enable line 11. Distributed capacitance is generated in the wiring that constitutes these buses, for example, between the ground and the ground, and in particular, as shown in the figure, the distributed capacitance 9 connected to the data bus 7 is used for testing data writing to the memory 3, In other words, it has an adverse effect on the write verify operation.

すなわち、従来のライト・ベリファイ動作においては、
データバス7を介してメモリ3にデータを送出して履き
込む時に書込データが分布容量に蓄積されてしまうため
、書込動作に続いて書込データをメモリ3から読み出す
時、分布容量に蓄積された書込データを読出データとし
てラッチしてしまうことがあったが、本発明の携帯可能
記憶媒体の書込検査方法では分布容量に蓄積された宙込
データを別の異なるデータ、例えば書込データと排他的
論理和の関係にあるデータ、すなわち反転されたデータ
等に変更することによりメモリ3から読み出した真の書
込データのみを受信できるようにして、メモリ3の不良
を適確に検出するものである。
In other words, in the conventional write verify operation,
When data is sent to and read from the memory 3 via the data bus 7, the write data is accumulated in the distributed capacitor, so when the write data is read from the memory 3 following the write operation, it is accumulated in the distributed capacitor. However, in the write inspection method for a portable storage medium of the present invention, the written data stored in the distributed capacitor is latched as read data, e.g. By changing the data to data that has an exclusive OR relationship with the data, that is, inverted data, etc., it is possible to receive only the true write data read from the memory 3, thereby accurately detecting defects in the memory 3. It is something to do.

第1図はこのような動作原理に基づくライト・ベリファ
イ動作を示すフローチャートである。以下、このフロー
チャートに従って作用を説明する。
FIG. 1 is a flowchart showing a write verify operation based on such an operating principle. The operation will be explained below according to this flowchart.

まず、CPU1のレジスタに書込データをセットし、書
込アドレスをセットする(ステップ110.120)。
First, write data is set in the register of CPU 1, and a write address is set (steps 110 and 120).

それから、レジスタにセットされた書込データをデータ
バス7 (Do−D7)に送出し、メモリ3をライトイ
ネーブルにセットし、メモリ3を高インピーダンスにセ
ットし、メモリ3にデータを書き込む(ステップ130
−160>。なお、この状態では、データバス7の分布
容量に書込データと同じデータが蓄積されている。
Then, the write data set in the register is sent to the data bus 7 (Do-D7), the memory 3 is set to write enable, the memory 3 is set to high impedance, and the data is written to the memory 3 (step 130).
-160>. Note that in this state, the same data as the write data is accumulated in the distributed capacitance of the data bus 7.

メモリ3にデータを書き込んだ後、書込データと異なる
別のデータ、すなわら排他的論理和データ、例えば書込
データの反転データをレジスタにセットする(ステップ
170)。それから、この別のデータをデータバス7に
送出する(ステップ180)。これにより前記書込動作
でデータバス7の分布容量に蓄積されたデータ、すなわ
ち書込データと同じデータは別のデータに変更される。
After writing the data to the memory 3, other data different from the write data, such as exclusive OR data, for example, inverted data of the write data, is set in the register (step 170). This other data is then sent to the data bus 7 (step 180). As a result, the data accumulated in the distributed capacitance of the data bus 7 in the write operation, that is, the same data as the write data, is changed to different data.

次に、メモリ3をリードイネ−フルにし、メモリ3から
データをCPLllに読み出す(ステップ190.20
0)。このようにして読み出したデータをCPU1にお
いて書込データと比較する(ステップ210)。この比
較の結果、読出データが書込データに等しくない場合に
は、メモリ3の真のエラーと判定でき、メモリ3のエラ
ー処理を行なう(ステップ220)。読出データが8込
データに等しい場合は、メモリ3は正常であるので、次
のアドレスの書込動作を継続する(ステップ230)。
Next, the memory 3 is made read-enabled and data is read from the memory 3 to the CPLll (step 190.20).
0). The thus read data is compared with the written data in the CPU 1 (step 210). As a result of this comparison, if the read data is not equal to the write data, it can be determined that there is a true error in the memory 3, and error processing for the memory 3 is performed (step 220). If the read data is equal to the 8-write data, the memory 3 is normal and the write operation of the next address is continued (step 230).

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、携帯可能記憶媒
体にデータバスを介してデータを履き込んだ後、該書込
データと異なるデータをデータバス上に送出し、この送
出後に書込データを携帯可能記憶媒体から読み出してい
るので、データバスに分布容Φが存在し、書込データが
一時的に分布容量に蓄積されたとしても、異なる別のデ
ータをデータバスに送出することにより分布容量に蓄積
された書込データを別のデータに変更し、次の読出動作
で分布容量から書込データと同じデータをラッチするこ
とがないようにしているため、分布容量の影響を受ける
ことなくメモリから真に読み出されたデータをラッチし
、適確にメモリ書込検査を行ない、メモリの不良を確実
に検出することができる。
As explained above, according to the present invention, after data is written into a portable storage medium via a data bus, data different from the written data is sent onto the data bus, and after this sending, the written data is is being read from a portable storage medium, so even if there is a distribution capacity Φ on the data bus and the written data is temporarily stored in the distribution capacity, the distribution can be changed by sending different data to the data bus. The write data stored in the capacitor is changed to different data, and the next read operation does not latch the same data as the write data from the distributed capacitor, so it is not affected by the distributed capacitor. It is possible to latch data that has been truly read from the memory, perform a memory write test accurately, and reliably detect memory defects.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の携帯可能記憶媒体の書込検査方法を実
施する処理動作の一例を示すフローチャート、第2図は
本発明の携帯可能記憶媒体の書込検査方法を適用する携
帯可能記憶媒体であるICカードの回路構成図である。 1・・・CPU、3・・・メモリ、7・・・データバス
、9・・・分布容量
FIG. 1 is a flowchart showing an example of processing operations for carrying out the write inspection method for a portable storage medium of the present invention, and FIG. 2 is a portable storage medium to which the write inspection method for a portable storage medium of the present invention is applied. FIG. 2 is a circuit configuration diagram of an IC card. 1...CPU, 3...Memory, 7...Data bus, 9...Distributed capacity

Claims (1)

【特許請求の範囲】[Claims] 携帯可能記憶媒体にデータを書き込んだ後、この書き込
んだデータを続けて読み出して比較することにより書込
内容の確認を行なう携帯可能記憶媒体の書込検査方法に
おいて、携帯可能記憶媒体にデータバスを介して所定の
データを書き込んだ後、該所定の書込データと異なるデ
ータを前記データバス上に送出し、この送出後に前記書
込データを携帯可能記憶媒体から読み出すことを特徴と
する携帯可能記憶媒体の書込検査方法。
In a write inspection method for a portable storage medium in which data is written to a portable storage medium and then the written data is read out and compared to confirm the written contents, a data bus is connected to the portable storage medium. After writing predetermined data through the data bus, data different from the predetermined write data is sent onto the data bus, and after this sending, the write data is read from the portable storage medium. Method for inspecting writing on media.
JP62137201A 1987-05-30 1987-05-30 Method for inspecting write of portable storage medium Pending JPS63301384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62137201A JPS63301384A (en) 1987-05-30 1987-05-30 Method for inspecting write of portable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62137201A JPS63301384A (en) 1987-05-30 1987-05-30 Method for inspecting write of portable storage medium

Publications (1)

Publication Number Publication Date
JPS63301384A true JPS63301384A (en) 1988-12-08

Family

ID=15193155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62137201A Pending JPS63301384A (en) 1987-05-30 1987-05-30 Method for inspecting write of portable storage medium

Country Status (1)

Country Link
JP (1) JPS63301384A (en)

Similar Documents

Publication Publication Date Title
JP4571749B2 (en) Efficient simultaneous testing of integrated circuit devices to produce expected responses using known good devices
US6636998B1 (en) Semiconductor memory device and parallel bit test method thereof
US20070277066A1 (en) System and method for more efficiently using error correction codes to facilitate memory device testing
JPH01201736A (en) Microcomputer
JP2002538465A (en) Distributed interface for simultaneous testing of multiple devices using a single tester channel
JP4322827B2 (en) Semiconductor chip
JPS63301384A (en) Method for inspecting write of portable storage medium
KR100771263B1 (en) A method for testing a memory array and a memory-based device so testable with a fault response signalizing mode for when finding predetermined correspondence between fault patterns signalizing one such fault pattern only in the form of a compressed response
JPS6152758A (en) Memory error detecting device
CN101477834B (en) Recording method and system for integrated circuit digital encoding
JP2003151299A (en) Semiconductor device and its test method, and electronic equipment
JPS6131499B2 (en)
JPH0997194A (en) Data acquisition device for fail memory
JPH08306748A (en) Inspection method for semiconductor element and manufacturing system of semiconductor element employing it
JPS60549A (en) Memory testing system
JP2008269115A (en) Memory check device and memory check method
JPH07192495A (en) Test circuit for semiconductor memory
JP2656600B2 (en) Test method for semiconductor memory device
JPH0793225A (en) Memory check system
JPH01179300A (en) Semiconductor device
JPH0241119B2 (en)
JP3040508B2 (en) Memory test method
JPS6035695B2 (en) Memory test method
JPS63250755A (en) Method for testing memory
JPH03126147A (en) Test system for external storage device