JPH09134296A - Process tracer - Google Patents

Process tracer

Info

Publication number
JPH09134296A
JPH09134296A JP7290796A JP29079695A JPH09134296A JP H09134296 A JPH09134296 A JP H09134296A JP 7290796 A JP7290796 A JP 7290796A JP 29079695 A JP29079695 A JP 29079695A JP H09134296 A JPH09134296 A JP H09134296A
Authority
JP
Japan
Prior art keywords
processes
executed
application program
mpu
program
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.)
Withdrawn
Application number
JP7290796A
Other languages
Japanese (ja)
Inventor
Tamotsu Fujiwara
保 藤原
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP7290796A priority Critical patent/JPH09134296A/en
Publication of JPH09134296A publication Critical patent/JPH09134296A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To accumulate control information and the history of program execution in a state where a loaded unit is in a sealed state. SOLUTION: The program execution part 11a of MPU 11 analyzes the instruction of ROM 14 into which an application program where a process tracing function is incorporated is written, and executes a processing in accordance with the instruction. The tracing management part 11b of MPU 1 accumulates ID given in the respective processing units of the application program and the state of a register and the like in MPU 11 as tracing information in RAM 15 when the application program in the program execution part 11a is executed. When the tracing management part 11b receives a tracing information request command from an external unit via a serial input/output terminal 13 and UART 12, it outputs tracing information accumulated in RAM 15 to the external unit via UART 12 and the serial input/output terminal 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はプロセストレーサに
関し、特にマイクロコンピュータ装置を組込んだ搭載機
器のプログラム開発においてプログラムの妥当性評価及
び製品リリース後の障害解析に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process tracer, and more particularly, to a program validity evaluation and a failure analysis after product release in the program development of an on-board device incorporating a microcomputer device.

【0002】[0002]

【従来の技術】従来、宇宙用の飛翔体や航空機、あるい
は船舶に搭載される搭載機器においては、マイクロコン
ピュータ装置を組込んだ後にその筐体自体を密閉状態と
するものがある。
2. Description of the Related Art Conventionally, in some spaceborne aircraft, aircraft, or on-board equipment to be mounted on a ship, the housing itself is hermetically sealed after the microcomputer device is incorporated.

【0003】この搭載機器ではマイクロコンピュータ装
置のプログラム開発においてプログラムの妥当性を評価
するために、あるいは製品リリース後の障害解析を行う
ために、マイクロコンピュータ装置の制御情報やプログ
ラムの実行状態を出力するパラレル出力回路と、それを
表示するLED(Light Emitting Di
ode:発光ダイオード)とが設けられ、LEDを用い
てモニタ表示を行っている。
In this on-board equipment, control information of the microcomputer device and the execution state of the program are output in order to evaluate the adequacy of the program in the program development of the microcomputer device or to analyze the failure after product release. Parallel output circuit and LED (Light Emitting Di
ode: light emitting diode) is provided, and a monitor display is performed using an LED.

【0004】すなわち、図3に示すように、密閉された
搭載機器3内にはMPU(Micro Process
ing Unit)31と、ROM(Read Onl
yMemory)32と、RAM(Random Ac
cess Memory)33と、LED34とが組込
まれている。
That is, as shown in FIG. 3, an MPU (Micro Process) is provided in the sealed on-board device 3.
ing Unit) 31 and ROM (Read Onl)
yMemory 32 and RAM (Random Ac)
cess Memory) 33 and LED 34 are incorporated.

【0005】MPU31はROM32やRAM33を用
いてアプリケーションプログラムを実行するとともに、
制御情報やプログラムの実行状態をLED34にモニタ
表示する。つまり、LED34を点灯または消灯するこ
とで、制御情報が正常にやりとりされているか、あるい
はプログラムが正常に実行されているかを表示してい
る。
The MPU 31 uses the ROM 32 and the RAM 33 to execute the application program, and
The control information and the execution state of the program are displayed on the LED 34 as a monitor. That is, by turning on or off the LED 34, it is displayed whether the control information is normally exchanged or the program is normally executed.

【0006】[0006]

【発明が解決しようとする課題】上述した従来の搭載機
器では、内部に組込まれたマイクロコンピュータ装置の
プログラム開発においてプログラムの妥当性の評価や製
品リリース後の障害解析を、LEDにモニタ表示される
最新の状態を基に行っている。
In the conventional on-board equipment described above, evaluation of the adequacy of the program and failure analysis after product release in the program development of the microcomputer device incorporated therein are displayed on the LED monitor. It is based on the latest status.

【0007】すなわち、LEDには制御情報やプログラ
ム実行の最新の状態が表示され、しかもプログラムの実
行毎にその表示内容が常に更新されるので、制御情報や
プログラム実行の一時的な状態しか表示することができ
ず、その履歴を解析することができない。
That is, since the control information and the latest state of program execution are displayed on the LED, and the display contents are constantly updated each time the program is executed, only the control information and the temporary state of program execution are displayed. It is not possible to analyze its history.

【0008】そこで、本発明の目的は上記の問題点を解
消し、搭載機器が密閉された状態においても制御情報や
プログラム実行の履歴を蓄積することができるプロセス
トレーサを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems and to provide a process tracer capable of accumulating control information and program execution history even when mounted equipment is hermetically sealed.

【0009】また、本発明の他の目的は、搭載機器が密
閉された状態においても制御情報やプログラム実行の履
歴を外部に出力して解析することができるプロセストレ
ーサを提供することにある。
Another object of the present invention is to provide a process tracer capable of outputting the control information and the history of program execution to the outside for analysis even when the mounted equipment is hermetically sealed.

【0010】[0010]

【課題を解決するための手段】本発明によるプロセスト
レーサは、アプリケーションプログラムの複数の処理を
実行する情報処理装置が組込まれかつ密閉された搭載機
器のプロセストレーサであって、前記複数の処理各々が
実行される毎に前記複数の処理各々に予め付与された識
別情報及び前記情報処理装置の内部状態を履歴情報とし
て蓄積する蓄積手段を備えている。
A process tracer according to the present invention is a process tracer for an on-board device in which an information processing device for executing a plurality of processes of an application program is incorporated and sealed, each of the plurality of processes being An accumulating unit that accumulates, as history information, the identification information previously given to each of the plurality of processes and the internal state of the information processing apparatus each time it is executed is provided.

【0011】本発明による他のプロセストレーサは、上
記の構成のほかに、前記複数の処理各々に組込まれかつ
前記複数の処理各々の実行時に対応する識別情報を出力
する命令を具備している。
In addition to the above configuration, another process tracer according to the present invention includes an instruction incorporated in each of the plurality of processes and outputting identification information corresponding to each of the plurality of processes when the process is executed.

【0012】本発明による別のプロセストレーサは、上
記の構成のほかに、外部指示に応じて前記蓄積手段の内
容を外部に出力する手段と、前記搭載機器の密閉容器の
外壁に設けられかつ前記外部指示の入力及び前記蓄積手
段の内容の出力に用いられるシリアル入出力端子とを具
備している。
In addition to the above configuration, another process tracer according to the present invention is provided with means for outputting the contents of the storage means to the outside in response to an external instruction, and the outer wall of the hermetically sealed container of the on-board equipment, and It has a serial input / output terminal used for inputting an external instruction and outputting the contents of the storage means.

【0013】[0013]

【発明の実施の形態】まず、本発明の作用について以下
に述べる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the operation of the present invention will be described below.

【0014】マイクロコンピュータ装置が組込まれかつ
密閉された搭載機器のアプリケーションプログラムの各
処理が実行される毎に、各処理に付与された識別番号及
びMPUのレジスタ等の状態をメモリ上に蓄積する。
Each time each process of the application program of the mounted device in which the microcomputer device is incorporated and sealed is executed, the identification number assigned to each process and the state of the MPU register etc. are stored in the memory.

【0015】また、密閉された搭載機器において、メモ
リ上に蓄積されたトレースデータを外部に出力するため
に筐体にシリアル入出力端子を配設し、このシリアル入
出力端子を通して入力される外部機器からの蓄積データ
出力要求に従ってメモリ上に蓄積されたトレースデータ
をシリアル入出力端子から外部機器に出力する。これに
よって、外部機器で搭載機器のプログラムの実行状態の
履歴を解析することが可能となる。
Further, in a sealed on-board device, a serial input / output terminal is provided in the housing for outputting the trace data accumulated in the memory to the outside, and the external device is input through this serial input / output terminal. The trace data stored in the memory is output to the external device from the serial input / output terminal according to the stored data output request from the. As a result, it becomes possible for the external device to analyze the history of the program execution state of the on-board device.

【0016】次に、本発明の一実施例について図面を参
照して説明する。図1は本発明の一実施例の構成を示す
ブロック図である。図において、搭載機器1にはMPU
11と、UART(Universal Asynch
ronous Reciever Transmitt
er)12と、シリアル入出力端子13と、ROM14
と、RAM15とが組込まれている。ここで、シリアル
入出力端子13は搭載機器1の筐体の外壁に取付けられ
ている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, the mounted device 1 is an MPU.
11 and UART (Universal Asynch
Ronous Reciever Transmitt
er) 12, serial input / output terminal 13, and ROM 14
And a RAM 15 are incorporated. Here, the serial input / output terminal 13 is attached to the outer wall of the housing of the mounted device 1.

【0017】MPU11のプログラム実行部11aはプ
ロセストレース機能が組込まれたアプリケーションプロ
グラムが書込まれているROM14の命令を解析し、そ
の命令に従って処理を実行する。
The program execution unit 11a of the MPU 11 analyzes the instruction of the ROM 14 in which the application program having the process trace function is written, and executes the processing according to the instruction.

【0018】MPU11のトレース管理部11bはプロ
グラム実行部11aでアプリケーションプログラムが実
行される時に、アプリケーションプログラムの各処理単
位に付与されたID(identifire:識別番
号)及びMPU11内のレジスタ(図示せず)等の状態
をトレース情報としてRAM15に蓄積する。
The trace management unit 11b of the MPU 11 has an ID (identifier) assigned to each processing unit of the application program and a register (not shown) in the MPU 11 when the application program is executed by the program execution unit 11a. The states such as are accumulated in the RAM 15 as trace information.

【0019】また、トレース管理部11bは図示せぬ外
部機器からシリアル入出力端子13及びUART12を
経由してトレース情報要求コマンドを受信すると、RA
M15に蓄積したトレース情報をUART12及びシリ
アル入出力端子13を経由して外部機器に出力する。
尚、上記のプログラム実行部11a及びトレース管理部
11bはROM14に書込まれたプログラムによって実
現される。
When the trace management unit 11b receives a trace information request command from an external device (not shown) via the serial input / output terminal 13 and the UART 12, the RA
The trace information accumulated in M15 is output to an external device via the UART 12 and the serial input / output terminal 13.
The program execution unit 11a and the trace management unit 11b are realized by the program written in the ROM 14.

【0020】図2は本発明の一実施例によるアプリケー
ションプログラムの概念図である。図2(a)は本発明
の一実施例によるアプリケーションプログラムの処理の
一例を示し、図2(b)は本発明の一実施例によるアプ
リケーションプログラムの処理の他の例を示し、図2
(c)は図1のRAM15の構成を示している。
FIG. 2 is a conceptual diagram of an application program according to an embodiment of the present invention. 2A shows an example of the processing of the application program according to the embodiment of the present invention, and FIG. 2B shows another example of the processing of the application program according to the embodiment of the present invention.
(C) has shown the structure of RAM15 of FIG.

【0021】MPU11のプログラム実行部11aで処
理Aが実行されると、その終了時に処理A内に組込まれ
たプロセストレース機能21が実行され、処理Aの「I
Da」がトレース管理部11bに渡され、トレース管理
部11bによってRAM15上に「ID a」が書込ま
れる[図2(a),(c)参照]。
When the process A is executed by the program execution unit 11a of the MPU 11, the process trace function 21 incorporated in the process A is executed at the end of the process A, and "I" of the process A is executed.
"Da" is passed to the trace management unit 11b, and "IDa" is written in the RAM 15 by the trace management unit 11b [see FIGS. 2 (a) and 2 (c)].

【0022】また、プログラム実行部11aで処理Bが
実行されると、その終了時に処理B内に組込まれた判定
機能22が動作し、アプリケーションプログラムのどの
パス(経路)を通って終了したかが判定される。
When the process B is executed by the program execution unit 11a, the determination function 22 incorporated in the process B operates at the end of the process B to determine which path (route) of the application program is used to complete the process. To be judged.

【0023】判定機能22の判定結果に応じてプロセス
トレース機能23、あるいは分岐先のプロセストレース
機能24が実行され、処理Bの「ID b」または「I
Dc」がトレース管理部11bに渡され、トレース管理
部11bによってRAM15上に「ID b」または
「ID c」が書込まれる[図2(b),(c)参
照]。
The process trace function 23 or the branch destination process trace function 24 is executed according to the determination result of the determination function 22, and "ID b" or "I" of the process B is executed.
"Dc" is passed to the trace management unit 11b, and "ID b" or "ID c" is written on the RAM 15 by the trace management unit 11b [see FIGS. 2 (b) and 2 (c)].

【0024】ここで、上記の例ではアプリケーションプ
ログラムの各処理に付与したIDをトレース情報として
トレース管理部11bによってRAM15上に書込む場
合について述べたが、MPU11内のレジスタ等の状態
も上述した処理と同様にして処理A,Bの終了時にRA
M15内に蓄積することが可能である。
In the above example, the case where the ID given to each process of the application program is written as trace information in the RAM 15 by the trace management unit 11b has been described, but the states of the registers in the MPU 11 are also described above. RA at the end of processing A and B in the same manner as
It is possible to store in M15.

【0025】このように、複数の処理からなるアプリケ
ーションプログラムを実行するMPU11が組込まれか
つ密閉された搭載機器1において、アプリケーションプ
ログラムの複数の処理各々がMPU11で実行される毎
に複数の処理各々に予め付与されたID及びMPU11
の内部状態を履歴情報としてRAM15に蓄積すること
によって、搭載機器1が密閉された状態においても制御
情報やプログラム実行の履歴を蓄積することができる。
As described above, in the mounted device 1 in which the MPU 11 for executing the application program including the plurality of processes is incorporated and hermetically sealed, each of the plurality of processes of the application program is executed by the MPU 11 each time the plurality of processes is executed. Pre-assigned ID and MPU11
By storing the internal state of the above as the history information in the RAM 15, it is possible to accumulate the control information and the history of program execution even when the mounted device 1 is sealed.

【0026】また、外部機器からシリアル入出力端子1
3及びUART12を経由してトレース情報要求コマン
ドを受信した時に、トレース管理部11bによってRA
M15に蓄積したトレース情報をUART12及びシリ
アル入出力端子13を経由して外部機器に出力すること
によって、搭載機器1が密閉された状態においても制御
情報やプログラム実行の履歴を外部に出力して解析する
ことができる。
Also, from the external device, the serial input / output terminal 1
3 when the trace information request command is received via the UART 3 and the UART 12,
By outputting the trace information accumulated in M15 to the external device via the UART 12 and the serial input / output terminal 13, the control information and the program execution history are output to the outside for analysis even when the mounted device 1 is sealed. can do.

【0027】[0027]

【発明の効果】以上説明したように本発明のプロセスト
レーサによれば、複数の処理からなるアプリケーション
プログラムを実行する情報処理装置が組込まれかつ密閉
された搭載機器において、複数の処理各々が実行される
毎に複数の処理各々に予め付与された識別情報及び情報
処理装置の内部状態を履歴情報として蓄積手段に蓄積す
ることによって、搭載機器が密閉された状態においても
制御情報やプログラム実行の履歴を蓄積することができ
るという効果がある。
As described above, according to the process tracer of the present invention, each of a plurality of processes is executed in a mounted device in which an information processing device for executing an application program including a plurality of processes is incorporated and sealed. By accumulating the identification information and the internal state of the information processing device, which have been previously given to each of the plurality of processes, in the accumulating means as the history information, the control information and the program execution history can be stored even when the mounted device is sealed. The effect is that it can be accumulated.

【0028】また、本発明の他のプロセストレーサによ
れば、外部指示に応じて蓄積手段の内容を、搭載機器の
密閉容器の外壁に設けたシリアル入出力端子から出力す
ることによって、搭載機器が密閉された状態においても
制御情報やプログラム実行の履歴を外部に出力して解析
することができるという効果がある。
Further, according to another process tracer of the present invention, the contents of the accumulating means are output from the serial input / output terminals provided on the outer wall of the hermetically sealed container of the on-board equipment so that the on-board equipment can be operated. Even in the sealed state, there is an effect that control information and program execution history can be output to the outside for analysis.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】(a)は本発明の一実施例によるアプリケーシ
ョンプログラムの処理の一例を示す図、(b)は本発明
の一実施例によるアプリケーションプログラムの処理の
他の例を示す図、(c)は図1のRAMの構成を示す図
である。
2A is a diagram showing an example of processing of an application program according to an embodiment of the present invention; FIG. 2B is a diagram showing another example of processing of an application program according to an embodiment of the present invention; ) Is a diagram showing a configuration of the RAM of FIG. 1.

【図3】従来例の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a conventional example.

【符号の説明】 1 搭載機器 11 MPU 11a プログラム実行部 11b トレース管理部 12 UART 13 シリアル入出力端子 14 ROM 15 RAM 21,23,24 プロセストレース機能[Explanation of Codes] 1 On-board equipment 11 MPU 11a Program execution unit 11b Trace management unit 12 UART 13 Serial input / output terminal 14 ROM 15 RAM 21, 23, 24 Process trace function

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の処理からなるアプリケーションプ
ログラムを実行する情報処理装置が組込まれかつ密閉さ
れた搭載機器のプロセストレーサであって、前記複数の
処理各々が実行される毎に前記複数の処理各々に予め付
与された識別情報及び前記情報処理装置の内部状態を履
歴情報として蓄積する蓄積手段を有することを特徴とす
るプロセストレーサ。
1. A process tracer for an on-board device, in which an information processing device for executing an application program comprising a plurality of processes is incorporated and hermetically sealed, wherein each of the plurality of processes is executed every time the plurality of processes is executed. 2. A process tracer, comprising: storage means for storing, as history information, identification information given in advance to the information processing apparatus and an internal state of the information processing apparatus.
【請求項2】 前記複数の処理各々に組込まれかつ前記
複数の処理各々の実行時に対応する識別情報を出力する
命令を含むことを特徴とする請求項1記載のプロセスト
レーサ。
2. The process tracer according to claim 1, further comprising an instruction that is incorporated in each of the plurality of processes and outputs corresponding identification information when the plurality of processes are executed.
【請求項3】 外部指示に応じて前記蓄積手段の内容を
外部に出力する手段と、前記搭載機器の密閉容器の外壁
に設けられかつ前記外部指示の入力及び前記蓄積手段の
内容の出力に用いられるシリアル入出力端子とを含むこ
とを特徴とする請求項1または請求項2記載のプロセス
トレーサ。
3. Means for outputting the contents of the accumulating means to the outside in response to an external instruction, and used for inputting the external instruction and outputting the contents of the accumulating means provided on the outer wall of the closed container of the on-board equipment. The process tracer according to claim 1 or 2, further comprising a serial input / output terminal.
JP7290796A 1995-11-09 1995-11-09 Process tracer Withdrawn JPH09134296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7290796A JPH09134296A (en) 1995-11-09 1995-11-09 Process tracer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7290796A JPH09134296A (en) 1995-11-09 1995-11-09 Process tracer

Publications (1)

Publication Number Publication Date
JPH09134296A true JPH09134296A (en) 1997-05-20

Family

ID=17760614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7290796A Withdrawn JPH09134296A (en) 1995-11-09 1995-11-09 Process tracer

Country Status (1)

Country Link
JP (1) JPH09134296A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100745244B1 (en) * 2005-06-20 2007-08-01 엘지전자 주식회사 Apparatus for debugging of embedded system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100745244B1 (en) * 2005-06-20 2007-08-01 엘지전자 주식회사 Apparatus for debugging of embedded system

Similar Documents

Publication Publication Date Title
CN109558290B (en) Server, interface automatic test method and storage medium
US5038348A (en) Apparatus for debugging a data flow program
US4200929A (en) Input device for delivery of data from digital transmitters
CN106471483B (en) Setting, capturing, processing and scanning module, operation method thereof, device comprising module and mixed signal bus
US20070143761A1 (en) Task scheduler system and method for managing tasks in an embedded system without a real time operating system
US20020059467A1 (en) Object oriented framework architecture for sensing and/or control environments
CN112560390B (en) Method, device and equipment for automatically generating ignore bin in cross coverage point
KR950703762A (en) Computer system
CN108965052A (en) A kind of data reading system for the electronic control unit software debugging after entrucking
CN112347650A (en) Hardware-in-loop simulation test method and system for automatic driving
KR970049494A (en) Method and apparatus for processing content addressable memory usage time display event
JP6816554B2 (en) Control systems, controllers and control programs
EP1520226A2 (en) System and method with environment memory for input/output configuration
JPH09134296A (en) Process tracer
US6370589B1 (en) Process for performing at least one test on at least one of the objects of an object-oriented program capable of running in parallel on a computer
US11669373B2 (en) System and method for finding and identifying computer nodes in a network
CN114594738A (en) General Internet of things safety control method
CN114245883A (en) Program development device, engineering method, and program for realizing program development device
CN115576807B (en) Virtual ECU implementation method and device, electronic equipment and storage medium
JP4001458B2 (en) Tag name sharing apparatus, tag name sharing method, and computer-readable recording medium storing a program for causing a computer to execute the method
JP2616398B2 (en) Command execution device
JPH0496167A (en) Interruption system for multi-processor system
JPH10207532A (en) Monitor and control equipment
CN118093446A (en) Heterogeneous program debugging method, system, device, electronic equipment and storage medium
CN114556242A (en) Program development device and program for realizing the same

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030204