JP2006065396A - Memory management device - Google Patents

Memory management device Download PDF

Info

Publication number
JP2006065396A
JP2006065396A JP2004243983A JP2004243983A JP2006065396A JP 2006065396 A JP2006065396 A JP 2006065396A JP 2004243983 A JP2004243983 A JP 2004243983A JP 2004243983 A JP2004243983 A JP 2004243983A JP 2006065396 A JP2006065396 A JP 2006065396A
Authority
JP
Japan
Prior art keywords
memory
failure
memory management
failure detection
alternative
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
JP2004243983A
Other languages
Japanese (ja)
Inventor
Kenichi Ofuji
謙一 大藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2004243983A priority Critical patent/JP2006065396A/en
Publication of JP2006065396A publication Critical patent/JP2006065396A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory management system capable of improving reliability against a memory failure. <P>SOLUTION: An FPGA 10 stores a memory management table 12 for managing an access destination of a memory 20 holding at least one of a program and data, a memory failure detection part 13 detecting a failure of the memory 20, an alternative memory 15 holding at least one of the program and the data, and a table update part 14 changing the access destination in the memory management table 12 to the alternative memory 15 if a memory failure is detected by the memory failure detection part 13. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、DRAMなどの揮発性メモリを備えるコンピュータシステムにおいて、メモリ故障が発生した場合にこれを検出し、かつソフトウェアの動作に支障のない正常な状態に復帰させるメモリ管理装置に関するものである。   The present invention relates to a memory management apparatus that detects a memory failure when a computer system is provided with a volatile memory such as a DRAM and restores it to a normal state that does not hinder the operation of software.

従来、例えば、BIOS(Basic Input Output System)等をシステム起動時にDRAM等のメモリにロードする場合に、メモリの一部の領域に故障が発生すると、メモリの障害が発生していない領域にロードするようにしたものがあった(例えば、特許文献1参照)。   Conventionally, for example, when a BIOS (Basic Input Output System) or the like is loaded into a memory such as a DRAM at the time of system startup, if a failure occurs in a part of the memory, it is loaded into an area where no memory failure has occurred. There was something like that (see, for example, Patent Document 1).

特開2001−67229号公報JP 2001-67229 A

しかしながら、従来のメモリ管理装置では、例えば、メモリの制御を行うメモリコントローラ等に故障が発生した場合、メモリそのものをアクセスできなくなる。従って、このような状態が発生した場合には、外部のフラッシュメモリ等からメモリにBIOS等をロードすることが出来ないという問題があった。   However, in a conventional memory management device, for example, when a failure occurs in a memory controller that controls the memory, the memory itself cannot be accessed. Therefore, when such a situation occurs, there is a problem that the BIOS or the like cannot be loaded into the memory from an external flash memory or the like.

この発明は上記のような課題を解決するためになされたもので、メモリ故障に対して信頼性を向上させることのできるメモリ管理システムを得ることを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to obtain a memory management system capable of improving reliability against a memory failure.

この発明に係るメモリ管理装置は、演算処理機能を備える可変型の集積回路内に、プログラムおよびデータの少なくとも一方を保持するメモリのアクセス先を管理するためのメモリ管理テーブルと、メモリの故障を検出するメモリ故障検出部と、プログラムおよびデータの少なくとも一方を保持する代替メモリと、メモリ故障検出部でメモリ故障が検出された場合、メモリ管理テーブルにおけるアクセス先を、代替メモリに変更するテーブル更新部とを備えたものである。   A memory management device according to the present invention detects a memory failure and a memory management table for managing an access destination of a memory holding at least one of a program and data in a variable integrated circuit having an arithmetic processing function. A memory failure detection unit, a replacement memory holding at least one of a program and data, and a table update unit that changes an access destination in the memory management table to a replacement memory when a memory failure is detected by the memory failure detection unit; It is equipped with.

この発明のメモリ管理装置は、演算処理機能を備える可変型の集積回路内に、代替メモリを設け、メモリ故障検出部がメモリ故障を検出した場合は、アクセス先を代替メモリに変更するようにしたので、メモリ故障に対する信頼性を向上させることができる。   In the memory management device of the present invention, an alternative memory is provided in a variable integrated circuit having an arithmetic processing function, and when the memory failure detection unit detects a memory failure, the access destination is changed to the alternative memory. Therefore, the reliability against memory failure can be improved.

実施の形態1.
図1は、この発明の実施の形態1によるメモリ管理システムを示す構成図である。
図示のメモリ管理装置は、FPGA(フィールドプログラマブルゲートアレイ)10とメモリ20とフラッシュメモリ30からなり、これらの構成がCPUボード1上に設けられている。FPGA10は、演算処理機能を備える可変型の集積回路であり、メモリコントローラ11、メモリ管理テーブル12、メモリ故障検出部13、テーブル更新部14、代替メモリ15、プロセッサ16を備えている。
Embodiment 1 FIG.
FIG. 1 is a configuration diagram showing a memory management system according to Embodiment 1 of the present invention.
The illustrated memory management device includes an FPGA (field programmable gate array) 10, a memory 20, and a flash memory 30, and these configurations are provided on the CPU board 1. The FPGA 10 is a variable integrated circuit having an arithmetic processing function, and includes a memory controller 11, a memory management table 12, a memory failure detection unit 13, a table update unit 14, an alternative memory 15, and a processor 16.

メモリコントローラ11は、メモリ20を制御する制御部である。メモリ管理テーブル12は、メモリ20の構成を記憶し、メモリ20のアクセス先を管理するための管理テーブルである。メモリ故障検出部13は、メモリ20の故障を検出する機能部である。テーブル更新部14は、メモリ管理テーブル12を更新する機能部である。即ち、テーブル更新部14は、メモリ故障検出部13でメモリ故障が検出された場合、メモリ管理テーブル12におけるアクセス先を、代替メモリ15に設定する機能を有している。代替メモリ15は、例えば、メモリ20と同様にDRAMから構成されるメモリであり、メモリ20と同様に、プログラムおよびデータの少なくとも一方を保持するためのメモリである。プロセッサ16は、FPGA10内に設けられたプロセッサであり、メモリ20の初期化処理やフラッシュメモリ30からのBIOSのメモリ20へのロード処理といった処理を行う機能を有している。   The memory controller 11 is a control unit that controls the memory 20. The memory management table 12 is a management table for storing the configuration of the memory 20 and managing the access destination of the memory 20. The memory failure detection unit 13 is a functional unit that detects a failure of the memory 20. The table update unit 14 is a functional unit that updates the memory management table 12. That is, the table update unit 14 has a function of setting the access destination in the memory management table 12 in the alternative memory 15 when a memory failure is detected by the memory failure detection unit 13. The alternative memory 15 is, for example, a memory composed of a DRAM similar to the memory 20, and is a memory for holding at least one of a program and data similarly to the memory 20. The processor 16 is a processor provided in the FPGA 10 and has a function of performing processing such as initialization processing of the memory 20 and loading processing of the BIOS from the flash memory 30 to the memory 20.

メモリ20は、例えばDRAM等からなるプログラムおよびデータの少なくとも一方を保持するためのメモリであり、複数のバンク(図示例では8個のバンク)で構成されている。そして、メモリ故障検出部13における故障検出といったメモリ20の管理は、これらのバンク毎に行われるようになっている。また、フラッシュメモリ30は、BIOSといったソフトウェアを格納するためのメモリである。尚、図示例では、メモリ20における複数のバンクとして8個の場合を図示しているが、この値に限定されるものではない。   The memory 20 is a memory for holding at least one of a program and data composed of, for example, a DRAM or the like, and includes a plurality of banks (eight banks in the illustrated example). The management of the memory 20 such as failure detection in the memory failure detection unit 13 is performed for each bank. The flash memory 30 is a memory for storing software such as BIOS. In the illustrated example, eight banks are illustrated as a plurality of banks in the memory 20, but the present invention is not limited to this value.

次に、動作について説明する。
図2は、実施の形態1の動作を示すフローチャートである。
システム起動時には、先ず、メモリ20のリセットが行われる(ステップST1)。次に、テーブル更新部14は、メモリ20における処理中のバンクを示すバンク番号に初期値0を設定し(ステップST2)、プロセッサ16は、メモリ20におけるバンク0の初期化をメモリコントローラ11を介して実施する(ステップST3)。また、システムが起動されると、メモリ故障検出部13はメモリ20における各バンクの故障検出を行う(ステップST4)。即ち、メモリ故障検出部13は、プロセッサ16によるメモリ20へのアクセス状態を監視する。
Next, the operation will be described.
FIG. 2 is a flowchart showing the operation of the first embodiment.
When the system is started, the memory 20 is first reset (step ST1). Next, the table updating unit 14 sets an initial value 0 to the bank number indicating the bank being processed in the memory 20 (step ST2), and the processor 16 initializes the bank 0 in the memory 20 via the memory controller 11. (Step ST3). When the system is activated, the memory failure detection unit 13 detects a failure in each bank in the memory 20 (step ST4). That is, the memory failure detection unit 13 monitors an access state to the memory 20 by the processor 16.

ステップST4において、メモリ故障検出部13がメモリ故障を検出しない場合は、テーブル更新部14によってメモリ管理テーブル12のバンク番号がインクリメントされ(ステップST5)、バンク番号が8より小さい場合は(ステップST6)、ステップST3に戻り、プロセッサ16は、次のバンクの初期化処理へ移行する。一方、ステップST4において、メモリ故障検出部13がいずれかのメモリバンクの故障を検出した場合、テーブル更新部14は、故障したメモリバンクのバンク番号を代替メモリ15に置き換え(ステップST7)、メモリ管理テーブル12を更新する(ステップST8)。これにより、プロセッサ16は、置き換えられた代替メモリ15に対して初期化を行う。   In step ST4, if the memory failure detection unit 13 does not detect a memory failure, the table update unit 14 increments the bank number of the memory management table 12 (step ST5), and if the bank number is less than 8 (step ST6). Returning to step ST3, the processor 16 proceeds to the initialization process for the next bank. On the other hand, if the memory failure detection unit 13 detects a failure in any of the memory banks in step ST4, the table update unit 14 replaces the bank number of the failed memory bank with the alternative memory 15 (step ST7), and memory management The table 12 is updated (step ST8). As a result, the processor 16 initializes the replaced alternative memory 15.

また、メモリ20の初期化処理の後、プロセッサ16が、フラッシュメモリ30からBIOSをメモリ20にロードする場合も、メモリ故障検出部13がいずれかのメモリバンクの故障を検出した場合は、上記の動作と同様に、テーブル更新部14によってメモリ管理テーブル12が代替メモリ15に対応したアドレスに変更される。これにより、プロセッサ16は、フラッシュメモリ30から置き換えられた代替メモリ15にBIOSをロードし、これ以降、メモリ20における故障が発生したメモリバンクの代わりに代替メモリ15にアクセスする。   In addition, after the initialization process of the memory 20, the processor 16 loads the BIOS from the flash memory 30 to the memory 20, and also when the memory failure detection unit 13 detects a failure in any of the memory banks, Similarly to the operation, the table update unit 14 changes the memory management table 12 to an address corresponding to the alternative memory 15. As a result, the processor 16 loads the BIOS into the replacement memory 15 replaced from the flash memory 30 and thereafter accesses the replacement memory 15 instead of the memory bank in which the failure in the memory 20 has occurred.

以上のように、実施の形態1によれば、プログラムおよびデータの少なくとも一方を保持するメモリのアクセス先を管理するためのメモリ管理テーブルと、メモリの故障を検出するメモリ故障検出部と、プログラムおよびデータの少なくとも一方を保持する代替メモリと、メモリ故障検出部でメモリ故障が検出された場合、メモリ管理テーブルにおけるアクセス先を、代替メモリに変更するテーブル更新部とを、演算処理機能を備える可変型の集積回路に備えたので、従来のように、外部のメモリコントローラに起因するメモリへのアクセス不可状態の発生といったことを防止することができ、その結果、メモリ故障に対する信頼性の向上を図ることができる。   As described above, according to the first embodiment, a memory management table for managing an access destination of a memory that holds at least one of a program and data, a memory failure detection unit that detects a memory failure, a program, A variable memory having an arithmetic processing function, an alternative memory that holds at least one of data, and a table update unit that changes an access destination in the memory management table to an alternative memory when a memory failure is detected by the memory failure detection unit Therefore, it is possible to prevent the occurrence of an inaccessible state to the memory caused by an external memory controller as in the past, and as a result, to improve the reliability against a memory failure. Can do.

また、実施の形態1によれば、演算処理機能を備える可変型の集積回路を、フィールドプログラマブルゲートアレイとしたので、メモリ故障に対する信頼性をより向上させることができる。   Further, according to the first embodiment, since the variable integrated circuit having the arithmetic processing function is a field programmable gate array, the reliability against a memory failure can be further improved.

この発明の実施の形態1によるメモリ管理装置を示す構成図である。It is a block diagram which shows the memory management apparatus by Embodiment 1 of this invention. この発明の実施の形態1の動作を示すフローチャートである。It is a flowchart which shows operation | movement of Embodiment 1 of this invention.

符号の説明Explanation of symbols

10 フィールドプログラマブルゲートアレイ(FPGA)、12 メモリ管理テーブル、13 メモリ故障検出部、14 テーブル更新部、15 代替メモリ、20 メモリ。   10 field programmable gate array (FPGA), 12 memory management table, 13 memory failure detection unit, 14 table update unit, 15 alternative memory, 20 memory.

Claims (2)

プログラムおよびデータの少なくとも一方を保持するメモリのアクセス先を管理するためのメモリ管理テーブルと、
前記メモリの故障を検出するメモリ故障検出部と、
プログラムおよびデータの少なくとも一方を保持する代替メモリと、
前記メモリ故障検出部でメモリ故障が検出された場合、前記メモリ管理テーブルにおけるアクセス先を、前記代替メモリに変更するテーブル更新部とを、演算処理機能を備える可変型の集積回路に備えたメモリ管理装置。
A memory management table for managing an access destination of a memory holding at least one of a program and data;
A memory failure detection unit for detecting a failure of the memory;
An alternative memory for holding at least one of program and data;
Memory management provided in a variable integrated circuit having an arithmetic processing function, and a table updating unit that changes an access destination in the memory management table to the alternative memory when a memory failure is detected by the memory failure detection unit apparatus.
演算処理機能を備える可変型の集積回路は、フィールドプログラマブルゲートアレイであることを特徴とするメモリ管理装置。   The memory management device, wherein the variable integrated circuit having an arithmetic processing function is a field programmable gate array.
JP2004243983A 2004-08-24 2004-08-24 Memory management device Withdrawn JP2006065396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004243983A JP2006065396A (en) 2004-08-24 2004-08-24 Memory management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004243983A JP2006065396A (en) 2004-08-24 2004-08-24 Memory management device

Publications (1)

Publication Number Publication Date
JP2006065396A true JP2006065396A (en) 2006-03-09

Family

ID=36111876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004243983A Withdrawn JP2006065396A (en) 2004-08-24 2004-08-24 Memory management device

Country Status (1)

Country Link
JP (1) JP2006065396A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010238192A (en) * 2009-03-31 2010-10-21 Fujitsu Ltd Memory controller, memory module and memory control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010238192A (en) * 2009-03-31 2010-10-21 Fujitsu Ltd Memory controller, memory module and memory control method
US8495463B2 (en) 2009-03-31 2013-07-23 Fujitsu Limited Memory controlling apparatus and method

Similar Documents

Publication Publication Date Title
US10705902B2 (en) Crash log storage and retrieval using boot partitions in solid state systems
TWI335536B (en) Information handling system (ihs) method and for updating a non-volatile memory (nvm) included in an information handling system
US9910664B2 (en) System and method of online firmware update for baseboard management controller (BMC) devices
CN107885670B (en) Computer system and computer execution method
TWI357574B (en) Method and device to prevent the bios boot failure
US20140173328A1 (en) Correcting a failure associated with a current firmware image
US9336082B2 (en) Validating persistent memory content for processor main memory
US9886408B2 (en) Data access protection for computer systems
JP5703378B2 (en) Alignment control
JP2010224847A (en) Computer system and setting management method
KR101141487B1 (en) Enabling an integrated memory controller to transparently work with defective memory devices
WO2015153645A1 (en) Memory migration in presence of live memory traffic
US20090254732A1 (en) Enabling Memory Module Slots In A Computing System After A Repair Action
US20090006827A1 (en) Firmware Processing for Operating System Panic Data
US20070050612A1 (en) Boot program update and restoration system and method thereof
JP6049961B1 (en) CPU monitoring device
JP2006065396A (en) Memory management device
US20160148704A1 (en) Electronic device and operating method thereof
KR101342074B1 (en) Computer system and control method thereof
JP2008102761A (en) Method for updating embedded firmware
JP2000235483A (en) Information processor
US20180373582A1 (en) Data access device and access error notification method
JP2015011436A (en) Processor
JP2007122259A (en) Information processing apparatus and memory control method for the same
JP5645262B2 (en) Information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060116

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070206