JP2005327286A - Memory system and main data loading method for safely loading main data - Google Patents
Memory system and main data loading method for safely loading main data Download PDFInfo
- Publication number
- JP2005327286A JP2005327286A JP2005137792A JP2005137792A JP2005327286A JP 2005327286 A JP2005327286 A JP 2005327286A JP 2005137792 A JP2005137792 A JP 2005137792A JP 2005137792 A JP2005137792 A JP 2005137792A JP 2005327286 A JP2005327286 A JP 2005327286A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- main
- dummy data
- memory system
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4403—Processor initialisation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Stored Programmes (AREA)
Abstract
【課題】 メインデータを安全にローディングするためのメモリシステムおよびメインデータローディング方法を提供する。
【解決手段】 本発明によるメモリシステムはメインメモリ、基準データ貯蔵装置、およびコントローラを含む。メインメモリはメインデータおよびダミーデータを貯蔵する。基準データ貯蔵装置はダミーデータと同一な基準データを貯蔵する。そしてコントローラはパワーアップ時、メインメモリからダミーデータにアクセスし、メインメモリからアクセスされたダミーデータが基準データ貯蔵装置に貯蔵された基準データと一致する時、メインメモリからメインデータをアクセスする。本発明によれば、パワーアップ時にメインデータを安全にアクセスすることができる。
【選択図】 図2PROBLEM TO BE SOLVED: To provide a memory system and a main data loading method for safely loading main data.
A memory system according to the present invention includes a main memory, a reference data storage device, and a controller. The main memory stores main data and dummy data. The reference data storage device stores the same reference data as the dummy data. The controller accesses the dummy data from the main memory at power-up, and accesses the main data from the main memory when the dummy data accessed from the main memory matches the reference data stored in the reference data storage device. According to the present invention, main data can be safely accessed at power-up.
[Selection] Figure 2
Description
本発明はメモリシステムに係わり、さらに詳細にはパワーアップ時に安定的にメインデータ(例えば、ブートコード)をローディングするためのメモリシステムおよびメインデータローディング方法に関する。 The present invention relates to a memory system, and more particularly to a memory system and a main data loading method for stably loading main data (for example, boot code) at power-up.
半導体メモリ装置は、一般的にDRAM、SRAMなどのような揮発性メモリ装置と 、PROM、EPROM、EEPROM、FRAMなどのような不揮発性メモリ装置に分類される。揮発性メモリ装置は電源が遮断される時、貯蔵されたデータを失ってしまうが、不揮発性メモリ装置は電源が遮断されても貯蔵されたデータを保存する。したがって、不揮発性メモリ装置(特に、フラッシュメモリ装置)は電源供給が遮断される可能性が高い様々な応用分野(例えば、コンピュータシステムなど)で記録貯蔵媒体として広く使用されている。また、フラッシュメモリ装置は高いプログラミング速度、低い電極消費などの長所を有するので、コンピュータシステムなどでBIOS(Basic Input/Output System)、ブートコード(Boot code)などの貯蔵媒体として使用されている。 Semiconductor memory devices are generally classified into volatile memory devices such as DRAM and SRAM, and non-volatile memory devices such as PROM, EPROM, EEPROM, and FRAM. The volatile memory device loses the stored data when the power is cut off, but the non-volatile memory device stores the stored data even when the power is cut off. Accordingly, nonvolatile memory devices (particularly flash memory devices) are widely used as recording storage media in various application fields (for example, computer systems) where there is a high possibility that power supply will be interrupted. In addition, since the flash memory device has advantages such as high programming speed and low electrode consumption, it is used as a storage medium such as BIOS (Basic Input / Output System) and boot code (Boot code) in a computer system.
フラッシュメモリ装置は、BIOSコードデータ、ブートコード、またはパスワード(Password)のような特定情報を貯蔵するためのブートブロックを具備する。ブートブロックはシステムが電源オンとなるとき、ホストによって最も先にアクセスされる領域である。このようなブートブロックの消去およびプログラム動作は普通のデータブロックに比べてよく実行される。システムに電源電圧Vccが印加される時、ホストはシステムの初期化に必要なブートコードをアクセスする。 The flash memory device includes a boot block for storing specific information such as BIOS code data, a boot code, or a password. The boot block is the first area accessed by the host when the system is powered on. Such boot block erase and program operations are performed more often than ordinary data blocks. When the power supply voltage Vcc is applied to the system, the host accesses the boot code necessary for system initialization.
しかし、電源電圧Vccがシステムに印加される時、電源電圧は普通数百μsecにかけてフルスイング(full−swing)になる。 したがって、電源電圧がフルスイングされる途中、または電源電圧Vccの最小マージン(margin)以下でブートコードがフラッシュメモリから読み出される可能性がある。この際、ブートコードの読み出し動作に必要な電圧が供給されなくて、ブーティング動作にエラーが発生することがある。システムの初期化に必要なブートコードに障害が発生されれば、システムの自体の動作も不可能となる。このような問題点を解決するために、フラッシュメモリ装置の内部に発振器(Oscillator)などをおいて一定の時間(例えば、約300μsec)が経過された後に、ブートコードをローディングするようにしている。しかし、システム電源がオンとなるたびに電源電圧のフルスイング時間は可変的であるので、発振器などのような素子をおいても、ブートコードのような重要なデータを安定的にローディングすることができない問題は相変らず存在する。 However, when the power supply voltage Vcc is applied to the system, the power supply voltage normally becomes a full-swing over several hundred μsec. Therefore, there is a possibility that the boot code is read from the flash memory during the full swing of the power supply voltage or within a minimum margin of the power supply voltage Vcc. At this time, a voltage required for the boot code read operation is not supplied, and an error may occur in the booting operation. If a failure occurs in the boot code necessary for system initialization, the operation of the system itself becomes impossible. In order to solve such a problem, the boot code is loaded after a certain time (for example, about 300 μsec) elapses by placing an oscillator (Oscillator) or the like inside the flash memory device. However, since the full swing time of the power supply voltage is variable each time the system power is turned on, it is possible to stably load important data such as a boot code even with an element such as an oscillator. There are still problems that cannot be done.
本発明は上述の問題点を解決するために提案されたことであり、本発明の目的はシステムに電源電圧が印加される時、ブートコードのようなメインデータを安定的にローディングすることができるメモリシステムおよびメインデータローディング方法を提供することにある。 The present invention has been proposed to solve the above-described problems, and an object of the present invention is to stably load main data such as a boot code when a power supply voltage is applied to the system. To provide a memory system and a main data loading method.
本発明の他の目的はNANDフラッシュメモリを含むメモリシステムにおいて、ブーティング動作を安全に実行することができるメモリシステムおよびブーティング方法を提供することにある。 Another object of the present invention is to provide a memory system and a booting method capable of safely executing a booting operation in a memory system including a NAND flash memory.
本発明によるメモリシステムは、メインメモリ、第1貯蔵装置、およびコントローラを含む。メインメモリはメインデータおよびダミーデータを貯蔵する。基準データ貯蔵装置はダミーデータと同一の基準データを貯蔵する。そしてコントローラはパワーアップ時前記メインメモリからダミーデータにアクセスし、前記メインメモリからアクセスされたダミーデータが前記第1貯蔵装置に貯蔵された基準データと一致する時、前記メインデータを第2貯蔵装置にロードする。 The memory system according to the present invention includes a main memory, a first storage device, and a controller. The main memory stores main data and dummy data. The reference data storage device stores the same reference data as the dummy data. The controller accesses the dummy data from the main memory at power-up, and when the dummy data accessed from the main memory matches the reference data stored in the first storage device, the main data is transferred to the second storage device. To load.
この実施形態において、前記メインデータはブートコードを含む。前記ダミーデータと前記基準データは前記メインメモリと前記第1貯蔵装置にあらかじめロードされた所定のコードである。 In this embodiment, the main data includes a boot code. The dummy data and the reference data are predetermined codes preloaded in the main memory and the first storage device.
この実施形態において、前記メインメモリは不揮発性メモリである。前記ダミーデータは前記メインメモリのOTPブロックにあらかじめ貯蔵される。前記不揮発性メモリはフラッシュメモリである。 In this embodiment, the main memory is a non-volatile memory. The dummy data is stored in advance in the OTP block of the main memory. The non-volatile memory is a flash memory.
この実施形態において、前記第1貯蔵装置はレジスタであり、前記第2貯蔵装置はRAMである。前記第1貯蔵装置は前記コントローラに内蔵される。前記コントローラと前記メインメモリは単一チップに内蔵される。前記メモリシステムはメモリカードである。 In this embodiment, the first storage device is a register and the second storage device is a RAM. The first storage device is built in the controller. The controller and the main memory are built in a single chip. The memory system is a memory card.
本発明によるメモリシステムの他の一面は、ブートコードとダミーデータとを貯蔵しているメモリと、前記ダミーデータと同一の基準データを貯蔵しているレジスタを有するコントローラとを含む。ここで、前記コントローラはパワーアップ時、前記メモリからダミーデータにアクセスし、前記アクセスされたダミーデータと前記レジスタに貯蔵された基準データとを比べ、これらが一致する時、前記ブートコードをブートRAMにロードする。 Another aspect of the memory system according to the present invention includes a memory storing a boot code and dummy data, and a controller having a register storing the same reference data as the dummy data. Here, the controller accesses dummy data from the memory at power-up, compares the accessed dummy data with the reference data stored in the register, and if they match, the boot code is stored in the boot RAM. To load.
この実施形態において、前記メモリシステムは電源電圧が印加される時、所定の時間の間前記ダミーデータをアクセスすることを遅延する遅延回路をさらに含む。前記遅延回路は発振器である。前記所定の時間は100μS〜200μSである。 In this embodiment, the memory system further includes a delay circuit that delays accessing the dummy data for a predetermined time when a power supply voltage is applied. The delay circuit is an oscillator. The predetermined time is 100 μS to 200 μS.
この実施形態において、前記メモリは不揮発性メモリである。前記ダミーデータは前記不揮発性メモリのOTPブロックに貯蔵される。前記メモリはフラッシュメモリである。前記フラッシュメモリはNANDフラッシュメモリである。 In this embodiment, the memory is a non-volatile memory. The dummy data is stored in the OTP block of the nonvolatile memory. The memory is a flash memory. The flash memory is a NAND flash memory.
この実施形態において、前記メモリシステムは単一チップに集積される。 In this embodiment, the memory system is integrated on a single chip.
本発明によるデータローディング方法は、メインメモリにメインデータとダミーデータとを貯蔵する段階と、第1貯蔵装置に前記ダミーデータと同一の基準データを貯蔵する段階と、パワーアップ信号が印加される時、前記メインメモリから前記ダミーデータにアクセスする段階と、前記メインメモリからアクセスされたダミーデータと前記第1貯蔵に貯蔵された基準データとを比べる段階と、前記第1貯蔵装置に貯蔵された基準データが前記メインメモリからアクセスされたダミーデータと一致する時、前記メインデータを第2貯蔵装置にロードする段階とを含む。 The data loading method according to the present invention includes a step of storing main data and dummy data in a main memory, a step of storing reference data identical to the dummy data in a first storage device, and a power-up signal is applied. Accessing the dummy data from the main memory; comparing the dummy data accessed from the main memory with reference data stored in the first storage; and a reference stored in the first storage device Loading the main data into the second storage device when the data matches the dummy data accessed from the main memory.
この実施形態において、前記第1貯蔵装置はレジスタであり、前記第2貯蔵装置はRAMである。前記メインメモリは不揮発性メモリである。前記ダミーデータは前記不揮発性メモリのOTPブロックに貯蔵される。前記不揮発性メモリはNANDフラッシュメモリである。 In this embodiment, the first storage device is a register and the second storage device is a RAM. The main memory is a nonvolatile memory. The dummy data is stored in the OTP block of the nonvolatile memory. The nonvolatile memory is a NAND flash memory.
この実施形態において、前記メインデータはブートコードを含む。 In this embodiment, the main data includes a boot code.
この実施形態において、前記メインデータと前記ダミーデータは前記メインメモリにあらかじめ貯蔵され、前記基準データは前記第1貯蔵装置にあらかじめ貯蔵され、前記パワーアップ信号は電源電圧が印加される時発生される。 In this embodiment, the main data and the dummy data are stored in advance in the main memory, the reference data is stored in advance in the first storage device, and the power-up signal is generated when a power supply voltage is applied. .
この実施形態において、前記メインメモリからアクセスされたダミーデータが前記第1貯蔵装置に貯蔵された基準データと一致しなければ、前記メインメモリから前記ダミーデータを再アクセスする段階をさらに含む。 In this embodiment, the method further includes re-accessing the dummy data from the main memory if the dummy data accessed from the main memory does not match the reference data stored in the first storage device.
本発明によるブーティング方法は、メインメモリにブートコードとダミーデータとを貯蔵する段階と、レジスタに前記ダミーデータと同一の基準データを貯蔵する段階と、電源電圧が印加される時前記メインメモリからダミーデータをアクセスする段階と、前記メインメモリからアクセスされたダミーデータと前記レジスタに貯蔵された基準データとを比べる段階と、前記レジスタに貯蔵された基準データが前記メインメモリからアクセスされたダミーデータと一致すれば、前記ブートコードをブートRAMにロードし、一致しなければ、前記アクセス段階と前記比較段階とを繰り返す段階とを含む。 The booting method according to the present invention includes a step of storing a boot code and dummy data in a main memory, a step of storing reference data identical to the dummy data in a register, and the main memory from when the power supply voltage is applied. Accessing dummy data; comparing dummy data accessed from the main memory with reference data stored in the register; and dummy data from which the reference data stored in the register is accessed from the main memory If it matches, the boot code is loaded into the boot RAM, and if not, the access step and the comparison step are repeated.
この実施形態において、前記ブーティング方法は前記ブートRAMにロードされたブートコードを使用してブーティング動作を実行する段階をさらに含む。 In this embodiment, the booting method further includes performing a booting operation using a boot code loaded in the boot RAM.
この実施形態において、電源電圧が印加される時、前記メインメモリからダミーデータをアクセスすることを100μS〜200μSの間遅延させることを特徴とする。 In this embodiment, when a power supply voltage is applied, access to dummy data from the main memory is delayed for 100 μS to 200 μS.
この実施形態において、前記メインメモリは不揮発性メモリである。前記ダミーデータは前記不揮発性メモリのOTPブロックに貯蔵される。 In this embodiment, the main memory is a non-volatile memory. The dummy data is stored in the OTP block of the nonvolatile memory.
本発明によるメモリシステムによると、電源電圧がフルスイングされる前、または電圧が最小マージンに到逹する前に、ブートコードのようなメインデータがローディングされることを防止することができる。これを通じて電源電圧がフルスイングされる時間の変化にかかわらず、メインデータを安全にローディングすることができる。 According to the memory system of the present invention, it is possible to prevent main data such as a boot code from being loaded before the power supply voltage is fully swung or before the voltage reaches the minimum margin. Through this, it is possible to safely load the main data regardless of changes in the time during which the power supply voltage is fully swung.
以下、本発明が属する技術分野で通常の知識を持つ者が本発明の技術的思想を容易に実施することができるだけ詳細に説明するために、本発明の最も望ましい実施形態を添付の図を参照して説明する。 DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to the most preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings so that those skilled in the art can easily implement the technical ideas of the present invention. To explain.
図1は本発明によるメモリシステムの第1実施形態を示すブロック図である。図1を参照すれば、メモリシステム10がメモリ100、基準データ貯蔵装置200、およびコントローラ300を含む。
FIG. 1 is a block diagram showing a first embodiment of a memory system according to the present invention. Referring to FIG. 1, the
前記メモリ100は前記メモリシステム10の動作に必須なメインデータを貯蔵するメイン領域101を有する。メインデータは例えば、ブートコード、BIOSコード、運営体制コードなどを含む。また、前記メモリ100はテストデータ(以下“ダミーデータ”という)を貯蔵するダミー領域102を含む。ダミーデータは前記メモリシステム10に印加される電源電圧の準備性(readiness)をテストするのに使用される。前記メモリ100はROM、NORフラッシュメモリ、NANDフラッシュメモリなどのような不揮発性メモリを含む。
The
前記基準データ貯蔵装置200は前記メモリ100に貯蔵されたダミーデータと同一の基準データを貯蔵する。前記基準データ貯蔵装置200はレジスタ、RAM、ROMなどの多様な形態で実現可能となる。前記基準データ貯蔵装置200はコントローラ300 内に含まれることもできる。
The reference
前記コントローラ300は前記メモリシステム10の動作を制御するプロセッサ(不図示)を含み、前記メモリ100と前記基準データ貯蔵装置200からデータを読み出す。
The
前記メモリシステム10に電源電圧が印加される時、前記コントローラ300は前記メモリシステム10をブーティングするために前記メモリ100からブートコードのような運営システムコードを読み出す。電源電圧が印加されるか、パワーオンリセット(Power−On−Reset;POR)信号が印加される時、前記コントローラ300は前記メモリ100のダミー領域102でダミーデータを読み出し、前記基準データ貯蔵装置200に貯蔵されている基準データと比べる。比較結果、ダミーデータと基準データが一致すれば、前記コントローラ300は真(true)を出力する。一方、ダミーデータと基準データが一致しなければ、前記コントローラ300は偽り(false)を出力する。比較結果、偽り(false)が出力されれば、前記コントローラ300はダミーデータを読み出し、基準データと比べる動作を繰り返す。
When a power supply voltage is applied to the
ここで、真(true)が出力されたことは前記メモリシステム10に供給される電源電圧がフルスイング状態に到逹したか、少なくとも前記メモリ100からエラーなしに正確にデータを読み出すことができる適当なレベルの電圧に到逹したことを意味する。この際、前記コントローラ300は前記メモリ100のメイン領域101に貯蔵されているメインデータをロード(load)する。
Here, the output of true indicates that the power supply voltage supplied to the
図2は図1に示したメモリシステムでメインデータをローディングする前までダミーデータを繰り返してローディングする動作を示す概念図である。図1に示したメモリシステムはパワーアップ時からダミーデータと基準データが一致するまでダミーデータを繰り返してローディングする。メインデータのローディング動作はダミーデータと基準データが一致する時から始まる。 FIG. 2 is a conceptual diagram showing an operation of loading dummy data repeatedly until main data is loaded in the memory system shown in FIG. The memory system shown in FIG. 1 repeatedly loads dummy data from the time of power-up until the dummy data matches the reference data. The main data loading operation starts when the dummy data matches the reference data.
ここで、パワーアップとは、メモリシステム10内に設けられているPOR(Power On Reset)回路(不図示)などのようなシステム初期化回路でリセット信号が発生された時を意味する。一般的に、メモリシステムは安定した動作のために初期状態で該当のメモリシステムにリセット信号を印加し、このリセット信号が印加された以後から正常な動作を実行するように設計されている。特に、メモリシステムがフィルタまたはフリップフロップなどのような素子を含んでいる場合には初期状態を予測することができないので、メモリシステムをリセットせず、そのまま運用したら、エラーが発生してユーザーが願う動作を実行させにくい。このようなリセット信号は外部から入力させるように別途のピン(pin)を作って電源電圧が印加された後、一定の時間が経った後に発生させることができる。また、POR回路のようなシステム初期化回路をメモリシステムに内蔵して電源が印加される場合、自動にリセット信号を発生させることもできる。
Here, power-up means when a reset signal is generated by a system initialization circuit such as a POR (Power On Reset) circuit (not shown) provided in the
再び、図2を参照すれば、ダミーデータと基準データが一致する時、メインデータのローディング動作が開始される。図2で参照符号1a、2a、3aはメインデータのローディングが開始される時点、すなわちダミーデータと基準データが一致する時点を意味する。 図2では、例として電源電圧がフルスイングされる時点1aで、メインデータがローディングされ始めることを示す。しかし、必ずここに限定されるのではなく、電源電圧がフルスイングされる前の時点3a、またはフルスイングされた後の時点2aでも、ダミーデータと基準データが一致すれば、メインデータをローディングし始める。
Referring again to FIG. 2, when the dummy data matches the reference data, the main data loading operation is started. In FIG. 2,
図3は図1に示したメモリシステムのメインデータローディング動作を示す順序図である。メモリシステム10に電源電圧Vccが入力され(S100)、システム初期化回路(例えば、POR回路)によってメモリシステム10がパワーアップされれば(S110)、コントローラ300はダミー領域102からダミーデータをローディングする(S200)。そしてコントローラ300はダミーデータと基準データ貯蔵装置200に貯蔵されている基準データが一致するか否かを調査する(S300)。もし、ダミーデータと基準データが一致しなければ、ダミー領域102からダミーデータを再ローディングする。ダミーデータが繰り返してローディングされる間に電源電圧はフルスイングに近くなる。電源電圧がフルスイング区間、または最小電源電圧マージン区間に到達されてダミーデータと基準データが一致するようになれば、前記コントローラ300はメイン領域101からメインデータをローディングし始める(S400)。
FIG. 3 is a flow chart showing a main data loading operation of the memory system shown in FIG. When the power supply voltage Vcc is input to the memory system 10 (S100) and the
再び、図1を参照すれば、前記メモリシステム10は電源電圧が印加される時、メインデータを安定的にローディングするためにダミーデータを繰り返してローディングする。 このようにする理由は、電源電圧Vccがフルスイングされる前に、より正確には、電源電圧の最小マージンに到逹する前にメインデータがローディングされることを防止するためである。電源電圧がフルスイングされる前にメインデータがローディングされれば、障害が発生される可能性が高いためである。すなわち、重要な情報をもっているメインデータをローディングする以前にダミーデータを繰り返してローディングし、ダミーデータのローディング動作に障害がない時、メインデータをローディングすることによって安定的にメインデータをローディングするためである。
Referring back to FIG. 1, the
図4は本発明によるメモリシステムの第2実施形態を示すブロック図である。ここで、上述の図1と同一の参照符号は同一の機能を実行する同一の部材を示す。図4を参照すれば、メモリシステム20は遅延回路400をさらに含む。前記遅延回路400はパワーアップ時から一定の時間の間ダミーデータがローディングされる時点を遅延する。前記遅延回路400は例えば、発振器またはタイマなどによって実現されることができる。発振器またはタイマなどのような遅延回路によって一定の時間の間データローディング動作が開始されることを遅延させることができることは当業者に自明の事実である。
FIG. 4 is a block diagram showing a second embodiment of the memory system according to the present invention. Here, the same reference numerals as those in FIG. 1 indicate the same members that perform the same functions. Referring to FIG. 4, the
前記遅延回路400によってパワーアップ時から所定の時間の間自動にローディング動作を遅延させる理由は電源電圧が印加され、フルスイングされるまで普通数百μsec程度の時間がかかるためである。すなわち、前記遅延回路400を通じてローディング動作を遅延させることによって、正常のローディング動作が実行されるのに必要な最小限の電源電圧のマージンを確保するためである。また、ダミーデータの繰り返すローディング動作による時間遅延を防止するためである。
The reason why the loading circuit automatically delays the loading operation for a predetermined time from the time of power-up by the
図5は図4に示したメモリシステムがパワーアップされ、一定の時間が遅延された後からメインデータをローディングする前までダミーデータを繰り返してローディングする動作を示す。図6を参照すれば、パワーアップ時から一定の時間(例えば、100μS〜200μS)が遅延された後ダミーデータがローディングされ始める。そしてダミーデータと基準データが一致する時、メインデータのローディング動作が始まる。図5で参照符号1b、2b、3bに対しては図2の説明と同様である。
FIG. 5 shows an operation of repeatedly loading dummy data after the memory system shown in FIG. 4 is powered up and after a predetermined time delay until before main data is loaded. Referring to FIG. 6, dummy data starts to be loaded after a certain time (for example, 100 μS to 200 μS) has been delayed from the time of power-up. When the dummy data matches the reference data, the main data loading operation starts.
図6は図4に示したメモリシステムのメインデータローディング動作を示す順序図である。前記メモリシステム20でデータローディング動作の順序および方法は図3で説明したことと同一である。ただ、図6ではパワーアップ段階(S110)とダミーデータローディング段階(S200)との間にダミーデータがローディングされる時点を遅延させる段階(S120)がさらに含まれている。
FIG. 6 is a flowchart showing a main data loading operation of the memory system shown in FIG. The order and method of data loading operations in the
図7は本発明によるメモリシステムの第3実施形態を示すブロック図である。図7に示したメモリシステム30は電源電圧Vccが印加される時、ブートブロック121にあるブートコードを安定的にローディングするためのものである。このために、前記メモリシステム30はNANDフラッシュメモリ110、レジスタ210、メモリコントローラ310、ブートRAM320、およびPOR回路330を含む。
FIG. 7 is a block diagram showing a third embodiment of the memory system according to the present invention. The
前記NANDフラッシュメモリ110は複数個のブロックBoot_Block、Block1〜Blockn、OTP_Blockを有するメモリセルアレイ120を含む。前記メモリセルアレイ120はブートコードを貯蔵するブートブロック121および データを貯蔵するOTPブロック122を具備する。
The
ここで、前記ブートブロックBoot_Block121はブーティング動作を実行するためのブートコードを貯蔵している。そしてOTPブロック(One−Time Programmable Block)122はブーティング動作時、前記ブートブロック121に貯蔵されたブートコードを安定的にローディングするために、ブートコードがローディングする前に、繰り返してローディングされるデータ(以下、OTPデータという)を貯蔵する。ここで、OTPブロックはただ一度だけプログラム可能なデータを貯蔵するためのブロックである。情報処理システムが複雑になることによって、ユーザーは使おうとするフラッシュメモリのID、すなわち、製造社のシリアル番号、製造日、保安が必要なデータなどをフラッシュメモリ内に貯蔵しようとする。このような保安データを貯蔵するための領域がOTPブロックである。OTPブロックには本来の目的に従って保安データがただ一度だけプログラムされ、一度プログラムされたデータは外部のどんな操作にも安全に保護されることができる。したがって、OTPブロック122に貯蔵されたOTPデータは安全に保全される。
Here, the
前記レジスタ210は前記OTPブロック122に貯蔵されているOTPデータに対応される基準データ(reference data)を貯蔵する。前記メモリコントローラ310はブーティング動作時メモリシステムの諸般の動作を制御する。前記メモリコントローラ310は電源電圧Vccが印加され、POR回路330によって前記メモリシステム30がパワーアップされた後にブートコードの安定的なローディングのためにブートコードをローディングする前にOTPデータを繰り返してローディングする。そして前記 OTPデータと前記レジスタ210に貯蔵されている基準データを比べる。OTPデータと基準データが一致すれば、前記メモリコントローラ310は前記ブートブロック121からブートコードをローディングし、ブートRAM320に伝達する。
The
前記ブートRAM320は前記NANDフラッシュメモリ110から伝達されたブートコードを貯蔵する。ブーティング動作はホストによって前記ブートRAM320に貯蔵されたブートコードをアクセスする動作を通じて行われる。
The
一方、前記NANDフラッシュメモリ、ブートRAM、レジスタ、およびメモリコントローラは一つの単一チップに集積されることができる。また、前記ブートRAM、レジスタ、およびメモリコントローラも一つの単一チップに集積されることができる。 Meanwhile, the NAND flash memory, boot RAM, register, and memory controller can be integrated on one single chip. The boot RAM, registers, and memory controller can also be integrated on one single chip.
図8は図7に示したメモリシステムのブーティング動作を示す順序図である。メモリシステム30に電源電圧Vccが入力され(S100)、POR回路330によってシステムがパワーアップされれば(S110)、メモリコントローラ310はOTPブロック122からOTPデータをローディングする(S210)。そして前記メモリコントローラ310はOTPデータとレジスタ210に貯蔵されている基準データが一致するか否かを調査する(S310)。もし、OTPデータと基準データが一致しなければ、OTPブロック122からOTPデータを再ローディングする。OTPデータが繰り返してローディングされる間に電源電圧はほとんどフルスイングされる。電源電圧がフルスイングされて OTPデータと基準データが一致するようになれば、前記メモリコントローラ310はブートブロック121からブートコードをローディングする(S410)。メモリコントローラ310にローディングされたブートコードはブートRAM320に伝達される(S510)。そしてホストによってブートRAM320に貯蔵されたブートコートをアクセスしてブーティング動作を実行する(S610)。
FIG. 8 is a flow chart showing a booting operation of the memory system shown in FIG. When the power supply voltage Vcc is input to the memory system 30 (S100) and the system is powered up by the POR circuit 330 (S110), the
図9は本発明によるメモリシステムの第4実施形態を示すブロック図である。ここで、上述の図7と同一の参照符号は同一の機能を実行する同一の部材を示す。図9に示したメモリシステム40は発振器340をさらに含む。前記発振器340はパワーアップ時から一定の時間の間(例えば、100μS〜200μS)OTPデータがローディングされる時点を遅延させる。
FIG. 9 is a block diagram showing a fourth embodiment of the memory system according to the present invention. Here, the same reference numerals as in FIG. 7 indicate the same members that perform the same functions. The
一方、図9に示したNANDフラッシュメモリ110、レジスタ210、メモリコントローラ310、ブートRAM320、POR回路330、発振器340は一つの単一チップに集積されることができる。
Meanwhile, the
図10は図9に示したメモリシステムのブーティング動作を示す順序図である。メモリシステム40でブートコードをローディングする動作およびホストによるブーティング動作は図8で説明したことと同一である。ただ、図10ではパワーアップ段階(S110)とOTPデータローディング段階(S210)との間にOTPデータがローディングされる時点を一定の時間の間(例えば、100μS〜200μS)遅延させる段階(S120)がさらに含まれている。
FIG. 10 is a flow chart showing a booting operation of the memory system shown in FIG. The operation of loading the boot code in the
本発明の詳細な説明では具体的な実施形態に関して説明したが、本発明の範囲から逸脱しない限度内で様々な変形が可能であることはもちろんである。したがって、本発明の範囲は上述の実施形態に限って決まるものではなく、特許請求の範囲だけでなく、この発明の特許請求の範囲と均等なものなどによって決められなければならない。 Although the detailed description of the present invention has been described with reference to specific embodiments, it should be understood that various modifications can be made without departing from the scope of the present invention. Therefore, the scope of the present invention is not limited to the above-described embodiments, but must be determined not only by the claims but also by the equivalents of the claims of the present invention.
10,20,30,40 メモリシステム
100 不揮発性メモリ
110 NANDフラッシュメモリ
120 メモリセルアレイ
121 ブートブロック
122 OTPブロック
200 基準データ貯蔵装置
210 レジスタ
300 コントローラ
310 メモリコントローラ
320 ブートRAM
330 POR回路
340 発振器
400 遅延回路
10, 20, 30, 40
330
Claims (32)
前記ダミーデータと同一の基準データを貯蔵する第1貯蔵装置と、
パワーアップ時、前記メインメモリからダミーデータにアクセスし、前記メインメモリからアクセスされたダミーデータが前記第1貯蔵装置に貯蔵された基準データと一致する時、前記メインデータを第2貯蔵装置にロードするコントローラとを含むことを特徴とするメモリシステム。 Main memory for storing main data and dummy data;
A first storage device for storing the same reference data as the dummy data;
When powering up, the dummy data is accessed from the main memory, and when the dummy data accessed from the main memory matches the reference data stored in the first storage device, the main data is loaded into the second storage device. A memory system.
前記ダミーデータと同一な基準データを貯蔵しているレジスタを有するコントローラとを含み、
前記コントローラはパワーアップ時、前記メモリからダミーデータにアクセスし、前記アクセスされたダミーデータと前記レジスタに貯蔵された基準データとを比べ、これらが一致する時、前記ブートコードをブートRAMにロードすることを特徴とするメモリシステム。 A memory storing boot code and dummy data; and
A controller having a register storing reference data identical to the dummy data,
The controller accesses dummy data from the memory at power-up, compares the accessed dummy data with reference data stored in the register, and loads the boot code into the boot RAM when they match. A memory system characterized by that.
第1貯蔵装置に前記ダミーデータと同一の基準データを貯蔵する段階と、
パワーアップ信号が印加される時、前記メインメモリから前記ダミーデータにアクセスする段階と、
前記メインメモリからアクセスされたダミーデータと前記第1貯蔵装置に貯蔵された基準データとを比べる段階と、
前記第1貯蔵装置に貯蔵された基準データが前記メインメモリからアクセスされたダミーデータと一致する時、前記メインデータを第2貯蔵装置にロードする段階とを含むことを特徴とするデータローディング方法。 Storing main data and dummy data in main memory;
Storing the same reference data as the dummy data in a first storage device;
Accessing the dummy data from the main memory when a power-up signal is applied;
Comparing dummy data accessed from the main memory with reference data stored in the first storage device;
And loading the main data into the second storage device when the reference data stored in the first storage device matches the dummy data accessed from the main memory.
レジスタに前記ダミーデータと同一の基準データを貯蔵する段階と、
電源電圧が印加される時、前記メインメモリからダミーデータにアクセスする段階と、
前記メインメモリからアクセスされたダミーデータと前記レジスタに貯蔵された基準データを比べる段階と、
前記レジスタに貯蔵された基準データが前記メインメモリからアクセスされたダミーデータと一致すれば、前記ブートコードをブートRAMにロードし、一致しなければ、前記アクセス段階と前記比較段階とを繰り返す段階とを含むことを特徴とするブーティング方法。 Storing boot code and dummy data in main memory;
Storing the same reference data as the dummy data in a register;
Accessing a dummy data from the main memory when a power supply voltage is applied;
Comparing dummy data accessed from the main memory with reference data stored in the register;
If the reference data stored in the register matches the dummy data accessed from the main memory, the boot code is loaded into the boot RAM; otherwise, the access step and the comparison step are repeated. A booting method comprising:
32. The booting method according to claim 31, wherein the dummy data is stored in an OTP block of the nonvolatile memory.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040033590A KR100634356B1 (en) | 2004-05-12 | 2004-05-12 | Memory system for loading main data safely and its data loading method |
US11/091,286 US7376825B2 (en) | 2004-05-12 | 2005-03-28 | System and method for accessing vital data from memory |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005327286A true JP2005327286A (en) | 2005-11-24 |
Family
ID=35336228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005137792A Pending JP2005327286A (en) | 2004-05-12 | 2005-05-10 | Memory system and main data loading method for safely loading main data |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2005327286A (en) |
DE (1) | DE102005022610A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03201148A (en) * | 1989-12-28 | 1991-09-03 | Mitsubishi Plastics Ind Ltd | Memory card |
JP2000339068A (en) * | 1999-04-23 | 2000-12-08 | Intersil Corp | Method for accessing main atx output without monitoring all outputs |
JP2002157169A (en) * | 2000-11-21 | 2002-05-31 | Funai Electric Co Ltd | Eeprom accessing device and nonvolatile memory accessing device and method |
JP2003085508A (en) * | 2001-09-13 | 2003-03-20 | Hitachi Ltd | Memory card and its initial setting method |
JP2004078483A (en) * | 2002-08-15 | 2004-03-11 | Meidensha Corp | Method of changing firmware program |
-
2005
- 2005-05-10 JP JP2005137792A patent/JP2005327286A/en active Pending
- 2005-05-10 DE DE200510022610 patent/DE102005022610A1/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03201148A (en) * | 1989-12-28 | 1991-09-03 | Mitsubishi Plastics Ind Ltd | Memory card |
JP2000339068A (en) * | 1999-04-23 | 2000-12-08 | Intersil Corp | Method for accessing main atx output without monitoring all outputs |
JP2002157169A (en) * | 2000-11-21 | 2002-05-31 | Funai Electric Co Ltd | Eeprom accessing device and nonvolatile memory accessing device and method |
JP2003085508A (en) * | 2001-09-13 | 2003-03-20 | Hitachi Ltd | Memory card and its initial setting method |
JP2004078483A (en) * | 2002-08-15 | 2004-03-11 | Meidensha Corp | Method of changing firmware program |
Also Published As
Publication number | Publication date |
---|---|
DE102005022610A1 (en) | 2005-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20090030078A (en) | A semiconductor memory device and a boot loading method thereof for safely performing a boot loading operation | |
KR100634356B1 (en) | Memory system for loading main data safely and its data loading method | |
JP3292864B2 (en) | Data processing device | |
US7466600B2 (en) | System and method for initiating a bad block disable process in a non-volatile memory | |
JP2005149715A (en) | Memory system having flash memory including OTP block | |
US11143701B2 (en) | Method for managing a return of a product for analysis and corresponding product | |
JP2006164273A (en) | Security boot apparatus and method | |
KR20060002664A (en) | Apparatus and method for controlling the mapping of memory addresses in embedded systems | |
JP2009054275A (en) | Flash memory device for storing multi-bit and single-bit data, method for programming the same, and memory system using the same | |
KR100758300B1 (en) | Flash memory device and its program method | |
JP5073977B2 (en) | Verification control method and method for semiconductor memory device | |
US20050021918A1 (en) | Memory and information processing systems with lockable buffer memories and related methods | |
JP2002015584A (en) | Read/protect circuit for non-volatile memory | |
JP2005327286A (en) | Memory system and main data loading method for safely loading main data | |
JPH103434A (en) | Semiconductor disk device and its write system | |
JPH11272472A (en) | Microcomputer | |
JP4031693B2 (en) | Nonvolatile memory and data storage device having the same | |
JP2005078489A (en) | Microcontroller and its control method | |
US7890721B2 (en) | Implementation of integrated status of a protection register word in a protection register array | |
KR20100054466A (en) | Semiconductor memory device and method for managing of characteristic information thereof | |
US7596717B2 (en) | Microcomputer and debugging method | |
JP3669625B2 (en) | Data processing system and method of operating data processing system | |
JPWO2004092962A1 (en) | Semiconductor device, reset control system, and memory reset method | |
JP4349886B2 (en) | Nonvolatile memory device | |
JPH11328089A (en) | Id information write circuit in device for pci bus interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080507 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110412 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110419 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110719 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110823 |