JP2003216507A - Storage capacity processing system - Google Patents

Storage capacity processing system

Info

Publication number
JP2003216507A
JP2003216507A JP2002013564A JP2002013564A JP2003216507A JP 2003216507 A JP2003216507 A JP 2003216507A JP 2002013564 A JP2002013564 A JP 2002013564A JP 2002013564 A JP2002013564 A JP 2002013564A JP 2003216507 A JP2003216507 A JP 2003216507A
Authority
JP
Japan
Prior art keywords
memory
address
volatile memory
data
unusable
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.)
Withdrawn
Application number
JP2002013564A
Other languages
Japanese (ja)
Inventor
Hideki Nishii
英樹 西井
Hiroshi Kubo
博 久保
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002013564A priority Critical patent/JP2003216507A/en
Publication of JP2003216507A publication Critical patent/JP2003216507A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To simplify data processing of a memory control part and to reduce the cost. <P>SOLUTION: A nonvolatile semiconductor memory 5 stores addresses of a usable block and an unusable block in a memory inside and is provided with an address conversion table 3, or address conversion means for converting the address based on the addresses of the usable region and unusable regions, so as not to access to the address in the unusable region. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、不揮発性メモリが
搭載された記憶装置を備えた記憶容量処理システムに関
し、特に、マイクロコンピュータのプログラムメモリと
して不良ブロックを有する不揮発性メモリでも搭載可能
な記憶装置を備えた記憶容量処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage capacity processing system provided with a storage device having a nonvolatile memory mounted thereon, and more particularly to a storage device capable of mounting a nonvolatile memory having a defective block as a program memory of a microcomputer. The present invention relates to a storage capacity processing system provided with.

【0002】[0002]

【従来の技術】不揮発性メモリを記憶媒体とした記憶装
置は、耐衝撃性が良好であって、低消費電力、小型軽量
である等の特徴を備えており、近年、情報機器、画像機
器等への使用が急速に高まっており、これに伴い不揮発
性メモリの大容量化および低価格化が図られている。
2. Description of the Related Art A storage device using a non-volatile memory as a storage medium has features such as good shock resistance, low power consumption, and small size and light weight. The use of the nonvolatile memory is rapidly increasing, and along with this, the nonvolatile memory is being increased in capacity and price.

【0003】不揮発性メモリの大容量化が進むと、メモ
リ内での不良部分の発生頻度が増加し、これにより製造
工程におけるメモリの歩留りが低下し、不揮発性メモリ
の低価格化が図れないおそれがある。
As the capacity of a non-volatile memory increases, the frequency of occurrence of defective portions in the memory increases, which reduces the yield of the memory in the manufacturing process and may not reduce the price of the non-volatile memory. There is.

【0004】このため、不揮発性メモリには、製造時に
生じる不良ブロックを含む場合、または、使用中に使用
不能となったブロックを含む場合にも、使用可能となる
ように不揮発性メモリ内に代替ブロックが設けられてい
る。代替ブロックは、予め一定の容量が設定されてお
り、その容量は、記憶装置のメモリ搭載面積、価格等か
ら決定される。
Therefore, the non-volatile memory is replaced with a non-volatile memory so that it can be used even when it includes a defective block produced at the time of manufacture or when it includes a block which cannot be used during use. Blocks are provided. The replacement block has a predetermined capacity set in advance, and the capacity is determined from the memory mounting area of the storage device, the price, and the like.

【0005】これにより、初期状態の不揮発性メモリに
含まれている不良ブロックの容量が代替ブロックの容量
以下である不揮発性メモリだけが使用可能な不揮発性メ
モリとなる。また、使用中に使用不能に陥るブロックが
発生すると、製造時および使用中に生じる不良ブロック
の総容量、または、使用中のみに生じる不良ブロックの
総容量が、不揮発性メモリ内の代替ブロックの容量を超
えると、その不揮発性メモリは使用不能となる。この結
果、初期状態において、不揮発性メモリに許容される不
良ブロックの容量は、代替ブロックの容量よりも少なく
する必要があり、かなり制限されることになる。このよ
うな問題に対応するために、不揮発性メモリ内に予め設
定される代替ブロックの容量を増加を図れば良いが、代
替ブロックの容量を増加させると、本来使用できる不揮
発性メモリの容量が代替ブロックの容量に取られるため
に、初期状態より使用可能な不揮発性メモリ容量が小さ
くなるという問題も生じる。
As a result, only the non-volatile memory in which the capacity of the defective block included in the non-volatile memory in the initial state is equal to or less than the capacity of the substitute block can be used as the non-volatile memory. When a block that becomes unusable occurs during use, the total capacity of bad blocks that occurs during manufacturing and use, or the total capacity of bad blocks that occurs only during use, is the capacity of the alternative block in the nonvolatile memory. Beyond that, the non-volatile memory becomes unusable. As a result, in the initial state, the capacity of the defective block allowed in the non-volatile memory needs to be smaller than the capacity of the substitute block, which is considerably limited. In order to deal with such a problem, the capacity of the alternative block preset in the nonvolatile memory may be increased. However, if the capacity of the alternative block is increased, the originally usable capacity of the nonvolatile memory is replaced. Since the capacity of the block is taken, there is a problem that the usable non-volatile memory capacity becomes smaller than in the initial state.

