JP2009205187A - Memory controller, nonvolatile storage device, nonvolatile storage system, and memory control method - Google Patents
Memory controller, nonvolatile storage device, nonvolatile storage system, and memory control method Download PDFInfo
- Publication number
- JP2009205187A JP2009205187A JP2006173324A JP2006173324A JP2009205187A JP 2009205187 A JP2009205187 A JP 2009205187A JP 2006173324 A JP2006173324 A JP 2006173324A JP 2006173324 A JP2006173324 A JP 2006173324A JP 2009205187 A JP2009205187 A JP 2009205187A
- Authority
- JP
- Japan
- Prior art keywords
- program
- memory
- unit
- interface unit
- nonvolatile
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Read Only Memory (AREA)
- Stored Programmes (AREA)
- Memory System (AREA)
Abstract
Description
本発明は、フラッシュメモリ等の不揮発性メモリを主記憶メモリとして備える半導体メモリカード等の不揮発性記憶装置、及びそれに内蔵されるメモリコントローラに関するものである。さらに、不揮発性記憶装置にアクセス装置を構成要件として加えた不揮発性記憶システム、ならびにメモリ制御方法も含む。 The present invention relates to a nonvolatile memory device such as a semiconductor memory card including a nonvolatile memory such as a flash memory as a main memory, and a memory controller built in the nonvolatile memory device. Further, a nonvolatile storage system in which an access device is added to the nonvolatile storage device as a constituent element, and a memory control method are also included.
書き換え可能な不揮発性メモリを備える不揮発性記憶装置は、半導体メモリカードを中心にその需要が広まっている。半導体メモリカードは、光ディスクやテープメディアなどと比較して非常に高価格なものではあるが、小型・軽量・耐震性・取り扱いの簡便さ等のメリットにより、デジタルスチルカメラや動画記録機器などのAV機器や携帯電話などの通信機器を中心その需要が広まってきている。 The demand for nonvolatile memory devices including a rewritable nonvolatile memory is increasing, especially for semiconductor memory cards. Semiconductor memory cards are very expensive compared to optical discs and tape media, but due to their merits such as small size, light weight, earthquake resistance, and easy handling, AV such as digital still cameras and video recording devices The demand for communication devices such as devices and mobile phones is increasing.
この半導体メモリカードは、不揮発性の主記憶メモリとしてフラッシュメモリを備え、それを制御するメモリコントローラを有している。メモリコントローラは、デジタルスチルカメラ本体等のアクセス装置からの読み書き指示に応じて、フラッシュメモリに対する読み書き制御を行うものとなっている。 This semiconductor memory card includes a flash memory as a nonvolatile main memory, and has a memory controller for controlling the flash memory. The memory controller performs read / write control on the flash memory in response to a read / write instruction from an access device such as a digital still camera body.
このような半導体メモリカードに記録するAVコンテンツの高品質化のニーズに伴い、近年フラッシュメモリの大容量化と低コスト化が急速に進んでいる。具体的にはフラッシュメモリに内蔵されるメモリセルアレイに対するメモリセルアレイの周辺回路の占有面積を削減するために、消去単位である物理ブロックのサイズが、例えば、256kバイトや512kバイトなどと、年々大きくなってきている。 In accordance with the need for higher quality AV content recorded on such a semiconductor memory card, in recent years, the capacity and cost of flash memories have been rapidly increasing. Specifically, in order to reduce the area occupied by the peripheral circuit of the memory cell array with respect to the memory cell array built in the flash memory, the size of the physical block, which is an erase unit, increases year by year, for example, 256 kbytes or 512 kbytes. It is coming.
また、ひとつのメモリセルに記憶できる情報量を1ビットから多ビットに増加させる工夫もなされている。例えば、前者は2値NANDフラッシュメモリ、後者は多値NANDフラッシュメモリに代表される。多値NANDフラッシュメモリは2値NANDフラッシュメモリよりも低コストであるが、その反面アクセス速度が遅いあるいは信頼性が悪いなどのデメリットを有しているため、例えば高速性や高信頼性が求められる用途においては依然として2値NANDフラッシュメモリが使用されている。 There is also a device for increasing the amount of information that can be stored in one memory cell from 1 bit to multiple bits. For example, the former is represented by a binary NAND flash memory, and the latter is represented by a multi-value NAND flash memory. A multi-level NAND flash memory is less expensive than a binary NAND flash memory, but has disadvantages such as a slow access speed or poor reliability. For example, high speed and high reliability are required. In applications, binary NAND flash memories are still used.
このような状況に鑑み、様々な種類のフラッシュメモリに対応できる汎用性に富んだメモリの制御方法の実現が望まれる。例えば、フラッシュメモリ上にメモリコントローラ内部のメモリインターフェイス部の処理を記述したプログラムを予め記憶しておき、電源投入時にフラッシュメモリからメモリコントローラ内部のRAMに該プログラムをダウンロードして使用するようになっている。この技術を使うことにより、半導体メモリカードに実装するフラッシュメモリの品種が変わってもプログラムを書き替えることによって簡単に対応することができる商品寿命の長い半導体メモリカードが実現でできるため、半導体メモリカードに関わるコストを合理化することが可能となる。 In view of such a situation, it is desired to realize a versatile memory control method that can support various types of flash memories. For example, a program describing the processing of the memory interface unit in the memory controller is stored in advance in the flash memory, and the program is downloaded from the flash memory to the RAM in the memory controller and used when the power is turned on. Yes. By using this technology, it is possible to realize a semiconductor memory card with a long product life that can be easily handled by rewriting the program even if the type of flash memory mounted on the semiconductor memory card changes. It is possible to rationalize the costs related to
なお、上記の関連技術としては、特許文献1のようにマイクロコントローラの機能拡張方式が知られている。
しかしながら、前述した従来のメモリインターフェイス部のプログラムをダウンロードする方法では、メモリインターフェイス部のプログラム全てを保持するRAMが必要になる。 However, the conventional method for downloading the program of the memory interface unit described above requires a RAM that holds all the programs of the memory interface unit.
そこで本発明は上記問題点に鑑み、メモリインターフェイス部のプログラムを選択的にダウンロードすることによりRAMの容量を削減しメモリコントローラのコストを削減することを目的とする。 In view of the above problems, an object of the present invention is to reduce the capacity of a RAM and the cost of a memory controller by selectively downloading a program of a memory interface unit.
前記目的を達成するため、本発明においては以下の技術的手段を講じた。 In order to achieve the above object, the present invention takes the following technical means.
すなわち、本発明における技術的手段は、不揮発性メモリへのデータの書き込みおよび該不揮発性メモリからのデータの読み出しを行うメモリコントローラであって、外部との通信を行うホストインターフェイス部と、メモリコントローラの各部の動作を制御するコントロール部と、前記不揮発性メモリへの読み書き制御を行うメモリインターフェイス部とを備え、前記コントロール部は、前記メモリインターフェイス部に対して該メモリインターフェイス部の読み書き制御に必要なプログラムの選択指示を行うプログラム選択部を有し、前記メモリインターフェイス部は、前記選択指示に応じて前記不揮発性メモリから前記プログラムを選択的にダウンロードするプログラムダウンロード部を有し、ダウンロードした前記プログラムをRAMに保持することを特徴とする。 That is, the technical means in the present invention is a memory controller that writes data to the nonvolatile memory and reads data from the nonvolatile memory, the host interface unit that communicates with the outside, and the memory controller A control unit that controls the operation of each unit; and a memory interface unit that performs read / write control on the nonvolatile memory, wherein the control unit is a program necessary for read / write control of the memory interface unit with respect to the memory interface unit. The memory interface unit has a program download unit that selectively downloads the program from the nonvolatile memory in response to the selection instruction, and the downloaded program is stored in the RA. Characterized by holding the.
また、本発明における技術的手段は、不揮発メモリと、前記不揮発性メモリに対するデータの書き込みおよび読み出しを行うメモリコントローラとを有する不揮発性記憶装置であって、前記メモリコントローラは、外部との通信を行うホストインターフェイス部と、メモリコントローラの各部の動作を制御するコントロール部と、前記不揮発性メモリへの読み書き制御を行うメモリインターフェイス部とを備え、前記コントロール部は、前記メモリインターフェイス部に対して該メモリインターフェイス部の読み書き制御に必要なプログラムの選択指示を行うプログラム選択部を有し、前記メモリインターフェイス部は、前記選択指示に応じて前記不揮発性メモリから前記プログラムを選択的にダウンロードするプログラムダウンロード部を有し、ダウンロードした前記プログラムをRAMに保持することを特徴とする。 The technical means in the present invention is a nonvolatile memory device having a nonvolatile memory and a memory controller for writing and reading data to and from the nonvolatile memory, and the memory controller communicates with the outside. A host interface unit; a control unit that controls the operation of each unit of the memory controller; and a memory interface unit that performs read / write control on the nonvolatile memory, the control unit including the memory interface unit with respect to the memory interface unit A program selection unit for instructing selection of a program necessary for read / write control of the unit, and the memory interface unit includes a program download unit for selectively downloading the program from the nonvolatile memory in accordance with the selection instruction. And, characterized by holding the program downloaded to the RAM.
また、本発明における技術的手段は、ホスト機器と、前記ホスト機器と接続される不揮発性記憶装置とを有する不揮発性記憶システムであって、前記不揮発性記憶装置は、不揮発メモリと、前記不揮発性メモリに対するデータの書き込みおよび読み出しを行うメモリコントローラとを有し、前記メモリコントローラは、前記ホスト機器との通信を行うホストインターフェイス部と、メモリコントローラの各部の動作を制御するコントロール部と、前記不揮発性メモリへの読み書き制御を行うメモリインターフェイス部とを備え、前記コントロール部は、前記メモリインターフェイス部に対して該メモリインターフェイス部の読み書き制御に必要なプログラムの選択指示を行うプログラム選択部を有し、前記メモリインターフェイス部は、前記選択指示に応じて前記不揮発性メモリから前記プログラムを選択的にダウンロードするプログラムダウンロード部を有し、ダウンロードした前記プログラムをRAMに保持することを特徴とする。 The technical means in the present invention is a nonvolatile storage system having a host device and a nonvolatile storage device connected to the host device, wherein the nonvolatile storage device includes a nonvolatile memory and the nonvolatile storage device. A memory controller that writes and reads data to and from the memory, and the memory controller includes a host interface unit that communicates with the host device, a control unit that controls the operation of each unit of the memory controller, and the nonvolatile memory A memory interface unit that performs read / write control on the memory, and the control unit includes a program selection unit that instructs the memory interface unit to select a program necessary for read / write control of the memory interface unit, The memory interface unit is It has selectively a program download unit for downloading the program from the nonvolatile memory in accordance with the-option indication, characterized by holding the program downloaded to the RAM.
なお、前記プログラム選択部は、外部から指定された命令の種類あるいは動作モードのいずれかに応じて前記プログラムを選択することが好ましい。 It is preferable that the program selection unit selects the program according to either the type of instruction designated from the outside or the operation mode.
また、本発明における技術的手段は、不揮発性メモリに対するメモリ制御方法であって、データの読み書き命令に応じて、前記不揮発性メモリからデータの読み書きを実行するプログラムを該不揮発性メモリから選択的に読み出し、読み出した前記プログラムをRAMにダウンロードを行うダウンロード処理を、他の処理と並行して実行することを特徴とする。 Further, the technical means in the present invention is a memory control method for a nonvolatile memory, wherein a program for executing data reading / writing from the nonvolatile memory is selectively selected from the nonvolatile memory in accordance with a data reading / writing command. A download process for reading and downloading the read program to the RAM is executed in parallel with other processes.
なお、データの読み書き命令またはメモリコントローラの動作によって前記不揮発性メモリのプログラムを選択することが好ましい。 Preferably, the nonvolatile memory program is selected by a data read / write instruction or a memory controller operation.
本発明によれば、プログラムダウンロード部がプログラム選択部の選択指示に応じてプログラムを選択的にダウンロードするので、RAMの容量を削減することができる。 According to the present invention, since the program download unit selectively downloads a program in accordance with a selection instruction from the program selection unit, the capacity of the RAM can be reduced.
さらに、コントロール部が、各部の動作の制御と並行して、プログラムのダウンロードを実行するので、ダウンロードに要する時間的オーバーヘッドを減らすことができる。 Furthermore, since the control unit executes the program download in parallel with the control of the operation of each unit, the time overhead required for the download can be reduced.
さらに、外部から指定された命令の種類あるいは動作モードのいずれかに応じて必要なプログラムを選択してダウンロードするようにしたので、毎回全てのプログラムをダウンロードする必要がなく、結果的に省電力を実現することができる。 Furthermore, since the necessary programs are selected and downloaded according to either the type of instruction or the operation mode specified from the outside, it is not necessary to download all the programs every time, resulting in power saving. Can be realized.
以下、本発明の実施の形態について、図面を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実施の形態)
図1は、本発明の実施の形態における不揮発性記憶システムの主要構成を示すブロック図である。本実施の形態による不揮発性記憶システムは、ホスト機器(以下、ホスト)160と、不揮発性記憶装置150から構成される。ホスト160と不揮発性記憶装置150はバス1により接続される。
(Embodiment)
FIG. 1 is a block diagram showing a main configuration of a nonvolatile storage system according to an embodiment of the present invention. The nonvolatile storage system according to the present embodiment includes a host device (hereinafter referred to as a host) 160 and a
不揮発性記憶装置150は、メモリコントローラ100と不揮発性メモリ110を含む。メモリコントローラ100は、バス1を介してホスト160と通信を行なうホストインターフェイス部101、コントロール部102、バス2を介して不揮発性メモリ110と通信を行なうメモリインターフェイス部103、RAM104を含む。また、コントロール部102はプログラム選択部105、論理物理変換テーブル106を含み、メモリインターフェイス部103はプログラムダウンロード部107を含む。また、不揮発性メモリ110は、プログラム領域120、通常領域140から構成され、通常領域140はテーブル領域130を含む。
The
プログラム領域120には、製品出荷前にメモリインターフェイス部103の処理内容を記述したプログラムを予め書き込んでおく。このプログラムは、例えば、第1の処理プログラム121、第2の処理プログラム122、第3の処理プログラム123である。ここで、これらプログラムをプログラム領域120に書き込む際には、先頭バイトに番号を付与して書き込みを行う。
In the
論理物理変換テーブル106は、コントロール部102内のRAMに一時記憶され、ホスト160からの書き込みや消去コマンドによるデータの書き込みや消去が行われた後に更新され、テーブル領域130に書き戻されるものである。
The logical-physical conversion table 106 is temporarily stored in the RAM in the
図2は、本発明の実施の形態における不揮発性記憶システムの処理内容を示すフローチャートである。 FIG. 2 is a flowchart showing the processing contents of the nonvolatile storage system according to the embodiment of the present invention.
図3は、本発明の実施の形態における不揮発性記憶システムの処理内容を示すタイムチャートである。 FIG. 3 is a time chart showing processing contents of the nonvolatile memory system according to the embodiment of the present invention.
図4は、メモリインターフェイス部103の読み出し処理内容を示すフローチャート、図5は、メモリインターフェイス部103の書き込み処理内容を示すフローチャート、図6は、メモリインターフェイス部103の消去処理内容を示すフローチャートである。
4 is a flowchart showing the contents of read processing of the
以上のように構成された不揮発性記憶システムについて、図2を用いて動作を説明する。 The operation of the nonvolatile storage system configured as described above will be described with reference to FIG.
まず、ホスト160がホストインターフェイス部101にコマンドを送信し(S200)、ホストインターフェイス部101がコマンドを受信し(S201)、ホストインターフェイス部101が受信したコマンドから動作モードを決定する(S202)。
First, the
ここで、表1を用いてS202の処理について詳細に説明する。動作モードはホスト160から送信されるコマンドの種類により初期化、通常動作の2種類に分別される。またプログラム領域120での先頭バイトの値は、読み出しの場合が0x01、書き込みの場合が0x02、消去の場合が0x03とする。
Here, the processing of S202 will be described in detail using Table 1. The operation mode is classified into two types of initialization and normal operation according to the type of command transmitted from the
初期化とは、不揮発性記憶装置150の電源立ち上げ直後にホスト160から受信した初期化コマンドに応じて、メモリインターフェイス部103がテーブル領域130からコントロール部102内のRAMに論理物理変換テーブル106を読み出す等の動作を実施し、データの読み出しや書き込みを実行可能な状態にすることを言う。一方、通常動作とは、初期化の後にホスト160からのコマンドに応じてメモリインターフェイス部103が通常領域140に対して書き込みまたは読み出しまたは消去を行う動作のことを言う。
Initialization means that the
読み出しについて、図4のフローチャートを用いて説明する。 Reading will be described with reference to the flowchart of FIG.
読み出しとは、ホスト160から指定された論理アドレスに対応する通常領域140内の物理アドレスに記録されたデータを読み出す動作である。メモリインターフェイス部103は不揮発性メモリ110にアドレス入力命令を送信し(S400)、物理アドレスを出力し(S401)、最後に読み出し開始命令を送信(S402)することにより読み出しが実行される。
Reading is an operation of reading data recorded at a physical address in the
書き込みについて、図5のフローチャートを用いて説明する。 Writing will be described with reference to the flowchart of FIG.
書き込みとは、ホスト160から指定された論理アドレスに対応する通常領域140内の物理アドレスに指定されたデータを書き込む動作である。メモリインターフェイス部103は不揮発性メモリ110にデータ・アドレス入力命令を送信し(S500)、物理アドレスを出力し(S501)、更にデータを出力し(S502)、最後に書き込み開始命令を送信(S503)することによりに書き込みが実行される。
The writing is an operation of writing data designated at a physical address in the
消去について、図6のフローチャートを用いて説明する。 The erasure will be described with reference to the flowchart of FIG.
消去とは、ホスト160から指定された論理アドレスに対応する通常領域140内の物理アドレスのデータを通常領域140から消去する動作である。メモリインターフェイス部103は不揮発性メモリ110にアドレス入力命令を送信し(S600)、物理アドレスを出力し(S601)、最後に消去開始命令を送信する(S602)ことによりに消去が実行される。
The erasing is an operation of erasing data of the physical address in the
図2に戻り、その後の説明を行う。 Returning to FIG. 2, the following description will be given.
ホストインターフェイス部101は、動作モードが通常動作であるか否かの判定を行い(S203)、通常動作であればホストインターフェイス部101がコマンドの引数から論理アドレスを取り出し(S204)、ホストインターフェイス部101がコマンドと論理アドレスをコントロール部102へ送信し(S205)、コントロール部102が論理物理変換テーブル106を用いて論理アドレスを物理アドレスに変換し(S206)、コントロール部102が物理アドレスをメモリインターフェイス部103に送信し(S207)、RAM104上のプログラムに基づいてメモリインターフェイス部103が通常領域140にアクセスする(S213)。
The
なお、上述した論理物理変換処理とは、不揮発性メモリ110の書き込み回数の制限(寿命)に対応するためのいわゆるウェアレベリング処理であり、既知の技術を用いて実現することができるので説明を省略する。
The logical-physical conversion process described above is a so-called wear leveling process for dealing with the limit (lifetime) of the number of writes in the
次に、S208からの動作を説明する。S208〜S210は、S202の処理後、S203とは並行して実行されるものである。 Next, the operation from S208 will be described. S208 to S210 are executed in parallel with S203 after the processing of S202.
プログラム選択部105が実行するプログラムを選択する(S208)。
A program to be executed by the
プログラムの選択において、例えば動作モードが初期化であれば前述したプログラム領域120の先頭バイトが0x01である「読み出し」プログラムを選択。動作モードが通常動作であり、コマンドから選択するプログラムが消去であればプログラム領域120の先頭バイトが0x03である「消去」プログラムを選択する。ここでプログラム選択部105は先頭バイト(以降、新規先頭バイトとする)のデータを保持する。
In selecting a program, for example, if the operation mode is initialization, a “read” program in which the first byte of the
その後、該プログラムがダウンロード未であるか判定を行い(S209)、ダウンロード未ならばプログラムダウンロード部107がプログラム領域120上のプログラムをRAM104にダウンロードする(S210)。
Thereafter, it is determined whether the program has not been downloaded (S209). If the program has not been downloaded, the
ここで、S209およびS210の処理について、詳細に説明する。まず、プログラムダウンロード部107が既にダウンロードしたプログラムの先頭1バイト(以降、旧先頭バイトとする)をRAM104から取得し保持する。新規先頭バイトと旧先頭バイトのデータを比較する。それらが異なっていればyesと判定し、同じであればnoと判定する。noと判定した場合、S210の処理を実行しない。S209において、例えばホスト160からのコマンドが2回連続で動作モードが通常動作でありプログラムが消去であった場合、2回目はS209の判定はnoとなる。noと判定した場合S210の処理はスキップされるためプログラムをプログラム領域120からダウンロードしない。
Here, the processing of S209 and S210 will be described in detail. First, the first byte of the program already downloaded by the program download unit 107 (hereinafter referred to as the old first byte) is acquired from the
なお、S205からS207までの処理をS220し、S208からS210までの処理をS230とする。 Note that the processing from S205 to S207 is S220, and the processing from S208 to S210 is S230.
次に、S203の判定で動作モードが初期化の場合の処理を説明する。 Next, a process when the operation mode is initialization in the determination of S203 will be described.
プログラムがダウンロード済であるかの判定を行い(S211)、ダウンロード済みであれば、コントロール部102がテーブル領域130の論理物理変換テーブル106をコントロール部102内のRAMに読み出す(S212)。
It is determined whether the program has been downloaded (S211). If the program has been downloaded, the
ここで、S211およびS212の処理について詳細に説明する。まず、初期化に必要なプログラムは、表1に示すように「読み出し」となるため、RAM104の先頭バイトを取得し0x01であるかをチェックする。0x01ではなかった場合、判定はnoとなるためもう一度RAM104の先頭バイトを取得して判定を行う。この時、同時にS230の処理が動作している。S230は動作モードが初期化であることから読み出しのプログラムをダウンロードする。このためプログラムのダウンロードが完了するとS211の判定は、yesとなり、S212の処理を行う。
Here, the processing of S211 and S212 will be described in detail. First, since the program necessary for initialization is “read” as shown in Table 1, the first byte of the
図3を用いてコントロール部102とプログラム選択部105、プログラムダウンロード部107の時間関係について説明する。
The time relationship between the
まず、メモリインターフェイス部103は物理アドレスで不揮発性メモリ110にアクセスする。通常動作の場合、ホスト160は論理アドレスで不揮発性記憶装置150にアクセスするため、コントロール部102で論理アドレスを物理アドレスに変換して、物理アドレスをメモリインターフェイス部103に渡す処理を行わなければならない。つまり、メモリインターフェイス部103が不揮発性メモリ110にアクセスするためには、コントロール部102の論理物理変換処理によって物理アドレスを確定しなければならない。
First, the
そこで、コントロール部102の論理物理変換処理の期間を利用して、プログラムダウンロード部107がプログラムのダウンロードを行う。
Therefore, the
以上のように、本発明の実施の形態に示す不揮発性記憶システムは、プログラムダウンロード部107がプログラム選択部105の選択指示に応じてプログラムを選択的にダウンロードするので、ROM104の容量を削減することができる。
As described above, the nonvolatile storage system according to the embodiment of the present invention reduces the capacity of the
また、通常動作の場合、コントロール部102の論理物理変換などの処理に並行してプログラムダウンロード部107のダウンロード処理を行うようにしたので、コントロール部102の処理に要する時間内でダウンロード処理を行うことができる。すなわち、ダウンロードに要する時間的オーバーヘッドが不要になる。
Further, in the normal operation, the download process of the
また、製品出荷前にメモリインターフェイス部130のプログラムをプログラム領域120に予め書き込んでおき、書き込みの際に先頭バイトに番号を付与することで、プログラム領域120を第1の処理プログラム121、第2の処理プログラム122、第3の処理プログラム123を区別することでプログラム選択部105が選択したプログラムをプログラムダウンロード部107がダウンロードする前にRAM104上のプログラムを比較することができる。これにより比較した結果が違う場合にのみRAM上にダウンロードするという処理が出来る。このようにプログラム領域120からRAM104へのダウンロードを必要最低限にすることで省電力を実現できる。
Further, the program of the
本発明にかかる不揮発性記憶メモリは、メモリコントローラおよびそれを搭載した不揮発性記憶装置や不揮発性記憶システムの低コスト化を提案したものであり、半導体メモリカード等の不揮発性記憶装置を使用した静止画記録再生装置や動画記録再生装置、あるいは携帯電話において有益である。 The non-volatile memory according to the present invention proposes a cost reduction of a memory controller and a non-volatile memory device or a non-volatile memory system on which the memory controller is mounted, and uses a non-volatile memory device such as a semiconductor memory card. This is useful in an image recording / reproducing apparatus, a moving picture recording / reproducing apparatus, or a mobile phone.
100 メモリコントローラ
101 ホストインターフェイス部
102 コントロール部
103 メモリインターフェイス部
104 RAM
105 プログラム選択部
106 論理物理変換テーブル
107 プログラムダウンロード部
110 不揮発性メモリ
120 プログラム領域
121 第1の処理プログラム
122 第2の処理プログラム
123 第3の処理プログラム
130 テーブル領域
140 通常領域
150 不揮発性記憶装置
160 ホスト
100
DESCRIPTION OF
Claims (8)
外部との通信を行うホストインターフェイス部と、メモリコントローラの各部の動作を制御するコントロール部と、前記不揮発性メモリへの読み書き制御を行うメモリインターフェイス部とを備え、
前記コントロール部は、前記メモリインターフェイス部に対して該メモリインターフェイス部の読み書き制御に必要なプログラムの選択指示を行うプログラム選択部を有し、
前記メモリインターフェイス部は、前記選択指示に応じて前記不揮発性メモリから前記プログラムを選択的にダウンロードするプログラムダウンロード部を有し、ダウンロードした前記プログラムをRAMに保持することを特徴とするメモリコントローラ。 A memory controller for writing data to a nonvolatile memory and reading data from the nonvolatile memory,
A host interface unit that communicates with the outside, a control unit that controls the operation of each unit of the memory controller, and a memory interface unit that performs read / write control on the nonvolatile memory,
The control unit includes a program selection unit that instructs the memory interface unit to select a program necessary for read / write control of the memory interface unit,
The memory interface unit includes a program download unit that selectively downloads the program from the nonvolatile memory according to the selection instruction, and stores the downloaded program in a RAM.
前記メモリコントローラは、外部との通信を行うホストインターフェイス部と、メモリコントローラの各部の動作を制御するコントロール部と、前記不揮発性メモリへの読み書き制御を行うメモリインターフェイス部とを備え、
前記コントロール部は、前記メモリインターフェイス部に対して該メモリインターフェイス部の読み書き制御に必要なプログラムの選択指示を行うプログラム選択部を有し、
前記メモリインターフェイス部は、前記選択指示に応じて前記不揮発性メモリから前記プログラムを選択的にダウンロードするプログラムダウンロード部を有し、ダウンロードした前記プログラムをRAMに保持することを特徴とする不揮発性記憶装置。 A non-volatile storage device having a non-volatile memory and a memory controller for writing and reading data to and from the non-volatile memory,
The memory controller includes a host interface unit that communicates with the outside, a control unit that controls the operation of each unit of the memory controller, and a memory interface unit that performs read / write control on the nonvolatile memory,
The control unit includes a program selection unit that instructs the memory interface unit to select a program necessary for read / write control of the memory interface unit,
The memory interface unit includes a program download unit that selectively downloads the program from the nonvolatile memory in response to the selection instruction, and stores the downloaded program in a RAM. .
前記不揮発性記憶装置は、不揮発メモリと、前記不揮発性メモリに対するデータの書き込みおよび読み出しを行うメモリコントローラとを有し、
前記メモリコントローラは、前記ホスト機器との通信を行うホストインターフェイス部と、メモリコントローラの各部の動作を制御するコントロール部と、前記不揮発性メモリへの読み書き制御を行うメモリインターフェイス部とを備え、
前記コントロール部は、前記メモリインターフェイス部に対して該メモリインターフェイス部の読み書き制御に必要なプログラムの選択指示を行うプログラム選択部を有し、
前記メモリインターフェイス部は、前記選択指示に応じて前記不揮発性メモリから前記プログラムを選択的にダウンロードするプログラムダウンロード部を有し、ダウンロードした前記プログラムをRAMに保持することを特徴とする不揮発性記憶システム。 A nonvolatile storage system having a host device and a nonvolatile storage device connected to the host device,
The nonvolatile memory device includes a nonvolatile memory, and a memory controller that writes and reads data to and from the nonvolatile memory,
The memory controller includes a host interface unit that communicates with the host device, a control unit that controls the operation of each unit of the memory controller, and a memory interface unit that performs read / write control on the nonvolatile memory,
The control unit includes a program selection unit that instructs the memory interface unit to select a program necessary for read / write control of the memory interface unit,
The memory interface unit includes a program download unit that selectively downloads the program from the nonvolatile memory according to the selection instruction, and stores the downloaded program in a RAM. .
データの読み書き命令に応じて、前記不揮発性メモリからデータの読み書きを実行するプログラムを該不揮発性メモリから選択的に読み出し、
読み出した前記プログラムをRAMにダウンロードを行うダウンロード処理を、他の処理と並行して実行することを特徴とするメモリ制御方法。 A memory control method for a non-volatile memory, comprising:
In accordance with a data read / write instruction, a program for performing data read / write from the nonvolatile memory is selectively read from the nonvolatile memory,
A memory control method, wherein download processing for downloading the read program to a RAM is executed in parallel with other processing.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006173324A JP2009205187A (en) | 2006-06-23 | 2006-06-23 | Memory controller, nonvolatile storage device, nonvolatile storage system, and memory control method |
PCT/JP2007/062569 WO2007148778A1 (en) | 2006-06-23 | 2007-06-22 | Memory controller, nonvolatile memory device, nonvolatile memory system, and memory control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006173324A JP2009205187A (en) | 2006-06-23 | 2006-06-23 | Memory controller, nonvolatile storage device, nonvolatile storage system, and memory control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009205187A true JP2009205187A (en) | 2009-09-10 |
Family
ID=38833515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006173324A Pending JP2009205187A (en) | 2006-06-23 | 2006-06-23 | Memory controller, nonvolatile storage device, nonvolatile storage system, and memory control method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2009205187A (en) |
WO (1) | WO2007148778A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012003518A (en) * | 2010-06-17 | 2012-01-05 | Fujitsu Ltd | Controller, control method and storage system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002207715A (en) * | 2001-01-11 | 2002-07-26 | Mitsubishi Electric Corp | Micro-computer, and method of controlling memory used therefor |
JP2004258946A (en) * | 2003-02-26 | 2004-09-16 | Renesas Technology Corp | Memory card |
US7594135B2 (en) * | 2003-12-31 | 2009-09-22 | Sandisk Corporation | Flash memory system startup operation |
-
2006
- 2006-06-23 JP JP2006173324A patent/JP2009205187A/en active Pending
-
2007
- 2007-06-22 WO PCT/JP2007/062569 patent/WO2007148778A1/en active Application Filing
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012003518A (en) * | 2010-06-17 | 2012-01-05 | Fujitsu Ltd | Controller, control method and storage system |
Also Published As
Publication number | Publication date |
---|---|
WO2007148778A1 (en) | 2007-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100017557A1 (en) | Memory controller, nonvolatile memory device,access device, and nonvolatile memory system | |
US20070214309A1 (en) | Nonvolatile storage device and data writing method thereof | |
JPWO2007000862A1 (en) | MEMORY CONTROLLER, NONVOLATILE MEMORY DEVICE, NONVOLATILE MEMORY SYSTEM, AND DATA WRITE METHOD | |
US20050278480A1 (en) | Method of writing data into flash memory | |
JP2004295865A (en) | Automatic booting system and automatic booting method | |
JP5378197B2 (en) | Memory controller, memory card, nonvolatile memory system | |
US8380920B2 (en) | Flash storage device and data access method of flash memory | |
JP4177360B2 (en) | Memory controller, flash memory system, and flash memory control method | |
US20090210612A1 (en) | Memory controller, nonvolatile memory device, and nonvolatile memory system | |
JP2008305061A (en) | Memory controller, nonvolatile storage device, and nonvolatile storage system | |
US8010734B2 (en) | Method and system for reading instructions from NAND flash memory and writing them into SRAM for execution by a processing device | |
JP2009175877A (en) | Semiconductor memory | |
JP4235646B2 (en) | Memory controller and flash memory system | |
JP4308780B2 (en) | Semiconductor memory device, memory controller, and data recording method | |
JP2008097132A (en) | Memory controller, nonvolatile storage device, and nonvolatile storage system | |
US20050204115A1 (en) | Semiconductor memory device, memory controller and data recording method | |
JP2009205187A (en) | Memory controller, nonvolatile storage device, nonvolatile storage system, and memory control method | |
JP4910426B2 (en) | Non-volatile memory device writing method | |
JP2006195736A (en) | Semiconductor storage device and control method for same | |
JP2007052558A (en) | Flash memory rewrite device, flash memory rewrite method and flash memory rewrite program | |
JP4710274B2 (en) | MEMORY DEVICE, MEMORY DEVICE CONTROL METHOD, AND DATA PROCESSING SYSTEM | |
JP4818453B1 (en) | Electronic device and data reading method | |
JP2007280329A (en) | Nonvolatile storage device and method for managing the same device | |
CN107436729B (en) | Control device of storage system and storage space recovery method thereof | |
JP3934659B1 (en) | Memory controller and flash memory system |