JP4160808B2 - Memory read / write control circuit, contactless memory card, read / write device, and contactless memory card read / write system - Google Patents
Memory read / write control circuit, contactless memory card, read / write device, and contactless memory card read / write system Download PDFInfo
- Publication number
- JP4160808B2 JP4160808B2 JP2002272328A JP2002272328A JP4160808B2 JP 4160808 B2 JP4160808 B2 JP 4160808B2 JP 2002272328 A JP2002272328 A JP 2002272328A JP 2002272328 A JP2002272328 A JP 2002272328A JP 4160808 B2 JP4160808 B2 JP 4160808B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- read
- write
- circuit
- 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.)
- Expired - Lifetime
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は大容量化及び高速アクセス化に適したメモリのリード/ライト制御回路、無接点メモリカード、リード/ライト装置及び無接点メモリカードのリード/ライトシステムに関する。
【0002】
【従来の技術】
無接点メモリカードの従来例として以下のような構成のものがある。同カードは、リード/ライト装置から電力及び同期クロックを供給するための電源・クロック用コイルと、主装置からリード/ライト信号をリード/ライト装置を通じて入出力するためのリード/ライト信号用コイルと、主装置からコマンドをリード/ライト装置を通じて入力するためのコマンド用コイル等を有した基本構成となっている。
【0003】
即ち、電源・クロック用コイルを通じて電力及び同期クロックが無接点メモリカードに供給されると、同カードが通電されて動作可能になる。この状態で、ライトコマンドがコマンド用コイルを通じて入力されると、同様にライト信号用コイルを通じて入力されたライトデータがメモリが記録される一方、リードコマンドがコマンド用コイルを通じて入力されると、メモリに記録されたデータが読み出されてリード信号用コイルを通じて出力されるようになっている(例えば、特許公報1参照。)
【0004】
【特許公報1】
特開昭62−8281号号公報(第1図)
【0005】
【発明が解消しようとする課題】
しかしながら、上記従来例による場合、以下の問題が指摘されている。まず、電力及び同期クロックが1つの電源・クロック用コイルを通じて無接点メモリカードに供給されていることから、同期クロックの周波数をメモリの種類に合わせて随時変更させると、回路特性が不安定になることがある。そのため同期クロックの周波数については、アクセス速度が最も速いメモリではなく、アクセス速度が最も遅いメモリに合わせて設定されており、この点で高速アクセス化を実現することが困難となっている。
【0006】
もっとも、リード/ライト装置からリード/ライトデータ等をパラレルで入力するようにすると、メモリカードにおいてシリアル/パラレル変換を行う必要がない分だけ高速アクセス化を図ることが可能であるが、コイル数が増加し、データの信頼性が低下するだけでなく、メモリカードの寸法や消費電流が大きくなり、カードの小型化や低コスト化を図ることが困難になる。
【0007】
また、無接点メモリカードにS−RAM等に比べてアクセスプロトコルが非常に複雑なフラッシュメモリを搭載したときは、無接点メモリカードにおいてアドレスセット時やデータセット時に制御信号等を生成するに当たり、主装置がその都度関与することから、この点で高速アクセス化を図ることが非常に困難となっている。一方、無接点メモリカードにCPUを搭載したときは、高速アセクス化を図ることが可能であるものの、消費電力が大きくなり、無接点メモリカードの薄型化や低コスト化を図ること困難になっている。加えて、メモリの種類に応じてアクセスプロトコルを変更するための制御プログラムが必要となり、この点でもコスト高になっている。
【0008】
更に、1バイトのデータをメモリに転送する際のメモリへのアクセスは1サイクル期間中1回だけであり、これ以外の期間についてはウェイトとなっている。この点も高速アクセス化を妨げる大きな要因となっている。
【0009】
本発明は上記した背景の下で創作されたものであり、その目的とするところは、上記した問題を解消することが可能なメモリのリード/ライト制御回路、無接点メモリカード、リード/ライト装置及び無接点メモリカードのリード/ライトシステムを提供することにある。
【0010】
【課題を解決するための手段】
本発明のメモリのリード/ライト制御回路は、主装置から転送されたアドレス、データ及びコントロールデータを少なくとも含んだ各種データを保持するレジスター回路を有し且つ当該各種データに基づいてメモリに対するリード/ライト動作に必要な制御を行う制御部と、前記レジスター回路の後段に接続されており且つ制御部からの命令を受けて前記レジスター回路上のデータをメモリに出力するデータ出力回路とを備え、制御部は、レジスター回路上のコントロールデータにデータ固定の選択に関するコードが含まれているときは、当該レジスト回路上のデータがメモリに出力されるように設定する一方、レジスター回路上のコントロールデータにデータ変化の選択に関するコードが含まれているときは、レジスター回路を経ることなく主装置から転送されたライトデータが前記メモリに順次ライトさせるように設定する機能を有した構成となっている
【0011】
各種データとライトデータとが共通のラインを用いて主装置から時分割で転送される場合には、以下のようなリード/ライト制御回路にすると良い。即ち、主装置から転送されたアドレス、データ及びコントロールデータを少なくとも含んだ各種データを保持するレジスター回路を有し且つ当該各種データに基づいてメモリに対するリード/ライト動作に必要な制御を行う制御部と、レジスター回路の前段に設けられており且つ主装置から各種データとは別に転送されたセレクトデータに基づいて主装置から転送された各種データの出力先をレジスター回路から前記メモリに切り換えるデータ入力切り替え回路と、レジスター回路の後段に接続されており且つ前記制御部からの命令を受けて前記レジスター回路上のデータをメモリに出力するデータ出力回路とを備え、制御部は、レジスター回路上のコントロールデータにデータ固定の選択に関するコードが含まれているときは、当該レジスト回路上のデータが前記メモリに出力されるように設定する一方、前記レジスター回路上のコントロールデータにデータ変化の選択に関するコードが含まれているときは、レジスター回路を経ることなく主装置から転送されたライトデータが前記メモリに順次ライトさせるように設定する機能を有した構成となっている。
【0012】
好ましくは、制御部は、レジスター回路上のコントロールデータにライトの選択に関するコードが含まれているときは、メモリに対してライトが行われるように設定し、レジスター回路上のコントロールデータにリードの選択に関するコードが含まれているときは、メモリに対してリードが行われるように設定する機能を有した構成となっているものを用いることが望ましい。
また、制御部からの命令を受けてアドレス信号を生成してメモリに出力するアドレス出力回路を備えると良い。この場合、制御部は、レジスター回路上のコントロールデータにアドレスの設定に関するコードが含まれているときは、アドレス出力回路と前記メモリとの間のアドレスバスラインのビット長を当該設定の通りに設定する機能を有した構成となっているものを用いることが望ましい。
さらに、制御部は、主装置から順次転送された各種データがn(n≧1)個のレジスター回路1、2・・・nに各々保持可能であり、当該レジスター回路1上の各種データに基づいてメモリに対するリード/ライト動作に必要な制御を行い、その後、当該レジスター回路2・・・n上の各種データに基づいてメモリに対するリード/ライト動作に必要な制御を順次的に行う機能を有した構成となっているものを用いることが望ましい。
【0013】
好ましくは、制御部は、リード/ライト動作が繰り返し行われる際のリード/ライトの処理回数を計数するカウンター回路を有しており、レジスター回路上のコントロールデータに1回処理に関するコードが含まれているときには、当該各種データに基づいて行われるリード/ライト動作を1回だけ行う一方、レジスター回路上のコントロールデータに連続処理に関するコードが含まれているときには、当該各種データに基づいて行われるリード/ライト動作を当該各種データに含まれるカウント数の回数だけ行う機能を有した構成となっているものを用いることが望ましい。
【0014】
好ましくは、制御部は、レジスター回路上のコントロールデータにアドレスセットに関するコードが含まれているときには、当該コントロールデータに含められたアドレスの設定、アドレスマスク有無の選択、アドレスセット数の選択、マスクアドレスの選択、メモリの属性を示すデータの主装置への転送の有無の選択及び各種制御信号の出力の有無の各選択(CSのクロック同期出力/常時出力の選択を含む)に関するコードに従って前記メモリに対するアドレスセットの設定を行う一方、レジスター回路上のコントロールデータにデータセットに関するコードが含まれているときには、当該コントロールデータに含められたアドレスの設定、メモリ制御の設定、データの変化/固定の設定、各種制御信号の出力の有無の各選択(CSのクロック同期出力/常時出力の選択を含む)及びR/B信号の主装置への転送の有無の選択に関するコードに従ってメモリに対するデータセットの設定を行う機能を有した構成となっているものを用いることが望ましい。
【0015】
好ましくは、適応可能なメモリのうち使用するメモリの種類を設定入力するスイッチであって当該設定結果を信号として前記制御部に出力するモード切り替え回路と、メモリの種類を設定に基づいて当該メモリの属性を示すデータを生成するアトリビュート入力回路を備えると良い。この場合、制御部は、レジスター回路上のコントロールデータに各種制御信号の出力に関するコードが含まれているときには、メモリに出力すべき当該制御信号をアクティブにする一方、コントロールデータにメモリの属性を示すデータの主装置への転送に関するコードが含まれているときには、アトリビュート入力回路にて生成されたデータを主装置に転送させる機能を有した構成となっているものを用いることが望ましい。
【0016】
制御部は、レジスター回路上のコントロールデータに予備の制御信号の出力に関するコードが含まれているときには、メモリに出力すべき当該制御信号をアクティブにする機能を有した構成となっているものを用いることが望ましい。
【0017】
本発明の無接点メモリカードは、リード/ライト装置から電力を入力するための電源用コイルと、リード/ライト装置から同期クロックを入力するための同期クロック用コイルと、主装置からリード/ライト装置を通じて転送されたセレクトデータをシリアル形式で入力するためのセレクト用コイルと、主装置からリード/ライト装置を通じて転送された各種データをシリアル形式で入力するための入力用コイルと、リード/ライト装置を通じて主装置に転送すべきリードデータ等をシリアル形式で出力するための出力用コイルとを具備している。
【0018】
本発明のリード/ライト装置は、主装置に接続されており且つ上記無接点メモリカードがセットされる装置であって、上記無接点メモリカードに電力を供給するための電源用コイルと、無接点メモリカードに同期クロックを供給するための同期クロック用コイルと、主装置から転送されたセレクトデータを前記無接点メモリカードにシリアル形式で出力するためのセレクト用コイルと、主装置から転送された各種データを無接点メモリカードにシリアル形式で出力するための出力用コイルと、無接点メモリカードから主装置に向けて転送された少なくともリードデータをシリアル形式で入力するための入力用コイルとを具備している。
【0019】
本発明の無接点メモリカードのリード/ライトシステムは、上記無接点メモリカードと、上記リード/ライト装置と、リード/ライト装置に接続された主装置とを備えており、主装置は、無接点メモリカードにおいて各種データをレジスター回路に保持させる前処理段階とレジスター回路に保持された各種データに基づいて前処理及びリード/ライト動作を行わせる本動作段階とを切り替えるためのセレクトデータを生成してリード/ライト装置を通じて無接点メモリカードに転送し、これとは別に、前処理段階においては各種データを生成してリード/ライト装置を通じて無接点メモリカードに転送し、本動作段階においてはライト時に必要なライトデータを生成しリード/ライト装置を通じて無接点メモリカードに転送する一方、リード時には無接点メモリカードからリード/ライト装置を通じて転送された少なくともリードデータを入力する構成となっている。
【0020】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。図1は無接点メモリカードのリード/ライトシステムの構成図、図2は無接点メモリカードに適応可能なメモリ及びそのバスラインを示す説明図、図3は主装置から無接点メモリカードに転送される各種データの内容を示す説明図、図4は図2(B)及び(C)に示すタイプのメモリについて用いられるコントロール1、2の内容を示す説明図、図5は図2(A)に示すタイプのメモリについて用いられるコントロール1、2の内容を示す説明図、図6乃至図17は無接点メモリカードに搭載されたリード/ライト制御回路のリード/ライト動作の例を説明するための図である。
【0021】
ここに掲げる無接点メモリカードのリード/ライトシステムは、図1に示すように主装置300、リード/ライト装置200及び無接点メモリカード100を有した構成となっている。無接点メモリカード100は、リード/ライト装置200にセットされた状態で、同カード100に搭載されたメモリ130に対してデータのリード/ライトを行う。このようなリード/ライトを制御しているのはリード/ライト装置200にCPUバス301を介して相互接続された主装置300である。
【0022】
主装置300は、無接点メモリカード100に対してデータのリード/ライトを行うとともに全体として所定の処理を行うコンピュータであり、次のような基本構成となっている。即ち、無接点メモリカード100に対してデータのリード/ライト動作を行う段階(これを本動作段階と称する)においては、ライト時にライトデータを生成してリード/ライト装置200を通じて無接点メモリカード100に転送する一方、リード時には無接点メモリカード100からリード/ライト装置200を通じて転送されたリードデータ等を入力するようになっている。このような本動作段階を行う前準備として、アドレス、データ、カウント数及びコントロール1、2(コントロールデータ)からなる各種データ(詳しいことは後述する)を生成してリード/ライト装置200を通じて無接点メモリカード100に転送し、後述するレジスター回路1221に保持させるようになっている(この段階を前処理段階と称する)。そして、無接点メモリカード100において前処理段階と本動作段階とを切り替えるために、セレクトデータを生成して各種データとは別にリード/ライト装置200を通じて無接点メモリカード100に転送するようになっている。
【0023】
リード/ライト装置200は、無接点メモリカード100がセットされた状態で、主装置300と無接点メモリカード100との間のインターフェイスの役割を果たす装置であって、無接点メモリカード100に電力や同期クロックを供給したり、無接点メモリカード100との間でデータの転送を行うために、シート状又はコイル状をなした合計5個のコイルが備えられている。
【0024】
即ち、リード/ライト装置200には、無接点メモリカード100に電力を入力するための電源用コイル201と、無接点メモリカード100に同期クロックを入力するための同期クロック用コイル202と、主装置300から転送されたセレクトデータをシリアル形式で無接点メモリカード100に出力するためのセレクト用コイル203と、主装置300から転送された各種データをシリアル形式で無接点メモリカード100に出力するための出力用コイル204と、無接点メモリカード100から主装置300に向けて転送されたリードデータ等をシリアル形式で入力するための入力用コイル205が備えられている。
【0025】
また、コイル201〜205以外に以下の回路が備えられている。即ち、無接点メモリカード100に電力を供給するために電源電圧をパルス化して電源用コイル201に出力するコイル駆動回路210と、無接点メモリカード100に供給すべき同期クロックを生成して同期クロック用コイル202に出力するタイミング回路220と、主装置300にCPUバス301を通じて接続されており且つ主装置300から出力された命令に従ってコイル駆動回路210のオンオフ及びタイミング回路220の同期クロック周波数を制御するコントロール回路230と、主装置300からCPUバス301、データ入力切り替え回路240を通じて入力された各種データをラッチするレジスター回路250と、主装置300からCPUバス301、データ入力切り替え回路240を通じて入力されたセレクトデータをパラレル/シリアル変換してセレクト用コイル203に出力するパラレル/シリアル変換回路260と、レジスター回路250から出力された各種データをパラレル/シリアル変換して出力用コイル204に出力するパラレル/シリアル変換回路270と、入力用コイル205を通じて入力されたリードデータ等をシリアル/パラレル変換してCPUバス301を介して主装置300に出力するシリアル/パラレル変換回路280とが備えられている。
【0026】
上記のような構成のリード/ライト装置200において、コイル201〜205以外の上記回路はその殆どがゲートアレイにより作成されている。
【0027】
一方、無接点メモリカード100は、メモリ130及びリード/ライト制御回路120を有しており、リード/ライト装置200のコイル201〜205に対応してシート状又はコイル状をなした合計5個のコイルが備えられている。即ち、リード/ライト装置200から電力を入力するための電源用コイル101と、リード/ライト装置200から同期クロックを入力するための同期クロック用コイル102と、主装置300からリード/ライト装置200を通じて転送されたセレクトデータをシリアル形式で入力するためのセレクト用コイル103と、主装置300からリード/ライト装置200を通じて転送された各種データをシリアル形式で入力するための入力用コイル104と、リード/ライト装置200を通じて主装置300に転送すべきリードデータ等をシリアル形式でリード/ライト装置200に出力するための出力用コイル105とが備えられている。
【0028】
また、無接点メモリカード100には、メモリ130、リード/ライト制御回路120及びコイル101〜105以外に以下の回路が備えられている。即ち、電源用コイル101の出力電流に基づいて電源電圧を生成して各回路に電力を供給する整流回路106と、同期クロック用コイル102を通じて入力された同期クロックを各回路に供給するタイミング回路107と、セレクト用コイル103を通じて入力されたセレクトデータをシリアル/パラレル変換してリード/ライト制御回路120に出力するシリアル/パラレル変換回路108と、入力用コイル104を通じて入力された各種データをシリアル/パラレル変換してリード/ライト制御回路120に出力するシリアル/パラレル変換回路109と、リード/ライト制御回路120から出力されたリードデータ等をパラレル/シリアル変換して出力用コイル105に出力するパラレル/シリアル変換回路110等が備えられている。
【0029】
上記のような構成のリード/ライト装置200において、コイル101〜105以外の上記回路に関してはその殆どがゲートアレイにより作成されている。以下、リード/ライト制御回路120の構成について詳しく説明する。
【0030】
リード/ライト制御回路120は、セレクト用コイル103、シリアル/パラレル変換回路108を通じて入力されたセレクトデータ及び入力用コイル104、シリアル/パラレル変換回路109を通じて入力された各種データに基づいて動作し、これによりメモリ130に対してデータのリード/ライトを行う基本構成となっている。
【0031】
リード/ライト制御回路120は、各種データに基づいてリード/ライト動作に必要な制御を行う制御部122と、制御部122のレジスター回路1221の前段に設けられており且つ主装置300から各種データとは別に転送されたセレクトデータに基づいて入力データの出力先を切り替える回路であって、主装置300から転送された各種データをレジスター回路1221に、主装置300から転送されたライトデータをメモリ130に各々出力するデータ入力切り替え回路121とを有している。加えて、モード切り替え回路123、アドレス出力回路124、データ出力回路125、制御信号回路126、汎用制御信号回路127、データ入力回路128、汎用入力回路129、アトリビュート入力回路1231及びデータ出力切り替え回路1211を有した構成となっている。
【0032】
リード/ライト制御回路120は図2に示す3種類のタイプのメモリに適応可能になっている。図2(A)はアドレスバスとデータバスが共通化され且つ特殊な制御信号が必要になるタイプのメモリであり、その代表例としてNAND型フラッシュメモリがある。図2(B)、(C)はアドレスバスとデータバスが分離され且つ特殊な制御信号が不要であるタイプのメモリであり、その代表例としてNOR型フラッシュメモリ、S−RAMがある。但し、説明の都合上、図1中ではメモリ130としてNAND型フラッシュメモリを表している。
【0033】
以下、リード/ライト制御回路120を構成する各回路の詳細な構成について説明する。
【0034】
データ入力切り替え回路121は、入力されたセレクトデータに基づいて動作するセレクト回路であって、別に入力された各種データをレジスター回路1221とメモリ130とに振り分けて出力するようになっている。この結果、前処理段階において各種データがレジスター回路1221に出力され、本動作段階においてライトデータがメモリ130に各々出力される。
【0035】
制御部122は、入力された各種データを順次保持する複数個のレジスター回路1221と、リード/ライト動作が行われる過程でのリード/ライトの処理回数を計数するカウンター回路1222とを有しており、レジスター回路1221上の各種データに基づいてアドレス出力回路124等に対して命令を与え、これらの回路を制御する回路構成となっている。ここで5つの各種データ1〜5がレジスター回路1221に順次入力されたと仮定し、各種データ1〜5を各々保持するレジスターを説明の都合上レジスタ1〜5として表すとすると、制御部122の基本的な機能は以下の通りとなる。
【0036】
即ち、レジスタ1上の各種データ1に基づいてリード/ライト動作上の前処理を行い、この状態で、ライト時には、レジスター回路1221を経ることなく主装置300から転送されたライトデータをメモリ130にライトさせる一方、リード時には、メモリ130に記録されたデータ等をリードさせて主装置300に転送させるようになっている。このように各種データ1に基づいて前処理及びリード/ライト動作が行われ、これが終了すると、レジスター2〜5上の各種データ2〜5に基づいて前処理及びリード/ライト動作を同様に順次的に行う。そして、このような一連の処理(各種データ1〜5に基づく各処理)を繰り返すことによりメモリ130に対するリード/ライトを連続して行うようになっている。
【0037】
即ち、制御部122においては、レジスター回路1221に複数の各種データを保持することが可能であり、これらの各種データに基づいて前処理及びリード/ライト動作を順次且つ繰り返し行うようになっている。レジスター回路1221に保持されている各種データが1つであるときも全く同様であり、レジスタ1に保持された各種データ1に基づく前処理及びリード/ライト動作を行い、その後、同様のリード/ライト動作を繰り返し、これによりメモリ130に対するリード/ライトを連続して行うようになっている。
【0038】
主装置300から転送されレジスター回路1221に保持される各種データは図3に示すような内容であり、アドレス、データ、カウンタ数、コントロール1,2から構成された合計9バイトのデジタル値となっている。アドレスはメモリ130に対してリード/ライトを繰り返し行う際の最初のアドレスの設定を示している。データはメモリ130に対してライトすべきデータの内容の設定を示している。カウント数はリード/ライトの処理回数の設定を示している。コントロール1はアドレス24又は32ビットの選択(アドレスの設定)、アトリビュートリード有無の選択(メモリの属性を示すデータの主装置への転送の有無の選択)、連続処理/1回処理の選択(連続処理/1回処理の設定)、データ又はアドレスの選択(アドレスセット/データセットの設定)、データ入力又は汎用ポート入力の選択(リードデータの主装置への転送の有無の選択、R/B信号の主装置への転送の有無の選択)、データ固定又は変化の選択(データの変化/固定の設定)、ライト、リード又はライト/リードの選択(メモリ制御の設定)等の設定に関するビットコード群を示している。コントロール2は汎用制御信号制御(各種制御信号の出力の有無の各選択(CSのクロック同期出力/常時出力の選択を含む)、カウンター16又は24ビットの選択(カウンター回路のカウントビット長の設定)の設定に関するビットコード群を示している。
【0039】
このようにレジスター回路1221に各種データが保持された時点で、各種データに基づいて行われる前処理の内容、ひいてはリード/ライト動作の内容が決定されるようになっている。ただ、コントロール1、2の内容はメモリ130の種類により一部が異なっている。
【0040】
コントロール1、2は、NOR型フラッシュメモリを代表例とする図2(B)に示すタイプのメモリ及びS−RAMを代表例とする図2(C)に示すタイプのメモリである場合、図4に示す通りの内容になっている。これに対してNAND型フラッシュメモリを代表例とする図2(A)に示すタイプのメモリである場合図5に示す通りの内容になっている。
【0041】
図2(A)に示すタイプのメモリである場合、図2(B)及び(C)に示すタイプのものとは異なり、コントロール1にはアドレスセット/データセットの設定に関するビットコードが、コントロール2には各種制御信号の出力の有無の各選択(CSのクロック同期出力/常時出力の選択を含む)に関するビットコードが各々含められている。特に、コントロール1にアドレスセットの設定に関するビットコードを含んでいるとき、即ち、アドレスセット設定時には、アドレスマスク有無の選択、アドレスセット数の選択、マスクアドレスの選択、メモリの属性を示すデータの主装置への転送の有無の選択に関する各ビットコードが含められる。一方、コントロール1にデータセットの設定に関するビットコードを含んでいるとき、即ち、データセット設定時には、メモリ制御の設定、データの変化/固定の設定(ライト時)、リードデータの主装置への転送の有無の選択(リード時)、R/B信号の主装置への転送の有無の選択(リード時)、連続処理/1回処理の設定及びメモリの属性を示すデータの主装置への転送の有無の選択に関する各ビットコードが含められる。
【0042】
以下、モード切り替え回路123等の構成について説明し、併せて制御部122により行われる前処理の内容を説明する。
【0043】
モード切り替え回路123は、無接点メモリカード100に搭載されたメモリ130の種類等を設定入力するのに使用されるスイッチ群であり、その設定結果を信号として制御部122に出力するようになっている。
【0044】
アドレス出力回路124は、制御部122からの命令を受けて、アドレス信号を生成してメモリ130に出力する回路である。同回路に関連して以下のような前処理が行われるようになっている。
【0045】
コントロール1の「アドレス24又は32ビットの選択」に関するビットコードを通じて、アドレス出力回路124とメモリ130との間のアドレスバスラインのビット長が24ビット又は34ビットに設定される。
【0046】
コントロール1の「1回処理の選択」に関するビットコードを通じて、メモリ130に対するデータのリード/ライト動作が1回行われ、その処理終了後にアドレスが1つ分増加するように設定される。
【0047】
コントロール1の「連続処理の選択」に関するビットコードを通じて、メモリ130に対するデータのリード/ライト動作がレジスター回路1221上のカウント数の回数だけ行われ、この過程でアドレスが当該回数の分だけ順次増加するように設定される。
【0048】
メモリ130の種類の設定が図2(A)に示すタイプのメモリを示す場合にのみ次のような前処理が行われる。即ち、コントロール1の「アドレスの選択」に関するビットコードを通じて、アドレスがメモリ130に出力されるように設定される。また、「アドレスセット数の選択」に関するビットコードを通じて、アドレスセット数が1/2/3バイトアドレスに設定される。即ち、コントロール1に「アドレスの選択」に関するビットコードを含んでいるときには、レジスター回路1221上のアドレスが1バイト単位でアドレスセット数の分だけメモリ130にライトされるように設定される。更に、「アドレスマスク有無の選択」に関するビットコードを通じて、アドレスマスクの有無が設定される。「マスクアドレスの選択」に関するビットコードを通じて、マスクすべきアドレスがA10/A9/A8に設定される。
【0049】
なお、コントロール2の「カウンター16又は24ビットの選択」に関するビットコードを通じて、カウンター回路1222のカウントビット長が設定される。
【0050】
データ出力回路125は、制御部122からの命令を受けて、レジスター回路1222上のデータをメモリ130に出力する回路である。同回路に関連して以下のような前処理が行われるようになっている。
【0051】
コントロール1の「データ固定の選択」に関するビットコードを通じて、レジスター回路1221上のデータがメモリ130に出力されるように設定される。一方、「データ変化の選択」に関するビットコードを通じて、レジスター回路1221を経ることなく主装置300から転送されたライトデータがメモリ130に出力されるように設定される。
【0052】
メモリ130の種類の設定が図2(A)に示すタイプのメモリを示す場合にのみ次のような前処理が行われる。即ち、コントロール1の「データの選択」に関するビットコードを通じて、レジスター回路1221上のデータ又は主装置300から転送されたライトデータがメモリ130に出力されるように設定される。
【0053】
制御信号回路126は、制御部122からの命令を受けて、多種類のメモリに必須であるCS(メモリーチップセレクト)、OE(アウトプットイネーブル)及びWE(メモリーライトイネーブル)の制御信号を生成してメモリ130に出力する回路である。同回路に関連して以下のような前処理が行われるようになっている。
【0054】
コントロール1の「ライトの選択」に関するビットコードを通じて、CS、WEの制御信号がアクティブとなり、メモリ130に対してライトが行われるように設定される。「リードの選択」を通じて、CS、OEの制御信号がアクティブ、WEの制御信号が非アクティブとなり、メモリ130に対してリードが行われるように設定される。「ライト/リード選択」を通じて、メモリ130に対してライトとリードとが1サイクル期間毎に変化し、リード/ライトが繰り返し行われるように設定される。
【0055】
但し、メモリ130の種類の設定が図2(A)に示すタイプのメモリを示す場合には、CSの制御信号に関しては、コントロール2の「CSのクロック同期出力/常時出力の選択」に関するビットコードを通じて前処理されるようになっている。即ち、「CSのクロック同期出力の選択」に関するビットコードを通じて、CSの制御信号が同期クロック(CLKP)に同期してアクティブになるように設定される。一方、「CSの常時出力の選択」に関するビットコードを通じて、CSの制御信号がアクティブになり、この状態が維持されるように設定される。
【0056】
汎用制御信号回路127は、制御部122からの命令を受けて、ALE(メモリーアドレスラッチイネーブル)、CLE(メモリーコマンドラッチイネーブル)等の特殊制御信号を生成してメモリ130に出力する回路である。ALE、CLEの制御信号については、図2(A)に示すタイプのメモリに必要な制御信号であるが、これ以外の新種のメモリにも適応可能にするために予備の制御信号を生成してメモリ130に出力する機能も含まれている。即ち、汎用制御信号回路127とメモリ130との間に新たなバスラインを複数予め用意しておき、新種のメモリを用いるときには、当該メモリに出力することが必要な新たな制御信号をこのバスライン上に出力するようにしている。同回路に関連して以下のような前処理が行われるようになっている。
【0057】
メモリ130の種類の設定が図2(A)に示すタイプのメモリを示す場合に汎用制御信号回路127が動作し得るようになっており、コントロール2の「CLEの制御信号の出力の選択」に関するビットコードを通じて、CLEの制御信号がアクティブになるように設定される。同様に「CLEの制御信号の出力の選択」に関するビットコードを通じて、CLEの制御信号がアクティブになるように設定される。また、「予備の制御信号出力の選択」に関するビットコードを通じて、予備の制御信号がアクティブとなるように設定される。
【0058】
データ入力回路128はメモリ130から読み出されたリードデータをデータ出力切り替え回路1211に出力する回路である。
【0059】
汎用入力回路129は、メモリ130から出力されたR/B(レディ/ビジィ)信号をデータ出力切り替え回路1211に出力する回路である。
【0060】
アトリビュート入力回路1231は、メモリ130の種類の設定に基づいてメモリ130の属性(メモリ130の種類及び容量等)を示すデータを生成してデータ出力切り替え回路1211に出力する回路である。
【0061】
データ出力切り替え回路1211は、データ入力回路128、汎用入力回路129、アトリビュート入力回路1231から出力された各データが入力されており、制御部122からの命令を受けて、これらのデータを選択してパラレル/シリアル変換回路110に出力する回路である。同回路に関連して以下のような前処理が行われるようになっている。
【0062】
コントロール1の「データ入力の選択」に関するビットコードを通じて、データ出力切り替え回路1211によりデータ入力回路128の出力が選択され、その結果、メモリ130から読み出されたリードデータがリード/ライト装置200を通じて主装置300に転送されるように設定される。
【0063】
コントロール1の「汎用ポート入力の選択」に関するビットコードを通じて、データ出力切り替え回路1211により汎用入力回路129の出力が選択され、その結果、メモリ130のR/B信号がリード/ライト装置200を通じて主装置300に転送されるように設定される。同様に、「アトリビュートリード有の選択」に関するビットコードを通じて、データ出力切り替え回路1211によりアトリビュート入力回路1231の出力が選択され、その結果、メモリの属性を示すデータがリード/ライト装置200を通じて主装置300に転送されるように設定される。
【0064】
以下、上記のように構成されたリード/ライト制御回路120のリード/ライト動作の例を図6乃至図17を参照して説明する。
【0065】
図6及び図7はNAND型フラッシュメモリを代表例とする図2(A)に示すタイプのメモリについてのライト動作の例を示す図である。図6(A)はレジスター回路1221上の各種データの内容、図6(B)は同各種データに含まれるコントロール1、2に含まれるビットコードの内容、図7は同各種データに基づいてリード/ライト制御回路120が動作したときの制御信号等のタイミングチャートを各々示している。
【0066】
このライト動作例の場合、主装置300から5つの各種データ1〜5が転送されレジスター回路1221(レジスタ1〜5)に保持される。
【0067】
レジスタ1上に保持されたアドレス、データ及びカウント数は12345678h、80h(プログラムコマンド)及び0200hである。コントロール1、2には、「アドレス32ビットの選択」、「データの選択」、「ライトの選択」、「データ固定の選択」、「CSの常時出力の選択」及び「CLEの出力の選択」等に関するビットコード群が含まれている。
【0068】
よって、「アドレス32ビットの選択」に関するビットコードにより、アドレスバスのビット長が32ビットに設定される。「カウンター16ビットの選択」に関するビットコードにより、カウンター回路1222のカウントビット長が16ビットに設定される。「データの選択」及び「データ固定の選択」に関するビットコードにより、レジスタ1上のデータがメモリ130に出力される状態に設定される。「CSの常時出力の選択」に関するビットコードにより、CSの制御信号がアクティブとなり、以後この状態が維持される。「CLEの出力の選択」に関するビットコードにより、CLEの制御信号がアクティブとなる。「ライトの選択」に関するビットコードにより、WEの制御信号がアクティブとなる。
【0069】
この結果、レジスタ1上のデータである80h(プログラムコマンド)がメモリ130にライトされる(図7中1−1) 。このようなレジスタ1に基づく前処理及びライト動作が終了すると、レジスタ2に基づく処理に移行する。
【0070】
レジスタ2上に保持されたアドレスは12345678hである。コントロール1、2には、「アドレスの選択」、「アドレスマスク有の選択」、「アドレスセット数(3バイト)の選択」、「マスクアドレス(A8)の選択」、「CSの常時出力の選択」及び「ALEの出力の選択」等に関するビットコード群が含まれている。
【0071】
よって、「アドレスの選択」に関するビットコードにより、レジスター回路2上のアドレスがメモリ130に出力される状態に設定される。「アドレスマスク有の選択」及び「マスクアドレス(A8)の選択」に関するビットコードにより、マスクアドレスがA8に設定される。「CSの常時出力の選択」に関するビットコードにより、CSの制御信号が引き続いてアクティブとなる。「ALEの出力の選択」及び「アドレスセット数(3バイト)の選択」のビットコードにより、ALE及びWEの制御信号が3回連続してアクティブとなる。
【0072】
この結果、レジスタ2上のアドレスである12345678hをマスクした1Ah、2Bh、78hがメモリ130に順次ライトされ(図7中2−1〜2−3)、メモリ130に対してアドレス121A2B78hが設定される。このようなレジスタ2に基づく前処理及びライト動作が終了すると、レジスタ3に基づく処理に移行する。
【0073】
レジスタ3上に保持されたカウント数は0200hである。コントロール1、2には「データの選択」、「ライトの選択」、「データ変化の選択」、「連続処理の選択」及び「CSの常時出力の選択」等に関するビットコード群が含まれている。
【0074】
よって、「データの選択」及び「データ変化の選択」に関するビットコードにより、レジスター回路1221を経ることなく主装置300から転送されたライトデータがメモリ130に出力される状態に設定される。「CSの常時出力の選択」のビットコードにより、CSの制御信号が引き続いてアクティブとなる。「ライトの選択」及び「連続処理の選択」のビットコードにより、WEの制御信号が1サイクル期間毎に1回アクティブとなり、これがレジスタ3上のカウント数0200hの回数分続けられる一方、この過程でメモリ130内のアドレスが順次インクリメントされる。
【0075】
この結果、主装置300から転送された512個のライトデータがメモリ130のアドレス121A2B78hから121A2D77hにかけて1サイクル期間毎に順次ライトされる(図7中3−1〜3−512)。このようなレジスタ3に基づく前処理及びライト動作が終了すると、レジスタ4に基づく処理に移行する。
【0076】
レジスタ4上に保持されたデータは10h(プログラムコマンド)である。コントロール1、2には、「データの選択」、「ライトの選択」、「データ固定の選択」、「CSの常時出力の選択」及び「CLEの出力の選択」等に関するビットコード群が含まれている。
【0077】
よって、「データの選択」及び「データ固定の選択」に関するビットコードにより、レジスタ4上のデータがメモリ130に出力される状態に設定される。「CSの常時出力の選択」に関するビットコードにより、CSの制御信号が引き続いてアクティブとなる。「CLEの出力の選択」に関するビットコードにより、CLEの制御信号がアクティブとなる。「ライトの選択」に関するビットコードにより、WEの制御信号がアクティブとなる。
【0078】
この結果、レジスター4上のデータである10h(プログラムコマンド)がメモリ130にライトされる(図7中4−1) 。このようなレジスタ4に基づく前処理及びライト動作が終了すると、レジスタ5に基づく処理に移行する。
【0079】
レジスタ5に保持されたコントロール1、2には、「データの選択」、「リードの選択」、「汎用ポート入力の選択」及び「CSの常時出力の選択」等に関するビットコード群が含まれている。
【0080】
よって、「CSの常時出力の選択」に関するビットコードにより、CSの制御信号が引き続いてアクティブとなる。「データの選択」、「リードの選択」及び「1回処理の選択」及び「汎用ポート入力の選択」に関するビットコードにより、メモリ130のR/B信号が1サイクル期間毎に主装置300に順次転送される。
【0081】
この結果、メモリ130のR/B信号が汎用入力回路129、データ出力切り替え回路1211等を通じて主装置300に1サイクル期間毎に順次転送される(図7中5−1、5−2)。図6(C)中5−1で示す時点においてR/B信号がビジィ状態になっているが、1サイクル期間経過後の図6(C)中5−2で示す時点でR/B信号がレディ状態に変化したので、この時点でレジスタ5に基づく処理が終了となる。
【0082】
このようにしてレジスタ1〜5に基づく前処理及びリード/ライト動作が終了すると、1回目のループ処理が終了となる。その後、引き続いてレジスタ1に基づく処理に再び移行し、レジスタ1〜5に基づく処理が上記と同様にして順次行われる。2回目のループ処理を行う際には、メモリ130のアドレスについては、レジスター1〜5上のアドレスではなく、これに処理回数を計数するカウンター回路1222の計数値を加算した値が用いられる。このようなループ処理が繰り返し行われるので、結果として、メモリ130には主装置300から順次転送されたライトデータがアドレス121A2B78hから順番にライトされ、このライト動作が連続して行われることになる。
【0083】
図8及び図9はNAND型フラッシュメモリを代表例とする図2(A)に示すタイプのメモリについてのリード動作の例を示す図である。図8(A)はレジスター回路1221上の各種データの内容、図8(B)は同各種データに含まれるコントロール1、2に含まれるビットコードの内容、図9は同各種データに基づいてリード/ライト制御回路120が動作したときの制御信号等のタイミングチャートを各々示している。
【0084】
このリード動作例の場合、主装置300から5つの各種データ1〜5が転送されレジスター回路1221(レジスタ1〜5)に保持される。
【0085】
レジスタ1上に保持されたアドレス、データ及びカウント数は12345678h、00h(プログラムコマンド)及び0200hである。コントロール1、2には、「アドレス32ビットの選択」、「データの選択」、「ライトの選択」、「データ固定の選択」、「CSのクロック同期出力の選択」、「CLEの出力の選択」及び「カウンター16ビットの選択」等に関するビットコード群が含まれている。
【0086】
よって、「アドレス32ビットの選択」に関するビットコードにより、アドレスバスのビット長が32ビットに設定される。「カウンター16ビットの選択」に関するビットコードにより、カウンター回路1222のカウントビット長が16ビットに設定される。「データの選択」及び「データ固定の選択」に関するビットコードにより、レジスタ1上のデータがメモリ130に出力される状態に設定される。「CSのクロック同期出力の選択」に関するビットコードにより、CSの制御信号が同期クロック(CLKP)に同期してアクティブとなる。「CLEの出力の選択」に関するビットコードにより、CLEの制御信号がアクティブとなる。「ライトの選択」に関するビットコードにより、WEの制御信号がアクティブとなる。
【0087】
この結果、レジスタ1上のデータである00h(プログラムコマンド)がメモリ130にライトされる(図9中1−1) 。このようなレジスタ1に基づく前処理及びライト動作が終了すると、レジスタ2に基づく処理に移行する。
【0088】
レジスタ2上に保持されたアドレスは12345678hである。コントロール1、2には、「アドレスの選択」、「アドレスマスク有の選択」、「アドレスセット数(3バイト)の選択」、「マスクアドレス(A8)の選択」、「CSのクロック同期出力の選択」及び「ALEの出力の選択」等に関するビットコード群が含まれている。
【0089】
よって、「アドレスの選択」に関するビットコードにより、レジスタ2上のアドレスがメモリ130に出力される状態に設定される。「アドレスマスク有の選択」及び「マスクアドレス(A8)の選択」に関するビットコードにより、マスクアドレスがA8に設定される。「CSのクロック同期出力の選択」に関するビットコードにより、CSの制御信号が同期クロック(CLKP)に同期してアクティブとなる。「ALEの出力の選択」及び「アドレスセット数(3バイト)の選択」のビットコードにより、ALEの制御信号がアクティブとなり、WEの制御信号が3回連続してアクティブとなる。
【0090】
この結果、レジスタ2上のアドレスである12345678hをマスクした1Ah、2Bh、78hがメモリ130に順次ライトされ(図9中2−1〜2−3)、メモリ130に対してアドレス121A2B78hが設定される。このようなレジスタ2に基づく前処理及びライト動作が終了すると、レジスタ3に基づく処理に移行する。
【0091】
レジスタ3に保持されたコントロール1、2には、「データの選択」、「リードの選択」、「汎用ポート入力の選択」及び「CSのクロック同期出力の選択」等に関するビットコード群が含まれている。
【0092】
よって、「CSのクロック同期出力の選択」に関するビットコードにより、CSの制御信号が同期クロックに同期してアクティブとなる。「データの選択」、「リードの選択」及び「汎用ポート入力の選択」に関するビットコードにより、メモリ130のR/B信号が1サイクル期間毎に主装置300に順次転送されるように設定される。
【0093】
この結果、メモリ130のR/B信号が汎用入力回路129、データ出力切り替え回路1211等を通じて主装置300に転送される(図9中3−1)。図9中3−1で示す時点においてR/B信号がレディ状態になったので、レジスタ3に基づく処理はこの時点で終了となり、レジスタ4に基づく処理に移行する。
【0094】
レジスタ4上に保持されたカウント数は0200hである。コントロール1、2には「データの選択」、「リードの選択」、「データ変化の選択」、「連続処理の選択」及び「CSの常時出力の選択」及び等に関するビットコード群が含まれている。
【0095】
よって、「データの選択」、「データ変化の選択」及び「リードの選択」に関するビットコードにより、メモリ130のリードデータが主装置300に転送される状態に設定される。「CSの常時出力の選択」に関するビットコードにより、CSの制御信号がアクティブとなり、以後この状態が続けられる。「リードの選択」及び「連続処理の選択」のビットコードにより、WEの制御信号が非アクティブのまま維持される一方、OEの制御信号が1サイクル期間毎に1回アクティブとなり、これがレジスタ4上のカウント数0200hの回数分続けられる。この過程でメモリ130内のアドレスが順次インクリメントされる。
【0096】
この結果、メモリ130に記録されたデータがアドレス121A2B78hから121A2D77hにかけて1サイクル期間毎に順次リードされ(図94−1〜4−512)、データ入力回路128、データ出力切り替え回路1211等を通じて主装置300に順次転送される。このようなレジスタ4に基づく前処理及びリード動作が終了すると、レジスタ5に基づく処理に移行する。
【0097】
レジスタ5に保持されたコントロール1、2には、「データの選択」、「リードの選択」、「汎用ポート入力の選択」及び「CSのクロック同期出力の選択」等に関するビットコード群が含まれている。
【0098】
よって、「CSのクロック同期出力の選択」に関するビットコードにより、CSの制御信号が同期クロック(CLKP)に同期してアクティブとなる。「データの選択」、「リードの選択」及び「汎用ポート入力の選択」に関するビットコードにより、メモリ130のR/B信号が1サイクル期間毎に主装置300に順次転送されるように設定される。
【0099】
この結果、メモリ130のR/B信号が汎用入力回路129、データ出力切り替え回路1211等を通じて主装置300に1サイクル期間毎に順次転送される(図9中5−1、5−2)。図9中5−1で示す時点ではR/B信号がビジィ状態になっているが、1サイクル期間経過後の図9中5−2で示す時点ではR/B信号がレディ状態に変化したので、この時点でレジスタ5に基づく処理が終了となる。
【0100】
このようにしてレジスタ1〜5に基づく前処理及びリード/ライト動作が終了すると、1回目のループ処理が終了となる。その後、引き続いてレジスタ1に基づく処理に再び移行し、レジスタ1〜5に基づく処理が上記と同様にして行われる。2回目のループ処理を行う際には、メモリ130のアドレスについては、レジスタ1〜5上のアドレスではなく、これに処理回数を計数するカウンター回路1222計数値を加算した値が用いられている。このようループ処理が繰り返し行われるので、結果として、メモリ130に記録されたデータがアドレス12345678hから順番にリードされるとともに主装置300に順次転送され、このリード動作が連続して行われる。
【0101】
図10及び図11はNOR型フラッシュメモリを代表例とする図2(B)に示すタイプのメモリについてのバイトライトの動作例を示す図である。図10(A)はレジスター回路1221上の各種データの内容、図10(B)は同各種データに含まれるコントロール1、2に含まれるビットコードの内容、図11は同各種データに基づいてリード/ライト制御回路120が動作したときの制御信号等のタイミングチャートを各々示している。
【0102】
このバイトライト動作例の場合、主装置300から2つの各種データ1、2が転送されレジスター回路1221(レジスタ1、2)に保持される。
【0103】
レジスタ1上に保持されたアドレス、データ及びカウント数は12345678h、40h(プログラムコマンド)及び0001hである。コントロール1、2には「アドレス32ビットの選択」、「ライトの選択」、「データ固定の選択」及び「カウンター16ビットの選択」等に関するビットコード群が含まれている。
【0104】
よって、「アドレス32ビットの選択」に関するビットコードにより、アドレスバスのビット長が32ビットに設定される。「カウンター16ビットの選択」に関するビットコードにより、カウンター回路1222のカウントビット長が16ビットに設定される。「データ固定の選択」に関するビットコードにより、レジスタ1上のデータがメモリ130に出力される状態に設定される。「ライトの選択」に関するビットコードにより、CS及びWEの制御信号がアクティブとなる。
【0105】
この結果、レジスタ1上のデータである40h(プログラムコマンド)がメモリ130にライトされる(図11中1−1) 。このようなレジスタ1に基づく前処理及びライト動作が終了すると、レジスタ2に基づく処理に移行する。
【0106】
レジスタ2上に保持されたアドレス及びカウント数は12345678h及び0001hである。コントロール1、2には「連続処理の選択」、「データ変化の選択」及び「ライトの選択」及び等に関するビットコード群が含まれている。
【0107】
よって、「データ変化の選択」に関するビットコードにより、レジスター回路1221を経ることなく主装置300から転送されたライトデータがメモリ130に出力される状態に設定される。「ライトの選択」及び「連続処理の選択」のビットコードにより、CS及びWEの制御信号が1サイクル期間毎にアクティブとなるものの、レジスタ3上のカウント数が0001hであるので、CS及びWEの制御信号のアクティブは1回だけであり、メモリ130のアドレスも1つ分インクリメントされるに止まる。
【0108】
この結果、主装置300から転送された1個のライトデータがメモリ130のアドレス12345678hにライトされる(図11中2−1)。
【0109】
このようなレジスタ1、2に基づく前処理及びライト動作が終了すると、1回目のループ処理が終了となる。その後、引き続いてレジスタ1に基づく処理に再び移行し、レジスタ1、2に基づく処理が上記と同様にして行われる。2回目のループ処理を行う際には、メモリ130のアドレスについては、レジスタ1、2上のアドレスではなく、これに処理回数を計数するカウンター回路1222計数値を加算した値が用いられている。その結果、メモリ130には、2回目のループ処理により40h(プログラムコマンド)及びライトデータが記録され(図11中1−2、2−2)、3、4、5・・回目のループ処理により40h(プログラムコマンド)及びライトデータが順次記録される(図11中1−3、2−3等)。即ち、メモリ130のアドレス12345678hから順番にライトデータが順次記録され、このライト動作が連続して行われる。
【0110】
図12及び図13はNOR型フラッシュメモリを代表例とする図2(B)に示すタイプのメモリについてのページライトの動作例を示す図である。図12(A)はレジスター回路1221上の各種データの内容、図12(B)は同各種データに含まれるコントロール1、2に含まれるビットコードの内容、図13は同各種データに基づいてリード/ライト制御回路120が動作したときの制御信号等のタイミングチャートを各々示している。
【0111】
このページライト動作例の場合、主装置300から4つの各種データ1〜4が転送されレジスター回路1221(レジスタ1〜4)に保持される。
【0112】
レジスタ1上に保持されたアドレス、データ及びカウント数は12345678h、E8h(プログラムコマンド)及び0020hである。コントロール1、2には「アドレス32ビットの選択」、「ライトの選択」及び「データ固定の選択」及び「カウンター16ビットの選択」等に関するビットコード群が含まれている。
【0113】
よって、「アドレス32ビットの選択」に関するビットコードにより、メモリ130のアドレスバスのビット長が32ビットに設定される。「カウンター16ビットの選択」に関するビットコードにより、カウンター回路1222のカウントビット長が16ビットに設定される。「データ固定の選択」に関するビットコードにより、レジスタ1上のデータがメモリ130に出力される状態に設定される。「ライトの選択」に関するビットコードにより、CS及びWEの制御信号がアクティブとなる。
【0114】
この結果、レジスタ1上のデータであるE8h(プログラムコマンド)がメモリ130にライトされる(図13中1−1) 。このようなレジスタ1に基づく前処理及びライト動作が終了すると、レジスタ2に基づく処理に移行する。
【0115】
レジスタ2上に保持されたデータは1Fh(データ数32バイト)である。コントロール1、2には、「ライトの選択」及び「データ固定の選択」等に関するビットコード群が含まれている。
【0116】
よって、「データ固定の選択」に関するビットコードにより、レジスタ1上のデータがメモリ130に出力される状態に設定される。「ライトの選択」に関するビットコードにより、CS及びWEの制御信号がアクティブとなる。
【0117】
この結果、レジスタ1上のデータである1Fh(データ数32バイト)がメモリ130にライトされる(図13中2−1) 。このようなレジスタ2に基づく前処理及びライト動作が終了すると、レジスタ3に基づく処理に移行する。
【0118】
レジスタ3上に保持されたアドレス及びカウント数は12345678h及び0020hである。コントロール1、2には「連続処理の選択」、「データ変化の選択」及び「ライトの選択」等に関するビットコード群が含まれている。
【0119】
よって、「データ変化の選択」に関するビットコードにより、レジスター回路1221を経ることなく主装置300から転送されたライトデータがメモリ130に出力される状態に設定される。「ライトの選択」及び「連続処理の選択」のビットコードにより、CS及びWEの制御信号が1サイクル期間毎に合計32回アクティブとなり、この過程でメモリ130のアドレスが順次インクリメントされる。
【0120】
この結果、主装置300から転送された32個のライトデータがメモリ130のアドレス12345678hから1234569hにかけて順次ライトされる(図13中3−1〜3−32)。このようなレジスタ3に基づく前処理及びライト動作が終了すると、レジスタ4に基づく処理に移行する。
【0121】
レジスタ4上に保持されたデータはD0h(プログラムコマンド)である。コントロール1、2には、「ライトの選択」及び「データ固定の選択」等に関するビットコード群が含まれている。
【0122】
よって、「データ固定の選択」に関するビットコードにより、レジスタ4上のデータがメモリ130に出力される状態に設定される。「ライトの選択」に関するビットコードにより、CS及びWEの制御信号がアクティブとなる。
【0123】
この結果、レジスタ4上のデータであるD0h(プログラムコマンド)がメモリ130にライトされ(図13中4−1) 、この時点でレジスタ4に基づく前処理及びライト動作が終了する。
【0124】
このようにしてレジスタ1〜4に基づく前処理及びリード/ライト動作が終了すると、1回目のループ処理が終了となる。その後、引き続いてレジスタ1に基づく処理に再び移行し、レジスタ1〜4に基づく処理が上記と同様にして行われる。2回目のループ処理を行う際には、メモリ130のアドレスについては、レジスタ1〜4上のアドレスではなく、これに処理回数を計数するカウンター回路1222計数値を加算した値が用いられる。このようなループ処理が繰り返し行われるので、結果として、メモリ130には主装置300から転送されたライトデータがアドレス12345678hから順番にライトされ、このライト動作が連続して行われる。
【0125】
図14及び図15はNOR型フラッシュメモリを代表例とする図2(B)及び(C)に示すタイプのメモリについてのリード動作例を示す図である。図14(A)はレジスター回路1221上の各種データの内容、図14(B)は同各種データに含まれるコントロール1、2に含まれるビットコードの内容、図15は同各種データに基づいてリード/ライト制御回路120が動作したときの制御信号等のタイミングチャートを各々示している。
【0126】
このリード動作例の場合、主装置300から1つの各種データ1が転送されレジスター回路1221(レジスタ1)に保持される。
【0127】
レジスタ1上に保持されたアドレス及びカウント数は12345678h及び1234hである。コントロール1、2には「アドレス32ビットの選択」、「連続処理の選択」、「データ変化の選択」、「リードの選択」及び「カウンター16ビットの選択」等に関するビットコード群が含まれている。
【0128】
よって、「アドレス32ビットの選択」に関するビットコードにより、メモリ130のアドレスバスのビット長が32ビットに設定される。「カウンター16ビットの選択」に関するビットコードにより、カウンター回路1222のカウントビット長が16ビットに設定される。「データ変化の選択」及び「リードの選択」に関するビットコードにより、メモリ130のリードデータが主装置300に転送される状態に設定される。「リードの選択」及び「連続処理の選択」のビットコードにより、WEの制御信号が非アクティブのまま維持される一方、CS及びOEの制御信号が1サイクル期間毎に1回アクティブとなり、これがレジスタ1上のカウント数1234hの回数分続けられる。この過程でメモリ130のアドレスが順次インクリメントされる。
【0129】
この結果、メモリ130に記録されたデータがアドレス12345678hから1サイクル期間毎に順次リードされ(図15中1−1〜1−6等)、データ入力回路128、データ出力切り替え回路1211等を通じて主装置300に順次転送される。
【0130】
このようなレジスタ1に基づく前処理及びリード動作が終了すると、1回目のループ処理が終了となる。その後、引き続いてレジスタ1に基づく処理に再び移行し、同様のリード動作が行われる。2回目のループ処理を行う際には、メモリ130のアドレスについては、レジスタ1上のアドレスではなく、これに処理回数を計数するカウンター回路1222計数値を加算した値が用いられる。このようなループ処理が繰り返し行われるので、結果として、メモリ130に記録されたデータがアドレス12345678hから1サイクル期間毎に順次リードされ、このリード動作が連続して行われる。
【0131】
図16及び図17はS−RAMを代表例とする図2(C)に示すタイプのメモリについてのライト動作例を示す図である。図16(A)はレジスター回路1221上の各種データの内容、図16(B)は同各種データに含まれるコントロール1、2に含まれるビットコードの内容、図17は同各種データに基づいてリード/ライト制御回路120が動作したときの制御信号等のタイミングチャートを各々示している。
【0132】
このライト動作例の場合、主装置300から1つの各種データ1が転送されレジスター回路1221(レジスタ1)に保持される。
【0133】
レジスタ1上に保持されたアドレス及びカウント数は12345678h及び1234hである。コントロール1、2には「アドレス32ビットの選択」、「連続処理の選択」、「データ変化の選択」、「ライトの選択」及び「カウンター16ビットの選択」等に関するビットコード群が含まれている。
【0134】
よって、「アドレス32ビットの選択」に関するビットコードにより、メモリ130のアドレスバスのビット長が32ビットに設定される。「カウンター16ビットの選択」に関するビットコードにより、カウンター回路1222のカウントビット長が16ビットに設定される。「データ変化の選択」及び「ライトの選択」に関するビットコードにより、主装置300から転送されたライトデータがメモリ130にライトされる状態に設定される。「ライトの選択」及び「連続処理の選択」のビットコードにより、CS及びWEの制御信号が1サイクル期間毎に1回アクティブとなり、これがレジスタ1上のカウント数1234hの回数分続けられる。この過程でメモリ130のアドレスが順次インクリメントされる。
【0135】
この結果、主装置300から転送されたライトデータがメモリ130にアドレス12345678hから1サイクル期間毎に順次ライトされる(図17中1−1〜1−6等)。
【0136】
このようなレジスタ1に基づく前処理及びライト動作が終了すると、1回目のループ処理が終了となる。その後、引き続いてレジスタ1に基づく処理に再び移行し、同様のライト動作が行われる。2回目のループ処理を行う際には、メモリ130のアドレスについては、レジスタ1上のアドレスではなく、これに処理回数を計数するカウンター回路1222計数値を加算した値が用いられる。このようなループ処理が繰り返し行われるので、結果として、主装置300から転送されたライトデータがメモリ130にアドレス12345678hから1サイクル期間毎に順次ライトされ、このライト動作が連続して行われる。
【0137】
なお、S−RAMを代表例とする図2(C)に示すタイプのメモリについてのリード動作例については、図14及び図15で示したNOR型フラッシュメモリを代表例とする図2(B)に示すタイプのメモリについての例と全く同一であるので、その説明については省略する。
【0138】
以下、以上のように構成された無接点メモリカードのリード/ライトシステムの基本的な動作について説明する。
【0139】
まず、リード/ライト装置200に無接点メモリカード100がセットされると、リード/ライト装置200のコイル201〜205と無接点メモリカード100のコイル101〜105とが各々対向する。と同時に、主装置300から出力された命令によりリード/ライト装置200が動作する。これに伴って、リード/ライト装置200により生成された電源電圧及び同期クロックが無接点メモリカード100に供給され、同カードが動作状態となる。
【0140】
主装置300は、無接点メモリカード100に対してデータのリード/ライトを行う前準備を行うために、「アトリビュートリード有の選択」に関するビットコードを有する各種データを無接点メモリカード100に転送する。このコントロールデータを転送する際には、この転送とは別に、セレクトデータを無接点メモリカード100に転送し、各種データがレジスター回路1221に保持されるようにする。すると、「アトリビュートリード有の選択」に関するビットコードにより、アトリビュート入力回路1231にて生成されたメモリの属性を示すデータがデータ出力取り替え回路1211等を通じて主装置300に転送される。
【0141】
もし、メモリの属性を示すデータから判断して、現在の同期クロックの周波数が無接点メモリカード100に搭載されているメモリ130にとって最適なものでないときには、リード/ライト装置200に対して同期クロックの周波数を変更させるための命令を発する。すると、無接点メモリカード100に供給される同期クロックの周波数が変化し、結果として、無接点メモリカード100に供給される同期クロックの周波数が最適なものとなる。
【0142】
また、メモリの属性のデータから無接点メモリカード100に搭載されているメモリ130の種類が判ることから、前処理段階においては、当該メモリの種類に合致し且つ本来のリード/ライトを行うための各種データを生成して無接点メモリカード100に転送し、本動作段階においては、無接点メモリカード100と同期を保ちつつ、ライト時にライトデータを転送する一方、リード時にはメモリ130から読み出されたリードデータ等を入力する。そして、前処理段階において、各種データを無接点メモリカード100のレジスター回路1221に保持させるためのセレクトデータを転送する一方、本動作段階において、無接点メモリカード100との間でライトデータ/リードデータ等の相互転送をするためのセレクトデータを転送する。
【0143】
無接点メモリカード100のリード/ライト制御回路120において、レジスター回路1221上に保持された各種データに基づいてメモリ130に対してリード/ライトが行われることは上述した通りである。また、モード切り替え回路123の設定を通じてコントロール1、2の内容が切り替えられるようになっているので、無接点メモリカード100に図2に示すいずれのタイプのメモリ130が搭載されても適応可能になっている。
【0144】
特に、レジスター回路1221上の各種データを組み合わせることにより、単純な内容でありながら従来多大な時間を必要としていた処理、例えば、固定データを書き込んで読み出す、固定データでカウント数書き込む、同一アドレスに対しプログラムコマンド又は制御データを複数セットする等の処理を容易に行うことが可能になる。また、アドレスバスとデータバスとを分離して用いるNAND型フラッシュメモリ等についてもアドレスセットやデータセット等を容易に行うことも可能になる。
【0145】
上記のように構成された無接点メモリカードのリード/ライトシステムの場合、主装置300から無接点メモリカード100に各種データを転送すると、この各種データに基づいてリード/ライト動作上の前処理を行うようになっている。そのため、メモリ130に与えるアドレス、データ、制御信号及び/又はメモリコントロールを任意に設定したり又は変更させることができ、メモリ130に対して1サイクル期間内に複数回のアクセスを行うことが可能となる。また、プログラムコマンドを与えることが必要なNOR型等のフラッシュメモリについては、プログラムコマンドの与え方も任意に設定することも可能になる。
【0146】
従来例による場合、1バイトのデータをフラッシュメモリに転送するに当たり、16クロック期間中において実際のメモリへのアクセスは4クロック期間だけであり、その後の12クロック期間についてはウェイトとなっていた。これに対して本案システムによる場合、そのウエイト期間においても処理を行うことが可能になり、高速アクセス化が実現される。また、従来単純な内容でありながら多大な時間を必要としていた処理を短時間に行うことが可能であるので、この点で大幅な高速アクセス化が実現される。
【0147】
従来例による場合、無接点メモリカードにS−RAM等に比べてアクセスプロトコルが非常に複雑なフラッシュメモリを搭載したときは、主装置がアクセスに必要な処理を同メモリに対してその都度行う必要があることから、この点で高速アクセス化を図ることが非常に困難となっていた。これに対して本案システムによる場合、主装置300がアクセスに必要な処理をメモリ130に対してその都度行う必要がない。なぜなら、主装置300は、各種データを転送するだけで、無接点メモリカード100においてリード/ライト動作上の前処理が行われ、その後、ライト時にはライトデータを転送し、リード時にはリードデータ等を入力するだけで良いからである。この点で高速アクセス化を実現することが可能になる。また、無接点メモリカード100にCPUを搭載していないことから、消費電力が小さく、無接点メモリカードの薄型化や低コスト化を図ることが可能になる。しかも多品種のメモリに適応可能でありながら、アクセスプロトコルを変更するための制御プログラムが不要であり、この点でも低コスト化を図ることが可能になる。
【0148】
更に、リード/ライト装置200から無接点メモリカード100に電力と同期クロックとが別々に供給される構成となっているので、同期クロックの周波数をメモリ130の種類に合わせて随時変更させても、無接点メモリカード100に供給される電源電圧が変化せず、回路特性が不安定にならない。そのため、無接点メモリカード100に搭載されるメモリ130の種類に合わせて同期クロックの周波数を変更し、アクセス速度を最大に設定することが可能になり、この点で高速アクセス化が実現される。従来、アクセス速度として500Kbps〜1Mbps程度であったが、本案システムの場合、5Mbps程度の高速アクセスを実現することが可能になった。
【0149】
加えて、同期クロック用コイル102等を別途追加する必要があるものの、リード/ライト装置200と無接点メモリカード100との間のデータの送受信がシリアル形式で行われている以上、パラレルで入力する場合に比べて、無接点メモリカード100の寸法や消費電流が大きくならず、無接点メモリカード100にCPUを搭載していない点を含めて、無接点メモリカード100の薄型化及び低コスト化を図ることが可能になる。
【0150】
なお、本発明に係るメモリのリード/ライト制御回路については無接点メモリカードだけの適用に止まらず、マイコン等を代表とするメモリを内蔵した回路にも同様に適用可能である。即ち、レジスター回路上の各種データに基づいてリード/ライト動作上の前処理を行い、この状態で、ライト時には、レジスター回路を経ることなく主装置から転送されたライトデータをメモリに順次ライトさせる一方、リード時には、メモリに記録されたデータを順次リードさせて主装置に転送させる機能を有する限り、各種データの種類、前処理の内容、回路の構成及びメモリの種類等については問われない。
【0151】
本発明に係る無接点メモリカードについては上記実施の形態に限定されることはない。即ち、上記リード/ライト制御回路が搭載されており、リード/ライト装置から電力を入力するための電源用コイルと、リード/ライト装置から同期クロックを入力するための同期クロック用コイルとが別々にされ、主装置からリード/ライト装置を通じて転送されたセレクトデータがセレクト用コイルを通じてシリアル形式で入力され、主装置からリード/ライト装置を通じて転送されたセレクトデータ以外の各種データが入力用コイルを通じてシリアル形式で入力され、リード/ライト装置を通じて主装置に出力すべきリードデータ等が出力用コイルを通じてシリアル形式で出力される構成である限り、コイルの周辺回路の構成等については問われない。
【0152】
本発明に係るリード/ライト装置についても同様である。即ち、主装置に接続されており且つ上記無接点メモリカードがセットされる装置であって、リード/ライト装置から無接点メモリカードに電力を供給するための電源用コイルと、リード/ライト装置から無接点メモリカードに同期クロックを供給するための同期クロック用コイルとが別々にされており、主装置から転送されたセレクトデータがセレクト用コイルを通じてシリアル形式で出力され、主装置から転送されたセレクトデータ以外の各種データが出力用コイルを通じてシリアル形式で出力され、無接点メモリカードから主装置に向けて出力されたリードデータ等が入力用コイルを通じて入力される構成である限り、コイルの周辺回路の構成等については問われない。
【0153】
本発明に係る無接点メモリカードのリード/ライトシステムについても同様である。即ち、主装置、リード/ライト装置と無接点メモリカードとを備えた構成である限り、いかなる形態であってもかまわない。特に、主装置は、無接点メモリカードにおいて各種データをレジスター回路に保持させる前処理段階とレジスター回路に保持された各種データに基づいて前処理及びリード/ライト動作を行わせる本動作段階とを切り替えるためのセレクトデータを生成してリード/ライト装置を通じて無接点メモリカードに転送し、これとは別に、前処理段階においては各種データを生成してリード/ライト装置を通じて無接点メモリカードに転送し、本動作段階においてはライト時に必要なライトデータを生成しリード/ライト装置を通じて無接点メモリカードに転送する一方、リード時には無接点メモリカードからリード/ライト装置を通じて転送された少なくともリードデータを入力する機能を有する限り、どのような構成のものを用いてもかまわない。
【0154】
【発明の効果】
以上、本発明の請求項1、2、3、4又は5に係るメモリのリード/ライト制御回路による場合、主装置から各種データが転送されるだけでリード/ライト動作上の前処理を行い、この状態で、主装置から転送されたデータをメモリに順次ライトさせる一方、メモリに記録されたデータを順次リードさせて主装置に転送させる基本構成となっているので、リード/ライト動作を繰り返し行うに際し、従来に比べて主装置の関与する割合が小さくなる。また、フラッシュメモリを用いたときには、1サイクル期間内に複数回のアクセスを行うことが可能になり、これに伴って、従来ウエイトであった期間にリード/ライト動作を行わせることが可能になる。更に、複数の各種データを組み合わせて前処理及びリード/ライト動作を順次を行うことにより、たとえアクセスプロトコルが複雑なフラッシュメモリであっても簡単に対応することが可能になるだけでなく、単純な内容でありながら従来多大な時間を必要としていた処理が極めて容易且つ短時間に行うことが可能になる。これらの結果、大幅な高速アクセス化が実現される。
【0155】
本発明の請求項6に係るメモリのリード/ライト制御回路による場合、請求項1の構成に加えて、主装置から各種データが転送されるだけでメモリに対するアドレスセットを行う構成となっているので、NAND型フラッシュメモリ等であっても大幅な高速アクセス化が実現される。
【0156】
本発明の請求項7に係るメモリのリード/ライト制御回路による場合、請求項1の構成に加えて、主装置から各種データが転送されるだけで各種制御信号を生成する構成となっているので、多種類のメモリが適応可能になる。また、主装置から各種データが転送されるだけでメモリの属性を示すデータを主装置に転送する構成となっているので、主装置においてメモリの属性を速やかに認識することができ、この点で一層の高速アクセス化を図ることが可能になる。
【0157】
本発明の請求項8に係るメモリのリード/ライト制御回路による場合、請求項7の構成に加えて、主装置から各種データが転送されるだけで予備の制御信号を生成する構成となっているので、新種のメモリが開発されたとしても、従来のメモリとは制御信号の種類が異なるだけであるならば、新種のメモリも適応可能になり、この点で高性能化を図ることが可能になる。
【0158】
本発明の請求項9に係る無接点メモリカードによる場合、請求項1乃至8のメモリのリード/ライト制御回路が搭載された構成となっているので、請求項1乃至8のメリットを奏する。特に、アクセスプロトコルが複雑なフラッシュメモリを用いたときであっても、従来とは異なりCPUを用いる必要がない。そのため、消費電力が小さくなり、この点でカードの薄型化及び低コスト化を図ることが可能になる。また、リード/ライト装置から電力と同期クロックとが別々に供給される構成となっているので、同期クロックの周波数を変更させても、回路特性が不安定にならない。そのため、メモリの種類に合わせて同期クロックの周波数を変更し、アクセス速度を最大に設定することが可能になり、この点でも高速アクセス化が実現される。
【0159】
本発明の請求項10に係るリード/ライト装置による場合、請求項8の無接点メモリカードと組み合わせて使用される構成となっているので、請求項8と同様のメリットを奏する。
【0160】
本発明の請求項11に係る無接点メモリカードのリード/ライトシステムによる場合、請求項9の無接点メモリカードと請求項10のリード/ライト装置と主装置とを有した構成となっているので、請求項9と同様のメリットを奏する。
【図面の簡単な説明】
【図1】本発明の実施の形態を説明するための図であって、無接点メモリカードのリード/ライトシステムの構成図である。
【図2】無接点メモリカードに適応可能なメモリ及びそのバスラインを示す説明図である。
【図3】主装置から無接点メモリカードに転送される各種データの内容を示す説明図である。
【図4】図2(B)及び(C)に示すタイプのメモリについて用いられるコントロール1、2の内容を示す説明図である。
【図5】図2(A)に示すタイプのメモリについて用いられるコントロール1、2の内容を示す説明図である。
【図6】図2(A)に示すタイプのメモリについてのライト動作の例を示す図であって、(A)はレジスター回路上の各種データの内容、(B)は同各種データに含まれるコントロールに含まれるビットコードの内容を各々示す図である。
【図7】図2(A)に示すタイプのメモリについてのライト動作の例を示す図であって、図6(A)に示す各種データに基づいてリード/ライト制御回路が動作したときの制御信号等のタイミングチャートを示す図である。
【図8】図2(A)に示すタイプのメモリについてのリード動作の例を示す図であって、(A)はレジスター回路上の各種データの内容、(B)は同各種データに含まれるコントロールに含まれるビットコードの内容を各々示す図である。
【図9】図2(A)に示すタイプのメモリについてのリード動作の例を示す図であって、図8(A)に示す各種データに基づいてリード/ライト制御回路が動作したときの制御信号等のタイミングチャートを示す図である。
【図10】図2(B)に示すタイプのメモリについてのバイトライト動作の例を示す図であって、(A)はレジスター回路上の各種データの内容、(B)は同各種データに含まれるコントロールに含まれるビットコードの内容を各々示す図である。
【図11】図2(B)に示すタイプのメモリについてのバイトライト動作の例を示す図であって、図10(A)示す各種データに基づいてリード/ライト制御回路が動作したときの制御信号等のタイミングチャートを示す図である。
【図12】図2(B)に示すタイプのメモリについてのページライト動作の例を示す図であって、(A)はレジスター回路上の各種データの内容、(B)は同各種データに含まれるコントロールに含まれるビットコードの内容を各々示す図である。
【図13】図2(B)に示すタイプのメモリについてのページライト動作の例を示す図であって、図12(A)に示す各種データに基づいてリード/ライト制御回路が動作したときの制御信号等のタイミングチャートを示す図である。
【図14】図2(B)及び(C)に示すタイプのメモリについてのリード動作の例を示す図であって、(A)はレジスター回路上の各種データの内容、(B)は同各種データに含まれるコントロールに含まれるビットコードの内容を各々示す図である。
【図15】図2(B)及び(C)に示すタイプのメモリについてのリード動作の例を示す図であって、図14(A)に示す各種データに基づいてリード/ライト制御回路が動作したときの制御信号等のタイミングチャートを示す図である。
【図16】図2(C)に示すタイプのメモリについてのライト動作の例を示す図であって、(A)はレジスター回路上の各種データの内容、(B)は同各種データに含まれるコントロールに含まれるビットコードの内容を各々示す図である。
【図17】図2(C)に示すタイプのメモリについてのライト動作の例を示す図であって、図16(A)に示す各種データに基づいてリード/ライト制御回路が動作したときの制御信号等のタイミングチャートを示す図である。
【符号の説明】
100 無接点メモリカード
101 電源用コイル
102 同期クロック用コイル
103 セレクト用コイル
104 入力用コイル
105 出力用コイル
120 リード/ライト制御回路
122 制御部
1221 レジスター回路
121 データ入力切り替え回路
123 モード切り替え回路
1231 アトリビュート入力回路
130 メモリ
200 リード/ライト装置
201 電源用コイル
202 同期クロック用コイル
203 セレクト用コイル
204 出力用コイル
205 入力用コイル
300 主装置[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a memory read / write control circuit, a non-contact memory card, a read / write device, and a non-contact memory card read / write system suitable for large capacity and high-speed access.
[0002]
[Prior art]
A conventional contactless memory card has the following configuration. The card includes a power / clock coil for supplying power and a synchronous clock from the read / write device, and a read / write signal coil for inputting / outputting a read / write signal from the main device through the read / write device. The basic configuration includes a command coil for inputting a command from the main device through the read / write device.
[0003]
That is, when power and a synchronous clock are supplied to the contactless memory card through the power supply / clock coil, the card is energized to be operable. In this state, when the write command is input through the command coil, the write data similarly input through the write signal coil is recorded in the memory, while when the read command is input through the command coil, the memory is recorded. The recorded data is read out and output through a read signal coil (see, for example, Patent Publication 1).
[0004]
[Patent Publication 1]
Japanese Patent Laid-Open No. 62-8281 (FIG. 1)
[0005]
[Problems to be solved by the invention]
However, in the case of the conventional example, the following problems have been pointed out. First, since the power and the synchronous clock are supplied to the contactless memory card through one power source / clock coil, the circuit characteristics become unstable if the frequency of the synchronous clock is changed according to the type of memory as needed. Sometimes. Therefore, the frequency of the synchronous clock is set according to the memory with the slowest access speed, not the memory with the fastest access speed, and it is difficult to realize high-speed access in this respect.
[0006]
However, if read / write data and the like are input in parallel from the read / write device, it is possible to achieve high-speed access as much as it is not necessary to perform serial / parallel conversion in the memory card. Not only does this increase the data reliability, but the size and current consumption of the memory card increase, making it difficult to reduce the size and cost of the card.
[0007]
In addition, when a non-contact memory card is equipped with a flash memory whose access protocol is much more complicated than that of S-RAM, etc., when generating control signals at the time of address setting and data setting in the non-contact memory card, Since the apparatus is involved each time, it is very difficult to achieve high-speed access in this respect. On the other hand, when a CPU is mounted on a contactless memory card, high-speed access can be achieved, but power consumption increases, making it difficult to reduce the thickness and cost of the contactless memory card. Yes. In addition, a control program for changing the access protocol according to the type of memory is required, which also increases the cost.
[0008]
Furthermore, when transferring 1-byte data to the memory, the memory is accessed only once during one cycle period, and the other periods are a wait. This is also a major factor that hinders high-speed access.
[0009]
The present invention has been created under the above-described background, and its object is to provide a memory read / write control circuit, a contactless memory card, and a read / write device capable of solving the above-described problems. And a read / write system for a contactless memory card.
[0010]
[Means for Solving the Problems]
The memory read / write control circuit of the present invention has a register circuit for holding various data including at least the address, data and control data transferred from the main device, and based on the various data. For memory A control unit for performing control necessary for the read / write operation; A data output circuit that is connected to the subsequent stage of the register circuit and outputs data on the register circuit to a memory in response to an instruction from a control unit; The control unit comprises If the control data on the register circuit contains a code related to data fix selection, the data on the register circuit is set to be output to the memory, while the control data on the register circuit is selected for data change. When the code related to the data is included, the write data transferred from the main device without passing through the register circuit has a function of setting so that the memory is sequentially written to the memory. It is composed
[0011]
When various data and write data are transferred in a time-sharing manner from the main apparatus using a common line, the following read / write control circuit may be used. That is, it has a register circuit for holding various data including at least the address, data and control data transferred from the main device, and based on the various data For memory A control unit for performing control necessary for the read / write operation; Based on the select data provided in the previous stage of the register circuit and transferred separately from the various data from the main unit Various data transferred from the main unit The output destination from the register circuit to the memory A data input switching circuit; A data output circuit connected to a subsequent stage of the register circuit and receiving a command from the control unit and outputting data on the register circuit to a memory; The control unit comprises When the control data on the register circuit includes a code related to data fixing selection, the data on the register circuit is set to be output to the memory, while the control data on the register circuit changes data. When the code relating to the selection is included, the write data transferred from the main unit without passing through the register circuit has a function of setting to sequentially write to the memory. It has a configuration.
[0012]
Preferably, the controller is Write selection for control data on register circuit Concerning When a code is included, the memory is set to be written. When the control data on the register circuit includes a code related to read selection, the memory is read. Had the function to set It is desirable to use a configuration.
Further, it is preferable to provide an address output circuit that receives an instruction from the control unit, generates an address signal, and outputs the address signal to the memory. In this case, when the control data on the register circuit includes a code related to the address setting, the control unit sets the bit length of the address bus line between the address output circuit and the memory according to the setting. It has a configuration with a function to It is desirable to use one.
Further, the control unit can hold various data sequentially transferred from the main apparatus in n (n ≧ 1)
[0013]
Preferably, the controller is When the read / write operation is repeated It has a counter circuit that counts the number of read / write processes, and the control data on the register circuit is a code related to one-time processing. But Included When it is While the read / write operation performed based on the various data is performed only once, On the register circuit Code for continuous processing in control data But Included Is In some cases, it is desirable to use a configuration having a function of performing a read / write operation performed based on the various data as many times as the number of counts included in the various data.
[0014]
Preferably, the control unit includes a code related to the address set in the control data on the register circuit. But Including Rarely When you are Concerned For control data Included Address setting, selection of presence / absence of address mask, selection of number of address sets, selection of mask address, selection of presence / absence of transfer of data indicating memory attribute to main device, and selection of output of various control signals (CS Clock synchronization output / always output selection) The address set for the memory is set according to the control code, and when the control data on the register circuit includes a code related to the data set, it is included in the control data. Address setting, memory control setting, data change / fixed setting, selection of whether or not to output various control signals (including selection of CS clock synchronous output / always output), and R / B signal main unit Code for selecting whether or not to transfer Set the data set for the memory according to It is desirable to use a configuration having a function.
[0015]
Preferably, the type of memory to be used among the applicable memories is set and input. The switch outputs the setting result as a signal to the control unit Mode switching circuit and attribute input circuit that generates data indicating the memory attribute based on the memory type setting It is good to have. in this case, The control unit is a code related to the output of various control signals to the control data on the register circuit. But Including Rarely When the control signal to be output to the memory is activated, the code relating to the transfer of the data indicating the attribute of the memory to the control data to the main device is activated. But Including Rarely If it is, it is desirable to use one having a function of transferring data generated by the attribute input circuit to the main device.
[0016]
The control unit is a code related to the output of the spare control signal to the control data on the register circuit. But Including Rarely When it is, it is desirable to use a device having a function of activating the control signal to be output to the memory.
[0017]
The contactless memory card of the present invention includes a power supply coil for inputting power from a read / write device, a synchronous clock coil for inputting a synchronous clock from the read / write device, and a read / write device from the main device. A selection coil for inputting select data transferred through the serial device in a serial format, an input coil for inputting various data transferred from the main device through the read / write device in a serial format, and a read / write device. And an output coil for outputting read data to be transferred to the main device in a serial format.
[0018]
A read / write device of the present invention is a device connected to a main device and in which the contactless memory card is set, a power supply coil for supplying power to the contactless memory card, a contactless The synchronous clock coil for supplying the synchronous clock to the memory card and the select data transferred from the main unit Above Select coil for serial output to contactless memory card, output coil to output various data transferred from main device to contactless memory card in serial format, and main device from contactless memory card And an input coil for inputting at least the read data transferred to the terminal in a serial format.
[0019]
A contactless memory card read / write system according to the present invention includes the contactless memory card, the read / write device, and a main device connected to the read / write device. Select data for switching between a preprocessing stage for holding various data in the register circuit in the memory card and a main operation stage for performing preprocessing and read / write operations based on the various data held in the register circuit. It is transferred to the contactless memory card through the read / write device. Separately, various data is generated in the preprocessing stage and transferred to the contactless memory card through the read / write device. Read data is generated and transferred to a contactless memory card through a read / write device, while read And it has a configuration for inputting at least read data transferred from the non-contact memory card via the read / write device to.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a read / write system of a contactless memory card, FIG. 2 is an explanatory diagram showing a memory and its bus line applicable to the contactless memory card, and FIG. 3 is transferred from the main device to the contactless memory card. 4 is an explanatory diagram showing the contents of various types of data, FIG. 4 is an explanatory diagram showing the contents of
[0021]
The non-contact memory card read / write system shown here includes a
[0022]
The
[0023]
The read / write device 200 is a device that serves as an interface between the
[0024]
That is, the read / write device 200 includes a power supply coil 201 for inputting power to the
[0025]
In addition to the coils 201 to 205, the following circuits are provided. That is, in order to supply power to the
[0026]
In the read / write device 200 configured as described above, most of the circuits other than the coils 201 to 205 are formed by a gate array.
[0027]
On the other hand, the
[0028]
The
[0029]
In the read / write device 200 configured as described above, most of the circuits other than the
[0030]
The read / write control circuit 120 operates based on the selection data input through the
[0031]
The read / write control circuit 120 is provided in the preceding stage of the
[0032]
The read / write control circuit 120 can be adapted to the three types of memories shown in FIG. FIG. 2A illustrates a type of memory in which an address bus and a data bus are shared and a special control signal is required. A typical example is a NAND flash memory. 2B and 2C are types of memory in which an address bus and a data bus are separated and a special control signal is unnecessary, and typical examples include a NOR flash memory and an S-RAM. However, for convenience of explanation, a NAND flash memory is shown as the memory 130 in FIG.
[0033]
Hereinafter, the detailed configuration of each circuit constituting the read / write control circuit 120 will be described.
[0034]
The data
[0035]
The
[0036]
That is, preprocessing for read / write operation is performed based on
[0037]
In other words, the
[0038]
The various data transferred from the
[0039]
As described above, when various data is held in the register circuit 1221, the contents of the preprocessing performed based on the various data, and thus the contents of the read / write operation, are determined. However, the contents of the
[0040]
In the case where the
[0041]
In the case of the type of memory shown in FIG. 2 (A), unlike the type shown in FIGS. 2 (B) and 2 (C), the
[0042]
Hereinafter, the configuration of the
[0043]
The
[0044]
The
[0045]
The bit length of the address bus line between the
[0046]
A bit read / write operation for the memory 130 is performed once through the bit code related to “selection of one-time processing” of the
[0047]
Through the bit code relating to “selection of continuous processing” of the
[0048]
The following preprocessing is performed only when the setting of the type of the memory 130 indicates the type of memory shown in FIG. That is, the address is set to be output to the memory 130 through the bit code regarding “address selection” of the
[0049]
Note that the count bit length of the
[0050]
The
[0051]
The data on the register circuit 1221 is set to be output to the memory 130 through the bit code related to “selection of data fixation” of the
[0052]
The following preprocessing is performed only when the setting of the type of the memory 130 indicates the type of memory shown in FIG. That is, the data on the register circuit 1221 or the write data transferred from the
[0053]
The
[0054]
The CS and WE control signals are activated through the bit code relating to “write selection” of the
[0055]
However, when the setting of the type of the memory 130 indicates a memory of the type shown in FIG. 2A, the bit code relating to “selection of CS clock synchronous output / always output” of
[0056]
The general-purpose
[0057]
The general-purpose
[0058]
The
[0059]
The general-
[0060]
The
[0061]
The data
[0062]
The output of the
[0063]
The output of the general-
[0064]
Hereinafter, an example of the read / write operation of the read / write control circuit 120 configured as described above will be described with reference to FIGS.
[0065]
6 and 7 are diagrams showing an example of a write operation for the memory of the type shown in FIG. 2A with a NAND flash memory as a representative example. 6A shows the contents of various data on the register circuit 1221. FIG. 6B shows the contents of bit codes included in the
[0066]
In the case of this write operation example, five kinds of
[0067]
The addresses, data, and counts held on the
[0068]
Therefore, the bit length of the address bus is set to 32 bits by the bit code related to “selection of 32-bit address”. The count bit length of the
[0069]
As a result, 80h (program command) as data on the
[0070]
The address held on
[0071]
Therefore, the bit code related to “address selection” is set to a state in which the address on the
[0072]
As a result, 1Ah, 2Bh, and 78h masking 12345678h that is the address on the
[0073]
The count number held on the register 3 is 0200h.
[0074]
Therefore, the bit code related to “data selection” and “data change selection” is set so that the write data transferred from the
[0075]
As a result, 512 pieces of write data transferred from the
[0076]
The data held on the register 4 is 10h (program command).
[0077]
Therefore, the bit code related to “data selection” and “data fixed selection” is set to a state in which data on the register 4 is output to the memory 130. The CS control signal is subsequently activated by the bit code relating to “CS always output selection”. The CLE control signal is activated by the bit code related to “selection of CLE output”. The WE control signal is activated by the bit code relating to “selection of light”.
[0078]
As a result, 10h (program command) as data on the register 4 is written to the memory 130 (4-1 in FIG. 7). When such pre-processing and write operation based on the register 4 are completed, the process proceeds to processing based on the register 5.
[0079]
[0080]
Therefore, the CS control signal is subsequently activated by the bit code relating to “CS always output selection”. The R / B signal of the memory 130 is sequentially sent to the
[0081]
As a result, the R / B signal of the memory 130 is sequentially transferred to the
[0082]
Thus, when the preprocessing and the read / write operation based on the
[0083]
FIG. 8 and FIG. 9 are diagrams showing an example of the read operation for the memory of the type shown in FIG. 2A with a NAND flash memory as a representative example. 8A shows the contents of various data on the register circuit 1221. FIG. 8B shows the contents of bit codes contained in the
[0084]
In the case of this read operation example, five
[0085]
The addresses, data, and counts held on the
[0086]
Therefore, the bit length of the address bus is set to 32 bits by the bit code related to “selection of 32-bit address”. The count bit length of the
[0087]
As a result, 00h (program command) as data on the
[0088]
The address held on
[0089]
Therefore, the bit code relating to “address selection” is set so that the address on the
[0090]
As a result, 1Ah, 2Bh, and 78h masking 12345678h, which is the address on
[0091]
[0092]
Therefore, the CS control signal becomes active in synchronization with the synchronous clock by the bit code relating to “selection of CS clock synchronous output”. The bit code relating to “data selection”, “read selection”, and “general-purpose port input selection” is set so that the R / B signal of the memory 130 is sequentially transferred to the
[0093]
As a result, the R / B signal of the memory 130 is transferred to the
[0094]
The count number held on the register 4 is 0200h.
[0095]
Therefore, the read data of the memory 130 is set to a state to be transferred to the
[0096]
As a result, the data recorded in the memory 130 is sequentially read from the address 121A2B78h to 121A2D77h for each cycle period (FIGS. 94-1 to 4-512), and the
[0097]
[0098]
Therefore, the CS control signal becomes active in synchronization with the synchronous clock (CLKP) by the bit code relating to “selection of CS clock synchronous output”. The bit code relating to “data selection”, “read selection”, and “general-purpose port input selection” is set so that the R / B signal of the memory 130 is sequentially transferred to the
[0099]
As a result, the R / B signal of the memory 130 is sequentially transferred to the
[0100]
Thus, when the preprocessing and the read / write operation based on the
[0101]
FIG. 10 and FIG. 11 are diagrams showing an example of byte write operation for the type of memory shown in FIG. 2B, with a NOR flash memory as a representative example. FIG. 10A shows the contents of various data on the register circuit 1221. FIG. 10B shows the contents of bit codes included in the
[0102]
In the case of this byte write operation example, two kinds of
[0103]
The addresses, data, and counts held on the
[0104]
Therefore, the bit length of the address bus is set to 32 bits by the bit code related to “selection of 32-bit address”. The count bit length of the
[0105]
As a result, 40h (program command) as data on the
[0106]
The addresses and count numbers held on the
[0107]
Therefore, the bit code related to “selection of data change” is set so that the write data transferred from the
[0108]
As a result, one write data transferred from the
[0109]
When the preprocessing and the write operation based on the
[0110]
FIG. 12 and FIG. 13 are diagrams showing an example of page write operation for the type of memory shown in FIG. 2B, with a NOR flash memory as a representative example. 12A shows the contents of various data on the register circuit 1221. FIG. 12B shows the contents of bit codes included in the
[0111]
In the case of this page write operation example, four kinds of
[0112]
The address, data, and count number held on the
[0113]
Therefore, the bit length of the address bus of the memory 130 is set to 32 bits by the bit code related to “selection of 32-bit address”. The count bit length of the
[0114]
As a result, E8h (program command), which is data on the
[0115]
The data held on the
[0116]
Therefore, the bit code relating to “data fixed selection” is set to a state in which the data on the
[0117]
As a result, 1Fh (data count of 32 bytes), which is data on the
[0118]
Addresses and count numbers held on the register 3 are 12345678h and 0020h.
[0119]
Therefore, the bit code related to “selection of data change” is set so that the write data transferred from the
[0120]
As a result, the 32 write data transferred from the
[0121]
The data held on the register 4 is D0h (program command).
[0122]
Therefore, the data on the register 4 is set to be output to the memory 130 by the bit code related to “data fixed selection”. The CS and WE control signals are activated by the bit code relating to “selection of light”.
[0123]
As a result, D0h (program command), which is data on the register 4, is written to the memory 130 (4-1 in FIG. 13), and the preprocessing and write operation based on the register 4 are completed at this point.
[0124]
In this way, when the preprocessing and the read / write operation based on the
[0125]
14 and 15 are diagrams showing an example of a read operation for the type of memory shown in FIGS. 2B and 2C, in which a NOR flash memory is a representative example. 14A shows the contents of various data on the register circuit 1221. FIG. 14B shows the contents of bit codes contained in the
[0126]
In the case of this read operation example, one piece of
[0127]
The addresses and count numbers held on the
[0128]
Therefore, the bit length of the address bus of the memory 130 is set to 32 bits by the bit code related to “selection of 32-bit address”. The count bit length of the
[0129]
As a result, the data recorded in the memory 130 is sequentially read from the address 12345678h every cycle period (1-1 to 1-6 in FIG. 15), and the main device through the
[0130]
When the preprocessing and the read operation based on the
[0131]
FIG. 16 and FIG. 17 are diagrams showing an example of the write operation for the memory of the type shown in FIG. 16A shows the contents of various data on the register circuit 1221. FIG. 16B shows the contents of bit codes included in the
[0132]
In the case of this write operation example, one piece of
[0133]
The addresses and count numbers held on the
[0134]
Therefore, the bit length of the address bus of the memory 130 is set to 32 bits by the bit code related to “selection of 32-bit address”. The count bit length of the
[0135]
As a result, the write data transferred from the
[0136]
When such preprocessing and write operation based on the
[0137]
Note that for a read operation example of the type of memory shown in FIG. 2C using S-RAM as a representative example, FIG. 2B showing the NOR flash memory shown in FIG. 14 and FIG. 15 as a representative example. The description of the type of memory shown in FIG.
[0138]
The basic operation of the contactless memory card read / write system configured as described above will be described below.
[0139]
First, when the
[0140]
The
[0141]
If the current synchronous clock frequency is not optimal for the memory 130 mounted on the
[0142]
Further, since the type of the memory 130 mounted on the
[0143]
As described above, the read / write control circuit 120 of the
[0144]
In particular, by combining various data on the register circuit 1221, processing that has been simple but has required a lot of time in the past, for example, writing and reading fixed data, writing a count number with fixed data, for the same address Processing such as setting a plurality of program commands or control data can be easily performed. It is also possible to easily perform address setting, data setting, etc. for a NAND flash memory that uses an address bus and a data bus separately.
[0145]
In the case of the non-contact memory card read / write system configured as described above, when various data is transferred from the
[0146]
According to the conventional example, when transferring 1-byte data to the flash memory, the actual access to the memory is only 4 clock periods during the 16 clock period, and the subsequent 12 clock periods are a wait. On the other hand, according to the proposed system, processing can be performed even during the wait period, and high-speed access can be realized. In addition, since it is possible to perform processing that has conventionally required a lot of time with simple contents in a short time, a large speed access can be realized in this respect.
[0147]
In the case of the conventional example, when a non-contact memory card is equipped with a flash memory whose access protocol is much more complicated than S-RAM, the main device needs to perform processing necessary for access to the memory each time. Therefore, it has been very difficult to achieve high-speed access in this respect. On the other hand, according to the proposed system, the
[0148]
Furthermore, since power and a synchronous clock are separately supplied from the read / write device 200 to the
[0149]
In addition, the
[0150]
Note that the memory read / write control circuit according to the present invention is not limited to the application of a contactless memory card, and can be similarly applied to a circuit incorporating a memory such as a microcomputer. That is, preprocessing for read / write operation is performed based on various data on the register circuit, and in this state, the write data transferred from the main unit is sequentially written to the memory without passing through the register circuit. At the time of reading, as long as it has a function of sequentially reading the data recorded in the memory and transferring it to the main device, the type of various data, the contents of preprocessing, the configuration of the circuit, the type of memory, etc. are not questioned.
[0151]
The contactless memory card according to the present invention is not limited to the above embodiment. That is, the read / write control circuit is mounted, and the power supply coil for inputting power from the read / write device and the synchronous clock coil for inputting the synchronous clock from the read / write device are separately provided. The select data transferred from the main device through the read / write device is input in a serial format through the select coil, and various data other than the select data transferred from the main device through the read / write device is serialized through the input coil. As long as the read data to be output to the main device through the read / write device is output in serial form through the output coil, the configuration of the peripheral circuit of the coil is not questioned.
[0152]
The same applies to the read / write device according to the present invention. That is, a device that is connected to the main device and in which the contactless memory card is set, the power supply coil for supplying power from the read / write device to the contactless memory card, and the read / write device. The synchronous clock coil for supplying the synchronous clock to the contactless memory card is separated, and the select data transferred from the main unit is output in serial form through the select coil, and the select transferred from the main unit As long as various data other than data are output in serial form through the output coil, and read data output from the contactless memory card to the main unit is input through the input coil, the peripheral circuit of the coil It does not matter about the configuration.
[0153]
The same applies to the read / write system of the contactless memory card according to the present invention. That is, any configuration may be used as long as the main device, the read / write device, and the contactless memory card are provided. In particular, the main device switches between a preprocessing stage in which various data is held in the register circuit in the contactless memory card and a main operation stage in which preprocessing and read / write operations are performed based on the various data held in the register circuit. In addition to this, select data is generated and transferred to the contactless memory card through the read / write device. Separately, in the preprocessing stage, various data is generated and transferred to the contactless memory card through the read / write device. In this operation stage, the write data required for writing is generated and transferred to the contactless memory card through the read / write device, while at least the read data transferred from the contactless memory card through the read / write device is input at the time of reading. As long as you have .
[0154]
【The invention's effect】
As described above, in the case of the memory read / write control circuit according to the first, second, third, fourth, or fifth aspect of the present invention, the preprocessing on the read / write operation is performed only by transferring various data from the main device In this state, the data transferred from the main device is sequentially written to the memory, while the data recorded in the memory is sequentially read and transferred to the main device, so the read / write operation is repeated. At this time, the proportion of the main apparatus involved is smaller than that of the conventional apparatus. Further, when a flash memory is used, it is possible to perform a plurality of accesses within one cycle period, and accordingly, it becomes possible to perform a read / write operation during a period of a conventional wait. . Furthermore, by combining a plurality of various data and sequentially performing preprocessing and read / write operations, not only can a flash memory with a complicated access protocol be easily handled, but also a simple Although it is the content, the processing which has conventionally required a great amount of time can be performed very easily and in a short time. As a result, significant high speed access is realized.
[0155]
In the case of the memory read / write control circuit according to claim 6 of the present invention, in addition to the configuration of
[0156]
In the memory read / write control circuit according to the seventh aspect of the present invention, in addition to the configuration of the first aspect, various control signals are generated only by transferring various data from the main unit. Many types of memory can be adapted. In addition, since the data indicating the memory attribute is transferred to the main device simply by transferring various data from the main device, the main device can quickly recognize the memory attribute. It becomes possible to achieve higher speed access.
[0157]
In the memory read / write control circuit according to
[0158]
In the case of the contactless memory card according to claim 9 of the present invention, since the memory read / write control circuit according to
[0159]
In the case of the read / write device according to the tenth aspect of the present invention, since it is configured to be used in combination with the contactless memory card according to the eighth aspect, the same advantages as in the eighth aspect are obtained.
[0160]
According to the non-contact memory card read / write system of the eleventh aspect of the present invention, the non-contact memory card has the non-contact memory card of the ninth aspect, the read / write device of the tenth aspect, and the main apparatus. The same advantages as those of the ninth aspect are obtained.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining an embodiment of the present invention, and is a block diagram of a read / write system for a contactless memory card.
FIG. 2 is an explanatory diagram showing a memory applicable to a contactless memory card and its bus line.
FIG. 3 is an explanatory diagram showing the contents of various data transferred from the main device to the contactless memory card.
4 is an explanatory diagram showing the contents of
FIG. 5 is an explanatory diagram showing the contents of
6 is a diagram showing an example of a write operation for the memory of the type shown in FIG. 2A, where FIG. 6A is the contents of various data on the register circuit, and FIG. 6B is included in the various data. It is a figure which shows each the content of the bit code contained in control.
7 is a diagram showing an example of a write operation for a memory of the type shown in FIG. 2A, and is a control when a read / write control circuit is operated based on various data shown in FIG. 6A. It is a figure which shows timing charts, such as a signal.
8 is a diagram showing an example of a read operation for the type of memory shown in FIG. 2 (A), where (A) is the contents of various data on the register circuit, and (B) is included in the various data. It is a figure which shows each the content of the bit code contained in control.
9 is a diagram showing an example of a read operation for the type of memory shown in FIG. 2A, and is a control when the read / write control circuit is operated based on various data shown in FIG. 8A. It is a figure which shows timing charts, such as a signal.
10A and 10B are diagrams showing examples of byte write operations for the type of memory shown in FIG. 2B, where FIG. 10A shows the contents of various data on the register circuit, and FIG. It is a figure which shows each the content of the bit code contained in the control to be performed.
11 is a diagram showing an example of a byte write operation for the type of memory shown in FIG. 2B, and is a control when the read / write control circuit is operated based on various data shown in FIG. It is a figure which shows timing charts, such as a signal.
FIGS. 12A and 12B are diagrams showing an example of a page write operation for a memory of the type shown in FIG. 2B, where FIG. 12A shows the contents of various data on the register circuit, and FIG. It is a figure which shows each the content of the bit code contained in the control to be performed.
13 is a diagram showing an example of a page write operation for a memory of the type shown in FIG. 2B, when the read / write control circuit is operated based on various data shown in FIG. It is a figure which shows timing charts, such as a control signal.
FIGS. 14A and 14B are diagrams showing an example of a read operation for the type of memory shown in FIGS. 2B and 2C, where FIG. 14A shows the contents of various data on the register circuit, and FIG. It is a figure which shows each the content of the bit code contained in the control contained in data.
15 is a diagram showing an example of a read operation for the type of memory shown in FIGS. 2B and 2C, in which the read / write control circuit operates based on various data shown in FIG. 14A. It is a figure which shows a timing chart of the control signal etc. at the time of doing.
FIGS. 16A and 16B are diagrams showing an example of a write operation for the memory of the type shown in FIG. 2C, where FIG. 16A shows the contents of various data on the register circuit, and FIG. It is a figure which shows each the content of the bit code contained in control.
17 is a diagram showing an example of a write operation for the memory of the type shown in FIG. 2C, and is a control when the read / write control circuit is operated based on various data shown in FIG. It is a figure which shows timing charts, such as a signal.
[Explanation of symbols]
100 contactless memory card
101 Coil for power supply
102 Coil for synchronous clock
103 Select coil
104 Coil for input
105 Output coil
120 Read / write control circuit
122 Control unit
1221 Register circuit
121 Data input switching circuit
123 Mode switching circuit
1231 Attribute input circuit
130 memory
200 Read / write device
201 Coil for power supply
202 Coil for synchronous clock
203 Coil for selection
204 Output coil
205 Input coil
300 Main unit
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002272328A JP4160808B2 (en) | 2002-09-18 | 2002-09-18 | Memory read / write control circuit, contactless memory card, read / write device, and contactless memory card read / write system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002272328A JP4160808B2 (en) | 2002-09-18 | 2002-09-18 | Memory read / write control circuit, contactless memory card, read / write device, and contactless memory card read / write system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004110436A JP2004110436A (en) | 2004-04-08 |
JP4160808B2 true JP4160808B2 (en) | 2008-10-08 |
Family
ID=32269369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002272328A Expired - Lifetime JP4160808B2 (en) | 2002-09-18 | 2002-09-18 | Memory read / write control circuit, contactless memory card, read / write device, and contactless memory card read / write system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4160808B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142093A (en) * | 2011-03-24 | 2011-08-03 | 青岛海信移动通信技术股份有限公司 | Operation method and device for memory card |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5045229B2 (en) * | 2007-05-14 | 2012-10-10 | 富士ゼロックス株式会社 | Storage system and storage device |
US9208108B2 (en) | 2008-12-19 | 2015-12-08 | Nvidia Corporation | Method and system for improved flash controller commands selection |
US8732350B2 (en) | 2008-12-19 | 2014-05-20 | Nvidia Corporation | Method and system for improving direct memory access offload |
US9594675B2 (en) | 2009-12-31 | 2017-03-14 | Nvidia Corporation | Virtualization of chip enables |
US9465728B2 (en) * | 2010-11-03 | 2016-10-11 | Nvidia Corporation | Memory controller adaptable to multiple memory devices |
CN110413224A (en) * | 2019-06-26 | 2019-11-05 | 深圳佰维存储科技股份有限公司 | Data storage method and device and memory |
-
2002
- 2002-09-18 JP JP2002272328A patent/JP4160808B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142093A (en) * | 2011-03-24 | 2011-08-03 | 青岛海信移动通信技术股份有限公司 | Operation method and device for memory card |
Also Published As
Publication number | Publication date |
---|---|
JP2004110436A (en) | 2004-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5732250A (en) | Multi-function microprocessor wait state mechanism using external control line | |
US5423009A (en) | Dynamic sizing bus controller that allows unrestricted byte enable patterns | |
US20040054864A1 (en) | Memory controller | |
US6907514B2 (en) | Microcomputer and microcomputer system | |
US7165126B2 (en) | Direct memory access device | |
JP2000076066A (en) | Signal processing circuit | |
JP4160808B2 (en) | Memory read / write control circuit, contactless memory card, read / write device, and contactless memory card read / write system | |
JPH0528097A (en) | Microprocessor | |
CN106980587B (en) | General input/output time sequence processor and time sequence input/output control method | |
US7747832B2 (en) | Method for controlling a memory access | |
JPH06103225A (en) | Chain type dma system and dma controller therefor | |
JPH0844560A (en) | Memory control circuit and integrated circuit element incorporating this circuit | |
CN114641763B (en) | Protocol converter module system and method for using the same | |
CN112835842A (en) | Terminal sequence processing method, circuit, chip and electronic terminal | |
WO2021089303A1 (en) | Protocol translator module system and method using said protocol translator module system | |
JP2933848B2 (en) | Data processing device | |
SU1737440A1 (en) | Device for software processing of digital data | |
WO2004051465A2 (en) | Data processing device with microprocessor and with additional arithmetic unit and associated method | |
CN109558076A (en) | A kind of configurable virtual SPI-FLASH | |
JP2005209224A (en) | Direct memory access device | |
WO1995022110A1 (en) | Write-read data operation for microprocessor | |
JPH09167148A (en) | Data processor | |
JPH0567035A (en) | Data alignment system for dma transfer | |
JPH0375957A (en) | Dma transfer control system | |
JPH1173315A (en) | Variable length instruction processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050916 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070907 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080415 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080616 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080715 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080718 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4160808 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130725 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |