JP4422926B2 - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP4422926B2 JP4422926B2 JP2001200337A JP2001200337A JP4422926B2 JP 4422926 B2 JP4422926 B2 JP 4422926B2 JP 2001200337 A JP2001200337 A JP 2001200337A JP 2001200337 A JP2001200337 A JP 2001200337A JP 4422926 B2 JP4422926 B2 JP 4422926B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- external memory
- image
- forming apparatus
- 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
Images
Landscapes
- Stored Programmes (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、画像形成装置に関し、特に、CPUのアドレス空間の有効利用を可能とし、操作部にある表示部例えばLCD(Liquid Crystal Display)の表示画面切換え時におけるCPU負荷の低減と表示画面切換速度の向上が可能な画像形成装置に関する。
【0002】
【従来の技術】
近年の電子機器装置の制御装置においては、動作プログラムを格納するプログラムメモリを電気的に書換え可能なフラッシュメモリで構成し、動作プログラムのバージョンアップや機能拡張に容易に対応することができるようにしたものが知られている。一般的には、画像形成装置においても、新たな動作プログラムを記憶するメモリとしてICカードを使用し、該ICカードが画像形成装置にセットされた状態にあっては、当該画像形成装置のCPUは、該ICカードに記憶されたプログラムによって動作して、フラッシュメモリに記憶されている動作プログラムのバージョンアップを行ない、ICカードがセットされていない状態にあっては、フラッシュメモリに記憶された動作プログラムによって動作して、通常の画像形成装置としての動作を行なうような構成となっている。
【0003】
【発明が解決しようとする課題】
ところが、このような従来の画像形成装置においては、以下に示すような問題点があった。
すなわち、ICカードが接続された状態にあっては、CPUの全アドレス空間が何らかのデバイスに対して割り当てられ、CPUのアドレス空間が有効に利用されている状態にあるが、一方、ICカードが接続されていない状態にあっては、一部のアドレス空間が、空き領域となり、全く利用されないという問題点があった。
本発明は、このような問題点を解決するためになされたものであり、ICカードが接続されていない状態にあっては、前述のごとき空き領域を他のデバイスのアドレス空間として、例えば、画像データを格納している画像メモリのアドレス空間として割り当てることにより、CPUのアドレス空間の有効利用を可能とすることを目的とするものである。
【0004】
【課題を解決するための手段】
前述の目的を達成するため、本発明は、次のごとき具体的な発明により構成されている。
請求項1に記載の発明は、画像形成装置のプログラムを記憶する内部メモリと、前記内部メモリに記憶された前記プログラムに基づいて画像形成装置を制御するCPUと、前記内部メモリの内容を書き換えるためのプログラムを格納した外部メモリを接続する手段と、前記外部メモリの接続状態を検知する外部メモリ接続検知手段と、前記CPUがデータ処理を行なう際に一時的にデータを保存する一時メモリと、表示部に表示する画像データを記憶している画像メモリと、前記外部メモリの接続状態に応じて前記内部メモリまたは前記外部メモリに記憶されたプログラムのいずれを実行するかを選択するプログラムデバイス選択手段とを有し、前記内部メモリ、外部メモリ、一時メモリ、画像メモリのそれぞれが前記CPUのアドレス空間上に配置されている画像形成装置において、前記外部メモリ接続検知手段が前記外部メモリの非接続を示している状態にあっては、前記画像メモリのアドレス空間を、前記CPUの空きアドレス空間まで拡張する画像形成装置とすることを特徴とするものである。
【0005】
請求項2に記載の発明は、前記請求項1に記載の画像形成装置において、前記外部メモリ接続検知手段が前記外部メモリの非接続を示している状態にあっては、前記画像メモリのアドレス空間の拡張部分に対応する空きアドレス空間に対する前記CPUからのメモリ種別選択信号を無効化する画像形成装置とすることを特徴とするものである。
【0006】
請求項3に記載の発明は、前記請求項1または2に記載の画像形成装置において、当該画像形成装置起動時において前記外部メモリ接続検知手段が検知した前記外部メモリの接続/非接続に関する外部メモリ接続状態検知信号をラッチし、当該画像形成装置の動作中、保持し続ける外部メモリ接続検知信号保持手段を有し、保持された該外部メモリ接続状態検知信号に基づいて、前記CPUのメモリ種別選択信号の出力を無効化するか否かを制御する画像形成装置とすることを特徴とするものである。
【0007】
【発明の実施の形態】
(実施例)
以下に、本発明に係る画像形成装置の実施例を、図1乃至図6を参照しながら説明する。
ここに、図5,6は、従来技術におけるCPUのメモリアップを示すものであり、図5は、ICカードがセットされた状態におけるCPUのメモリアドレス空間の割り当て状態を示すメモリマップ、図6は、ICカードがセットされていない状態におけるCPUのメモリマップである。また、図1は、本発明に係る画像形成装置において、ICカードがセットされていない状態におけるCPUのメモリマップを示し、図2は、本発明に係る画像形成装置における画像メモリVRAMの開始アドレスを示すVRAMスタートアドレスの設定動作を説明するための動作フローチャートであり、当該画像形成装置の電源をオンにして起動した際に動作するものである。
【0008】
また、図3、4は、本発明を使用した画像形成装置のメモリアドレス空間を制御する制御装置の異なる2つの構成を示す機能ブロック図であり、図3は、ICカード(外部メモリ)のセット状態の有無を検出することにより、画像メモリVRAMのアドレス空間の設定を切換え変更制御することを示している機能ブロック図であり、図4は、ICカード(外部メモリ)のセット状態をラッチ制御することにより、画像メモリVRAMのアドレス空間の設定を切換え変更制御することを示している機能ブロック図である。
【0009】
本発明に係る画像形成装置の一実施例における制御装置は、図3に示すように、CPU1、フラッシュROM(内部メモリ)2、ワークRAM(一時メモリ)3、LCDコントローラ4、VRAM(Video Random Access Memory:画像メモリ)5、などから構成されている。
CPU1は、当該画像形成装置の操作部にあるLCD(Liquid Crystal Display)6に対する表示データ制御処理を、フラッシュROM(内部メモリ)2に記憶されている動作プログラムに基づいて、LCDコントローラ4を制御することにより行なう。
【0010】
ここに、フラッシュROM(内部メモリ)2は、CPU1が実行する動作プログラム及び操作部にあるLCD6に表示する操作部表示データを記憶するためのメモリであり、一括消去型の電気的書換え可能な不揮発性半導体メモリであるフラッシュメモリ等が用いられている。
ワークRAM(一時メモリ)3は、CPU1のプログラム動作中における一時的なデータを保存する作業用メモリ(ワーキングメモリ)として使用される。
LCDコントローラ4は、LCD6及びVRAM(画像メモリ)5と操作部表示データバスによって接続されていて、VRAM(画像メモリ)5に格納されている画像データ(フラッシュROM(内部メモリ)2に格納されていた操作部表示データを画像データとして展開したもの)を、CPU1からの指示に基づいて、操作部に備えられている表示部であるLCD6に表示する制御を行なうものである。
【0011】
ここで、操作部表示制御が行なわれる様子を、図3を基に説明する。
CPU1は、画像形成装置の電源をオンにした際に、LCD6に表示する操作部表示データをフラッシュROM(内部メモリ)2から読み込み、該操作部表示データを、LCDコントローラ4を介してVRAM(画像メモリ)5に、画像データとして展開して格納する。即ち、VRAM(画像メモリ)5には、操作部のLCD6等の表示部に表示する画像データが記憶格納されており、電源オンの際に、VRAM(画像メモリ)5が使用可能なアドレス空間に応じた複数画面分の操作部表示データ(即ち、画像データ)が書き込まれることになる。CPU1は、VRAM(画像メモリ)5内に展開された操作部表示データ(画像データ)の先頭アドレスと領域サイズとを指定することにより、表示する操作部表示データ(画像データ)を選択することができ、LCDコントローラ4はCPU1が選択指定したVRAM(画像メモリ)5内の領域にある操作部表示データ(画像データ)をLCD6に表示する。
【0012】
ここで、前述の通り、VRAM(画像メモリ)5に展開可能な操作部表示データ(画像データ)は、必要とする全ての表示データではなく、VRAM(画像メモリ)5に割り当てられたアドレス空間に応じた量となるため、CPU1は、画像形成装置の電源オン直後の初期化時においては、表示頻度の高い操作部表示データのみをVRAM(画像メモリ)5に、画像データとして展開しておくことになる。
而して、初期化段階において、アドレス空間の制約によりVRAM(画像メモリ)5に展開できなかった操作部表示データをLCD6に表示する必要が発生した場合は、フラッシュROM(内部メモリ)2からVRAM(画像メモリ)5に、改めて、該操作部表示データをその都度展開し直さなければならなくなる。
【0013】
また、一般に、VRAM(画像メモリ)5に対しては、フラッシュROM(内部メモリ)2、ワークRAM(一時メモリ)3、ICカード(外部メモリ)7、LCDコントローラ4のように、CPU1からのチップセレクト信号即ちメモリ種別選択信号による指定を行なうのでは無く、LCDコントローラ4内のレジスタにより、CPU1の全アドレス空間のうち、どのアドレス空間即ち領域がVRAM(画像メモリ)5に割り当てられているかを設定することにより指定がなされる。
而して、LCDコントローラ4は、常にCPU1からのアドレスと該レジスタに設定されているアドレス空間とを比較しており、VRAM(画像メモリ)5のアドレス空間として設定されたアドレスを検出した場合には、LCDコントローラ4が、CPU1に代わって、VRAM(画像メモリ)5に対してチップセレクト信号即ちメモリ種別選択信号を供給し、VRAM(画像メモリ)5との間でデータのリード・ライト動作の制御を行なう。
【0014】
次に、本発明を使用した制御装置の動作を、図1乃至図6に基づいて、更に詳細に説明する。
図5及び図6は従来技術のメモリマップであり、前述のごとく、図5が外部メモリであるICカード7をセットしてフラッシュROM(内部メモリ)2の記憶内容をバージョンアップする際のメモリマップを示すものであり、図6が、外部メモリであるICカード7がセットされていない通常動作時におけるメモリマップを示すものである。
【0015】
ICカード(外部メモリ)7がセットされている状態にあっては、図5に示すように、動作プログラムや操作部表示データを記憶しているフラッシュROM(内部メモリ)2は、チップセレクト信号即ちメモリ種別選択信号として「XCS1」により選択指定され、CPU1のアドレス空間として、‘400000’H乃至‘7FFFFF’H(16進数表示)の領域を有している。
また、外部メモリとして、フラッシュROM(内部メモリ)2を更新するためのバージョンアップ用データを格納しているICカード(外部メモリ)7は、チップセレクト信号即ちメモリ種別選択信号として、プログラム実行用のプログラムデバイス(即ち、ブートデバイス)の選択を示す「XCS0」により選択指定され、CPU1のアドレス空間として、‘000000’H乃至‘3FFFFF’Hの領域を有している。
【0016】
また、操作部にある表示部LCD6に表示する操作部表示データを画像イメージに展開して記憶しているVRAM(画像メモリ)5は、前述の通り、CPU1からのチップセレクト信号即ちメモリ種別選択信号によらず、‘800000’H乃至‘DFFFFF’Hのアドレス領域が指定されている場合、LCDコントローラ4が、VRAM(画像メモリ)5を選択指定しているものと判断し、LCDコントローラ4から、VRAM(画像メモリ)5に対して、チップセレクト信号即ちメモリ種別選択信号を送出し、VRAM(画像メモリ)5との間でデータの読み書き動作を制御する。
【0017】
また、一時的な作業用データ(ワーキングデータ)を記憶しているワークRAM(一時メモリ)3は、チップセレクト信号即ちメモリ種別選択信号として「XCS2」により選択指定され、CPU1のアドレス空間として、‘E00000’H乃至‘EFFFFF’Hの領域を有している。
更に、LCDコントローラ4は、チップセレクト信号即ちメモリ種別選択信号として「XCS3」により選択指定され、CPU1のアドレス空間として、‘F00000’H乃至‘FFFFFF’Hの領域を有している。
【0018】
なお、図5及び図6を比較して明らかなように、図6においては、ICカード(外部メモリ)7がセットされていないため、図5に示すICカード(外部メモリ)7に相当するアドレス空間の領域である‘000000’H乃至‘3FFFFF’Hが、フラッシュROM(内部メモリ)2の領域として定義され、フラッシュROM(内部メモリ)2が、チップセレクト信号即ちメモリ種別選択信号として、プログラム実行用のプログラムデバイス(即ち、ブートデバイス)の選択を示す「XCS0」により選択指定されることとなる。
【0019】
而して、ICカード(外部メモリ)7がセットされていた図5においては、バージョンアップの対象とされていたフラッシュROM(内部メモリ)2の領域であった ‘400000’H〜‘7FFFFF’H(16進表示)のアドレス空間が、ICカード(外部メモリ)7がセットされていない図6においては、空き領域とされることになる。
ここで、前述した通り、VRAM(画像メモリ)5には、VRAM(画像メモリ)5に割り当てられたアドレス空間に応じた量の操作部表示データしか展開できていない。逆に言えば、VRAM(画像メモリ)5に割り当てられるアドレス空間は多ければ多いほど、VRAM(画像メモリ)5に多くの画面数の操作部表示データを、画像データとして展開することができることになる。
【0020】
そこで、本発明に係る画像形成装置においては、当該画像形成装置の電源オンの際の初期化時において、図2に示す動作フローチャートのように、外部メモリ接続手段に対するICカード(外部メモリ)7のセット状態(即ち、接続状態)を、ICカード(外部メモリ)接続検知回路8により検知することにより、VRAM(画像メモリ)5用に割り当てられるアドレス空間を変更して設定することとしている。
【0021】
かかるごときアドレス空間変更動作を行なわしめることにより、ICカード(外部メモリ)7がセットされていない通常動作時においては(図2におけるステップS1のNOの場合)、VRAM(画像メモリ)5のアドレス空間のスタートアドレスを‘800000’Hから、空きアドレス空間のスタートアドレスである‘400000’Hに変更せしめ(図2におけるステップS3の処理)、VRAM(画像メモリ)5のアドレス空間を、図1のメモリマップに示すごとく、‘400000’H乃至‘DFFFFF’Hに拡大せしめることが可能となる。
即ち、VRAM(画像メモリ)5として、より多くのアドレス空間を使用することが可能となり、電源オン直後の初期化時に、より多くの操作部表示データを、フラッシュROM(内部メモリ)2からVRAM(画像メモリ)5に画像データとして展開して格納することが可能となる。
【0022】
而して、操作部にあるLCD6の表示画面を切り換える際に、VRAM(画像メモリ)5の書き換えを行なう発生頻度を大幅に減少させることが可能となるため、CPU1の負荷を大幅に低減でき、且つ、操作部にあるLCD6の画面表示切換速度も大幅に向上させることが可能となる。
【0023】
また、図3に示すように、ICカード(外部メモリ)7の接続状態の検出は、例えば、ICカード(外部メモリ)7の両端に備えられているICカードセット検知信号1,2が共にL(Low)レベルであることにより行なわれ、ICカード(外部メモリ)接続検知回路8におけるICカード(外部メモリ)接続状態検知信号として出力されるが、ICカード(外部メモリ)7のセット状態が不完全な場合、ICカード(外部メモリ)7がセットされているにも関わらず、ICカードセット検知信号1,2が共にLレベルとならない可能性がある。
【0024】
かかる不完全な状態にある場合においては、CPU1は、ICカード(外部メモリ)7が未セットの状態にあると判断して、前述したアドレス空間‘400000’H〜‘7FFFFF’Hを空き領域とみなして、VRAM(画像メモリ)5に割り当ててしまうため、アドレス空間‘400000’H〜‘7FFFFF’Hが、VRAM(外部メモリ)5とフラッシュROM(内部メモリ)2とで同一のアドレス空間とされてしまい、データバス上の競合が発生し、何れかのデバイスの記憶内容を破損、もしくはデバイス自体を破損させてしまう可能性がある。
【0025】
かかる事態を防ぐため、図3に示すごとく、フラッシュROM(内部メモリ)2に対するCPU1からのチップセレクト信号即ちメモリ種別選択信号「XCS1」の出力を抑止するXCS1マスク回路9のような回路を設けることにより、CPU1がICカード未セット(非接続)と判断した状態においては‘400000’H〜‘7FFFFF’Hのアドレス空間に対するCPU1からのチップセレクト信号即ちメモリ種別選択信号「XCS1」が供給されず、LCDコントローラ4において、必ずVRAM(外部メモリ)5のみが選択されることが可能となる。もって、ICカード(外部メモリ)7の接続状態が不安定である場合であっても、データバス競合によるデバイスの記憶内容、及びデバイス自体の破損を防止することが可能となる。
【0026】
しかしながら、前述のような構成としても、ICカード(外部メモリ)7の接続状態が不安定である場合には、ICカード(外部メモリ)接続検知回路8及びXCS1マスク回路9の出力信号が発生したりしなかったりして、‘400000’H〜‘7FFFFF’Hのアドレス空間を利用するメモリデバイス種別が、VRAM(画像メモリ)5とフラッシュROM(内部メモリ)2との間で、変化してしまい、逆に言えば、BOOTデバイス切換回路(プログラムデバイス選択回路)10の選択信号が指定するブートデバイス(即ち、動作すべきプログラムが格納されているプログラムデバイスとして、チップセレクト信号即ちメモリ種別選択信号「XCS0」によって選択されるメモリデバイス)が、フラッシュROM(内部メモリ)2とICカード(外部メモリ)7との間で、変化してしまい、CPU1が暴走してしまう可能性がある。
【0027】
ここに、BOOTデバイス切換回路(プログラムデバイス選択回路)10は、ICカード(外部メモリ)7の接続状態に応じて、フラッシュROM(内部メモリ)2またはICカード(外部メモリ)7に記憶されたプログラムのうちいずれを実行するかを選択するプログラムデバイス選択手段を提供しているものである。かかるプログラムデバイス選択手段の出力信号即ちBOOTデバイス切換回路(プログラムデバイス選択回路)10の出力信号が不安定になると、フラッシュROM(内部メモリ)2とICカード(外部メモリ)7との間で、プログラムを実行するブートデバイス(即ち、チップセレクト信号「XCS0」により選択指定されているメモリデバイス)が変化してしまい、CPU1が暴走してしまう危険性が高くなる。
【0028】
かかる事態を確実に防ぐため、図4に示すごとく、ICカード接続検知信号ラッチ回路(外部メモリ接続検知信号保持回路)11を設け、画像形成装置の電源オン時により起動された際に発生されるリセット信号の立ち上り時に、ICカード(外部メモリ)接続検知回路8の出力信号であるICカード(外部メモリ)接続状態検知信号(即ち、ICカード(外部メモリ)の接続/非接続のいずれかの状態を示す外部メモリ接続状態検知信号)をラッチし、当該画像形成装置が動作中、保持し続けることとする。
即ち、ICカード接続検知信号ラッチ回路(外部メモリ接続検知信号保持回路)11は、当該画像形成装置の動作中の間は、当該画像形成装置の起動時において検知されたICカード(外部メモリ)7の接続/非接続状態を、保持し続ける外部メモリ接続検知信号保持手段を提供している。而して、ラッチされ、保持されている前記外部メモリ接続状態検知信号に基づいて、前記CPUのチップセレクト信号即ちメモリ種別選択信号の出力を無効化するか否かを制御することにより、当該画像形成装置が動作中に、プログラムを実行するブートデバイスが切り換わってしまうごとき事態の発生を防止することが可能となる。
【0029】
即ち、ICカード接続検知信号ラッチ回路(外部メモリ接続検知信号保持回路)11を備えることにより、ICカード(外部メモリ)7の接続状態が不安定である場合であっても、当該画像形成装置が動作中においては、チップセレクト信号即ちメモリ種別選択信号「XCS0」で選択されるアドレス空間‘000000’H乃至‘3FFFFF’Hのブートデバイスが、フラッシュROM(内部メモリ)2とICカード(外部メモリ)7とのいずれかに固定されることとなり、ひいては、‘400000’H〜‘7FFFFF’Hのアドレス空間を利用するメモリが、VRAM(画像メモリ)5とフラッシュROM(内部メモリ)2との間で変化することを防止することができ、CPU1の暴走を引き起こすごときシステムの異常発生を防止することができる。
【0030】
【発明の効果】
(1)請求項1に記載の発明に対応する作用・効果
<作用>画像メモリVRAMのアドレス空間を拡張することができるため、操作部にあるLCDに表示する、より多くの操作部表示データを画像メモリVRAMに予め展開して格納しておくことができる。
<効果>操作部にあるLCDの表示画面を切り換える際に、画像メモリVRAMの書き換えを行なう発生頻度が減るため、CPUの負荷を低減でき、且つ、操作部にあるLCDの表示切換速度も向上させることができる。
【0031】
(2)請求項2に記載の発明に対応する作用・効果
<作用>ICカード(外部メモリ)の接続の有無を検知して、CPUからのチップセレクト信号即ちメモリ種別選択信号の出力を無効化するか否かを制御することにより、同一アドレス空間で複数のデバイス間のバス競合、本実施例においては、フラッシュROM(内部メモリ)とVRAM(画像メモリ)との間のバス競合を確実に回避することができる。
<効果>ICカード(外部メモリ)の接続状態が不完全である場合であっても、バス競合によるメモリデバイスの記憶内容、及びデバイス自体の破損を防止することができる。
【0032】
(3)請求項3に記載の発明に対応する作用・効果
<作用>画像形成装置の電源オン時のリセット信号により、ICカード(外部メモリ)のセット状態を示すICカードセット検知信号(即ち、外部メモリ接続状態検知信号)をラッチして、チップセレクト信号即ちメモリ種別選択信号の出力を無効化するか否かを制御することにより、当該画像形成装置が動作中においては、動作用プログラムを格納しているブートデバイスが、途中で変化してしまうことが発生しなくなる。
<効果>ICカード(外部メモリ)の接続状態が不安定である場合であっても、ブートデバイスが途中で変化して、CPUの暴走を引き起すごときシステム異常の発生を防止することができる。
【図面の簡単な説明】
【図1】 本発明に係る画像形成装置において、ICカードがセットされていない状態におけるCPUのメモリマップを示すものである。
【図2】 本発明に係る画像形成装置における画像メモリVRAMスタートアドレスの設定動作を説明するための動作フローチャートである。
【図3】 本発明を使用した画像形成装置のメモリアドレス空間を制御する制御装置の機能ブロック図である。
【図4】 本発明を使用した画像形成装置のメモリアドレス空間を制御する制御装置の別の構成を示す機能ブロック図である。
【図5】 従来技術におけるCPUのメモリマップを示すものであり、ICカードがセットされた状態におけるメモリマップを示す。
【図6】 従来技術におけるCPUのメモリマップを示すものであり、ICカードがセットされていない状態におけるメモリマップを示す。
【符号の説明】
1…CPU、2…フラッシュROM(内部メモリ)、3…ワークRAM(一時メモリ)、4…LCDコントローラ、5…VRAM(画像メモリ)、6…LCD、7…ICカード(外部メモリ)8…ICカード(外部メモリ)接続検知回路、9…XCS1マスク回路、10…BOOTデバイス切換回路(プログラムデバイス選択回路)、11…ICカード(外部メモリ)セット検知信号ラッチ回路(外部メモリ接続検知信号保持回路)。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming apparatus, and in particular, enables effective use of a CPU address space, and reduces CPU load and display screen switching speed when switching a display screen of a display unit such as an LCD (Liquid Crystal Display) in an operation unit. The present invention relates to an image forming apparatus capable of improving the above.
[0002]
[Prior art]
In recent electronic device control devices, the program memory for storing the operation program is configured with an electrically rewritable flash memory so that it can easily cope with version upgrade and function expansion of the operation program. Things are known. In general, even in an image forming apparatus, an IC card is used as a memory for storing a new operation program. When the IC card is set in the image forming apparatus, the CPU of the image forming apparatus The operation program stored in the flash memory is upgraded by operating the program stored in the IC card to update the version of the operation program stored in the flash memory. To operate as a normal image forming apparatus.
[0003]
[Problems to be solved by the invention]
However, such a conventional image forming apparatus has the following problems.
In other words, when the IC card is connected, the entire CPU address space is allocated to some device and the CPU address space is effectively used, but the IC card is connected. If it is not, a part of the address space becomes a free area and is not used at all.
The present invention has been made to solve such a problem, and in the state where the IC card is not connected, the above-described free area is used as an address space of another device, for example, an image. The object is to enable effective use of the CPU address space by allocating it as the address space of the image memory storing the data.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, the present invention is constituted by the following specific inventions.
According to a first aspect of the present invention, there is provided an internal memory for storing a program for an image forming apparatus, a CPU for controlling the image forming apparatus based on the program stored in the internal memory, and rewriting the contents of the internal memory. Means for connecting an external memory storing the program, an external memory connection detecting means for detecting a connection state of the external memory, a temporary memory for temporarily storing data when the CPU performs data processing, and a display An image memory that stores image data to be displayed on the display unit, and a program device selection unit that selects whether to execute the program stored in the internal memory or the external memory in accordance with a connection state of the external memory; Each of the internal memory, external memory, temporary memory, and image memory is an address space of the CPU. If the external memory connection detection means indicates that the external memory is not connected, the address space of the image memory is expanded to an empty address space of the CPU. An image forming apparatus is provided.
[0005]
According to a second aspect of the present invention, in the image forming apparatus according to the first aspect, when the external memory connection detection means indicates that the external memory is not connected, the address space of the image memory The present invention is characterized in that the image forming apparatus invalidates the memory type selection signal from the CPU for the empty address space corresponding to the extended portion of the.
[0006]
According to a third aspect of the present invention, in the image forming apparatus according to the first or second aspect, the external memory relating to connection / disconnection of the external memory detected by the external memory connection detecting means when the image forming apparatus is activated. The external memory connection detection signal holding means that latches the connection state detection signal and continues to hold it during operation of the image forming apparatus, and selects the memory type of the CPU based on the held external memory connection state detection signal The image forming apparatus controls whether or not to invalidate the output of the signal.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
(Example)
Embodiments of an image forming apparatus according to the present invention will be described below with reference to FIGS.
Here, FIGS. 5 and 6 show the memory up of the CPU in the prior art, FIG. 5 is a memory map showing the allocation state of the CPU memory address space when the IC card is set, and FIG. 4 is a memory map of the CPU when no IC card is set. 1 shows a memory map of the CPU when no IC card is set in the image forming apparatus according to the present invention, and FIG. 2 shows the start address of the image memory VRAM in the image forming apparatus according to the present invention. 4 is an operation flowchart for explaining the setting operation of the VRAM start address shown, which operates when the image forming apparatus is turned on and started up.
[0008]
3 and 4 are functional block diagrams showing two different configurations of the control device for controlling the memory address space of the image forming apparatus using the present invention. FIG. 3 shows a set of IC cards (external memory). FIG. 4 is a functional block diagram showing that the setting of the address space of the image memory VRAM is switched and controlled by detecting the presence / absence of the state, and FIG. 4 latch-controls the set state of the IC card (external memory) FIG. 5 is a functional block diagram showing switching control of the setting of the address space of the image memory VRAM.
[0009]
As shown in FIG. 3, the control device in an embodiment of the image forming apparatus according to the present invention includes a
The
[0010]
The flash ROM (internal memory) 2 is a memory for storing an operation program executed by the
The work RAM (temporary memory) 3 is used as a working memory (working memory) that stores temporary data during the program operation of the
The
[0011]
Here, how the operation unit display control is performed will be described with reference to FIG.
When the power of the image forming apparatus is turned on, the
[0012]
Here, as described above, the operation unit display data (image data) that can be developed in the VRAM (image memory) 5 is not all necessary display data, but in the address space allocated to the VRAM (image memory) 5. Therefore, the
Thus, in the initialization stage, when it is necessary to display operation unit display data on the
[0013]
In general, for a VRAM (image memory) 5, a chip from the
Thus, the
[0014]
Next, the operation of the control device using the present invention will be described in more detail with reference to FIGS.
5 and 6 are memory maps of the prior art. As described above, FIG. 5 is a memory map when the
[0015]
In the state where the IC card (external memory) 7 is set, as shown in FIG. 5, the flash ROM (internal memory) 2 storing the operation program and the operation unit display data has a chip select signal, The memory type selection signal is selected and designated by “XCS1”, and the address space of the
Further, an IC card (external memory) 7 storing upgrade data for updating the flash ROM (internal memory) 2 as an external memory is used for executing a program as a chip select signal, that is, a memory type selection signal. It is selected and designated by “XCS0” indicating selection of a program device (that is, boot device), and has an area from '000000'H to'3FFFFF'H as the address space of the CPU1.
[0016]
Further, as described above, the VRAM (image memory) 5 that stores the operation unit display data displayed on the
[0017]
A work RAM (temporary memory) 3 storing temporary work data (working data) is selected and designated by “XCS2” as a chip select signal, that is, a memory type selection signal. It has a region from E00000'H to 'EFFFFF'H.
Further, the
[0018]
As is clear from comparison between FIGS. 5 and 6, since the IC card (external memory) 7 is not set in FIG. 6, the address corresponding to the IC card (external memory) 7 shown in FIG. Space areas '000000'H to'3FFFFF'H are defined as areas of flash ROM (internal memory) 2, and flash ROM (internal memory) 2 executes a program as a chip select signal, that is, a memory type selection signal. Is selected and designated by “XCS0” indicating the selection of the program device (that is, the boot device).
[0019]
Thus, in FIG. 5 in which the IC card (external memory) 7 is set, '400000'H to'7FFFFF'H which are the areas of the flash ROM (internal memory) 2 that is the target of the version upgrade In FIG. 6 in which the IC card (external memory) 7 is not set, the address space of (hexadecimal display) is a free area.
Here, as described above, in the VRAM (image memory) 5, only the operation unit display data corresponding to the address space allocated to the VRAM (image memory) 5 can be developed. In other words, as the address space allocated to the VRAM (image memory) 5 is larger, the operation unit display data having a larger number of screens can be expanded as image data in the VRAM (image memory) 5. .
[0020]
Therefore, in the image forming apparatus according to the present invention, when the image forming apparatus is initialized when the power is turned on, the IC card (external memory) 7 with respect to the external memory connection means is used as shown in the operation flowchart of FIG. By detecting the set state (that is, the connection state) by the IC card (external memory)
[0021]
By performing the address space changing operation like this, the address space of the VRAM (image memory) 5 is obtained in the normal operation when the IC card (external memory) 7 is not set (NO in step S1 in FIG. 2). 1 is changed from '800000'H to'400000'H, which is the start address of the free address space (processing in step S3 in FIG. 2), and the address space of VRAM (image memory) 5 is changed to the memory of FIG. As shown in the map, it is possible to expand to “400000” H to “DFFFFF” H.
That is, more address space can be used as the VRAM (image memory) 5, and more operation unit display data is transferred from the flash ROM (internal memory) 2 to the VRAM (internal memory) at the time of initialization immediately after the power is turned on. The image data can be expanded and stored in the
[0022]
Thus, when switching the display screen of the
[0023]
As shown in FIG. 3, the connection state of the IC card (external memory) 7 is detected by, for example, detecting both the IC card set
[0024]
In such an incomplete state, the
[0025]
In order to prevent such a situation, as shown in FIG. 3, a circuit such as an
[0026]
However, even with the above-described configuration, when the connection state of the IC card (external memory) 7 is unstable, output signals of the IC card (external memory)
[0027]
Here, the BOOT device switching circuit (program device selection circuit) 10 is a program stored in the flash ROM (internal memory) 2 or the IC card (external memory) 7 according to the connection state of the IC card (external memory) 7. Program device selection means for selecting which one of them to execute is provided. When the output signal of the program device selection means, that is, the output signal of the BOOT device switching circuit (program device selection circuit) 10 becomes unstable, a program is executed between the flash ROM (internal memory) 2 and the IC card (external memory) 7. The boot device (that is, the memory device selected and designated by the chip select signal “XCS0”) is changed, and the risk of the
[0028]
In order to prevent such a situation reliably, as shown in FIG. 4, an IC card connection detection signal latch circuit (external memory connection detection signal holding circuit) 11 is provided and is generated when the image forming apparatus is activated when the power is turned on. When the reset signal rises, the IC card (external memory) connection status detection signal (that is, whether the IC card (external memory) is connected or not connected), which is an output signal of the IC card (external memory)
That is, the IC card connection detection signal latch circuit (external memory connection detection signal holding circuit) 11 is connected to the IC card (external memory) 7 detected at the time of starting the image forming apparatus while the image forming apparatus is operating. / An external memory connection detection signal holding means that continues to hold the non-connected state is provided. Thus, by controlling whether to invalidate the output of the CPU chip select signal, ie, the memory type selection signal, based on the external memory connection state detection signal latched and held, It is possible to prevent the occurrence of a situation where the boot device that executes the program is switched while the forming apparatus is operating.
[0029]
That is, by providing the IC card connection detection signal latch circuit (external memory connection detection signal holding circuit) 11, even if the connection state of the IC card (external memory) 7 is unstable, the image forming apparatus During operation, the boot device of the address space '000000'H to'3FFFFF'H selected by the chip select signal, that is, the memory type selection signal “XCS0” is the flash ROM (internal memory) 2 and the IC card (external memory). Therefore, the memory using the address space from “400000” H to “7FFFFF” H is between the VRAM (image memory) 5 and the flash ROM (internal memory) 2. It is possible to prevent changes, and to prevent system abnormalities such as causing
[0030]
【The invention's effect】
(1) Actions and Effects Corresponding to the Invention of
<Effect> Since the frequency of rewriting the image memory VRAM is reduced when switching the LCD display screen in the operation unit, the load on the CPU can be reduced and the display switching speed of the LCD in the operation unit can be improved. be able to.
[0031]
(2) Actions and effects corresponding to the invention described in
<Effect> Even if the connection state of the IC card (external memory) is incomplete, it is possible to prevent the memory content of the memory device and the device itself from being damaged due to bus contention.
[0032]
(3) Actions and Effects Corresponding to the Invention of
<Effect> Even when the connection state of the IC card (external memory) is unstable, it is possible to prevent the occurrence of a system abnormality when the boot device changes in the middle and causes a CPU runaway. .
[Brief description of the drawings]
FIG. 1 shows a memory map of a CPU in a state where an IC card is not set in an image forming apparatus according to the present invention.
FIG. 2 is an operation flowchart for explaining an operation of setting an image memory VRAM start address in the image forming apparatus according to the present invention.
FIG. 3 is a functional block diagram of a control device that controls a memory address space of an image forming apparatus using the present invention.
FIG. 4 is a functional block diagram showing another configuration of a control device that controls the memory address space of the image forming apparatus using the present invention.
FIG. 5 shows a memory map of a CPU in the prior art, and shows a memory map in a state where an IC card is set.
FIG. 6 shows a memory map of a CPU in the prior art, and shows a memory map in a state where an IC card is not set.
[Explanation of symbols]
1 ... CPU, 2 ... Flash ROM (internal memory), 3 ... Work RAM (temporary memory), 4 ... LCD controller, 5 ... VRAM (image memory), 6 ... LCD, 7 ... IC card (external memory) 8 ... IC Card (external memory) connection detection circuit, 9 ... XCS1 mask circuit, 10 ... BOOT device switching circuit (program device selection circuit), 11 ... IC card (external memory) set detection signal latch circuit (external memory connection detection signal holding circuit) .
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001200337A JP4422926B2 (en) | 2001-07-02 | 2001-07-02 | Image forming apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001200337A JP4422926B2 (en) | 2001-07-02 | 2001-07-02 | Image forming apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003015951A JP2003015951A (en) | 2003-01-17 |
| JP4422926B2 true JP4422926B2 (en) | 2010-03-03 |
Family
ID=19037475
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001200337A Expired - Fee Related JP4422926B2 (en) | 2001-07-02 | 2001-07-02 | Image forming apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4422926B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5196809B2 (en) * | 2007-02-27 | 2013-05-15 | キヤノン株式会社 | Memory system |
| JP2009118055A (en) * | 2007-11-05 | 2009-05-28 | Konica Minolta Business Technologies Inc | Image forming apparatus |
-
2001
- 2001-07-02 JP JP2001200337A patent/JP4422926B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003015951A (en) | 2003-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100280637B1 (en) | Computer system capable of data update of fixed flash ROM and its control method | |
| JPH02267634A (en) | Interrupt system | |
| CN114661368B (en) | Chip and starting method thereof | |
| JP2000065899A (en) | Semiconductor device and data rewriting method thereof | |
| JP2000293367A (en) | Microcomputer with built-in nonvolatile memory | |
| JP4409681B2 (en) | Information processing apparatus and memory control method for information processing apparatus | |
| KR20020089374A (en) | Variable-mode PC card and input/output control device of PC card | |
| JP4422926B2 (en) | Image forming apparatus | |
| US6000005A (en) | Method of writing a flash memory including dynamically switching and allocating memory spaces to the flash memory blocks | |
| KR100815004B1 (en) | Control method and electronic device | |
| US20060117313A1 (en) | Method for patching firmware in memory device | |
| JP2002175193A (en) | Program rewriting device and program rewriting method | |
| JP2000293376A (en) | Circuit and method for switching boot program | |
| JP2003308525A (en) | Image forming apparatus and control method thereof | |
| JP2002073360A (en) | Startup information rewriting device | |
| JP4408504B2 (en) | GAME DEVICE AND ALLOCATION METHOD | |
| JPH07281986A (en) | Extended board, information processor using the same and control method for peripheral device | |
| JP2853593B2 (en) | Download device | |
| JP2003132407A (en) | Automatic vending machine controller | |
| JP2003299848A (en) | Subalternate control device of game machine | |
| JP2004302631A (en) | Information processor | |
| JPH1050086A (en) | Microcomputer having eeprom and its rewriting method | |
| JPH11338690A (en) | Flash memory, system device using firmware, and firmware rewriting method | |
| JP2013182461A (en) | Information processing apparatus, resource control method in the same, and computer program | |
| JP3143287U (en) | Image display control device for game machines |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060828 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20060912 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060912 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091117 |
|
| 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: 20091124 |
|
| 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: 20091207 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131211 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |