JP4438739B2 - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP4438739B2 JP4438739B2 JP2005338028A JP2005338028A JP4438739B2 JP 4438739 B2 JP4438739 B2 JP 4438739B2 JP 2005338028 A JP2005338028 A JP 2005338028A JP 2005338028 A JP2005338028 A JP 2005338028A JP 4438739 B2 JP4438739 B2 JP 4438739B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- block
- block address
- address
- image forming
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000015654 memory Effects 0.000 claims description 169
- 238000006243 chemical reaction Methods 0.000 claims description 66
- 238000000034 method Methods 0.000 claims description 13
- 239000004065 semiconductor Substances 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000001174 ascending effect Effects 0.000 description 3
- WBMKMLWMIQUJDP-STHHAXOLSA-N (4R,4aS,7aR,12bS)-4a,9-dihydroxy-3-prop-2-ynyl-2,4,5,6,7a,13-hexahydro-1H-4,12-methanobenzofuro[3,2-e]isoquinolin-7-one hydrochloride Chemical compound Cl.Oc1ccc2C[C@H]3N(CC#C)CC[C@@]45[C@@H](Oc1c24)C(=O)CC[C@@]35O WBMKMLWMIQUJDP-STHHAXOLSA-N 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Memory System (AREA)
Description
本発明は、用紙を搬送して用紙に画像を形成する、プリンタ、複写機、ファクシミリ又は復号機等の画像形成装置に係り、特に、大容量のメモリを搭載した場合に好適な画像形成装置に関する。 The present invention relates to an image forming apparatus such as a printer, a copying machine, a facsimile machine, or a decoding machine that conveys a sheet to form an image on the sheet, and more particularly to an image forming apparatus suitable when a large-capacity memory is mounted. .
画像形成装置では、形成画像の高解像度化及びカラー化並びにメモリの安価化に伴い、搭載されるメモリの大容量化が進んでいる。 In an image forming apparatus, the capacity of a memory to be mounted is increasing with the increase in resolution and color of a formed image and the cost of a memory.
一方、画像形成装置では、搭載メモリの全ビットに対してエラーチェックが行われ、正常であることを確認してシステムが起動される。このため、1ビットでもメモリエラーが検出されると、システムが起動されない。メモリの大容量化に伴い、メモリエラーが検出される確率が高くなる。 On the other hand, in the image forming apparatus, an error check is performed on all the bits of the mounted memory, and the system is activated after confirming that it is normal. For this reason, if a memory error is detected even with one bit, the system is not started. As the memory capacity increases, the probability that a memory error will be detected increases.
下記特許文献1には、メモリエラーが検出されたバンクメモリを使用不可とし、使用可能なバンクメモリのみ使用することにより、印刷処理を可能にすることが開示されている。 Japanese Patent Application Laid-Open No. 2004-228561 discloses that a bank memory in which a memory error is detected cannot be used, and only a usable bank memory is used to enable print processing.
しかしながら、どのような構成で、使用可能なバンクメモリのみ使用するのかについて、全く記載がない。 However, there is no description at all about the configuration in which only usable bank memories are used.
第1のプログラムをデータとみなし、その命令がメモリアクセス命令であるか否かを第2のプログラムで判定し、メモリアクセスである場合に、使用可能なバンクメモリに対するアクセスであるか否かを判定し、使用不可のバンクメモリであった場合には命令語中のアドレスを変更することも可能である。しかし、第1のプログラム実行前に第2のプログラムでこのような処理を行うと共に、この処理で変更された第1のプログラムを別のメモリ領域へ格納してそれを実行させなければならないので、オーバヘッドが大きいと共に、必要なメモリ領域が増大するという問題がある。
本発明は、このような問題点に鑑み、簡単な構成で、メモリエラーが検出されなかったブロックのみ使用することができるようにすると共に、オーバヘッドが小さい画像形成装置を提供することにある。 SUMMARY OF THE INVENTION In view of such problems, it is an object of the present invention to provide an image forming apparatus that can use only a block in which no memory error is detected with a simple configuration and has a small overhead.
本発明による画像形成装置の第1態様では、
プロセッサと、
該プロセッに結合され、プログラムが格納される記憶手段と、
該プロセッに結合された揮発性メモリと、
該プロセッに結合され又は該プロセッに内蔵されたメモリ管理ユニットと、
を有し、該メモリ管理ユニットは、
入力アドレスである変換元ブロックアドレスを出力データである変換先ブロックアドレスに変換するテーブルメモリと、
該変換元ブロックアドレスと該変換先ブロックアドレスとの一方を選択するマルチプレクサと、
複数のレジスタを備え、該変換元ブロックアドレスが該複数のレジスタのいずれかに格納されたエラーブロックアドレスと一致する場合には該マルチプレクサに対し該変換先ブロックアドレスを選択させ、そうでない場合には該マルチプレクサに対し該変換元ブロックアドレスを選択させる選択制御回路と、
を有し、該プログラムは該プロセッサに対し、
該揮発性メモリに対するメモリエラーチェックを行わせ、
メモリエラーが検出された場合には、そのブロックのブロックアドレスを、メモリエラーが検出されなかったブロックのブロックアドレスに変換するように該テーブルメモリの内容を定めるとともに、該メモリエラーが検出されたブロックのブロックアドレスを該複数のレジスタのいずれかに格納させる。
In the first aspect of the image forming apparatus according to the present invention,
A processor;
Storage means coupled to the processor for storing programs;
Volatile memory coupled to the process;
A memory management unit coupled to or embedded in the processor;
The memory management unit comprises:
A table memory that converts a conversion source block address that is an input address into a conversion destination block address that is output data; and
A multiplexer that selects one of the conversion source block address and the conversion destination block address;
A plurality of registers; if the conversion source block address matches an error block address stored in any of the plurality of registers, the multiplexer selects the conversion destination block address; otherwise, A selection control circuit for causing the multiplexer to select the conversion source block address;
The program for the processor
Perform a memory error check on the volatile memory;
When a memory error is detected, the contents of the table memory are determined so that the block address of the block is converted to the block address of the block where the memory error is not detected, and the block in which the memory error is detected Are stored in any of the plurality of registers.
本発明による画像形成装置の第2態様では、第1態様において、該プログラムは該プロセッサに対し、該メモリエラーが検出されなかったブロックのブロックアドレスとして、該揮発性メモリの最終ブロックアドレス側から順のブロックアドレスを割り当てさせる。 In a second aspect of the image forming apparatus according to the present invention, in the first aspect, the program sequentially instructs the processor from the last block address side of the volatile memory as the block address of the block in which the memory error is not detected. The block address is assigned.
本発明による画像形成装置の第3態様では、第1又は2態様において、
該揮発性メモリは複数の半導体チップで構成され、
該マルチプレクサで選択されたアドレスの上位ビットをデコードして複数のチップ選択信号を生成するデコーダをさらに有し、
該複数のチップ選択信号が該複数の半導体チップのチップイネーブル端子にそれぞれ結合されている。
In the third aspect of the image forming apparatus according to the present invention, in the first or second aspect,
The volatile memory is composed of a plurality of semiconductor chips,
A decoder for decoding the upper bits of the address selected by the multiplexer to generate a plurality of chip selection signals;
The plurality of chip select signals are coupled to chip enable terminals of the plurality of semiconductor chips, respectively.
本発明による画像形成装置の第4態様では、第1乃至3態様のいずれか1つにおいて、
該テーブルメモリには、該変換先ブロックアドレスに対応して該変換元ブロックアドレスが有効であるか無効であるかを示す情報が格納されており、
該情報が無効であることを示している場合には該プロセッサに割込がかかるように、該情報に対応する該テーブルメモリの出力が該プロセッサに結合されている。
In a fourth aspect of the image forming apparatus according to the present invention, in any one of the first to third aspects,
The table memory stores information indicating whether the conversion source block address is valid or invalid corresponding to the conversion destination block address,
The output of the table memory corresponding to the information is coupled to the processor so that the processor is interrupted if the information indicates invalidity.
本発明による画像形成装置の第5態様では、第1乃至4態様のいずれか1つにおいて、
該プログラムは該プロセッサに対し、
該揮発性メモリに対するメモリエラーチェックをブロック単位でブロック列一端側から順次行わせ、
メモリエラーが検出される毎に、該揮発性メモリに対するメモリエラーチェックをブロック単位でブロック列他端側から順次、メモリエラー無しブロックが出現するまで行わせ、
該出現したメモリエラー無しブロックのアドレス値を、該テーブルメモリの、該メモリエラーが検出されたブロックに対応したアドレスに格納させる。
In a fifth aspect of the image forming apparatus according to the present invention, in any one of the first to fourth aspects,
The program for the processor
The memory error check for the volatile memory is sequentially performed from one end of the block row in block units,
Each time a memory error is detected, a memory error check for the volatile memory is sequentially performed in blocks from the other end of the block row until a block without a memory error appears,
The address value of the block without memory error that has appeared is stored in the address corresponding to the block in which the memory error is detected in the table memory.
上記第1態様の構成によれば、揮発性メモリに対するメモリエラーチェックを行い、メモリエラーが検出された場合には、そのブロックを、メモリエラーの無いブロックに変換するように、テーブルメモリの内容を定めると共に、メモリエラーが検出されたブロックのブロックアドレスを複数のレジスタのいずれかのレジスタに格納させ、変換元ブロックアドレスが、複数のレジスタに格納されたいずれかのエラーブロックアドレスと一致する場合にはマルチプレクサに対し変換先ブロックアドレスを選択させ、そうでない場合には変換元ブロックアドレスを選択させるので、簡単な構成で、メモリエラーが検出されたブロックでも少ないオーバヘッドで揮発性メモリを使用可能となる。 According to the configuration of the first aspect, the memory error check is performed on the volatile memory, and when a memory error is detected, the contents of the table memory are changed so that the block is converted into a block without a memory error. When the block address of the block in which the memory error is detected is stored in one of a plurality of registers, and the conversion source block address matches one of the error block addresses stored in the plurality of registers Causes the multiplexer to select the conversion destination block address, otherwise it selects the conversion source block address, so that even a block in which a memory error is detected can be used with a small overhead with a simple configuration. .
また、揮発性メモリの一部にメモリエラーが検出されても、メモリエラーが無いブロックについては、マルチプレクサに変換元ブロックアドレスを選択させるので、変換先ブロックアドレスを選択させる場合よりも揮発性メモリを高速アクセス可能となる。 Also, even if a memory error is detected in a part of the volatile memory, for the block without the memory error, since the multiplexer selects the conversion source block address, the volatile memory is used more than when the conversion destination block address is selected. High speed access is possible.
上記第2態様の構成によれば、変換元ブロックアドレスを変換先ブロックアドレスに対応させるのに、変換先ブロックアドレスとして、揮発性メモリの最終ブロックアドレス側から順のブロックアドレスを割り当てるので、変換元ブロックアドレスが無効となるブロックが最終ブロック側に集まって、有効な変換元ブロックアドレスが連続的になり、メモリ使用効率が向上する。 According to the configuration of the second aspect, in order to correspond the conversion source block address to the conversion destination block address, a block address in order from the last block address side of the volatile memory is assigned as the conversion destination block address. Blocks whose block addresses are invalid are gathered on the last block side, and effective conversion source block addresses become continuous, improving the memory usage efficiency.
上記第3態様の構成によれば、マルチプレクサで選択されたアドレスの上位ビットをデコーダでデコードしてチップ選択信号を生成するので、メモリエラーに応じて適切なチップを選択することができる。 According to the configuration of the third aspect, since the high-order bits of the address selected by the multiplexer are decoded by the decoder and the chip selection signal is generated, an appropriate chip can be selected according to the memory error.
上記第4態様の構成によれば、テーブルメモリに、変換先ブロックアドレスと共に、対応する変換元ブロックアドレスが有効であるか無効であるかを示す情報が格納され、この情報が無効であることを示している場合にプロセッサに割込がかけられるので、メモリエラーブロックの存在により記憶領域が狭くなったことに起因するメモリオーバフローエラーに対処することができる。 According to the configuration of the fourth aspect, information indicating whether the corresponding conversion source block address is valid or invalid is stored in the table memory together with the conversion destination block address, and this information is invalid. Since the processor is interrupted in the case shown, it is possible to cope with a memory overflow error caused by the storage area becoming narrow due to the presence of the memory error block.
上記第5態様の構成によれば、揮発性メモリに対するメモリエラーチェックをブロック単位でブロック列一端側から順次行わせ、メモリエラーが検出される毎に、該揮発性メモリに対するメモリエラーチェックをブロック単位でブロック列他端側から順次、メモリエラー無しブロックが出現するまで行わせ、該出現したメモリエラー無しブロックのアドレス値を、該テーブルメモリの、該メモリエラーが検出されたブロックに対応したアドレスに格納させるので、メモリエラーチェックを行いながら複数のレジスタ及びテーブルメモリの内容を容易に定めることができる。 According to the configuration of the fifth aspect, the memory error check for the volatile memory is sequentially performed from the one end side of the block row in block units, and the memory error check for the volatile memory is performed in block units each time a memory error is detected. In order from the other end of the block row until a block without memory error appears, and the address value of the block without memory error that has appeared is set to the address corresponding to the block in the table memory where the memory error is detected. Since the data is stored, the contents of the plurality of registers and the table memory can be easily determined while performing a memory error check.
本発明の他の目的、構成及び効果は以下の説明から明らかになる。 Other objects, configurations and effects of the present invention will become apparent from the following description.
図1は、本発明の実施例1に係る画像形成装置のハードウェア構成を示す概略ブロック図である。
FIG. 1 is a schematic block diagram illustrating a hardware configuration of an image forming apparatus according to
この画像形成装置10は、例えば複合機であり、制御装置11に操作・表示部12及び画像形成装置本体13が結合されて構成されている。制御装置11は、操作・表示部12で設定された情報やディフォルトの設定値に基づいて、画像形成装置本体13で読み取られた原稿画像を処理し、又は、外部のホストコンピュータ20から供給される設定情報及び画像データに基づいて、画像形成装置本体13に対し画像を形成させる。
The
制御装置11は、MPU110に不揮発性メモリ111、揮発性メモリ112及びインタフェース113〜115がバスで結合され、インタフェース113〜115はそれぞれ操作・表示部12、画像形成装置本体13及びホストコンピュータ20に結合されている。不揮発性メモリ111には、プログラム及びシステムの初期値等のデータが格納されている。
In the
図2は、MPU110と揮発性メモリ112との間の概略構成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration between the
この例では、MPU110の出力アドレスが28ビットで、その上位8ビットが変換元ブロックアドレスSBAとしてテーブルRAM301のアドレス入力端子に供給されると共に、マルチプレクサ302の一方の入力端子及び選択制御回路303に供給される。これらテーブルRAM301、マルチプレクサ302及び選択制御回路303はメモリ管理ユニット30を構成している。
In this example, the output address of the
ここで、図5(A)に示す如く、揮発性メモリ112は、上位8ビットで識別される論理的なブロックに分割されている。頭文字0xを付けて16進数を表記すると(図5では頭文字0xを省略)、例えばメモリブロック0x00はアドレス範囲0x0000000〜0x00FFFFFであり、メモリブロック0x01はアドレス範囲0x0100000〜0x01FFFFFであり、メモリブロック0xFEはアドレス範囲0xFE00000〜0xFEFFFFFである。
Here, as shown in FIG. 5A, the
図示のようにメモリブロック0x01、0x03及び0xFDでメモリエラーが検出された場合、図5(D)に示すようなテーブルが、後述のようにプログラムに従ってMPU110で作成される。このテーブルは、RAM301に格納され、RAM301の入力端子に8ビットの変換元ブロックアドレスSBAを供給したときに、8ビットの変換先ブロックアドレスDBAと1ビットの無効フラグFnをRAM301から出力するためのものである。例えば変換元ブロックアドレスSBAが0x03のとき、DBA=0xFC及びFn=‘0’がテーブルRAM301から出力される。
As shown in the figure, when a memory error is detected in the memory blocks 0x01, 0x03, and 0xFD, a table as shown in FIG. 5D is created by the
メモリエラーがなければ図5(A) に示す全範囲をアドレス可能であるが、メモリエラーがあるとそのブロックが使用不可となるので、アドレス可能な範囲が狭くなる。ブロックアドレス変換により、使用不可の変換元ブロックアドレスSBAが移動する。Fn=‘1’は、変換元ブロックアドレスSBAが無効であることを示す。 If there is no memory error, the entire range shown in FIG. 5A can be addressed. However, if there is a memory error, the block becomes unusable and the addressable range becomes narrow. Due to the block address conversion, the unusable conversion source block address SBA moves. Fn = '1' indicates that the conversion source block address SBA is invalid.
無効フラグFnの信号は、MPU110の割込要求入力端子IRQに供給され、Fn=‘1’のときにMPU110に割込みがかけられ、その割込処理により、メモリオーバフローエラーであることが図1の操作・表示部12に表示される。
The signal of the invalid flag Fn is supplied to the interrupt request input terminal IRQ of the
図3は、選択制御回路303の概略構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a schematic configuration of the
この選択制御回路303では、レジスタファイル40が8個のレジスタREG0〜REG7を備え、各々の最上位ビットには有効フラグFvが格納される。Fv=‘1’は、そのレジスタの格納値(メモリエラーの在るブロックアドレス)が有効であることを示す。レジスタファイル40に格納された、有効フラグFvを除くブロックアドレスはそれぞれ、比較回路41を構成する8個の比較器に供給されて変換元ブロックアドレスSBAと比較され、その結果はオアゲート42を介し、図2のマルチプレクサ302の選択制御入力端子SELに供給される。
In the
レジスタREG0〜REG7のそれぞれに対応した比較器のイネーブル入力端子ENには、対応する有効フラグFvが供給され、Fv=‘1’のとき、対応する比較器の出力が有効となり、Fv=‘0’のとき、対応する比較器の出力が比較結果によらず‘0’となる。 The corresponding valid flag Fv is supplied to the enable input terminal EN of the comparator corresponding to each of the registers REG0 to REG7. When Fv = '1', the output of the corresponding comparator is valid, and Fv = '0 When ', the output of the corresponding comparator becomes' 0' regardless of the comparison result.
このような構成により、レジスタファイル40に格納された有効な(Fv=‘1’)メモリエラーブロックアドレスのいずれにも変換元ブロックアドレスSBAが一致しない場合には、選択制御回路303の出力が‘0’となって、マルチプレクサ302により変換元ブロックアドレスSBAが選択される。
With this configuration, when the conversion source block address SBA does not match any of the valid (Fv = '1') memory error block addresses stored in the
したがって、メモリエラーの無いブロックの変換元ブロックアドレスSBAは、テーブルRAM301を介さずにマルチプレクサ302で選択されて、メモリ管理ユニット30から出力され、これによりメモリアクセスが高速となる。
Therefore, the conversion source block address SBA of the block having no memory error is selected by the
なお、マルチプレクサ302により変換元ブロックアドレスSBAが選択されるば場合であっても、テーブルRAM301の出力自体は有効であり、無効フラグFnが‘1’であればMPU110に割込がかけられる。
Even when the conversion source block address SBA is selected by the
レジスタファイル40に格納された有効なメモリエラーブロックアドレスのいずれかに変換元ブロックアドレスSBAが一致する場合には、選択制御回路303の出力が‘1’となって、マルチプレクサ302により変換先ブロックアドレスDBAが選択される。したがって、テーブルRAM301には、メモリエラーの在るブロックアドレスのみについて、変換アドレスを格納すればよい。
When the conversion source block address SBA matches one of the valid memory error block addresses stored in the
マルチプレクサ302で選択された一方の8ビットのうち、上位4ビットはデコーダ31でデコードされ、それぞれ揮発性メモリ112を構成する16個のDRAM1120〜112Fのチップイネーブル入力端子CEに供給される。仮想アドレスを物理アドレスに変換する従来のMMUでは、変換元ブロックアドレスSBAの上位ビットをデコーダに供給する構成となっているが、本実施例では、同じ変換元ブロックアドレスSBAであっても、メモリエラーが存在するブロックによってアクセス対象のチップが異なる場合があるので、マルチプレクサ302の出力の上位ビットをデコーダ31に供給して、チップセレクト用としている。
Of the 8 bits selected by the
DRAMのアドレス信号線数を半減するために、マルチプレクサ302の出力の下位4ビットとMPU110の出力アドレスの20ビットとがマルチプレクサ32に供給され、行アドレスと列アドレスとが順次時分割で、DRAM1120〜112Fのアドレス入力端子ADRに供給される。
In order to halve the number of address signal lines of the DRAM, the lower 4 bits of the output of the
図6に示すように、ブロック0x00から昇順にブロック単位でメモリエラーチェックを行い、メモリエラーが検出された場合には、エンドブロックebから降順にブロック単位でメモリエラーチェックを行い、メモリエラーが検出されなかったブロックを、このメモリエラーが検出されたブロックに割り当てる(置換する)。 As shown in FIG. 6, a memory error check is performed in block units in ascending order from block 0x00, and if a memory error is detected, a memory error check is performed in block units in descending order from the end block eb, and a memory error is detected. The block that has not been assigned is assigned (replaced) to the block in which this memory error is detected.
このようにすれば、変換先ブロックアドレスDBAを昇順にしなくても、変換元ブロックアドレスSBAが無効となるブロック(Fn=‘1’のブロック)がエンド側に集まって、有効な変換元ブロックアドレスSBAが連続的になるので、メモリ使用効率が向上するとともに、メモリエラーの無いブロックがアドレス変換対象外となり、高速アクセスが可能となる。 In this way, even if the conversion destination block address DBA is not arranged in ascending order, blocks where the conversion source block address SBA becomes invalid (blocks with Fn = '1') are gathered at the end side, and a valid conversion source block address is obtained. Since the SBA becomes continuous, the memory use efficiency is improved, and a block without a memory error is not subject to address conversion, and high-speed access is possible.
図4は、このような処理を行うプログラムのフローチャートを示す。このプログラムはMPU110により実行され、画像形成装置10への電源投入により開始される。
FIG. 4 shows a flowchart of a program for performing such processing. This program is executed by the
最初に、ステップS0〜S10において、ブロック単位でメモリエラーチェックが行われながらテーブルRAM301と選択制御回路303の内容が決定され、次に、ステップS11においてシステムが起動される。
First, in steps S0 to S10, the contents of the
(S0)テーブルRAM301及びレジスタファイル40の内容を初期化する。すなわち、テーブルRAM301の内容を図5(B)に示す如く、ゼロクリアするとともに、レジスタファイル40の内容をゼロクリアする。
(S0) The contents of the
(S1)メモリエラーチェック対象ブロック識別変数iに初期値0を代入し、有効なエンドブロック識別変数ebに初期値0xFEを代入する。
(S1) The
(S2)ブロックiをメモリエラーチェックする。このチェックでは、不揮発性メモリ111に格納された複数のチェックパターン、例えば'01010101'及び'10101010'の各々について、揮発性メモリ112のメモリブロックiにチェックパターンを書き込み、その内容を読み出してこれが書き込値と一致しているか否かを判定し、不一致であればエラーと判定する。
(S2) The block i is checked for memory errors. In this check, for each of a plurality of check patterns stored in the
(S3)ステップS2でエラーが検出された場合にはステップS4へ進み、そうでなければステップS9へ進む。 (S3) If an error is detected in step S2, the process proceeds to step S4. Otherwise, the process proceeds to step S9.
(S4)iの値をレジスタファイル40の、Fv=‘0’のレジスタに格納し、この有効フラグFvを‘1’にする。
(S4) The value of i is stored in the register of Fv = '0' in the
(S5)有効なエンドブロックebを、ステップS2と同様にメモリエラーチェックする。 (S5) A valid end block eb is checked for memory errors in the same manner as in step S2.
(S6)ステップS5でエラーが検出された場合にはステップS7へ進み、そうでなければステップS8へ進む。 (S6) If an error is detected in step S5, the process proceeds to step S7, and if not, the process proceeds to step S8.
(S7)Fn(eb)を‘1’にし、ebを1だけデクリメントする。ここにFn(eb)は、SBA=ebであるときの無効フラグFnである。次にステップS5へ戻る。 (S7) Fn (eb) is set to ‘1’ and eb is decremented by one. Here, Fn (eb) is an invalid flag Fn when SBA = eb. Next, the process returns to step S5.
(S8)DBA(i)に、ebの値を代入する。ここにDBA(i)は、SBA=iであるときの変換先ブロックアドレスDBAである。 (S8) The value of eb is substituted for DBA (i). Here, DBA (i) is the conversion destination block address DBA when SBA = i.
また、無効フラグFn(eb)を‘1’にし、ebを1だけデクリメントする。 Also, the invalid flag Fn (eb) is set to ‘1’, and eb is decremented by one.
(S9)iを1だけインクリメントする。 (S9) Increment i by 1.
(S10)i>ebであればステップS11へ進み、そうでなければステップS2へ戻る。 (S10) If i> eb, the process proceeds to step S11; otherwise, the process returns to step S2.
(S11)オペレーティングシステム(OS)及びこのOS上で動作する専用プログラムを起動して画像形成装置10をレディ状態にする。
(S11) The operating system (OS) and a dedicated program operating on the OS are activated to put the
次に、上記のような処理の具体例を、図5を参照して説明する。 Next, a specific example of the above processing will be described with reference to FIG.
図5(C)は、i=0x01において、ステップS2でメモリエラーが検出され、ステップS3〜S6を通り、次にステップS8でDBA(0x01)=0xFE、Fn(0xFE)=‘1’、eb=0xFDとなった場合を示す。 In FIG. 5C, when i = 0x01, a memory error is detected in step S2, and passes through steps S3 to S6. Next, in step S8, DBA (0x01) = 0xFE, Fn (0xFE) = '1', eb = 0xFD is shown.
図5(D)は、i=0x03において、ステップS2でメモリエラーが検出され、ステップS3及びS4を通りステップS5でブロック0xFDのメモリエラーが検出され、ステップS7でFn(0xFD)=‘1’、eb=0xFCとなり、次いでステップS5〜S6を通り、ステップS8でDBA(0x03)=0xFC、Fn(0xFC)=‘1’、eb=0xFBとなった場合を示す。 In FIG. 5D, when i = 0x03, a memory error is detected in step S2, a memory error of block 0xFD is detected in step S5 through steps S3 and S4, and Fn (0xFD) = '1' is detected in step S7. Eb = 0xFC, and then passes through steps S5 to S6, and DBA (0x03) = 0xFC, Fn (0xFC) = '1', and eb = 0xFB are shown in step S8.
その後、i=0xFBにおいて、ステップS2でメモリエラーが検出されず、ステップS3からステップS9へ進んでi=0xFCとなり、ステップS10でi>ebが成立してステップS11へ進む。 Thereafter, when i = 0xFB, a memory error is not detected in step S2, and the process proceeds from step S3 to step S9, i = 0xFC is established, i> eb is established in step S10, and the process proceeds to step S11.
以上説明した如く、本実施例1によれば、揮発性メモリ112に対するメモリエラーチェックを行い、メモリエラーが検出された場合には、そのブロックを、メモリエラーの無いブロックに変換するように、テーブルRAM301の内容を定めると共に、メモリエラーが検出されたブロックのブロックアドレスをレジスタファイル40のいずれかのレジスタに格納させ、その有効フラグFvを‘1’にして変換元ブロックアドレスSBAとの比較出力を有効にし、変換元ブロックアドレスSBAがレジスタファイル40に格納されたいずれかのエラーブロックアドレスと一致する場合にはマルチプレクサ302に対し変換先ブロックアドレスDBAを選択させ、そうでない場合には変換元ブロックアドレスSBAを選択させるので、簡単な構成で、メモリエラーが検出されたブロックでも少ないオーバヘッドで揮発性メモリ112を使用可能となる。
As described above, according to the first embodiment, a memory error check is performed on the
また、揮発性メモリ112の一部にメモリエラーが検出されても、メモリエラーが無いブロックについては、マルチプレクサ302に変換元ブロックアドレスSBAを選択させるので、変換先ブロックアドレスDBAを選択させる場合よりも揮発性メモリ112を高速アクセス可能となる。
Further, even if a memory error is detected in a part of the
さらに、変換元ブロックアドレスSBAを変換先ブロックアドレスDBAに対応させるのに、変換先ブロックアドレスDBAとして、揮発性メモリ112の最終ブロックアドレス側から順のブロックアドレスを割り当てるので、変換元ブロックアドレスSBAが無効となるブロック(Fn=‘1’のブロック)がエンド側に集まって、有効な変換元ブロックアドレスSBAが連続的になり、メモリ使用効率が向上する。
Further, in order to make the conversion source block address SBA correspond to the conversion destination block address DBA, a block address in order from the last block address side of the
また、マルチプレクサ32で選択されたアドレスの上位ビットをデコーダ31でデコードしてチップ選択信号を生成するので、メモリエラーに応じて適切なチップを選択することができる。
In addition, since the upper bits of the address selected by the
また、テーブルRAM301に、変換先ブロックアドレスDBAと共に、対応する変換元ブロックアドレスSBAが有効であるか無効であるかを示す無効フラグFnが格納され、このフラグFnが無効であることを示している場合にMPU110に割込がかけられるので、メモリエラーブロックの存在により記憶領域が狭くなったことに起因するメモリオーバフローエラーに対処することができる。
In addition to the conversion destination block address DBA, the
さらにまた、揮発性メモリ112に対するメモリエラーチェックをブロック単位で昇順に行い、メモリエラーが検出される毎に、そのブロックのブロックアドレスをレジスタファイル40のいずれかのレジスタに格納させ、その有効フラグFvを‘1’にし、次に、揮発性メモリ112に対するメモリエラーチェックをブロック単位でブロックエンド側から降順に、メモリエラー無しブロックが出現するまで行い、出現したメモリエラー無しブロックのアドレス値をテーブルRAM301の、該メモリエラーが検出されたブロックに対応したアドレスに格納するので、メモリエラーチェックを行いながらレジスタファイル40及びテーブルRAM301の内容を容易に定めることができる。
Furthermore, the memory error check for the
なお、本発明には外にも種々の変形例が含まれる。 Note that the present invention includes various other modifications.
例えば、上記実施例ではアドレス変換対象である揮発性メモリ112がDRAMである場合を説明したが、本発明はマルチプレクサ32を省略して、SRAMに適用可能である。
For example, in the above embodiment, the case where the
また、メモリ管理ユニット30がMPU110に内蔵された構成であってもよい。
Further, the
さらに、本発明はメモリエラーチェックを電源投入時に行うもの限定されず、例えば、電源オフ前にメモリエラーチェックを行ってその結果を不揮発性記憶手段に格納しておき、次に電源投入時に当該結果を読み出してテーブルRAM301の内容を定める構成であってもよい。このようにすれば、システム起動時間を短縮させることができる。
Further, the present invention is not limited to performing a memory error check at power-on. For example, a memory error check is performed before power-off and the result is stored in a nonvolatile storage means. The contents of the
また、上記実施例ではプログラムが不揮発性メモリ111に格納されている場合を説明したが、ログラムは不揮発性記憶装置に格納されていればよく、ハードディスク等の外部記憶装置に格納された場合であってもよい。
In the above embodiment, the case where the program is stored in the
10 画像形成装置
11 制御装置
110 MPU
111 不揮発性メモリ
112 揮発性メモリ
1120〜112F DRAM
113〜115 インタフェース
12 操作・表示部
13 画像形成装置本体
20 ホストコンピュータ
30 メモリ管理ユニット
301 テーブルRAM
302、32 マルチプレクサ
303 選択制御回路
31 デコーダ
40 レジスタファイル
41 比較回路
42 オアゲート
CE チップイネーブル入力端子
EN イネーブル入力端子
ADR アドレス入力端子
SBA 変換元ブロックアドレス
DBA 変換先ブロックアドレス
SEL 選択制御入力端子
Fv 有効フラグ
Fn 無効フラグ
DESCRIPTION OF
111
113 to 115
302, 32
Claims (5)
該プロセッに結合され、プログラムが格納される記憶手段と、
該プロセッに結合された揮発性メモリと、
該プロセッに結合され又は該プロセッに内蔵されたメモリ管理ユニットと、
を有し、該メモリ管理ユニットは、
入力アドレスである変換元ブロックアドレスを出力データである変換先ブロックアドレスに変換するテーブルメモリと、
該変換元ブロックアドレスと該変換先ブロックアドレスとの一方を選択するマルチプレクサと、
複数のレジスタを備え、該変換元ブロックアドレスが該複数のレジスタのいずれかに格納されたエラーブロックアドレスと一致する場合には該マルチプレクサに対し該変換先ブロックアドレスを選択させ、そうでない場合には該マルチプレクサに対し該変換元ブロックアドレスを選択させる選択制御回路と、
を有し、該プログラムは該プロセッサに対し、
該揮発性メモリに対するメモリエラーチェックを行わせ、
メモリエラーが検出された場合には、そのブロックのブロックアドレスを、メモリエラーが検出されなかったブロックのブロックアドレスに変換するように該テーブルメモリの内容を定めるとともに、該メモリエラーが検出されたブロックのブロックアドレスを該複数のレジスタのいずれかに格納させる、
ことを特徴とする画像形成装置。 A processor;
Storage means coupled to the processor for storing programs;
Volatile memory coupled to the process;
A memory management unit coupled to or embedded in the processor;
The memory management unit comprises:
A table memory that converts a conversion source block address that is an input address into a conversion destination block address that is output data; and
A multiplexer that selects one of the conversion source block address and the conversion destination block address;
A plurality of registers; if the conversion source block address matches an error block address stored in any of the plurality of registers, the multiplexer selects the conversion destination block address; otherwise, A selection control circuit for causing the multiplexer to select the conversion source block address;
The program for the processor
Perform a memory error check on the volatile memory;
When a memory error is detected, the contents of the table memory are determined so that the block address of the block is converted to the block address of the block where the memory error is not detected, and the block in which the memory error is detected To store the block address of one of the plurality of registers,
An image forming apparatus.
該マルチプレクサで選択されたアドレスの上位ビットをデコードして複数のチップ選択信号を生成するデコーダをさらに有し、
該複数のチップ選択信号が該複数の半導体チップのチップイネーブル端子にそれぞれ結合されている、
ことを特徴とする請求項1又は2に記載の画像形成装置。 The volatile memory is composed of a plurality of semiconductor chips,
A decoder for decoding the upper bits of the address selected by the multiplexer to generate a plurality of chip selection signals;
The plurality of chip select signals are respectively coupled to chip enable terminals of the plurality of semiconductor chips;
The image forming apparatus according to claim 1, wherein the image forming apparatus is an image forming apparatus.
該情報が無効であることを示している場合には該プロセッサに割込がかかるように、該情報に対応する該テーブルメモリの出力が該プロセッサに結合されている、
ことを特徴とする請求項1乃至3のいずれか1つに記載の画像形成装置。 The table memory stores information indicating whether the conversion source block address is valid or invalid corresponding to the conversion destination block address,
The output of the table memory corresponding to the information is coupled to the processor so that the processor is interrupted if the information indicates invalidity;
The image forming apparatus according to claim 1, wherein the image forming apparatus is an image forming apparatus.
該揮発性メモリに対するメモリエラーチェックをブロック単位でブロック列一端側から順次行わせ、
メモリエラーが検出される毎に、該揮発性メモリに対するメモリエラーチェックをブロック単位でブロック列他端側から順次、メモリエラー無しブロックが出現するまで行わせ、
該出現したメモリエラー無しブロックのアドレス値を、該テーブルメモリの、該メモリエラーが検出されたブロックに対応したアドレスに格納させる、
ことを特徴とする請求項1乃至4のいずれか1つに記載の画像形成装置。 The program for the processor
The memory error check for the volatile memory is sequentially performed from one end of the block row in block units,
Each time a memory error is detected, a memory error check for the volatile memory is sequentially performed in blocks from the other end of the block row until a block without a memory error appears,
Storing the address value of the block without memory error at the address corresponding to the block in which the memory error is detected in the table memory;
The image forming apparatus according to claim 1, wherein the image forming apparatus is an image forming apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005338028A JP4438739B2 (en) | 2005-11-24 | 2005-11-24 | Image forming apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005338028A JP4438739B2 (en) | 2005-11-24 | 2005-11-24 | Image forming apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007148473A JP2007148473A (en) | 2007-06-14 |
| JP4438739B2 true JP4438739B2 (en) | 2010-03-24 |
Family
ID=38209861
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005338028A Expired - Fee Related JP4438739B2 (en) | 2005-11-24 | 2005-11-24 | Image forming apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4438739B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5490029B2 (en) * | 2011-01-31 | 2014-05-14 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
| JP6111216B2 (en) * | 2014-03-28 | 2017-04-05 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
-
2005
- 2005-11-24 JP JP2005338028A patent/JP4438739B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007148473A (en) | 2007-06-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI521343B (en) | An information processing device, a semiconductor memory device, and a semiconductor memory device | |
| CN114077555B (en) | Methods and systems for logical-to-physical mapping of data storage devices | |
| CN103999059A (en) | Method of erasing information stored in a nonvolatile rewritable memory, storage medium and motor vehicle computer | |
| US6421765B1 (en) | Method and apparatus for selecting functional space in a low pin count memory device | |
| JP4438739B2 (en) | Image forming apparatus | |
| US7979606B2 (en) | Method for storing data | |
| JP4703753B2 (en) | Information processing apparatus, semiconductor memory device, and program | |
| KR20110078171A (en) | Bootable volatile memory device, memory module and processing system having same, and method of booting processing system using same | |
| JP4438740B2 (en) | Image forming apparatus | |
| CN1115630C (en) | Microcomputer | |
| KR100757128B1 (en) | Memory card using flash memory and controlling method thereof | |
| CN119537261A (en) | Data processing system with tagged and untagged address pointers and method for accessing a location in the data processing system | |
| US20060143405A1 (en) | Data processing device | |
| JP2008134685A (en) | Nonvolatile memory system and nonvolatile memory control method | |
| JP4250250B2 (en) | Memory management device | |
| JP2002196977A (en) | Memory controller, flash memory system with memory controller, and control method for flash memory | |
| JP2001134496A (en) | Storage device using nonvolatile semiconductor memory | |
| JP2002358233A (en) | Memory controller, flash memory system having memory controller and control method for flash memory | |
| JP3747213B1 (en) | NAND flash memory device and controller for sequential ROM interface | |
| JP5270605B2 (en) | Microcontroller | |
| US20230315482A1 (en) | Microcontroller and update method for microcontroller | |
| WO2020039927A1 (en) | Non-volatile storage device, host device, and data storage system | |
| KR920002829B1 (en) | Memory access control system | |
| TWI298870B (en) | ||
| JP4724289B2 (en) | Data processing apparatus and memory access control method for data processing apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091203 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20091208 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091228 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130115 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130115 Year of fee payment: 3 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130115 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130115 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140115 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |