JPH03250338A - Back-up device for development of computer system - Google Patents

Back-up device for development of computer system

Info

Publication number
JPH03250338A
JPH03250338A JP2048383A JP4838390A JPH03250338A JP H03250338 A JPH03250338 A JP H03250338A JP 2048383 A JP2048383 A JP 2048383A JP 4838390 A JP4838390 A JP 4838390A JP H03250338 A JPH03250338 A JP H03250338A
Authority
JP
Japan
Prior art keywords
memory
program
bidirectional memory
bidirectional
data
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.)
Granted
Application number
JP2048383A
Other languages
Japanese (ja)
Other versions
JP2917368B2 (en
JPH03250338A5 (en
Inventor
Nobuhiro Sezaki
瀬崎 伸拓
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.)
Suzuki Motor Corp
Original Assignee
Suzuki Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzuki Motor Corp filed Critical Suzuki Motor Corp
Priority to JP2048383A priority Critical patent/JP2917368B2/en
Publication of JPH03250338A publication Critical patent/JPH03250338A/en
Publication of JPH03250338A5 publication Critical patent/JPH03250338A5/ja
Application granted granted Critical
Publication of JP2917368B2 publication Critical patent/JP2917368B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Control By Computers (AREA)

Abstract

PURPOSE:To surely prevent the transformation of data caused in a write state of the control data by reading out the data copied into the corresponding copying bidirectional memory when a read request is received while data are being written into a bidirectional memory. CONSTITUTION:In a system where a debugging program 21 changes the control constant written into a bidirectional memory 30 and performs a matching operation, a copying bidirectional memory 40 is provided opposite to the memory 30. In a matching state, the contents of the memory 30 are copied to the memory 40 and a normal program 11 is written into the memory 30 from the program 21 in an access state of the memory 40. Then the access of the program 11 is returned to the memory 30. Thus it is possible to prevent the transformation of data that may possibly be caused during a writing operation.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は、車載用等のコンピュータシステムの開発を支
援する装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a device that supports the development of computer systems for use in vehicles and the like.

(従来の技術〕 エンジン制御コントローラ(EPI)、A/Tコントロ
ーラ(A/T)等のコンピュータシステムの開発は、制
御定数をいろいろに書き替えながら、実際にエンジンや
A/T装置を動作させて、エンジンやA/T装置の性能
が最大となるデータ列を求めることが主な内容となる。
(Prior Art) The development of computer systems such as engine control controllers (EPI) and A/T controllers (A/T) involves rewriting control constants in various ways while actually operating the engine and A/T equipment. The main content is to find the data string that maximizes the performance of the engine and A/T device.

これをマツチングと呼んでいる。This is called matching.

マツチングは、機器を実際に動作させて行うため、正規
のコントロールプログラムの実行と並列に、プログラム
のデバッグとモニタのためのプログラムを、実行させ得
るものであることが望ましい。
Since matching is performed by actually operating the device, it is desirable that a program for debugging and monitoring the program can be executed in parallel with the execution of the regular control program.

これに対する一つの解決方法として、正規プログラムと
デバッグ用プログラムとが共通に利用できる双方向メモ
リと、そのメモリへのアクセスを制御する制御装置を設
けることによって、正規プログラムとデバッグ用プログ
ラムとに並列性を付与したものが知られている(例えば
特開昭61−204703号)。
One solution to this problem is to provide parallelism between the regular program and the debugging program by providing a bidirectional memory that can be used in common by the regular program and the debugging program, and a control device that controls access to that memory. (For example, Japanese Patent Application Laid-Open No. 61-204703).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の、正規プログラムとデバッグ用プログラムとに並
列性を付与したコンピュータシステムの開発装置では、
正規プログラムとデバッグプログラムとが、同時に双方
向メモリにアクセスしたときのバス衝突を回避するため
、制御装置を設けて、正規プログラムの実行を優先する
ように制御を行っている。
In conventional computer system development equipment that provides parallelism between regular programs and debugging programs,
In order to avoid bus collision when a regular program and a debug program access the bidirectional memory at the same time, a control device is provided to give priority to the execution of the regular program.

しかしながら、デバッグプログラムが双方向性メモリの
あるアドレスに書き込みを行っているとき、正規プログ
ラムが同じアドレスの内容を読み出そうとすると、デー
タが正常に書き込まれていない状態で、正規プログラム
側に誤ったデータが読み出される可能性がある。一般に
、このような現象をデータ化けと称している。
However, when a debug program is writing to a certain address in bidirectional memory, if a legitimate program tries to read the contents of the same address, the legitimate program will receive an error message because the data has not been written correctly. There is a possibility that the stored data will be read. Generally, such a phenomenon is called data garbled.

マツチング作業中は、正規プログラム、デバッグプログ
ラムともに、特定データ列を頻繁にかつ同時にアクセス
することが多いので、データ化けが存在すると、機器の
誤動作をひきおこす原因になるという問題がある。
During the matching process, both the regular program and the debug program frequently access specific data strings at the same time, so the presence of garbled data can cause equipment malfunction.

〔発明の目的〕[Purpose of the invention]

本発明は、このような従来技術の課題を解決しようとす
るものであって、マツチング作業の対象となる制御デー
タ群をデータRA M 9M域にまとめるとともに、対
になるように複写データRAMを設けることによって、
書き込み動作中に発生する可能性のあるデータ化けを防
止した、車載用等のコンピュータシステムの開発支援装
置を提供することを、その目的とするものである。
The present invention aims to solve the problems of the prior art as described above.The present invention aims to solve the problems of the prior art by combining a group of control data to be subjected to matching work into a 9M data RAM area, and providing a copy data RAM in pairs. By this,
It is an object of the present invention to provide a development support device for a computer system for use in a vehicle, etc., which prevents data corruption that may occur during a write operation.

〔課題を解決するための手段〕[Means to solve the problem]

本発明においては、外部装置を動作させるための正規プ
ログラムを搭載したコンピュータと、デバッグ用等のた
めのデバッグ用プログラムを搭載したモニタ用コンピュ
ータとがバスを介して接続されている。該正規プログラ
ムとデバッグ用プログラムとが共通に利用できる双方向
メモリと、該双方向メモリへのアクセスを制御する選択
装置とを設けるとともに、該双方向メモリにロードされ
た制御定数を用いて前記正規プログラムが外部装置を動
作させ、前記デバッグ用プログラムが該双方向メモリに
書かれた制御定数を変更してマツチングを行うようにな
っている。更に、前記双方向メモリに対応して複写用双
方向メモリを設け、マツチング時、双方向メモリの内容
を該複写用双方向メモリにコピーし、前記正規プログラ
ムを該複写用双方向メモリをアクセスする状態にしてデ
バッグ用プログラムから双方向メモリに書き込みを行い
、その後、正規プログラムのアクセスを双方向メモリに
戻すように制御を行う、という構成をとっている。これ
によって前述した目的を達成しようとするものである。
In the present invention, a computer equipped with a regular program for operating an external device and a monitor computer equipped with a debugging program for debugging are connected via a bus. A bidirectional memory that can be used in common by the regular program and a debugging program, and a selection device that controls access to the bidirectional memory are provided, and the regular program uses the control constants loaded into the bidirectional memory to A program operates an external device, and the debugging program changes control constants written in the bidirectional memory to perform matching. Further, a bidirectional memory for copying is provided corresponding to the bidirectional memory, and during matching, the content of the bidirectional memory is copied to the bidirectional memory for copying, and the regular program accesses the bidirectional memory for copying. The configuration is such that the debugging program writes to the bidirectional memory in the state, and then controls the regular program to return access to the bidirectional memory. This aims to achieve the above-mentioned purpose.

[作 用] 車載コンピュータは正規プログラムを用いて、エンジン
、A/T装置等を制御するものである。
[Function] The in-vehicle computer uses a regular program to control the engine, A/T device, etc.

また、車載クンピユータシステム開発支援装置が起動さ
れたとき、モニタ用コンピュータはデバッグ用プログラ
ムを実行する。車載コンピュータと、モニタ用コンピュ
ータとは、それぞれのプログラムに従って双方向メモリ
、複写用双方向メモリをアクセスするように構成されて
いる。
Further, when the in-vehicle Kumpuyuta system development support device is activated, the monitor computer executes a debugging program. The in-vehicle computer and the monitor computer are configured to access the bidirectional memory and the bidirectional memory for copying according to their respective programs.

車載コンピュータ、モニタ用コンピュータからの双方向
メモリに対するアクセスが競合したときは、車載コンピ
ュータからのアクセスを優先するように制御が行われる
。従って車載コンピュータは、待機することなしに、正
規プログラムを実行できる。モニタ用コンピュータは、
車載コンピュータが双方向メモリに対してアクセスして
いないとき双方向メモリをアクセスし、必要が生じたと
き、双方向メモリにおける制御用データを書き替えてデ
バッグを行う。デバッグ結果は、データ入出力装置を経
て外部に表示される。
When accesses to the bidirectional memory from the on-vehicle computer and the monitor computer conflict, control is performed to give priority to the access from the on-vehicle computer. Therefore, the in-vehicle computer can execute the regular program without waiting. The monitor computer is
When the in-vehicle computer is not accessing the bidirectional memory, the bidirectional memory is accessed, and when the need arises, the control data in the bidirectional memory is rewritten for debugging. The debug results are displayed externally via the data input/output device.

マツチングの作業を行うときは、双方向メモリの内容を
予め複写用双方向メモリにコピーしておく。そして読み
出しのアクセスがあったときは、複写用双方向メモリの
内容を読み出す。モニタ用コンピュータから書き込みの
アクセスがあったときは、車載コンピュータから複写用
双方向メモリにアクセスする状態にしておいて、モニタ
用コンピュータから双方向メモリに書き込みを行い、そ
の後、車載コンピュータから双方向メモリにアクセスす
る状態に戻す。
When performing matching work, the contents of the bidirectional memory are copied in advance to the bidirectional memory for copying. When there is a read access, the contents of the copy bidirectional memory are read. When there is a write access from the monitor computer, the in-vehicle computer accesses the bi-directional memory for copying, the monitor computer writes to the bi-directional memory, and then the in-vehicle computer writes to the bi-directional memory. Return to access state.

このように、マツチングの作業の対象となる制御データ
を、双方向メモリにまとめて格納するとともに、双方向
メモリに対応して複写用双方向メモリを設け、双方向メ
モリに対する書き込み中に読み出し要求があったときは
、複写用双方向メモリにコピーされているデータを読み
出すようにしたので、制御データの書き込み動作中に発
生する可能性のあるデータ化けを確実に防止することが
できる。
In this way, the control data to be matched is stored together in a bidirectional memory, and a bidirectional memory for copying is provided corresponding to the bidirectional memory, so that a read request is received while writing to the bidirectional memory. If this happens, the data copied to the copying bidirectional memory is read out, so data corruption that may occur during the control data write operation can be reliably prevented.

〔実施例〕〔Example〕

第1図は、本発明の一実施例の全体構成を示したもので
あって、10は正規プログラム11を搭載した車載コン
ピュータ、20はデバッグ用プログラムを搭、載したモ
ニタ用コンピュータ、30は双方向メモリ、40は複写
用の双方向メモリ、50はゲートおよびメモリの選択を
行う選択装置、60はデータ入出力装置、70は車載コ
ンピュータシステム開発支援装置である。また80はデ
バッグ用プログラム21に対する制御用外部入力、90
はデバッグ用プログラム21からの外部出力、81はデ
ータ入出力装置60に対する制御用外部入力、91はデ
ータ入出力装置60からの外部出力、100はデータお
よびアドレスバス、130はエンジン、A/T装置等で
ある。
FIG. 1 shows the overall configuration of an embodiment of the present invention, in which numeral 10 is an in-vehicle computer loaded with a regular program 11, 20 is a monitor computer loaded with a debugging program, and 30 is a computer equipped with a debugging program. 40 is a bidirectional memory for copying, 50 is a selection device for selecting gates and memories, 60 is a data input/output device, and 70 is an in-vehicle computer system development support device. Further, 80 is an external input for controlling the debugging program 21;
is an external output from the debug program 21, 81 is an external control input to the data input/output device 60, 91 is an external output from the data input/output device 60, 100 is a data and address bus, 130 is an engine, and an A/T device. etc.

本発明のコンピュータシステムの開発支援装置は、外部
装置を動作させるための正規プログラム11を搭載した
コンピュータ10と、デバッグ用等のためのデバッグ用
プログラム21を搭載したモニタ用コンピュータ20と
をバス100を介して接続するとともに、正規プログラ
ム11とデバッグ用プログラム21とが共通に利用でき
る双方向メモリ30と、双方向メモリ30へのアクセス
を制御する選択袋W50とを有し、双方向メモリ30に
ロードされた制御定数を用いて正規プログラム11が外
部装置を動作させるとともに、デバッグ用プログラム2
1が双方向メモリ30に書かれた制御定数を変更してマ
ツチングを行うシステムにおいて、双方向メモリ30に
対応して複写用双方向メモリ40を設けたものである。
The computer system development support device of the present invention connects a computer 10 equipped with a regular program 11 for operating an external device and a monitor computer 20 equipped with a debugging program 21 for debugging etc. via a bus 100. It has a bidirectional memory 30 that can be used in common by the regular program 11 and the debugging program 21, and a selection bag W50 that controls access to the bidirectional memory 30. The regular program 11 operates the external device using the control constants, and the debug program 2
1 is a system in which matching is performed by changing control constants written in a bidirectional memory 30, in which a bidirectional memory 40 for copying is provided corresponding to the bidirectional memory 30.

そして、マツチング時、双方向メモリ30の内容を複写
用双方向メモリ40にコピーし、正規プログラム11を
複写用双方向メモリ40をアクセスする状態にしておい
て、デバッグ用プログラム21から双方向メモリ30に
書き込みを行って、その後、正規プログラム11のアク
セスを双方向メモリ30に戻すように制御を行う。
At the time of matching, the content of the bidirectional memory 30 is copied to the bidirectional memory 40 for copying, the regular program 11 is set to access the bidirectional memory 40 for copying, and the content of the bidirectional memory 30 is transferred from the debugging program 21 to the bidirectional memory 30 for copying. After that, control is performed so that access by the regular program 11 is returned to the bidirectional memory 30.

第1図に示されるように、バス100を介して相互に接
続された、車載コンピュータlOにおける正規プログラ
ム11、およびモニタ用コンピュータ20におけるデバ
ッグ用プログラム21が、車載コンピュータシステム開
発支援装置70における、双方向メモリ30および複写
用双方向メモリ40にアクセスできるように、ハス10
2〜105が設けられており、また選択装置50との間
にアドレスバス101が設けられている。
As shown in FIG. 1, a regular program 11 in the in-vehicle computer IO and a debugging program 21 in the monitor computer 20, which are connected to each other via a bus 100, are both connected to each other in the in-vehicle computer system development support device 70. The lotus 10 is arranged so that the bidirectional memory 30 and the bidirectional memory 40 for copying can be accessed.
2 to 105 are provided, and an address bus 101 is provided between the selection device 50 and the selection device 50.

第1図において、車載コンピュータ10は正規プログラ
ム11を用いて、エンジン、A/T装置等130を制御
する。車載コンピュータシステム開発支援装置70が起
動されたとき、モニタ用コンピュータ20はデバッグ用
プログラム21を実行する。車載コンピュータ10.モ
ニタ用コンピュータ20は、それぞれのプログラムに従
って双方向メモリ30.複写用双方向メモリ40をアク
セスする。
In FIG. 1, an on-vehicle computer 10 uses a regular program 11 to control an engine, an A/T device, etc. 130. When the in-vehicle computer system development support device 70 is started, the monitor computer 20 executes the debug program 21. Onboard computer 10. The monitor computer 20 stores two-way memory 30 . The copying bidirectional memory 40 is accessed.

車載コンピュータ10.モニタ用コンピュータ20から
の双方向メモリに対するアクセスが競合したときは、車
載コンピュータ10がらのアクセスを優先する。従って
車載コンピュータ10は、待機することなく、正規プロ
グラム11を実行できる。モニタ用コンピュータ20は
、車載コンピュータ10が双方向メモリに対してアクセ
スしていないとき、双方向メモリをアクセスし、必要が
生じたとき、入力するデータをデバッグする。デバッグ
結果は、データ入出力装置60を経て外部に表示される
。
Onboard computer 10. When accesses from the monitor computer 20 to the bidirectional memory conflict, priority is given to the access from the in-vehicle computer 10. Therefore, the in-vehicle computer 10 can execute the regular program 11 without waiting. The monitor computer 20 accesses the bidirectional memory when the in-vehicle computer 10 is not accessing the bidirectional memory, and debugs input data when necessary. The debug results are displayed externally via the data input/output device 60.

マツチングを行うときは、制御定数を双方向メモリ30
に書き込んで、必要に応じて書き替えてデバッグするが
、この際、双方向メモリ30の内容を予め複写用双方向
メモリ40にコピーしておく。そして読み出しのアクセ
スがあったときは、複写用双方向メモリ40の内容を読
み出す。モニタ用コンピュータ20から書き込みのアク
セスがあったときは、車載コンピュータ10から複写用
双方向メモリ40にアクセスする状態にしておいて、モ
ニタ用コンピュータ20から双方向メモリ30に書き込
みを行い、その後、車載コンピュータ10から双方向メ
モリ30にアクセスする状態に戻す。
When performing matching, control constants are stored in the bidirectional memory 30.
The contents of the bidirectional memory 30 are copied to the copy bidirectional memory 40 in advance. When there is a read access, the contents of the copy bidirectional memory 40 are read. When there is a write access from the monitor computer 20, the in-vehicle computer 10 is set to access the copying bidirectional memory 40, the monitor computer 20 writes to the bidirectional memory 30, and then the in-vehicle computer 10 writes to the bidirectional memory 30. The computer 10 returns to the state where it can access the bidirectional memory 30.

第2図は、双方向メモリ30.複写用双方向メモリ40
およびバスゲート1.10,111.120121の詳
細構成を示したものである。
FIG. 2 shows a bidirectional memory 30. Bidirectional memory for copying 40
and shows the detailed configuration of bus gates 1.10, 111.120121.

第1図における双方向メモリ30はリードオンリーメモ
リ(ROM)31.  ランダムアクセスメモリ (R
AM)32.データRAM33に分割されており、それ
ぞれバス102,103,104によってバス100に
接続されるとともに、それぞれ選択装置50からの制御
信号55〜57によって制御できるように構成されてい
る。ROM31には、車載コンピュータ10の正規プロ
グラム11に対する基本的な制御定数が格納されている
。
The bidirectional memory 30 in FIG. 1 is a read-only memory (ROM) 31. Random access memory (R
AM) 32. The data RAM 33 is connected to the bus 100 by buses 102, 103, and 104, respectively, and is configured to be controlled by control signals 55 to 57 from the selection device 50, respectively. The ROM 31 stores basic control constants for the regular program 11 of the in-vehicle computer 10.

データRAM33は、ROM31の内容を転送し、マツ
チング時これを書き替えるために用いられる。
The data RAM 33 is used to transfer the contents of the ROM 31 and rewrite them during matching.

第1図における複写用双方向性メモリ40は、複写用デ
ータRAM40からなっている。データRAM33は、
マツチング作業の対象となるものであり、データRAM
33と対をなすように同容量の複写用データRAM40
が設けられる。複写用データRAM40は、制御信号5
8によって制御卸される。
The bidirectional copying memory 40 in FIG. 1 consists of a copying data RAM 40. The data RAM 33 is
This is the object of matching work, and the data RAM
Copying data RAM 40 with the same capacity as a pair with 33
will be provided. The copy data RAM 40 receives the control signal 5
Controlled by 8.

またバスゲート110.1.11は、ROM3 lRA
M32.データRAM33に対するバス100の接続を
制御するものであり、バスゲート120.121は、複
写用データRAM40に対するバス100の接続を制御
するものである。また制御信号51,52,53.54
は、それぞれバスゲー)110,111,120,12
1を制御する。
In addition, bus gate 110.1.11 is ROM3 lRA
M32. The bus gates 120 and 121 control the connection of the bus 100 to the data RAM 33, and the bus gates 120 and 121 control the connection of the bus 100 to the copy data RAM 40. Also control signals 51, 52, 53, 54
are respectively bus games) 110, 111, 120, 12
Control 1.

バスゲート110,111,120.121とこれらに
対する制御信号51,52.53.54は、バスの衝突
を回避するために設けられているものであって、正規プ
ログラム11からのアドレスを優先させるように制御が
行われる。すなわちバスゲート110または111が開
いているときは、対応するハスゲート120または12
1は閉じて、同じメモリに同時にアクセスが行われない
ようにする。
The bus gates 110, 111, 120.121 and the control signals 51, 52, 53. control is performed. That is, when the bus gate 110 or 111 is open, the corresponding bus gate 120 or 12
1 is closed to prevent simultaneous accesses to the same memory.

制御装置50は、バスゲートの開閉と双方向メモリの選
択を行うために設けられている。選択装置50は、正規
プログラム11のアドレスバス101と制御信号12の
情報によって、正規プログラム11が双方向メモリ30
における各領域(ROM31  RAM32.データR
AM33)のどれにアクセスするかを判定して、制御信
号51〜58を発生して、ゲート開閉、メモリ選択の制
御を行う。
A control device 50 is provided to open and close bus gates and select bidirectional memories. The selection device 50 selects the regular program 11 from the bidirectional memory 30 based on the address bus 101 and control signal 12 information of the regular program 11.
Each area (ROM31 RAM32. Data R
AM33) to be accessed and generates control signals 51 to 58 to control gate opening/closing and memory selection.

第3図は本発明におけるデバッグ用プログラムのフロー
チャートを示したものである。以下、これに基づいて全
体的な作用を説明する。
FIG. 3 shows a flowchart of a debugging program according to the present invention. Hereinafter, the overall effect will be explained based on this.

■、車載コンピュータ10は、正規プログラムljに従
って、エンジン、A/T等130を制御する。はじめ、
複写用データRAM40には、データRAM33の内容
が、バス100を介してコピーされる。その後、車載コ
ンピュータシステム開発支援装置70では、デバッグ用
プログラム21が外部入力待ちとなっている。
(2) The onboard computer 10 controls the engine, A/T, etc. 130 according to the regular program lj. beginning,
The contents of the data RAM 33 are copied to the copy data RAM 40 via the bus 100. Thereafter, in the vehicle computer system development support device 70, the debugging program 21 waits for external input.

■、車載コンピュータlOは、必要に応じてバス100
を介して双方向メモリ30にアクセスする。
■The in-vehicle computer lO connects to the bus 100 as necessary.
The bidirectional memory 30 is accessed via the .

選択装置50は、アドレスバス101から指定されたメ
モリを選択するとともに、バスゲート110.120の
開閉を制御する。このとき、車載コンピュータ10から
の読み出しのアクセスは、複写用データRAM40に対
して行われる。
The selection device 50 selects a specified memory from the address bus 101 and controls opening and closing of the bus gates 110 and 120. At this time, read access from the in-vehicle computer 10 is made to the copy data RAM 40.

■、マツチング作業中に、データRAM33の書き込み
動作がコマンドとして制御用外部入力80に与えられる
と、選択装置50はバスゲート111、.120を閉じ
て、バスゲート121を開くように制御する。これによ
って、データ入出力装置60を介して与えられた、制御
用外部人力81から入力されたデータaによって、複写
用データRAM40が書き替えられる 選択装置50は次にバスゲート121を閉じ、バスゲー
ト111,120を開くように制御する。
(2) During the matching operation, when a write operation of the data RAM 33 is given as a command to the control external input 80, the selection device 50 selects the bus gates 111, . 120 is closed, and the bus gate 121 is controlled to be opened. As a result, the selection device 50, in which the copy data RAM 40 is rewritten by the data a inputted from the control external human power 81 through the data input/output device 60, then closes the bus gate 121 and closes the bus gate 121. 111 and 120 are controlled to open.

この状態で、例えばサイクルスチール制御によって、ハ
スゲート110が閉じている期間を利用して、データR
AM33を入力されたデータaによって書き替える。デ
ータRAM33の書き込み中に、正規プログラム11が
データRAMへのアクセスを要求したときは、バスゲー
ト111を通して複写用データRAM40の内容を読み
出すように制御する。
In this state, for example, by cycle steal control, the data R is
AM33 is rewritten with the input data a. When the regular program 11 requests access to the data RAM while data RAM 33 is being written, the contents of the copy data RAM 40 are controlled to be read out through the bus gate 111.

データRAM33の書き込みが終了したときは、正規プ
ログラム11からデータRAM33にアクセス出来る状
態に戻す。
When writing to the data RAM 33 is completed, the data RAM 33 is returned to a state where it can be accessed from the regular program 11.

■、読み出しまたは書き込みを行ったデータRAMの内
容の表示等を行う。
(2) Displaying the contents of the data RAM that has been read or written.

これで1つの入力コマンドの処理を終了して、再び制御
用外部入力80待ちの状態となる。
This completes the processing of one input command and returns to the state of waiting for external control input 80.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、正規プログラムと
デバッグ用プログラムとに並列性を付与した車載用等の
コンピュータシステムの開発支援装置において、制御定
数を書き替えながら、実際に対象となる装置を動作させ
て、装置の性能が最大となるデータ列を求めるマツチン
グの作業の対象となる制御データを、1つの領域にデー
タRAMとしてまとめるとともに、データRAMに対応
して複写用データRAMを設け、データRAMに対する
書き込み中に読み出し要求があったときは、複写用デー
タRAMにコピーされているデータを読み出すようにし
たので、制御データの書き込み動作中に発生する可能性
のあるデータ化けを確実に防止することができるように
なる。
As explained above, according to the present invention, in a development support device for a computer system such as an automobile that provides parallelism between a regular program and a debugging program, the control constants are rewritten while the target device is actually The control data, which is the object of the matching operation to find the data string that maximizes the performance of the device, is collected in one area as a data RAM, and a data RAM for copying is provided corresponding to the data RAM. When a read request is made while writing to the RAM, the data copied to the copy data RAM is read, which reliably prevents data corruption that may occur during the control data write operation. You will be able to do this.

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

第1図は本発明の一実施例の全体構成を示す図、第2図
は双方向性メモリ、複写用双方向メモリおよびバスゲー
トの詳細構成を示す図、第3図は本発明におけるデバッ
グ用プログラムのフローチャートを示す図である。 10−コンピュータ、11−・・正規プログラム、20
−モニタ用コンピュータ、21−・−デパック用プログ
ラム、30−・−双方向メモリ、4〇−複写用双方向メ
モリ、 0 ・選択装置、 0 ハ“ス。
FIG. 1 is a diagram showing the overall configuration of an embodiment of the present invention, FIG. 2 is a diagram showing the detailed configuration of a bidirectional memory, a bidirectional memory for copying, and a bus gate, and FIG. 3 is a diagram showing the detailed configuration of a bidirectional memory, a bidirectional memory for copying, and a bus gate. It is a figure which shows the flowchart of a program. 10-computer, 11--regular program, 20
- Monitor computer, 21-.- Depack program, 30-.- Bidirectional memory, 40- Bidirectional memory for copying, 0. Selection device, 0.

Claims (1)

【特許請求の範囲】[Claims] (1)、外部装置を動作させるための正規プログラムを
搭載したコンピュータと、デバッグ用等のためのデバッ
グ用プログラムを搭載したモニタ用コンピュータとをバ
スを介して接続し、 該正規プログラムとデバッグ用プログラムとが共通に利
用できる双方向メモリと、該双方向メモリへのアクセス
を制御する選択装置とを設け、該双方向メモリにロード
された制御定数を用いて前記正規プログラムが外部装置
を動作させるとともに、前記デバッグ用プログラムが該
双方向メモリに書かれた制御定数を変更してマッチング
を行うシステムにおいて、 前記双方向メモリに対応して複写用双方向メモリを設け
、マッチング時には双方向メモリの内容を該複写用双方
向メモリにコピーし、前記正規プログラムを該複写用双
方向メモリをアクセスする状態にしてデバッグ用プログ
ラムから双方向メモリに書き込みを行い、その後、正規
プログラムのアクセスを双方向メモリに戻すように制御
を行う構成としたことを特徴とするコンピュータシステ
ムの開発支援装置。
(1) A computer equipped with a regular program for operating an external device and a monitor computer equipped with a debugging program for debugging are connected via a bus, and the regular program and the debugging program are connected via a bus. and a selection device that controls access to the bidirectional memory, and the regular program operates the external device using control constants loaded into the bidirectional memory. , in a system in which the debugging program performs matching by changing control constants written in the bidirectional memory, a bidirectional memory for copying is provided corresponding to the bidirectional memory, and the contents of the bidirectional memory are copied during matching. Copy to the bidirectional memory for copying, put the regular program in a state where it can access the bidirectional copying memory, write to the bidirectional memory from the debugging program, and then return the regular program's access to the bidirectional memory. 1. A computer system development support device, characterized in that it is configured to perform control as follows.
JP2048383A 1990-02-28 1990-02-28 Computer system development support equipment Expired - Lifetime JP2917368B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2048383A JP2917368B2 (en) 1990-02-28 1990-02-28 Computer system development support equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2048383A JP2917368B2 (en) 1990-02-28 1990-02-28 Computer system development support equipment

Publications (3)

Publication Number Publication Date
JPH03250338A true JPH03250338A (en) 1991-11-08
JPH03250338A5 JPH03250338A5 (en) 1998-10-23
JP2917368B2 JP2917368B2 (en) 1999-07-12

Family

ID=12801790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2048383A Expired - Lifetime JP2917368B2 (en) 1990-02-28 1990-02-28 Computer system development support equipment

Country Status (1)

Country Link
JP (1) JP2917368B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006313421A (en) * 2005-05-06 2006-11-16 Nec Electronics Corp Microcomputer and debug method
WO2021075019A1 (en) * 2019-10-17 2021-04-22 株式会社Fuji Communication device and work machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006313421A (en) * 2005-05-06 2006-11-16 Nec Electronics Corp Microcomputer and debug method
WO2021075019A1 (en) * 2019-10-17 2021-04-22 株式会社Fuji Communication device and work machine
JPWO2021075019A1 (en) * 2019-10-17 2021-04-22

Also Published As

Publication number Publication date
JP2917368B2 (en) 1999-07-12

Similar Documents

Publication Publication Date Title
JP2917368B2 (en) Computer system development support equipment
JPH01169557A (en) Storage control system for computer
JP4776052B2 (en) Computer function inspection method
JPS592058B2 (en) Storage device
JP3036449B2 (en) Memory diagnostic device
JPS61204703A (en) Developing device for engine control computer system
JPH02281341A (en) Write data confirming method for debugging
JPH08263328A (en) Bus trace device and bus trace method
JPS60123952A (en) Input-output controlling system
JP2522412B2 (en) Communication method between programmable controller and input / output device
JPH0635747A (en) Debug support device
JPH0217555A (en) Memory diagnosing system
JPS6042977B2 (en) common memory controller
JPH04310140A (en) Computer system
JP2850377B2 (en) Microcomputer
JPH05189332A (en) Information processor
JP3293144B2 (en) Peripheral control device
JPS63155347A (en) Auxiliary circuit for diagnosis of memory
JPH0782447B2 (en) DMA data transfer control device
JPH0548498B2 (en)
JPS60235267A (en) Access system of storage device
JPS59195751A (en) Diagnostic system of information processing device
JPH0735648A (en) Vehicle diagnostic system
JPS62192824A (en) Access system for processor
JPS58186853A (en) Initial diagnostic system