JPS6345651A - Memory access system - Google Patents

Memory access system

Info

Publication number
JPS6345651A
JPS6345651A JP18910486A JP18910486A JPS6345651A JP S6345651 A JPS6345651 A JP S6345651A JP 18910486 A JP18910486 A JP 18910486A JP 18910486 A JP18910486 A JP 18910486A JP S6345651 A JPS6345651 A JP S6345651A
Authority
JP
Japan
Prior art keywords
memory
address
option
character pattern
final address
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
Application number
JP18910486A
Other languages
Japanese (ja)
Inventor
Yoshio Shiromoto
城本 義夫
Ryuichi Kamei
隆一 亀井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18910486A priority Critical patent/JPS6345651A/en
Publication of JPS6345651A publication Critical patent/JPS6345651A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely check an extended memory in a short time by giving an access to a memory toward a leading address from the final address for the text of the memory including an extended option memory after obtaining the final address of an extended option memory. CONSTITUTION:When an MPU 1 runs a check program for the contents of a memory (character pattern) 2, the final address of an extended option memory is obtained in an address operation/generation means (address operation/ generation part) 6 based on the ON/OFF information on the option bit set at an option bit register 3. Then an access is given to the memory 2 toward the leading address from a final address. Thus the normality of the option memory is early confirmed and its countermeasure is quickly applied.

Description

【発明の詳細な説明】 〔概要〕 所定容量単位ずつオプションメモリを増設するメモリの
容量をオプションビットのオン/オフで管理するレジス
タを有する装置であって、オプションメモリが増設され
たメモリのテストを行うためのメモリアクセスを、増設
されたオプションメモリの最終アドレスを求め、その最
終アドレスから先頭アドレスに向けてメモリをアクセス
するように構成することにより、オプションメモリの正
常性が早期に確認され、その対応策を迅速に施すことが
可能となる。
[Detailed Description of the Invention] [Summary] A device having a register that manages the capacity of memory for which optional memory is added in units of a predetermined capacity by turning on/off option bits, and which is capable of testing the memory to which optional memory is added. By configuring the memory access to obtain the final address of the added optional memory and access the memory from that final address toward the first address, the normality of the optional memory can be confirmed early and the It becomes possible to take countermeasures quickly.

〔産業上の利用分野〕[Industrial application field]

本発明は、所定容量単位ずつオプションメモリを増設す
るメモリのアクセス方式に関する。
The present invention relates to a memory access method in which optional memory is added in units of predetermined capacity.

例えば、電子写真式印刷装置等では、印刷する文字パタ
ーンを格納しているメモリが設けられており、上位装置
から転送されて来るコードデータにより対応する文字パ
ターンをメモリから展開することにより作成されるデー
タを印刷処理している。
For example, an electrophotographic printing device is equipped with a memory that stores the character pattern to be printed, and the character pattern is created by expanding the corresponding character pattern from the memory using code data transferred from the host device. Data is being printed.

このようなメモリは、所定単位の容量を基本とし、格納
する文字パターンが多くなるにつれて所定単位の容量を
有するオプションメモリを増設して行く方式が取られて
いるものがある。
Some such memories are based on a capacity of a predetermined unit, and as the number of character patterns to be stored increases, an optional memory having a capacity of a predetermined unit is added.

かかるオプションメモリの増設が確実になされ、そのオ
プションメモリの内容が正常であるか否かを迅速にしか
も簡易な方法で正確にチエツクする方式の実用化が期待
されている。
It is expected that such an optional memory will be reliably added and a system will be put into practical use that can quickly and simply check whether the contents of the optional memory are normal or not.

〔従来の技術〕[Conventional technology]

第4図は従来例を説明するブロック図、第5図は従来例
におけるメモリアクセス手順を説明する図をそれぞれ示
す。
FIG. 4 is a block diagram illustrating a conventional example, and FIG. 5 is a diagram illustrating a memory access procedure in the conventional example.

第4図は電子写真式印刷装置の一部の機能ブロックを示
し、その構成は、 装置内部の処理動作をマイクロプログラムに基づき制御
するマイクロプロセッサ(以下MPtlと称する)1と
、 文字パターンを格納しており、基本文字パターン領域2
aと、オプション文字パターン領域2bとを有する文字
パターンメモリ2と、 文字パターンメモリ2内オプシヨン文字パターン領域2
bの増設管理情報をオプションビットのオン/オフで格
納するオプションビットレジスタ3と、 文字パターンメモリ2のアドレスをMPUIの指示のも
とに若番から順次発生するアドレス発生部4と、 上位装置(図示してない)とのインタフェースをなすイ
ンタフェース部5とを具備して構成されている。
FIG. 4 shows a part of the functional blocks of an electrophotographic printing device, and its configuration consists of a microprocessor (hereinafter referred to as MPtl) 1 that controls processing operations inside the device based on a microprogram, and a processor that stores character patterns. Basic character pattern area 2
a, and an optional character pattern area 2b; and an optional character pattern area 2 in the character pattern memory 2.
an option bit register 3 that stores expansion management information of b by turning on/off option bits; an address generator 4 that sequentially generates addresses for the character pattern memory 2 from the smallest number based on instructions from the MPUI; and a host device ( (not shown).

文字パターンメモリ2のオプション文字パターン領域2
bに所定容量のオプションメモリが増設された場合、オ
プションビットレジスタ3内の対応する位置のオプショ
ンビットをMPUIによりオンとする。
Optional character pattern area 2 of character pattern memory 2
When a predetermined capacity of option memory is added to b, the option bit at the corresponding position in the option bit register 3 is turned on by the MPUI.

例えば、標準のメモリプリント板のみが設定されていた
状態で、オプションメモリプリント仮を1枚増設した場
合は、MPUIがオプションメモリプスタ3の第1ビツ
ト目をオンにする。
For example, when only the standard memory printed board is set and one optional memory printed board is added, the MPUI turns on the first bit of the optional memory printer 3.

次に、上記状態に於ける文字パターンメモリ2のアクセ
スを第5図に基づき説明する。尚、図中の記号100〜
106は処理ステップを表す。
Next, access to the character pattern memory 2 in the above state will be explained based on FIG. 5. In addition, symbols 100~
106 represents a processing step.

(ステップ100) ;MPUI はオプションビット
レジスタ3で対応するオプションビットの内容を確認し
て、オンしているオプションビットに基づく文字パター
ンメモリ2の先頭アドレスをアドレス発生部4にセット
する。
(Step 100); The MPUI checks the contents of the corresponding option bit in the option bit register 3, and sets the start address of the character pattern memory 2 based on the turned-on option bit in the address generator 4.

(ステップ101.102): MPUIはアドレス発
生部4から発生ずるアドレスに従い文字パターンメモリ
2を順次アクセスしてデータを書込み、引き続き書込ん
だデータの読出しを行う。
(Steps 101 and 102): The MPUI sequentially accesses the character pattern memory 2 according to the address generated from the address generator 4, writes data, and then reads the written data.

(ステップ103); MPUIは文字パターンメモリ
2を順次アクセスしている中でエラー発生の有無をチエ
ツクする。
(Step 103); The MPUI checks whether an error has occurred while sequentially accessing the character pattern memory 2.

(ステップ104,105)、 MPUIはエラー発生
がなげればアドレス発生部4に指示して次のアドレス(
前のアドレスにプラス1したアドレス)を発生させ、そ
のアドレスが最終アドレスか否かを判定して最終アドレ
スであれば正常終了とし、最終アドレスでなればスヘソ
プ101からの動作を繰返す。
(Steps 104, 105). If no errors occur, the MPUI instructs the address generator 4 to generate the next address (
The previous address plus 1) is generated, and it is determined whether the address is the final address or not. If it is the final address, it is considered to be a normal end, and if it is not the final address, the operation from the screen 101 is repeated.

(ステップ106); MPUIは文字パターンメモリ
2のアクセスでエラーを確認すると文字パターンメモリ
2のエラー、即ちオプションメモリの設定ミスによるエ
ラー又はメモリ素子の欠陥等によるエラーとして処理す
る。
(Step 106); When the MPUI confirms an error in accessing the character pattern memory 2, it processes it as an error in the character pattern memory 2, that is, an error due to a setting error in the option memory or an error due to a defect in the memory element.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のように、従来方式による文字パターンメモリ2の
アクセスは、オプションビットレジスタ3に設定されて
いるオプションビットのオン/オフにより、文字パター
ンメモリ2の先頭アドレスから順次行っている。
As described above, access to the character pattern memory 2 in the conventional method is performed sequentially from the first address of the character pattern memory 2 by turning on/off the option bits set in the option bit register 3.

これにより、そのオプションメモリの欠陥や設定ミスが
確認されるが、その確認に到るまでの時間を多く要する
This allows checking for defects or setting errors in the option memory, but it takes a lot of time to check.

例えば、数十メガのオプションメモリが増設されると、
そのチエツクに要する時間が数十分以上を要することに
なる。
For example, when several tens of megabytes of optional memory is added,
This check will take several tens of minutes or more.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の詳細な説明するブロック図を示す。 FIG. 1 shows a block diagram illustrating the invention in detail.

第1図に示す原理ブロックは、第4図で説明した機能ブ
ロック1.2.3.5と、 該装置内部の処理動作を所定プログラムに基づき制御す
るMPUIがメモリチエツクのためのアクセスを指示し
た場合、増設されたオプションメモリの最終アドレスを
演算して求め、その最終アドレスを送出し、送出された
最終アドレスをセットして?’1PU1からの指示によ
りセントしたアドレス値から順次所定値を減算して送出
するアドレス演算・発生手段(アドレス演算・発生部)
6とを具備して構成されている。
The principle block shown in FIG. 1 consists of the functional blocks 1.2.3.5 explained in FIG. In this case, calculate and find the final address of the added optional memory, send that final address, and set the sent final address? Address calculation/generation means (address calculation/generation unit) that sequentially subtracts a predetermined value from the address value sent according to instructions from PU1 and sends it out.
6.

〔作用〕[Effect]

MP[11でメモリ (文字パターンメモリ)2の内容
チエツク用プログラムを流した場合、オプションビット
レジスタ3にセットされているオプションビットのオン
/オフ情報に基づき、増設されたオプションメモリの最
終アドレスをアドレス演算・発生手段(アドレス演算・
発生部)6内部で求め、その最終アドレスから先頭アド
レスに向けてメモリ (文字パターンメモリ)2をアク
セスするように構成することにより、オプションメモリ
の正常性が早期に確認され、その対応策を迅速に施すこ
とが可能となる。
When the program for checking the contents of memory (character pattern memory) 2 is run in MP[11, the final address of the added option memory is specified based on the option bit on/off information set in option bit register 3. Calculation/generation means (address calculation/
By configuring the memory (character pattern memory) 2 to be accessed from the final address to the first address, the normality of the optional memory can be confirmed at an early stage, and countermeasures can be quickly taken. It becomes possible to apply it to

〔実施例〕〔Example〕

以下本発明の要旨を第2図、第3図に示す実施例により
具体的に説明する。
The gist of the present invention will be specifically explained below with reference to embodiments shown in FIGS. 2 and 3.

第2図は本発明の詳細な説明するブロック図、第3図は
本発明の実施例におけるメモリアクセス手順を説明する
図をそれぞれ示す。尚、全図を通じて同一符号は同一対
象物を示す。
FIG. 2 is a block diagram illustrating the present invention in detail, and FIG. 3 is a diagram illustrating a memory access procedure in an embodiment of the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

本実施例のアドレス演算・発生部6は、第2図に示す如
く、 文字パターンメモリ2のアドレスをMPIllから送出
された情報Gこより演算して求めるアドレス演算回路6
1と、 アドレス演算回路61から出力されたアドレスをセット
して、それに続くアドレスを?IPU1から送出される
アップ/ダウン信号によりプラス1したり、マイナス1
して順次発生するカウンタ62とを具備してなっている
As shown in FIG. 2, the address calculation/generation unit 6 of this embodiment includes an address calculation circuit 6 that calculates the address of the character pattern memory 2 from the information G sent from the MPIll.
1 and the address output from the address calculation circuit 61, and set the following address? +1 or -1 depending on the up/down signal sent from IPU1
and a counter 62 which sequentially generates the data.

こ\で、アドレス演算回路でのアドレスの演算方法を説
明する。
Now, the address calculation method in the address calculation circuit will be explained.

先ず、標準のメモリプリント板の最終アドレスは装置に
固有で予め定められているので、この標準メモリプリン
ト板の最終アドレスAを保持しておく。
First, since the final address of the standard memory printed board is unique to the device and determined in advance, the final address A of this standard memory printed board is held.

更に、オプションメモリプリント板のメモリ容量も、1
枚重位に予め一定の容量(例えば512KB)が定めら
れているので、この容量情報Bも保持しておく。
Furthermore, the memory capacity of the optional memory printed board is also 1
Since a certain capacity (for example, 512 KB) is predetermined for the sheet weight, this capacity information B is also held.

何ビット目までオンになっているかの情報に基づとする
と、オプションメモリプリント板は2枚増設されたとい
うことであり、オプションメモリ全体の容量は2xBで
ある。
Based on the information on how many bits are turned on, it means that two optional memory printed boards have been added, and the total capacity of the optional memory is 2xB.

従って、最終アドレスCは、C=A+2Bとして求めら
れる。
Therefore, the final address C is obtained as C=A+2B.

次に、本実施例におけるメモリアクセス処理動作を第3
図に基づき説明する。
Next, the memory access processing operation in this embodiment will be explained in the third section.
This will be explained based on the diagram.

(ステップ200) ;  MPUIにメモリチエツク
用プログラムが流されると、MPtllはオプションビ
ットレジスタ3にセットされているオプションビットの
オン/オフ状態を確認して、そのオン/オフ内容をアド
レス演算・発生部6内アドレス演算回路61にセットす
ると共に、求められた最終アドレスを送出するように指
示する。
(Step 200); When the memory check program is sent to the MPUI, the MPtll checks the on/off state of the option bit set in the option bit register 3, and sends the on/off contents to the address calculation/generation section. 6 internal address arithmetic circuit 61, and instructs it to send out the determined final address.

アドレス演算回路61は入力した情報に基づき文字パタ
ーンメモリ2のアドレスを演算して求め、そのQHアド
レスをカウンタ62にセットする。
The address calculation circuit 61 calculates the address of the character pattern memory 2 based on the input information, and sets the QH address in the counter 62.

(ステップ201) iカウンタ62はセットされた最
終アドレスを、MPUIからのダウン信号によりマイナ
ス1しながら順次送出する。
(Step 201) The i counter 62 sequentially transmits the set final address while incrementing it by one in response to a down signal from the MPUI.

(ステップ202,203) ; MPtllはカウン
タ62から送出されたアドレスに基づき文字パターンメ
モリ2を最本冬アドレス(オプションメモリの最終アド
レス)から順次先頭アドレスに向けてアクセスし、デー
タの口込み/読出しを行う。
(Steps 202, 203); Based on the address sent from the counter 62, MPtll sequentially accesses the character pattern memory 2 from the highest address (the last address of the option memory) to the first address, and reads/writes the data. I do.

(ステップ204〜206) ; MPUIではデータ
の書込み/読出しを行う途中でエラーの有無のチエツク
でエラーが確認されないと、そのアドレスをマイナス1
しその時のアドレスが先頭アドレスか否かを確認し、先
頭アドレスであれば正常処理終了とし、先頭アドレスで
なければステップ202からの動作を繰返す。
(Steps 204 to 206); In MPUI, if an error is not confirmed during data writing/reading, the address is subtracted by one.
Then, it is checked whether the address at that time is the first address or not. If the address is the first address, the processing is terminated normally, and if it is not the first address, the operation from step 202 is repeated.

(ステップ207,208) ;ステップ204にてM
PUIでエラーが確認されると所定方法によりエラー表
示すると共に、MPIJIはエラー処理を実行する。
(Steps 207, 208); M at step 204
When an error is confirmed on the PUI, the error is displayed using a predetermined method, and MPIJI executes error processing.

〔発明の効果] 以上のような本発明によれば、簡易な方法で短時間にし
かも確実に増設されたメモリのチエツクが出来ると言う
効果がある。
[Effects of the Invention] According to the present invention as described above, it is possible to check the added memory in a short time and reliably using a simple method.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の詳細な説明するブロック図、第2図は
本発明の詳細な説明するブロック図、第3図は本発明の
実施例におけるメモリアクセス手順を説明する図、 第4図は従来例を説明するブロック図、第5図は従来例
におけるメモリアクセス手順を説明する図、 をそれぞれ示す。 図において、 ■はMPtl 。 2は文字パターンメモリ (メモリ)、2aは基本文字
パターン領域、 2bはオプション文字パターン領域、 3はオプションビットレジスタ、 4はアドレス発生部、   5はインタフェース部、6
はアドレス演算・発生部、 61はアドレス演算回路、 62はカウンタ、をそれぞ
れ示す。 イ鵞寄ロ珂の声易咎例や力≧斬H邦ブはンク図$2図 ネ 5 図
FIG. 1 is a block diagram explaining the present invention in detail, FIG. 2 is a block diagram explaining the present invention in detail, FIG. 3 is a diagram explaining the memory access procedure in an embodiment of the present invention, and FIG. 4 is a block diagram explaining the present invention in detail. FIG. 5 is a block diagram illustrating a conventional example, and FIG. 5 is a diagram illustrating a memory access procedure in the conventional example. In the figure, ■ is MPtl. 2 is character pattern memory (memory), 2a is basic character pattern area, 2b is optional character pattern area, 3 is option bit register, 4 is address generation section, 5 is interface section, 6
61 represents an address calculation/generation unit, 61 represents an address calculation circuit, and 62 represents a counter, respectively. Ikuyoriroka's voice easy to blame example and power ≧ Zan H countrybu is Nuku figure $ 2 figure 5 figure

Claims (1)

【特許請求の範囲】 メモリ(2)の容量を、所定容量単位にオプションとし
て増設することが可能で、且つ増設された容量をオプシ
ョンビットのオン/オフで管理するオプションビットレ
ジスタ(3)を具備する装置において、 増設された該オプションメモリの最終アドレスをレジス
タ(3)の内容に基づいて求め、マイクロプロセッサ(
1)からの指示により、該最終アドレス値に対し所定値
づつ減算したアドレスを送出するアドレス演算・発生手
段(6)を設け、 前記メモリ(2)を、最終アドレスから先頭アドレスに
向かって順次アクセスした結果に基づいてオプションメ
モリの有無を確認することを特徴とするメモリアクセス
方式。
[Claims] The capacity of the memory (2) can be optionally expanded in predetermined capacity units, and the memory (2) is equipped with an option bit register (3) that manages the expanded capacity by turning on/off option bits. The final address of the added option memory is determined based on the contents of the register (3), and the microprocessor (
An address calculation/generation means (6) is provided which sends out an address obtained by subtracting a predetermined value from the final address value in response to instructions from 1), and accesses the memory (2) sequentially from the final address toward the first address. A memory access method is characterized in that the presence or absence of optional memory is checked based on the results obtained.
JP18910486A 1986-08-12 1986-08-12 Memory access system Pending JPS6345651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18910486A JPS6345651A (en) 1986-08-12 1986-08-12 Memory access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18910486A JPS6345651A (en) 1986-08-12 1986-08-12 Memory access system

Publications (1)

Publication Number Publication Date
JPS6345651A true JPS6345651A (en) 1988-02-26

Family

ID=16235427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18910486A Pending JPS6345651A (en) 1986-08-12 1986-08-12 Memory access system

Country Status (1)

Country Link
JP (1) JPS6345651A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5650544A (en) * 1994-09-19 1997-07-22 Nippon Shokubai Co., Ltd. Process for production of unsaturated ether and catalyst used for production of unsaturated ether
US10160354B2 (en) 2015-05-26 2018-12-25 Toyota Boshoku Kabushiki Kaisha Vehicle air-conditioning seat

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5650544A (en) * 1994-09-19 1997-07-22 Nippon Shokubai Co., Ltd. Process for production of unsaturated ether and catalyst used for production of unsaturated ether
US10160354B2 (en) 2015-05-26 2018-12-25 Toyota Boshoku Kabushiki Kaisha Vehicle air-conditioning seat

Similar Documents

Publication Publication Date Title
US5555249A (en) Non-destructive memory testing in computers
JP3003782B2 (en) Development support equipment
JP2005149501A (en) System and method for testing memory with expansion card using dma
JPS6345651A (en) Memory access system
JPS6344260A (en) Checking system for memory capacity
JP2671629B2 (en) Memory check system
US7076711B1 (en) Automatic testing of microprocessor bus integrity
JPH0793225A (en) Memory check system
JPH06349299A (en) Memory test result collecting method and memory tester
JPS61846A (en) Test method for normalness of memory contents
JPS60549A (en) Memory testing system
JP2677043B2 (en) Program development support device
JPH04257030A (en) Rom patch system
JPH0293847A (en) Memory test system at time of initial diagnosis
JPH0357032A (en) Method for simulating computer adjustment backup logic
JPH08153168A (en) Method for testing plural cards
JPH10161965A (en) Device and method for address allocation
JPS6049450A (en) Check system of back-up memory
JPH10312342A (en) Test system for adapter and parity function testing method for adapter
JPH09198274A (en) Method for testing device having processor and ram
JPH01197860A (en) Memory fault detecting circuit
JPS59151247A (en) Testing device of information processing device
JPS59178553A (en) Debugging system
JPS62130437A (en) Lsi tracing system
JPH0460735A (en) Diagnostic system for storage device