【0006】このような問題に対して、特開平8−19
0510号公報には、不揮発性メモリ内に多数の不良ブ
ロックが含まれていても、その不揮発性メモリを搭載し
た記憶装置が開示されている。
To solve such a problem, Japanese Patent Laid-Open No. 8-19
Japanese Laid-Open Patent Publication No. 0510 discloses a storage device equipped with a nonvolatile memory even if the nonvolatile memory includes a large number of defective blocks.

【0007】図5は、その記憶装置の構成を示すブロッ
ク図である。図5に示す記憶装置は、記憶媒体である不
揮発性メモリ10と、記憶装置として機能するように不
揮発性メモリ10の動作を制御するメモリ制御部20と
を有している。
FIG. 5 is a block diagram showing the structure of the storage device. The storage device shown in FIG. 5 has a non-volatile memory 10 which is a storage medium, and a memory control unit 20 which controls the operation of the non-volatile memory 10 so as to function as the storage device.

【0008】メモリ制御部20は、不揮発性メモリ10
を直接コントロールするメモリコントローラ30と、メ
モリコントローラ30および外部機器間のデータ通信を
制御する入出力コントローラ40を備えている。入出力
コントローラ40は、システムバス70を介して外部機
器とデータ通信を行う。
The memory control unit 20 includes a nonvolatile memory 10
A memory controller 30 that directly controls the memory controller 30 and an input / output controller 40 that controls data communication between the memory controller 30 and an external device. The input / output controller 40 performs data communication with an external device via the system bus 70.

【0009】また、メモリコントローラ30には、デー
タの管理、メモリの制御等における演算処理を行うCP
U50およびROM60が配置されている。そして、メ
モリコントローラ30は、不揮発性メモリ10を構成す
る各セルの使用可または使用不可を確認するテストを行
い、使用可能なセルの容量を足し合わせた使用可能総容
量を示すデータを、不揮発性メモリ10の所定の領域に
書き込み、記憶データをブロック単位で管理するアドレ
ス変換テーブルを作成し、そのアドレス変換テーブルに
使用不可な不良ブロックの情報を書き込む機能を備えて
いる。
Further, the memory controller 30 has a CP for performing arithmetic processing in data management, memory control and the like.
U50 and ROM60 are arranged. Then, the memory controller 30 performs a test for confirming the availability or non-availability of each cell that constitutes the non-volatile memory 10, and adds the data indicating the total usable capacity to the non-volatile It has a function of writing in a predetermined area of the memory 10, creating an address conversion table for managing stored data in block units, and writing information of an unusable defective block in the address conversion table.

【0010】このような構成により、図5に示す記憶装
置は、不良ブロックを含む不揮発性メモリ10を問題な
く使用できるために、不揮発性メモリ10の歩留りが低
下することを防止することができ、不揮発性メモリ10
の低価格化が図れる。また、アドレス変換テーブルに不
良ブロックの情報が登録されているため、製品出荷時
に、不良ブロックの検出を行う必要がなく、したがっ
て、製品出荷時の作業の効率化が図れる。
With such a configuration, the storage device shown in FIG. 5 can use the non-volatile memory 10 including a defective block without any problem, and thus it is possible to prevent the yield of the non-volatile memory 10 from decreasing. Non-volatile memory 10
The price can be reduced. Further, since the information of the defective block is registered in the address conversion table, it is not necessary to detect the defective block at the time of shipping the product, so that the work efficiency at the time of shipping the product can be improved.

【0011】[0011]

【発明が解決しようとする課題】一般的に不揮発性メモ
リの書き換え回数は、10万回程度保証されており、マ
イクロコンピュータのプログラムメモリ用に不揮発性メ
モリを使用する記憶装置においては、不揮発性メモリ内
のデータの書き換えを頻繁に行わないために、不揮発性
メモリが使用途中にて破壊されることはほとんど考えら
れない。
Generally, the number of times of rewriting of a non-volatile memory is guaranteed to be about 100,000 times. In a storage device using the non-volatile memory for a program memory of a microcomputer, the non-volatile memory is used. Since the data in the memory is not rewritten frequently, it is almost unlikely that the nonvolatile memory will be destroyed during use.

【0012】しかしながら、図5に示す記憶装置では、
メモリ制御部20のメモリコントローラ30において、
不揮発性メモリ10の使用可能な容量と使用不可能な容
量との検出を頻繁に行っており、その都度不揮発性メモ
リ10の使用可能総容量を求めてデータの書き込みを行
っている。このため、メモリコントローラ30には、デ
ータ管理、演算処理等のCPU50およびROM60が
必要となり、記憶装置のコストが増加している。
However, in the storage device shown in FIG.
In the memory controller 30 of the memory control unit 20,
The usable capacity and the unusable capacity of the non-volatile memory 10 are frequently detected, and the data is written by obtaining the total usable capacity of the non-volatile memory 10 each time. Therefore, the memory controller 30 requires the CPU 50 and the ROM 60 for data management, arithmetic processing, etc., which increases the cost of the storage device.

【0013】本発明は、このような課題を解決するもの
であり、その目的は、メモリ制御部のデータ処理を簡略
化するとともに、コスト低減を図る記憶装置を提供する
ことにある。
The present invention solves such a problem, and an object of the present invention is to provide a storage device which simplifies the data processing of the memory control unit and reduces the cost.

【0014】[0014]

【課題を解決するための手段】本発明の記憶容量処理シ
ステムは、電気的に書き換え可能な半導体メモリが記憶
装置に設けられた記憶容量処理システムであって、該半
導体メモリは、メモリ内部に使用可能領域および使用不
可領域のアドレスを格納しており、該半導体メモリの動
作の際に、該使用可能領域および該使用不可領域のアド
レスに基づいて該半導体メモリのアドレス変換が行われ
ることを特徴とする。
A storage capacity processing system of the present invention is a storage capacity processing system in which an electrically rewritable semiconductor memory is provided in a storage device, and the semiconductor memory is used inside the memory. Addresses of a usable area and an unusable area are stored, and when the semiconductor memory operates, an address conversion of the semiconductor memory is performed based on the addresses of the usable area and the unusable area. To do.

【0015】前記半導体メモリの動作は、データ読み出
し動作である。
The operation of the semiconductor memory is a data read operation.

【0016】前記データ読み出し動作では、前記使用不
可領域のアドレスがアクセスされない。
In the data read operation, the address of the unusable area is not accessed.

【0017】[0017]

【発明の実施の形態】以下、図面を参照しながら本発明
の実施の形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0018】図1は、本発明の実施形態である記憶容量
処理システムの構成を示すブロック図である。図1の記
憶容量処理システムは、記憶媒体である不揮発性メモリ
5および不揮発性メモリ5の動作を制御するメモリ制御
部6を有している。不揮発性メモリ5およびメモリ制御
部6は、記憶装置を構成する。
FIG. 1 is a block diagram showing the configuration of a storage capacity processing system which is an embodiment of the present invention. The storage capacity processing system of FIG. 1 has a nonvolatile memory 5 which is a storage medium, and a memory control unit 6 which controls the operation of the nonvolatile memory 5. The non-volatile memory 5 and the memory control unit 6 constitute a storage device.

【0019】メモリ制御部6は、アドレス変換テーブル
3と、アドレス変換装置4とを備えている。アドレス変
換テーブル3は、不揮発性メモリ5における使用不可ブ
ロックおよび使用可能ブロックの情報をブロック単位で
データ化し、アドレス変換装置4は、アドレス変換テー
ブル3によってデータ化された使用可能ブロックの情報
に基づいてアドレス信号を生成する。メモリ制御部6
は、システムバス2を介して不揮発性メモリ書き込み/
読み出し装置1に接続されている。
The memory control section 6 comprises an address conversion table 3 and an address conversion device 4. The address conversion table 3 converts the information of the unusable blocks and the usable blocks in the non-volatile memory 5 into data in units of blocks, and the address conversion device 4 based on the information of the usable blocks converted into data by the address conversion table 3. Generate an address signal. Memory control unit 6
Writes / writes non-volatile memory via the system bus 2.
It is connected to the reading device 1.

【0020】不揮発性メモリ書き込み/読み出し装置1
は、外部データを不揮発性メモリ5に書き込む場合に
は、不揮発性メモリ書き込み/読み出し装置1の書き込
み部が記憶装置と接続され、不揮発性メモリ5からデー
タを読み出す場合には、不揮発性メモリ書き込み/読み
出し装置1の読み出し部が記憶装置と接続される。そし
て、不揮発性メモリ書き込み/読み出し装置1は、シス
テムバス2を用いて、外部装置とデータ信号の伝達を行
う。
Nonvolatile memory writing / reading device 1
When writing external data to the non-volatile memory 5, the writing unit of the non-volatile memory writing / reading device 1 is connected to the storage device, and when reading data from the non-volatile memory 5, the non-volatile memory writing / reading device The reading unit of the reading device 1 is connected to the storage device. Then, the non-volatile memory writing / reading device 1 uses the system bus 2 to transmit a data signal to an external device.

【0021】図2は、不揮発性メモリ5内部の所定領域
に格納されているブロック毎の使用可能または使用不可
の情報の一覧表を示す例である。不揮発性メモリ5のア
ドレス信号は、全部で24本あり、1ブロックとはアド
レスの上位8ビットが共通のアドレスであるため、1ブ
ロックで64kバイト(512kビット)のデータが存
在する。図2に示すように、不揮発性メモリ5の内部情
報としては、256(28)個の各ブロックのアドレス
と、それぞれのブロックの使用可能または使用不可(使
用可/不可)の情報とが格納されている。各ブロックの
アドレスは、上位8ビットに対応し、16進数で表示さ
れている。図2では、ブロック番号の4に相当するアド
レスの上位8ビットの04h(h=16進数)は不良ブ
ロックとして示されている。
FIG. 2 is an example showing a list of usable / unusable information for each block stored in a predetermined area inside the nonvolatile memory 5. There are a total of 24 address signals in the non-volatile memory 5, and since one block has a common upper 8 bits of the address, one block has 64 kbytes (512 kbits) of data. As shown in FIG. 2, as the internal information of the non-volatile memory 5, the addresses of 256 (2 8 ) blocks and the information of whether or not each block can be used (usable / unusable) are stored. Has been done. The address of each block corresponds to the upper 8 bits and is displayed in hexadecimal. In FIG. 2, the upper 8 bits 04h (h = hexadecimal) of the address corresponding to the block number 4 are shown as a defective block.

【0022】図3は、図2の表に示す不揮発性メモリ5
の内部情報に基づいて、作成されたアドレス変換テーブ
ル3である。表内の数字は、16進数で表示されてい
る。図3に示すように、アドレス変換テーブル3には、
システム側でのアドレスの上位8ビットの04hに、不
揮発性メモリ5のアドレスの上位8ビットの05hが対
応するように設定され、不揮発性メモリ5にて不良ブロ
ックを示すアドレス(上位8ビットの04h)は表示さ
れない。
FIG. 3 shows the nonvolatile memory 5 shown in the table of FIG.
It is the address conversion table 3 created based on the internal information of. The numbers in the table are displayed in hexadecimal. As shown in FIG. 3, the address conversion table 3 includes:
The upper 8 bits 04h of the address on the system side is set to correspond to the upper 8 bits 05h of the address of the nonvolatile memory 5, and the address indicating the defective block in the nonvolatile memory 5 (the upper 8 bits 04h ) Is not displayed.

【0023】図4は、本発明の本発明の記憶容量処理シ
ステムの動作を示すフローチャートである。このフロー
チャートに基づいて記憶容量処理システムの動作を説明
する。
FIG. 4 is a flow chart showing the operation of the storage capacity processing system of the present invention. The operation of the storage capacity processing system will be described based on this flowchart.

【0024】まず、不揮発性メモリ5へのデータ書き込
み動作について説明する。
First, the data writing operation to the non-volatile memory 5 will be described.

【0025】不揮発性メモリ書き込み/読み出し装置1
の書き込み部がシステムバス2を介してメモリ制御部6
に接続される。そして、データ書き込み前に、不揮発性
メモり書き込み/読み出し装置1の書き込み部が、メモ
リ制御部6のアドレス変換テーブル3およびアドレス変
換装置4を経由して、不揮発性メモリ5の使用可/不可
情報を読み出す(ステップS1)。
Nonvolatile memory writing / reading device 1
Of the memory controller 6 via the system bus 2
Connected to. Before writing data, the writing unit of the non-volatile memory writing / reading device 1 passes the address conversion table 3 and the address conversion device 4 of the memory control unit 6 and the usable / unusable information of the non-volatile memory 5. Is read (step S1).

【0026】次に、不揮発性メモリ5の使用可/不可情
報に基づいてアドレス変換テーブル3にデータを設定す
る(ステップS2)。ここで、作成されたデータは、ア
ドレスの上位8ビットを16進数で表しており、図3に
示すように作成される。作成されたアドレス変換テーブ
ル3の変換データには、不揮発性メモリ5の内部に存在
する不良ブロックを示すアドレス(上位8ビット)は表
示されない。
Next, data is set in the address conversion table 3 based on the usable / unusable information of the non-volatile memory 5 (step S2). Here, the created data represents the upper 8 bits of the address in hexadecimal, and is created as shown in FIG. In the created conversion data of the address conversion table 3, an address (upper 8 bits) indicating a defective block existing inside the nonvolatile memory 5 is not displayed.

【0027】次に、不揮発性メモリ書き込み/読み出し
装置1の書き込み部からアドレスが出力され、システム
バス2を介して、アドレス変換テーブル3に伝達される
(ステップS3)。この時、アドレス変換装置4では、
アドレス変換テーブル3に基づいて上位8ビットのアド
レスを変換して不揮発性メモリ5にアドレス信号が伝達
される(ステップS4)。この場合、不揮発性メモリ書
き込み/読み出し装置1の書き込み部から出力されるデ
ータ信号およびライト信号は、そのまま不揮発性メモリ
5に伝達される。
Next, the address is output from the writing unit of the nonvolatile memory writing / reading device 1 and transmitted to the address conversion table 3 via the system bus 2 (step S3). At this time, in the address translation device 4,
The address of the upper 8 bits is converted based on the address conversion table 3 and the address signal is transmitted to the nonvolatile memory 5 (step S4). In this case, the data signal and the write signal output from the writing unit of the non-volatile memory writing / reading device 1 are directly transmitted to the non-volatile memory 5.

【0028】次に、不揮発性メモリ書き込み/読み出し
装置1の書き込み部から出力されるアドレス上位8ビッ
トのアドレス信号が00h(h=16進数)の場合に
は、アドレス変換テーブル3から出力されるアドレスの
上位8ビットのアドレス信号は00hであり、不揮発性
メモリ5のアドレスの上位8ビットの00hにデータが
書き込まれる。不揮発性メモリ書き込み/読み出し装置
1の書き込み部から出力されるアドレス上位8ビットの
アドレス信号が04hの場合は、アドレス変換テーブル
3から出力されるアドレスの上位8ビットのアドレス信
号は05hとなり、不揮発性メモリ5のアドレスの上位
8ビットの05hにデータが書き込まれ、不揮発性メモ
リ5の不良ブロック(04h)へのデータ書き込みは回
避される(ステップS5)。
Next, when the address signal of the upper 8 bits of the address output from the writing unit of the nonvolatile memory writing / reading device 1 is 00h (h = hexadecimal number), the address output from the address conversion table 3 The upper 8 bits of the address signal is 00h, and the data is written in the upper 8 bits of the address of the nonvolatile memory 5, 00h. When the address signal of the upper 8 bits of the address output from the writing unit of the nonvolatile memory writing / reading device 1 is 04h, the address signal of the upper 8 bits of the address output from the address conversion table 3 is 05h, which is non-volatile. Data is written to the upper 8 bits 05h of the address of the memory 5, and the data writing to the defective block (04h) of the nonvolatile memory 5 is avoided (step S5).

【0029】次に、不揮発性メモリ5からのデータ読み
出し動作について説明する。
Next, the data read operation from the non-volatile memory 5 will be described.

【0030】不揮発性メモリ書き込み/読み出し装置1
の読み出し部がシステムバス2を介してメモリ制御部6
に接続される。そして、データ読み出し前に、不揮発性
メモり書き込み/読み出し装置1の読み出し部が、メモ
リ制御部6のアドレス変換テーブル3およびアドレス変
換装置4を経由して、不揮発性メモリ5の使用可/不可
情報を読み出す(ステップS1)。
Nonvolatile memory writing / reading device 1
Of the memory controller 6 via the system bus 2
Connected to. Then, before reading the data, the reading unit of the non-volatile memory writing / reading device 1 passes the address conversion table 3 and the address conversion device 4 of the memory control unit 6 and the usable / unusable information of the nonvolatile memory 5 is read. Is read (step S1).

【0031】次に、不揮発性メモリ5の使用可/不可情
報に基づいてアドレス変換テーブル3にデータを設定す
る(ステップS2)。作成されたアドレス変換テーブル
3は、データ書き込み動作の場合と同じ内容となる。
Next, data is set in the address conversion table 3 based on the usable / unusable information of the non-volatile memory 5 (step S2). The created address conversion table 3 has the same contents as in the data write operation.

【0032】次に、不揮発性メモリ書き込み/読み出し
装置1の読み出し部からアドレスが出力され、システム
バス2を介して、アドレス変換テーブル3に伝達される
(ステップS3)。この時、アドレス変換装置4では、
アドレス変換テーブル3に基づいて上位8ビットのアド
レスを変換して不揮発性メモリ5にアドレス信号が伝達
される(ステップS4)。この場合、不揮発性メモリ書
き込み/読み出し装置1の読み出し部から出力されるデ
ータ信号およびリード信号は、そのまま不揮発性メモリ
5に伝達される。
Next, the address is output from the reading section of the nonvolatile memory writing / reading device 1 and transmitted to the address conversion table 3 via the system bus 2 (step S3). At this time, in the address translation device 4,
The address of the upper 8 bits is converted based on the address conversion table 3 and the address signal is transmitted to the nonvolatile memory 5 (step S4). In this case, the data signal and the read signal output from the reading unit of the non-volatile memory writing / reading device 1 are directly transmitted to the non-volatile memory 5.

【0033】次に、データ書き込み時と同様に、不揮発
性メモリ書き込み/読み出し装置1の読み出し部から出
力されるアドレス上位8ビットのアドレス信号が00h
(h=16進数)の場合には、アドレス変換テーブル3
から出力されるアドレスの上位8ビットのアドレス信号
は00hであり、不揮発性メモリ5のアドレスの上位8
ビットの00hからデータが読み出される。不揮発性メ
モリ書き込み/読み出し装置1の読み出し部から出力さ
れるアドレス上位8ビットのアドレス信号が04hの場
合は、アドレス変換テーブル3から出力されるアドレス
の上位8ビットは05hとなり、不揮発性メモリ5のア
ドレスの上位8ビットの05hからデータが読み出さ
れ、不揮発性メモリ5の不良ブロック(04h)からの
データ読み出しは回避される(ステップS5)。
Next, as in the case of writing data, the address signal of the upper 8 bits of the address output from the reading section of the nonvolatile memory writing / reading device 1 is 00h.
If (h = hexadecimal number), the address conversion table 3
The address signal of the upper 8 bits of the address output from is 00h, and the upper 8 bits of the address of the nonvolatile memory 5
Data is read from bit 00h. When the address signal of the upper 8 bits of the address output from the reading unit of the non-volatile memory writing / reading device 1 is 04h, the upper 8 bits of the address output from the address conversion table 3 is 05h and the non-volatile memory 5 Data is read from the upper 8 bits 05h of the address, and data reading from the defective block (04h) of the nonvolatile memory 5 is avoided (step S5).

【0034】このように、本発明の記憶容量処理システ
ムでは、不揮発性メモリ5内に使用可能ブロックと使用
不可ブロックとの情報が予め格納されているために、デ
ータ(内部情報)の読み出し動作のみで、不揮発性メモ
リ5内の使用可能ブロックと使用不可ブロックとを検出
でき、システム動作時の処理が簡略化される。
As described above, in the storage capacity processing system of the present invention, since the information of usable blocks and unusable blocks is stored in the non-volatile memory 5 in advance, only the reading operation of data (internal information) is performed. Thus, the usable block and the unusable block in the non-volatile memory 5 can be detected, and the processing during system operation is simplified.

【0035】したがって、本発明の記憶容量処理システ
ムでは、従来の記憶装置のようなメモリ制御手段によっ
て、不揮発性メモリの使用可能ブロックおよび使用不可
ブロックの検出に、書き込み動作および読み出し動作の
両方の動作を行い、不揮発性メモリの使用可能ブロック
および使用不可ブロックを検出後の全使用可能容量の計
算を行う必要が無い。
Therefore, in the storage capacity processing system of the present invention, both the write operation and the read operation are performed by the memory control means such as the conventional storage device to detect the usable block and the unusable block of the non-volatile memory. It is not necessary to calculate the total usable capacity after detecting the usable block and the unusable block of the non-volatile memory.

【0036】また、本発明の記憶容量処理システムで
は、メモリ制御部に計算機能を設けないのでCPU等を
用いて無くて良く、ゲートアレイ等で実現可能となり、
システム全体のコスト低減が図れる。
Further, in the storage capacity processing system of the present invention, since the memory control unit is not provided with a calculation function, it is not necessary to use a CPU or the like, and it can be realized by a gate array or the like.
The cost of the entire system can be reduced.

【0037】さらに、本発明の記憶容量処理システムで
は、データ書き込み動作およびデータ読み出し動作にお
いて、アドレス変換手段が同一であるために、システム
の誤動作を防止できる。
Further, in the storage capacity processing system of the present invention, since the address converting means are the same in the data writing operation and the data reading operation, malfunction of the system can be prevented.

【0038】尚、本実施形態では、不揮発性メモリの不
良ブロックが1ブロックの場合の例を示したが、不良ブ
ロックが複数の場合でも同様の効果が得られる。
In the present embodiment, an example in which the number of defective blocks in the non-volatile memory is one is shown, but the same effect can be obtained even when there are a plurality of defective blocks.

【0039】[0039]

【発明の効果】本発明の記憶容量処理システムは、半導
体メモリ内部に使用可能領域および使用不可領域のアド
レスを格納しており、その半導体メモリの動作の際に、
使用可能領域および使用不可領域のアドレスに基づい
て、使用不可領域のアドレスがアクセスされないよう
に、アドレス変換が行われるために、メモリ制御部のデ
ータ処理を簡略化することができるとともに、コスト低
減が図れる。
According to the storage capacity processing system of the present invention, the addresses of the usable area and the unusable area are stored inside the semiconductor memory, and when the semiconductor memory is operated,
Since the address conversion is performed based on the addresses of the usable area and the unusable area so that the addresses of the unusable area are not accessed, the data processing of the memory control unit can be simplified and the cost can be reduced. Can be achieved.

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

【図1】本発明の実施形態である記憶容量処理システム
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a storage capacity processing system according to an embodiment of the present invention.

【図2】不揮発性メモリ内部に格納されているブロック
毎の使用可能または使用不可の情報の一覧表である。
FIG. 2 is a list of usable / unusable information for each block stored in a nonvolatile memory.

【図3】図2の表に示す不揮発性メモリ5内部情報に基
づいて、作成されたアドレス変換テーブルである。
3 is an address conversion table created based on the internal information of the nonvolatile memory 5 shown in the table of FIG.

【図4】本発明の記憶容量処理システムの動作を示すフ
ローチャートである。
FIG. 4 is a flowchart showing an operation of the storage capacity processing system of the present invention.

【図5】従来の記憶装置の構成を示すブロック図であ
る。
FIG. 5 is a block diagram showing a configuration of a conventional storage device.

【符号の説明】[Explanation of symbols]

1 不揮発性メモリ書き込み/読み出し装置 2 システムバス 3 アドレス変換テーブル 4 アドレス変換装置 5 不揮発性メモリ 6 メモリ制御部 10 不揮発性メモリ 20 メモリ制御部 30 メモリコントローラ 40 入出力コントローラ 50 CPU 60 ROM 70 システムバス 1 Non-volatile memory writing / reading device 2 system bus 3 Address conversion table 4 Address translation device 5 Non-volatile memory 6 Memory controller 10 Non-volatile memory 20 memory controller 30 memory controller 40 I / O controller 50 CPU 60 ROM 70 system bus

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 電気的に書き換え可能な半導体メモリが
記憶装置に設けられた記憶容量処理システムであって、 該半導体メモリは、メモリ内部に使用可能領域および使
用不可領域のアドレスを格納しており、該半導体メモリ
の動作の際に、該使用可能領域および該使用不可領域の
アドレスに基づいて該半導体メモリのアドレス変換が行
われることを特徴とする記憶容量処理システム。
1. A storage capacity processing system in which an electrically rewritable semiconductor memory is provided in a storage device, wherein the semiconductor memory stores addresses of usable and unusable areas inside the memory. A storage capacity processing system, wherein address conversion of the semiconductor memory is performed based on addresses of the usable area and the unusable area during operation of the semiconductor memory.
【請求項2】 前記半導体メモリの動作は、データ読み
出し動作である請求項1に記載の記憶容量処理システ
ム。
2. The storage capacity processing system according to claim 1, wherein the operation of the semiconductor memory is a data read operation.
【請求項3】 前記データ読み出し動作では、前記使用
不可領域のアドレスがアクセスされない請求項2に記載
の記憶容量処理システム。
3. The storage capacity processing system according to claim 2, wherein an address of the unusable area is not accessed in the data read operation.
JP2002013564A 2002-01-22 2002-01-22 Storage capacity processing system Withdrawn JP2003216507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002013564A JP2003216507A (en) 2002-01-22 2002-01-22 Storage capacity processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002013564A JP2003216507A (en) 2002-01-22 2002-01-22 Storage capacity processing system

Publications (1)

Publication Number Publication Date
JP2003216507A true JP2003216507A (en) 2003-07-31

Family

ID=27650490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002013564A Withdrawn JP2003216507A (en) 2002-01-22 2002-01-22 Storage capacity processing system

Country Status (1)

Country Link
JP (1) JP2003216507A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006185290A (en) * 2004-12-28 2006-07-13 Tdk Corp Memory controller, flash memory system and method for controlling flash memory
JP2007018499A (en) * 2005-06-06 2007-01-25 Sony Corp Memory
US8458531B2 (en) 2005-07-11 2013-06-04 Samsung Electronics Co., Ltd. Non-volatile memory card apparatus and method for updating memory capacity information
JP2014194817A (en) * 2005-06-06 2014-10-09 Sony Corp Storage device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006185290A (en) * 2004-12-28 2006-07-13 Tdk Corp Memory controller, flash memory system and method for controlling flash memory
JP2007018499A (en) * 2005-06-06 2007-01-25 Sony Corp Memory
US8285916B2 (en) 2005-06-06 2012-10-09 Sony Corporation Storage device
JP2014194817A (en) * 2005-06-06 2014-10-09 Sony Corp Storage device
US8458531B2 (en) 2005-07-11 2013-06-04 Samsung Electronics Co., Ltd. Non-volatile memory card apparatus and method for updating memory capacity information

Similar Documents

Publication Publication Date Title
JP4948793B2 (en) Flash memory system including bad block manager
JP2930773B2 (en) Programmable logic device, circuit blocks used in the device, and method for determining whether an input to the device is used in a logic function
US7613871B2 (en) Storage system using a flash memory partitioned with write-once and rewritable blocks
CN101840376B (en) Memory module
JP2001243122A (en) Memory controller and flash memory system with controller and method for writing data into flash memory
US8850102B2 (en) Flash memory with small data programming capability
JPH1185609A (en) Semiconductor memory and data managing method therefor
US7519764B2 (en) Apparatus and method for detecting data validity in flash memory
JP2007157316A (en) Semiconductor memory device minimized in refresh current consumption, and driving method therefor
JPH06215589A (en) Semiconductor memory
JP2870523B2 (en) Memory module
JP2003216507A (en) Storage capacity processing system
JP2004227723A (en) Nonvolatile semiconductor storage device
JPH03252993A (en) Information writing device for e2prom
JP2010092261A (en) Memory module, and auxiliary module for memory
JP2007220249A (en) Semiconductor memory device
JPH1097471A (en) Method and system for error correction of memory data
CN100386748C (en) Method and system for chip selecting of peripheral device in singe board computer
US20020083291A1 (en) Nonvolatile semiconductor memory
WO2002056183A1 (en) Semiconductor memory device and method for accessing the same
JP2000181806A (en) Semi-conductor device and method for relieving its fault
JPH1186600A (en) Nonvolatile semiconductor storage device
JP2004158051A (en) Semiconductor memory device and its manufacturing method
US20050276122A1 (en) Efficient recovery of failed memory cell
JPH0765592A (en) Nonvolatile memory

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050405