JPH0433062B2 - - Google Patents
Info
- Publication number
- JPH0433062B2 JPH0433062B2 JP60040936A JP4093685A JPH0433062B2 JP H0433062 B2 JPH0433062 B2 JP H0433062B2 JP 60040936 A JP60040936 A JP 60040936A JP 4093685 A JP4093685 A JP 4093685A JP H0433062 B2 JPH0433062 B2 JP H0433062B2
- Authority
- JP
- Japan
- Prior art keywords
- memory space
- section
- check
- display
- contents
- 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 - Lifetime
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】
〔目次〕
概要
産業上の利用分野
従来の技術
発明が解決しようとする問題点
問題点を解決するための手段(第1図)
作 用
実施例
(a) 実施例ポータブル端末の説明
(第2図、第3図、第4図)
(b) 実施例装置の内部構成の説明
(第5図、第6図)
(c) 実施例構成の動作の説明
(第7図、第8図)
発明の効果
〔概要〕
プロセツサのアクセスしうるポート部を含むメ
モリ空間の任意の領域をダイナミツクに診断チエ
ツクする方式であつて、メモリ空間のチエツクす
べき領域指定部と、指定領域の内容を表示する表
示部とを有し、当該プロセツサがメモリ空間の指
定領域を繰返し読出して表示部に表示するように
してポート部を含むメモリ空間の任意の領域をダ
イナミツクに診断しうるようにしたものである。[Detailed description of the invention] [Table of contents] Overview Industrial field of application Conventional technology Problems to be solved by the invention Means for solving the problems (Fig. 1) Working example (a) Portable example Explanation of the terminal (Fig. 2, Fig. 3, Fig. 4) (b) Explanation of the internal configuration of the embodiment device (Fig. 5, Fig. 6) (c) Explanation of the operation of the embodiment configuration (Fig. 7) , FIG. 8) Effects of the Invention [Summary] This is a system for dynamically checking diagnostics of any area of a memory space including a port section that can be accessed by a processor. and a display section for displaying the contents of the memory space, so that the processor can repeatedly read a specified area of the memory space and display it on the display section, thereby dynamically diagnosing any area of the memory space including the port section. This is what I did.
〔産業上の利用分野〕
本発明は、プロセツサがアクセスしうるメモリ
空間をダイナミツクに診断チエツクするためのメ
モリ空間のダイナミツクチエツク方式に関し、特
に、ポート部を含むメモリ空間のチエツクすべき
領域を指定して表示部にその領域の内容を表示す
ることによりオペレータがチエツクを行うメモリ
空間のダイナミツクチエツク方式に関する。[Industrial Application Field] The present invention relates to a dynamic memory space check method for dynamically diagnostically checking a memory space that can be accessed by a processor. The present invention relates to a dynamic check method of a memory space in which an operator performs a check by displaying the contents of that area on a display unit.
データ処理ユニツトであるプロセツサが処理を
実行するには、所定のメモリの空間を必要とす
る。 A processor, which is a data processing unit, requires a certain amount of memory space to perform processing.
このようなメモリ空間は、I/O(入出力ユニ
ツト)を接続するためのハードボート部、データ
格納用RAM(ランダムアクセスメモリ)、プログ
ラム格納用ROM(リードオンリーメモリ)等で
構成されており、プロセツサは、係るメモリ空間
を必要に応じてアクセスし、I/Oと、RAM及
びROMのデータのやりとりを行う。 This kind of memory space consists of a hard board for connecting I/O (input/output unit), data storage RAM (random access memory), program storage ROM (read only memory), etc. The processor accesses the memory space as necessary and exchanges data between I/O, RAM and ROM.
このようなメモリ空間が破壊されていると、プ
ロセツサは処理が続行できなくなることから、メ
モリ空間のチエツクが必要となる。
If such memory space is destroyed, the processor will not be able to continue processing, so it is necessary to check the memory space.
このチエツクの方式として従来、メモリ空間の
任意のアドレスをキーより指定して読出し操作を
行いその内容を表示部に表示し、オペレータが目
視してチエツクするようにしていた。 Conventionally, this check has been performed by specifying an arbitrary address in the memory space using a key, performing a read operation, and displaying the contents on a display section for the operator to visually check.
この表示内容を読出された時点のもので、読出
し後変化しないものであつた。 This display content was the one at the time it was read out, and did not change after being read out.
しかしながら、従来の方式では、読出し操作
後、何等かの操作によつて当該アドレスの内容を
変化させ、変化したかどうかのチエツクを行うに
は、再度読出し操作を行わなければならないとい
う問題があつた。特にメモリ空間のポート部で
は、外部からの指示やデータに応じて正常に動作
するかをチエツクするのに外部からデータや指示
が与えられ、通常表示部に表示されないため、チ
エツクを行うのに2度の読出し操作を要し、この
操作はポート分必要とするという問題が生じてい
た。
However, in the conventional method, there was a problem in that after a read operation, if the contents of the address were changed by some operation, the read operation had to be performed again in order to check whether the change had occurred. . In particular, in the port section of the memory space, data and instructions are given from the outside to check whether they are operating normally according to instructions and data from the outside, and are not normally displayed on the display section, so it takes two seconds to check. A problem has arisen in that this operation requires multiple read operations, and this operation requires the number of ports.
本発明は、1回の読出し操作でポート部を含む
メモリ空間のチエツクを行うことのできるメモリ
空間のダイナミツクチエツク方式を提供すること
を目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to provide a dynamic check method for a memory space that can check a memory space including a port section with a single read operation.
〔問題点を解決するための手段〕 第1図は本発明の原理説明図である。[Means for solving problems] FIG. 1 is a diagram explaining the principle of the present invention.
図中、1はプロセツサ(以下、CPUと称す)
であり、後述する領域指定部からの指定領域に応
じてメモリ空間を読出すもの、2はメモリ空間で
あり、CPU1のアクセスできるポート部、
RAM、ROM等で構成されるもの、3は指定部
であり、例えばキー入力ユニツトで構成され、モ
ード指示及びアドレス(データ)入力を行うため
のもの、5は表示部であり。指定された内容を表
示するためのもの、4はバスであり、これらを接
続してデータ、コマンドのやりとりを行うもので
ある。 In the figure, 1 is a processor (hereinafter referred to as CPU)
, which reads a memory space according to a specified area from an area specifying section to be described later, 2 is a memory space, and a port section that can be accessed by the CPU 1;
3 is a designation section which is composed of, for example, a key input unit and is used for mode instruction and address (data) input; and 5 is a display section. 4 is a bus for displaying specified contents, and is used to connect these to exchange data and commands.
即ち、本発明では、プロセツサ1と、該プロセ
ツサ1のアクセスしうるポート部を含むメモリ空
間2と、該メモリ空間2のチエツク及びチエツク
すべきメモリ空間2の領域を指定するための指定
部3と、表示部5とを有し、該プロセツサ1は、
該指定部5から該メモリ空間2のチエツクを指定
されると、チエツクモードを実行して、該チエツ
クモードが解除されるまで、該メモリ空間2の指
定領域を繰返して読出して、該表示部5によつて
表示せしめるとともに、該チエツクモード中に該
指定領域の内容を書き代えることにより、該繰返
し読出しによつて該表示部5に該指定領域の書き
代え前の内容と書き代え後の内容とを表示するよ
うにしたことを特徴とする。 That is, the present invention includes a processor 1, a memory space 2 including a port section that can be accessed by the processor 1, and a specifying section 3 for checking the memory space 2 and specifying an area of the memory space 2 to be checked. , a display section 5, and the processor 1 has:
When a check of the memory space 2 is specified by the specifying unit 5, a check mode is executed, and the specified area of the memory space 2 is repeatedly read out until the check mode is canceled, and the display unit 5 At the same time, by rewriting the contents of the specified area during the check mode, the contents of the specified area before and after rewriting can be displayed on the display section 5 through the repeated reading. It is characterized by displaying.
指定部3よりモード指示(以下メモリセツトモ
ード指示という)及び領域(アドレス)がバス4
を介し図のaの如くCPU1へ与えられると、
CPU1は、メモリ空間2の当該アドレスを図の
bの如くアクセスして読出し、バス4を介し表示
部5へ図のcの如く与える。CPU1はこの動作
を係るメモリセツトモード指示が解除されるまで
繰返す。従つてこの間に係るメモリ空間の当該ア
ドレスを書き代えた時には、書き代え前の内容と
書き代え後の内容とが表示部5で表示されるから
メモリ空間の動作チエツクがオペレータの目視に
よつて行なうことができ、且つそのための読出し
操作は1回で済む。
The mode instruction (hereinafter referred to as memory set mode instruction) and area (address) from the specifying section 3 are transferred to the bus 4.
When it is given to CPU1 as shown in a in the figure,
The CPU 1 accesses and reads out the address in the memory space 2 as shown in b in the figure, and provides it to the display section 5 via the bus 4 as shown in c in the figure. The CPU 1 repeats this operation until the memory set mode instruction is released. Therefore, when the address in the memory space related to this period is rewritten, the contents before and after the rewriting are displayed on the display section 5, so that the operation of the memory space can be visually checked by the operator. , and the read operation for that purpose only needs to be done once.
(a) 実施例としてのポータブル端末の説明。 (a) Description of a portable terminal as an example.
第2図は本発明の一実施例データ入力装置の外
観図であり、携帯可能なポータブル端末を示して
おり、第3図は第2図構成のデータ入力装置の使
用例説明図である。 FIG. 2 is an external view of a data input device according to an embodiment of the present invention, showing a portable terminal, and FIG. 3 is an explanatory diagram of an example of use of the data input device configured in FIG. 2.
図中、PTはハンドヘルドターミナルであり、
オペレータが手に持つてデータ入力等の操作を行
うものであり、第5図にて内部構成を後述するよ
うに、内部に動作用電池と、CPU1と、メモリ
空間2と、バス4及びインターフエイス回路等を
有しているもの、BDは本体であり、SWはパワ
ースイツチであり、本体BDの上面上部に設けら
れ、電源投入/切断を行うためのスイツチであ
り、3は指定部としてのキー部であり、7行5列
のキーを有し、テンキー「0」〜「9」、入力指
示キー「ENTER」の他の必要なアルフアベツト
キー及びフアンクシヨンキーが設けられており、
テンキー及びアルフアベツトキーで一般データを
入力し、「ENTER」キー及びフアンクシヨンキ
ーで機能(処理内容)を入力するもの、5はデイ
スプレイであり、液晶デイスプレイで構成され、
本体BDの上面上部に設けられ、入力データ等を
表示するもの、8はコネクタであり、本体BDの
側面に設けられ、通信ユニツトやプリンタユニツ
ト等の外部機器と接続してデータ、コマンドのや
りとりを行うためのものであり、第4図Aにて後
述するものである。 In the figure, PT is a handheld terminal,
It is held in the hand of an operator to perform operations such as data input, and as the internal configuration will be described later in FIG. BD is the main body, SW is the power switch, which is installed on the top of the main body BD to turn on/off the power, and 3 is the key as the designated part. It has 7 rows and 5 columns of keys, and is provided with numeric keys "0" to "9", an input instruction key "ENTER", and other necessary alphanumeric keys and function keys.
General data is entered using the numeric keypad and alphanumeric keys, and functions (processing details) are entered using the "ENTER" key and function keys. 5 is the display, which is composed of a liquid crystal display.
A connector 8 is provided on the top of the main body BD to display input data, etc., and is provided on the side of the main body BD to connect with external equipment such as a communication unit or printer unit to exchange data and commands. This will be described later with reference to FIG. 4A.
第3図中、CIUは通信インターフエイスユニツ
トであり、ハンドヘルドターミナルPTを収容す
る収容部を有し、その底部にはハンドヘルドター
ミナルPTのコネクタ8と接続されるコネクタ9
(第4図Bにて後述)が設けられ、第3図の如く
ハンドヘルドターミナルPTが収容部に収容され
ると、コネクタ8,9とでコネクタ接続され、ハ
ンドヘルドターミナルPTのメモリ2内の入力デ
ータをホストコンピユータへ送信するものであ
る。 In FIG. 3, CIU is a communication interface unit, which has a housing section for housing the handheld terminal PT, and a connector 9 connected to the connector 8 of the handheld terminal PT at the bottom.
(described later in FIG. 4B), and when the handheld terminal PT is housed in the housing part as shown in FIG. 3, the connectors 8 and 9 are connected, and the input data in the memory 2 of the handheld terminal PT is is sent to the host computer.
係るハンドヘルドターミナルPTの使用例を説
明すると、オペレータは取引先(スーパーマーケ
ツト等)においてハンドヘルドターミナルPTを
手に持つて商品を確認しながら、商品の品種や数
量等をキー部3を操作して入力し、デイスプレイ
5で入力データを確認する。入力データは、
CPU1で処理されメモリ2に格納される。 To explain an example of how such a handheld terminal PT is used, an operator holds the handheld terminal PT in his hand at a business partner (supermarket, etc.) and while checking the product, inputs the product type, quantity, etc. by operating the key part 3. and confirm the input data on the display 5. The input data is
Processed by CPU 1 and stored in memory 2.
そして、オペレータは例えば車輌に積込んであ
るプリンタ装置(図示せず)にハンドヘルドター
ミナルPTを接続し、伝票を発行して、取引先に
渡す。又、自己の事務所に戻つた時に事務所に設
けられた通信インターフエイスユニツトCIUにハ
ンドヘルドターミナルPTを接続し、入力データ
をホストコンピユータに送信して、売上げ集計等
に供する。 Then, the operator connects the handheld terminal PT to, for example, a printer device (not shown) loaded in the vehicle, issues a slip, and hands it to the business partner. Furthermore, when the user returns to his/her office, the handheld terminal PT is connected to the communication interface unit CIU installed in the office, and the input data is sent to the host computer for purposes such as sales aggregation.
第4図はこれらのハンドヘルドターミナルPT
及び通信インターフエイスユニツトCIUに設けら
れたコネクタ8及び9の構成図である。 Figure 4 shows these handheld terminals PT.
FIG. 2 is a configuration diagram of connectors 8 and 9 provided in the communication interface unit CIU.
第4図A中、80a,80bはガイド孔であ
り、通信インターフエイスユニツトCIUに設けら
れた他方のコネクタ9の後述する位置合せ用スタ
ツドを受け入れるためのもの、81a〜81dは
リード端子用孔であり、他方のコネクタ9の後述
する信号線用ピンを各々受け入れ、信号線の電気
的接続を行うためのもの、82は光接続部であ
り、3つの発光素子(発光ダイオード)83と、
6つの受光素子(フオトトランジスタ)84とで
構成され、後述する他方のコネクタ9の6つの発
光素子及び3つの受光素子と対向して光結合によ
る信号のやりとりを行うもの、85はコネクタ支
持部であり、ガイド孔80a,80b、リード端
子用孔81a〜81d、光接続部82とが設けら
れるものである。 In FIG. 4A, 80a and 80b are guide holes for receiving alignment studs, which will be described later, on the other connector 9 provided on the communication interface unit CIU, and 81a to 81d are holes for lead terminals. 82 is an optical connection part, which receives the signal line pins (to be described later) of the other connector 9, respectively, and makes an electrical connection of the signal line, and includes three light emitting elements (light emitting diodes) 83,
It is composed of six light-receiving elements (phototransistors) 84, and exchanges signals by optical coupling while facing the six light-emitting elements and three light-receiving elements of the other connector 9, which will be described later. 85 is a connector support part. Guide holes 80a and 80b, lead terminal holes 81a to 81d, and an optical connection section 82 are provided.
第4図B中、90a,90bは位置合せ用スタ
ツドであり、ハンドヘルドターミナルPTに設け
られる一方のコネクタ8のガイド孔80a,80
bに挿入されて、コネクタ8及び9の接続時の保
持と位置合せを行うもの、91a〜91dは信号
線用ピンであり、一方のコネクタ8のリード端子
用孔81a〜81dに挿入されて、信号線の電気
的接続を行うもの、92は光接続部であり、6つ
の発光素子(発光ダイオード)93と、3つの受
光素子(フオトトランジスタ)94とで構成さ
れ、一方のコネクタ8との接続時、各々一方のコ
ネクタ8の6つの受光素子84と、3つの発光素
子83とに対向し、光結合による信号のやりとり
を行うもの、95はコネクタ支持部であり、位置
合せ用スタツド90a,90b、信号線用ピン9
1a〜91d、光接続部92が設けられるもので
ある。 In FIG. 4B, 90a and 90b are positioning studs, and guide holes 80a and 80 of one connector 8 provided in the handheld terminal PT.
91a to 91d are signal line pins that are inserted into the lead terminal holes 81a to 81d of one connector 8, and are inserted into the lead terminal holes 81a to 81d of one connector 8. 92 is an optical connection part that electrically connects the signal line, and is composed of six light emitting elements (light emitting diodes) 93 and three light receiving elements (phototransistors) 94, and is connected to one connector 8. 95 is a connector support part, which faces the six light receiving elements 84 and three light emitting elements 83 of one connector 8 and exchanges signals by optical coupling. , signal line pin 9
1a to 91d, and an optical connection section 92 are provided.
コネクタ8とコネクタ9とを接続するには、コ
ネクタ9の位置合せ用スタツド90a/90bが
コネクタ8のガイド孔80a,80bに挿入され
るようにハンドヘルドターミナルPTを通信イン
ターフエイスユニツトCIUのスロツトに挿入す
る。 To connect the connectors 8 and 9, insert the handheld terminal PT into the slot of the communication interface unit CIU so that the alignment studs 90a/90b of the connector 9 are inserted into the guide holes 80a, 80b of the connector 8. do.
これによつてコネクタ9の信号線用ピン91a
〜91dはコネクタ8のリード端子用孔81a〜
81dに挿入され、電気的接続が行なわれ、又コ
ネクタ9の光接続部92とコネクタ8の光接続部
82が対向し、その発光素子93はその受光素子
84に、その受光素子94はその発光素子83に
対向し光結合が可能となる。 As a result, the signal line pin 91a of the connector 9
~91d is the lead terminal hole 81a of the connector 8~
81d, an electrical connection is made, and the optical connection part 92 of the connector 9 and the optical connection part 82 of the connector 8 face each other, and the light emitting element 93 connects to the light receiving element 84, and the light receiving element 94 connects to the light emitting element 81d. Opposing the element 83, optical coupling is possible.
このような光結合を用いたコネクタにおいて
は、光結合に不向きな電力供給用、接続検出用及
びシグナルグランド用信号線は信号線用ピン91
a〜91dとリード端子用孔81a〜81dの電
気的接続によつて行ない。一方、光結合のできる
データ線、クロツク線等は光接続部92と82と
の光結合によつて行うようにしている。光結合に
よる接続は、機械的接続による電気的接続に対
し、ピンの摩耗劣化による接続不良を考慮せずに
済むので信頼性の高い接続ができ、且つ電気的に
分離されており端子が露出していないから、静電
気の影響による内部回路の破壊も防止できる。 In connectors using such optical coupling, signal lines for power supply, connection detection, and signal ground that are unsuitable for optical coupling are connected to the signal line pin 91.
This is done by electrically connecting a to 91d and the lead terminal holes 81a to 81d. On the other hand, data lines, clock lines, etc. that can be optically coupled are optically coupled between optical connections 92 and 82. Compared to electrical connections made by mechanical connections, connections made by optical coupling are more reliable because there is no need to consider connection failures due to wear and deterioration of the pins, and they are electrically isolated and do not expose the terminals. This prevents damage to internal circuits caused by static electricity.
(b) 実施例装置の内部構成の説明。(b) Explanation of the internal configuration of the example device.
第5図は本発明の一実施例内部ブロツク図であ
る。 FIG. 5 is an internal block diagram of one embodiment of the present invention.
図中、第1図、第2図及び第4図で示したもの
と同一のものは同一の記号で示してあり、4aは
アドレスバスであり、バス4の一部であり、アド
レスのやりとりを行うためのもの、4bはデータ
バスであり、バス4の一部でありコマンドのやり
とりを行うためのもの、6はブザーであり、警告
を発するためのもの、7はデイスプレイコントロ
ーラであり、表示部5を両面制御するためのも
の、10はインターフエイス回路であり、コネク
タ8を介し外部機器とRS−232cインターフ
エイス手順で送受信を行うためのもの、11は電
池であり、装置内部に動作電圧Vccを供給するも
のであり、通信ユニツトCIUとの接続時には、通
信ユニツトCIUの電源よりコネクタ9のピン91
cを介しコネクタ8より充電電圧BVが与えられ
充電されるとともに、充電中はコネクタ9のピン
91dを介し同様に電源より各部に動作電圧Vcc
が与えられるものである。20,21,22,2
3,24はポート部であり、入出力レジスタで構
成され、メモリ空間2の一部を構成し、ポート部
20はブザー6及びデイスプレイコントローラ7
のためのもの、ポート部21はキー部3のための
もの、ポート部22はインターフエイス回路10
の送信用(SD線)のもの、ポート部23はイン
ターフエイス回路10の受信用(RD線)のも
の、ポート部24はインターフエイス回路10の
制御線用(端末レデイ線ER、送信要求線RS、受
信タイミング線DR、送信許可線CS、キヤリアデ
テクト線CD)のためのものである。25は表示
用バツフアであり、26はデータ用メモリであ
り、27はプログラム用メモリであり、メモリ空
間2の他部を構成し、表示用バツフア(以下バツ
フアと称す)25は表示すべきデータを格納して
おくもの、データ用メモリ(以下RAMと称す)
26は入力されたデータ及び必要なプログラムを
格納しておくもの、プログラム用メモリ(以下
ROMと称す)27はCPU1の動作に必要なプロ
グラムを格納しておくものである。 In the figure, the same parts as shown in Figs. 1, 2, and 4 are indicated by the same symbols, and 4a is an address bus, which is a part of the bus 4 and handles the exchange of addresses. 4b is a data bus which is part of the bus 4 and is used to exchange commands; 6 is a buzzer which issues a warning; 7 is a display controller; 5 is for double-sided control, 10 is an interface circuit for transmitting and receiving with external equipment via the connector 8 using the RS-232c interface procedure, and 11 is a battery, which has an operating voltage Vcc inside the device. When connected to the communication unit CIU, pin 91 of the connector 9 is connected to the power supply of the communication unit CIU.
Charging voltage BV is applied from connector 8 through pin 91d of connector 9 during charging, and operating voltage Vcc is applied to each part from the power supply through pin 91d of connector 9.
is given. 20, 21, 22, 2
3 and 24 are port sections, which are composed of input/output registers and constitute part of the memory space 2; the port section 20 is connected to the buzzer 6 and the display controller 7;
The port section 21 is for the key section 3, and the port section 22 is for the interface circuit 10.
The port section 23 is for the reception (RD line) of the interface circuit 10, and the port section 24 is for the control line of the interface circuit 10 (terminal ready line ER, transmission request line RS). , reception timing line DR, transmission permission line CS, carrier detect line CD). 25 is a display buffer, 26 is a data memory, and 27 is a program memory, which constitutes the other part of the memory space 2. The display buffer (hereinafter referred to as buffer) 25 stores data to be displayed. Memory for storing data (hereinafter referred to as RAM)
26 is a memory for storing input data and necessary programs, a program memory (hereinafter referred to as
A ROM (referred to as ROM) 27 stores programs necessary for the operation of the CPU 1.
係る構成のデータ入力装置の基本的動作は、
CPU1がアドレスバス24aよりキー部3の入
力内容をポート部21を介してデータバス4bよ
り読出し、入力内容を解読して、処理(例えば、
加減算、掛算、割算等の演算処理や検索処理)が
指示されれば、その指示された処理を実行し、一
般データであれば、アドレスバス4aを介し表示
バツフア25及びRAM26に係るデータをデー
タバス4bを介し与えて格納せしめる。又、デイ
スプレイコントローラ7はポート20を介し
DMAモードで表示バツフア25をアドレスバス
4aを介しアクセスし、データバス4bより表示
データを受けとつてデイスプレイ5に表示せしめ
る。これらは、CPU1がROM27のプログラム
を読出し実行する。又、送受信モードでは、
CPU1がアドレスバス4aよりポート22,2
3,24のいずれかを指定し、インターフエイス
回路10との間コマンド、データのやりとりを行
い、コネクタ8を介し、外部と送受信動作を行う
ものである。 The basic operation of a data input device with such a configuration is as follows:
The CPU 1 reads the input contents of the key section 3 from the address bus 24a through the data bus 4b via the port section 21, decodes the input contents, and processes (for example,
If arithmetic processing such as addition/subtraction, multiplication, division, etc. or search processing) is instructed, the instructed processing is executed, and if it is general data, the data related to the display buffer 25 and RAM 26 is transferred via the address bus 4a. It is supplied via bus 4b and stored. Also, the display controller 7 is connected via the port 20.
In the DMA mode, the display buffer 25 is accessed via the address bus 4a, and display data is received from the data bus 4b and displayed on the display 5. These programs are read and executed by the CPU 1 from the ROM 27. Also, in transmit/receive mode,
CPU1 connects to ports 22 and 2 from address bus 4a.
3 or 24, commands and data are exchanged with the interface circuit 10, and transmission/reception operations are performed with the outside via the connector 8.
係る構成において、第6図に示す様にCPU1
のメモリ空間2は、ポート部20〜24、バツフ
ア25、RAM26及びROM27で構成され、
“0000”から“FFFF”までのアドレスが付され
ている。 In such a configuration, as shown in FIG.
The memory space 2 is composed of port sections 20 to 24, a buffer 25, a RAM 26, and a ROM 27,
Addresses from “0000” to “FFFF” are assigned.
(c) 実施例構成の動作の説明。(c) Description of the operation of the example configuration.
第7図は第5図構成におけるメモリセツトモー
ドの処理フロー図であり、第8図は係る処理によ
る表示部5の表示例説明図である。 FIG. 7 is a process flow diagram of the memory set mode in the configuration shown in FIG. 5, and FIG. 8 is an explanatory diagram of an example of display on the display section 5 by such processing.
先づ、メモリセツトモードを指示するため、
オペレータはキー部3の特定のキーを押下す
る。例えば、テンキーの「0」及び「3」のキ
ーの両方のキーを押下してパワースイツチSW
をオンにすると、CPU1はアドレスバス4a
よりポート部21を介しキー部3の押下内容を
データバス4bより検出し、メモリセツトモー
ド起動指定と判別する。 First, to instruct memory set mode,
The operator presses a specific key on the key section 3. For example, press both the "0" and "3" keys on the numeric keypad and press the power switch SW.
When turned on, CPU1 uses address bus 4a.
The pressed content of the key unit 3 is detected from the data bus 4b via the port unit 21, and determined to be a memory set mode activation designation.
次に、オペレータは読出したい領域の番地を
キー部3より入力する。CPU1はこれによつ
て先づ、入力された番地を表示バツフア25に
格納せしめ、デイスプレイコントローラ7によ
つて表示部5に第8図Aの如く表示する。即
ち、メモリセツトモードである「M」と入力さ
れたアドレス「n1n2n3n4」を表示する。 Next, the operator inputs the address of the area to be read using the key section 3. The CPU 1 thereby first stores the input address in the display buffer 25, and displays it on the display section 5 by the display controller 7 as shown in FIG. 8A. That is, the memory set mode "M" and the input address "n 1 n 2 n 3 n 4 " are displayed.
次に、CPU1はメモリ空間2の係る指定ア
ドレスを先頭に、そのアドレスより8バイトの
領域を表示バツフア25に読出す。 Next, the CPU 1 starts from the specified address in the memory space 2 and reads out an 8-byte area from that address to the display buffer 25.
これによつてデイスプレイコントローラ7は
表示バツフア25の内容を読出し、第8図Bの
如く表示する。 As a result, the display controller 7 reads out the contents of the display buffer 25 and displays them as shown in FIG. 8B.
次に、CPU1はアドレスバス4aを介しポ
ート部21よりキー部3の押下の有無を検出
し、なければステツプに戻る。 Next, the CPU 1 detects whether or not the key section 3 is pressed from the port section 21 via the address bus 4a, and if not, returns to step.
キー部3の押下有りと検出すると、CPU1
は押下されたものが番地切換キーを調べ、番地
切換キーならステツプへ戻る。 When it is detected that key part 3 is pressed, CPU1
checks whether the pressed key is an address change key, and if it is an address change key, returns to step.
番地切換キーでなければ、モード終了キーか
を調べ、モード終了キーでなければ、データキ
ーとして、当該指定アドレスに対しデータバス
4bを介し入力データを書込み、ステツプへ
戻る。 If it is not an address change key, it is checked whether it is a mode end key, and if it is not a mode end key, input data is written to the designated address via the data bus 4b as a data key, and the process returns to step.
逆にモード終了キーなら、メモリセツトモー
ドを終了する。このようにして、例えば、ポー
ト部のチエツクを行ないたいときは、ポート部
に付与されたアドレスを指定し、第8図Bの如
く読出し表示せしめ、更にキー部3から書き換
えデータを入力し、ポート部に書込ませ、これ
をCPU1で再度読出し表示させて、正常に書
き代えられたかをオペレータの目視で確認でき
るようにしている。例えば第8図Cでは、第8
図Bの「e」を「d」に書き代えたことを示し
ている。 Conversely, if the mode end key is pressed, the memory set mode is ended. In this way, for example, when you want to check the port section, specify the address assigned to the port section, read and display it as shown in FIG. This is read out and displayed again by the CPU 1, so that the operator can visually check whether the rewriting has been completed normally. For example, in Figure 8C, the 8th
This shows that "e" in Figure B has been replaced with "d".
同様にしてメモリセツトモード中に外部機器
を操作してインターフエイス回路10を介しポ
ート部23又は24の内容を書き代えることに
よつてこれらポート部の書き代え内容を表示せ
しめチエツクに供する。 Similarly, by operating an external device during the memory set mode to rewrite the contents of the port sections 23 or 24 via the interface circuit 10, the rewritten contents of these port sections are displayed for checking.
又、RAM26のプログラムのチエツク、修
正にも同様にして書き代えを行い、チエツクが
可能となる。 Also, when checking and modifying the program in the RAM 26, it is possible to rewrite and check the program in the same manner.
このようにしてステツプ、を繰返すこと
によつて、指定領域を内容書代えの表示チエツ
クが1回の読出し操作(番地セツト)によつて
行うことができる。 By repeating steps in this manner, a display check for replacing the contents of the specified area can be performed by one reading operation (address setting).
以上本発明を一実施例により説明したが、本発
明は本発明の主旨に従い種々の変形が可能であ
り、本発明からこれらを排除するものではない。 Although the present invention has been described above using one embodiment, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.
以上説明した様に、本発明によれば、1回の読
出し操作でメモリ空間の任意の領域の内容を繰返
し読出し、チエツクのため当該領域の内容を書き
代えるから、係る領域の書き代え前と書き代え後
の両方が表示され、これによつて係る領域のチエ
ツクが1回の操作で可能となり、しかもオペレー
タの目視によつて可能となるという効果を奏す
る。従つて、特にハードポート部、CPUの動作、
RAMのチエツクが可能となる他にRAM内のプ
ログラム変更のチエツクも行うことができる。
As explained above, according to the present invention, the contents of an arbitrary area in the memory space are repeatedly read out in a single read operation, and the contents of the area are rewritten for checking. Both of the replaced areas are displayed, thereby making it possible to check the relevant area with a single operation and also by visual inspection by the operator. Therefore, especially the hard port section, CPU operation,
In addition to being able to check RAM, it is also possible to check for program changes in RAM.
第1図は本発明の原理説明図、第2図は本発明
の一実施例装置の外観図、第3図は第2図実施例
の使用例説明図、第4図は第2図実施例に用いら
れるコネクタ構成図、第5図は第2図実施例の内
部構成ブロツク図、第6図は第5図ブロツクにお
けるメモリ空間構成図、第7図は第5図構成の一
実施例処理フロー図、第8図は第7図処理フロー
による表示例説明図である。
図中、1…プロセツサ、2…メモリ空間、3…
指定部、5…表示部、20〜24…ポート部。
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is an external view of an embodiment of the device of the present invention, Fig. 3 is an explanatory diagram of an example of use of the embodiment of Fig. 2, and Fig. 4 is an embodiment of the embodiment of Fig. 2. 5 is an internal configuration block diagram of the embodiment in FIG. 2, FIG. 6 is a memory space configuration diagram in the block in FIG. 5, and FIG. 7 is a processing flow of an embodiment of the configuration in FIG. FIG. 8 is an explanatory diagram of a display example according to the processing flow shown in FIG. 7. In the figure, 1...processor, 2...memory space, 3...
Designation section, 5...Display section, 20-24...Port section.
Claims (1)
メモリ空間と、 該メモリ空間のチエツク及びチエツクすべきメ
モリ空間の領域を指定するための指定部と、 表示部とを有し、 該プロセツサは、該指定部から該メモリ空間の
チエツクを指定されると、チエツクモードを実行
して、該チエツクモードが解除されるまで、該メ
モリ空間の指定領域を繰返して読出して、該表示
部によつて表示せしめるとともに、 該チエツクモード中に該指定領域の内容を書き
代えることにより、該繰返し読出しによつて該表
示部に該指定領域の書き代え前の内容と書き代え
後の内容とを表示するようにしたことを 特徴とするメモリ空間のダイナミツクチエツク方
式。[Scope of Claims] 1. A processor, a memory space including a port section that can be accessed by the processor, a designation section for checking the memory space and designating an area of the memory space to be checked, and a display section. and when the processor is instructed to check the memory space by the specifying unit, the processor executes a check mode and repeatedly reads the specified area of the memory space until the check mode is released. By rewriting the contents of the specified area during the check mode, the display section displays the contents of the specified area before and after the rewriting through the repeated reading. A dynamic check method for a memory space characterized by displaying the contents.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60040936A JPS61199143A (en) | 1985-03-01 | 1985-03-01 | Dynamic check system for memory space |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60040936A JPS61199143A (en) | 1985-03-01 | 1985-03-01 | Dynamic check system for memory space |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61199143A JPS61199143A (en) | 1986-09-03 |
| JPH0433062B2 true JPH0433062B2 (en) | 1992-06-02 |
Family
ID=12594384
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60040936A Granted JPS61199143A (en) | 1985-03-01 | 1985-03-01 | Dynamic check system for memory space |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61199143A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5679329A (en) * | 1979-12-03 | 1981-06-29 | Sanyo Electric Co Ltd | Electronic appratus |
-
1985
- 1985-03-01 JP JP60040936A patent/JPS61199143A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61199143A (en) | 1986-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6042478A (en) | Hand held video game | |
| US5357519A (en) | Diagnostic system | |
| US7174445B2 (en) | Flash memory card with enhanced operating mode detection and user-friendly interfacing system | |
| US5265005A (en) | Processor for a programmable controller | |
| JPH0514294B2 (en) | ||
| KR860003559A (en) | Small computer | |
| JPH0451788B2 (en) | ||
| US5276864A (en) | Personal computer with alternate system controller error detection | |
| US5485585A (en) | Personal computer with alternate system controller and register for identifying active system controller | |
| JPH0326843B2 (en) | ||
| JPH0433062B2 (en) | ||
| EP0473086B1 (en) | Processor for a programmable controller | |
| CA2065997C (en) | Personal computer with alternate system controller | |
| JPS61199140A (en) | Memory check system of data input device | |
| KR100235632B1 (en) | Rom bios data correction method | |
| JPS5898889A (en) | writing device | |
| JPS62107337A (en) | Program cartridge | |
| JP2765659B2 (en) | Self-test method for data processing equipment | |
| KR200229691Y1 (en) | Windows Emulation 80C196(16 bit) Trainer | |
| JPH1185559A (en) | emulator | |
| JPH087442Y2 (en) | Input / output device of programmable controller | |
| JPS59200312A (en) | Computer controller provided with control display board | |
| KR950012494B1 (en) | Method for testing back-up storage system | |
| JPS6029423B2 (en) | microcomputer system | |
| JPH0417537B2 (en) |