JP2012133444A - Remote debug system, remote debug device, and remote debug method - Google Patents

Remote debug system, remote debug device, and remote debug method Download PDF

Info

Publication number
JP2012133444A
JP2012133444A JP2010282829A JP2010282829A JP2012133444A JP 2012133444 A JP2012133444 A JP 2012133444A JP 2010282829 A JP2010282829 A JP 2010282829A JP 2010282829 A JP2010282829 A JP 2010282829A JP 2012133444 A JP2012133444 A JP 2012133444A
Authority
JP
Japan
Prior art keywords
signal
circuit
serial
output
serial signal
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
JP2010282829A
Other languages
Japanese (ja)
Inventor
Shu Ueda
周 上田
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2010282829A priority Critical patent/JP2012133444A/en
Publication of JP2012133444A publication Critical patent/JP2012133444A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To efficiently transmit a debug signal to a measurement instrument at a remote location and make a debugging operation at the remote location easier.SOLUTION: A debug device (transmission side) 1 performs following steps; converting a parallel input signal acquired from a debug object 4 into a serial signal; temporarily storing it in RAM; converting it into TCP/IP communication data by a prescribed data quantity unit; and transmitting it to a debug device (reception side) 2. The debug device (reception side) 2 temporarily stores the data received by the TCP/IP communication in RAM, converts it into the parallel signal by the prescribed data quantity unit and outputs it in a measurement instrument 3.

Description

本発明は、デバッグ対象機器の状態を遠隔地の測定機器で測定可能とする遠隔デバッグシステム、遠隔デバッグ装置、及び遠隔デバッグ方法に関する。   The present invention relates to a remote debugging system, a remote debugging device, and a remote debugging method that can measure the state of a device to be debugged with a remote measuring device.

従来、デバッグ対象となるハードウェア機器を、ロジックアナライザ等の測定機器でデバッグする際には、人が近傍にいて作業をしなければいけなかった。この制限によりデバッグをそれぞれの拠点で実施する際、ハードウェアリソースを拠点分の生産し、各拠点に分配しなければならなかった。   Conventionally, when a hardware device to be debugged is debugged with a measuring device such as a logic analyzer, it has been necessary to work with a person nearby. Due to this limitation, when debugging was performed at each site, hardware resources had to be produced for each site and distributed to each site.

そこで、特許文献1、2には、デバッグ対象となるハードウェア機器の状態を、インターネットなどのネットワークを介して、遠隔地に配置された測定機器で取得してデバッグする技術が提案されている。   Therefore, Patent Documents 1 and 2 propose a technique for acquiring and debugging the state of a hardware device to be debugged with a measuring device arranged at a remote location via a network such as the Internet.

特許文献1では、デバッグ装置を遠隔制御するシステムとして、デバッグ装置とホストとの間で、インターネットを介してデータを送受信し、ホストによりデバッグ装置を遠隔制御する。   In Patent Document 1, as a system for remotely controlling a debugging device, data is transmitted and received between the debugging device and a host via the Internet, and the debugging device is remotely controlled by the host.

特許文献2では、測定システムとして、データ通信に関する測定対象の特性を測定する測定器と、この測定器に対してネットワークを介して接続され測定器に対して各種操作指示を行う操作端末とを備え、測定器と操作端末との間でTCP/IP(Transmission Control Protocol/Internet Protocol)のソケット通信を用いて情報交換を行う。   In Patent Document 2, as a measurement system, a measurement device that measures a characteristic of a measurement target related to data communication, and an operation terminal that is connected to the measurement device via a network and performs various operation instructions to the measurement device are provided. Information exchange is performed between the measuring instrument and the operation terminal using TCP / IP (Transmission Control Protocol / Internet Protocol) socket communication.

特開2006−172441号公報JP 2006-172441 A 特開2003−046599号公報JP 2003-046599 A

しかしながら、上述した特許文献1、2では、遠隔地の測定機器へデバックを行うためのデバック信号を効率的に送信することが考慮されていないため、トラヒックの増大や、ネットワークでの遅延発生による影響を受けやすく、遠隔地でのデバッグ作業が効率的に行うことができないという問題があった。   However, in Patent Documents 1 and 2 described above, since it is not considered to efficiently transmit a debug signal for performing debugging to a remote measuring device, the influence due to an increase in traffic and occurrence of delay in the network There was a problem that it was easy to receive, and debugging work in a remote place could not be performed efficiently.

本発明は、上記の課題に鑑みてなされたものであって、その目的は、遠隔地の測定機器へデバックを行うためのデバック信号を効率的に送信することができ、また、遠隔地でのデバッグ作業を容易に行うことができる遠隔デバッグシステム、遠隔デバッグ装置、及び遠隔デバッグ方法を提供することにある。   The present invention has been made in view of the above problems, and the object thereof is to efficiently transmit a debugging signal for performing debugging to a remote measuring device. It is an object of the present invention to provide a remote debugging system, a remote debugging apparatus, and a remote debugging method that can easily perform a debugging operation.

上述した課題を解決するために、本発明は、デバッグ対象機器の状態を測定機器で測定する遠隔デバッグシステムであって、前記デバッグ対象機器の状態を表すパラレル信号を入力し、該パラレル信号をシリアル信号に変換し、該シリアル信号をネットワークへ送信する送信側遠隔デバッグ装置と、前記ネットワークを介して前記送信側遠隔デバッグ装置からのシリアル信号を受信し、該シリアル信号をパラレル信号に変換して前記測定機器に出力する受信側遠隔デバッグ装置と、を備えることを特徴としている。   In order to solve the above-described problems, the present invention provides a remote debugging system for measuring a state of a debug target device with a measurement device, which inputs a parallel signal representing the state of the debug target device and serializes the parallel signal. A remote remote debugging device for transmitting the serial signal to the network, receiving the serial signal from the remote debugging device for transmitting via the network, converting the serial signal into a parallel signal, and And a reception-side remote debugging device that outputs to the measuring device.

また、上述した課題を解決するために、本発明の遠隔デバッグシステムにおいて、前記送信側遠隔デバッグ装置は、前記パラレル信号から変換したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号を送信するようにしてもよい。   In order to solve the above-described problem, in the remote debugging system of the present invention, the transmission-side remote debugging device holds a serial signal converted from the parallel signal, and the held data amount exceeds a predetermined threshold value. The held serial signal may be transmitted.

また、上述した課題を解決するために、本発明の遠隔デバッグシステムにおいて、前記受信側遠隔デバッグ装置は、前記受信したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号をパラレル信号に変換して前記測定機器に出力するようにしてもよい。   In order to solve the above-described problem, in the remote debugging system of the present invention, the receiving-side remote debugging device holds the received serial signal, and holds when the stored data amount exceeds a predetermined threshold value. A serial signal may be converted into a parallel signal and output to the measuring device.

また、上述した課題を解決するために、本発明の遠隔デバッグ装置は、デバッグ対象機器の状態を表すパラレル信号を入力し、該パラレル信号をシリアル信号に変換して出力する入出力回路と、前記入出力回路から出力されるシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号を出力する第1保持回路と、前記第1保持回路から出力されるシリアル信号をネットワークへ送信する送受信回路と、を備えることを特徴としている。   In order to solve the above-described problem, the remote debugging device of the present invention includes an input / output circuit that inputs a parallel signal representing the state of a device to be debugged, converts the parallel signal into a serial signal, and outputs the parallel signal. The first holding circuit that holds the serial signal output from the writing output circuit and outputs the held serial signal when the held data amount exceeds a predetermined threshold, and the serial signal output from the first holding circuit And a transmission / reception circuit for transmitting to a network.

また、上述した課題を解決するために、本発明の遠隔デバッグ装置において、前記入出力回路は、前記デバッグ対象機器からのパラレル信号を入力する信号入力ポートと、前記信号入力ポートから出力されるパラレル信号をシリアル信号に変換して出力するパラレル−シリアル変換回路と、を備えるようにしても良い。   In order to solve the above-described problem, in the remote debug device according to the present invention, the input / output circuit includes a signal input port for inputting a parallel signal from the debug target device, and a parallel output from the signal input port. A parallel-serial conversion circuit that converts a signal into a serial signal and outputs the signal may be provided.

また、上述した課題を解決するために、本発明の遠隔デバッグ装置において、前記送受信回路により受信した前記シリアル信号を保持し、保持したデータ量が所定の閾値を超えると、前記保持したシリアル信号を出力する第2保持回路をさらに備え、前記送受信回路は、前記ネットワークを介して前記シリアル信号を受信し、前記入出力回路は、前記第2保持回路から出力されるシリアル信号を、パラレル信号に変換して測定機器に出力するようにしてもよい。   In order to solve the above-described problem, in the remote debugging device of the present invention, the serial signal received by the transmission / reception circuit is held, and when the held data amount exceeds a predetermined threshold, the held serial signal is A second holding circuit for outputting, wherein the transmission / reception circuit receives the serial signal via the network, and the input / output circuit converts the serial signal output from the second holding circuit into a parallel signal. Then, it may be output to the measuring device.

また、上述した課題を解決するために、本発明の遠隔デバッグ装置において、前記入出力回路は、前記保持回路から出力されるシリアル信号を、パラレル信号に変換するシリアル−パラレル変換回路と、前記シリアル−パラレル変換回路が出力するパラレル信号を前記測定機器に出力する信号出力ポートと、を備えるようにしてもよい。   In order to solve the above-described problem, in the remote debugging device of the present invention, the input / output circuit includes a serial-parallel conversion circuit that converts a serial signal output from the holding circuit into a parallel signal, and the serial -You may make it provide the signal output port which outputs the parallel signal which a parallel conversion circuit outputs to the said measurement apparatus.

また、上述した課題を解決するために、本発明は、デバッグ対象機器の状態を測定機器で測定する送信側遠隔デバッグ装置と受信側遠隔デバッグ装置とによる遠隔デバッグ方法であって、送信側遠隔デバッグ装置において、入出力回路が、前記デバッグ対象機器の状態を表すパラレル信号を入力するステップと、入出力回路が、前記入力したパラレル信号をシリアル信号に変換するステップと、第1保持回路が、前記変換したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号を出力するステップと、送信側遠隔デバッグ装置の送受信回路が、前記出力されたシリアル信号をネットワークへ送信するステップと、受信側遠隔デバッグ装置において、送受信回路は、前記ネットワークを介して前記送信側遠隔デバッグ装置からのシリアル信号を受信するステップと、第2保持回路が、前記受信したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、前記保持したシリアル信号を出力するステップと、入出力回路が、前記出力されたシリアル信号をパラレル信号に変換するステップと、入出力回路が、前記変換したパラレル信号を前記測定機器に出力するステップと、を含むことを特徴としている。   In order to solve the above-described problems, the present invention provides a remote debugging method using a transmission-side remote debugging device and a receiving-side remote debugging device that measure the state of a device to be debugged with a measuring device, the transmission-side remote debugging. In the apparatus, the input / output circuit inputs a parallel signal representing the state of the debug target device, the input / output circuit converts the input parallel signal into a serial signal, and the first holding circuit includes the The converted serial signal is held, and when the held data amount exceeds a predetermined threshold, the step of outputting the held serial signal and the transmission / reception circuit of the transmission-side remote debugging device transmit the output serial signal to the network And in the remote debugging apparatus on the reception side, the transmission / reception circuit transmits the transmission side via the network. Receiving a serial signal from the remote debugging device; and a second holding circuit holding the received serial signal, and outputting the held serial signal when the held data amount exceeds a predetermined threshold; The input / output circuit includes a step of converting the output serial signal into a parallel signal, and the input / output circuit outputs the converted parallel signal to the measuring device.

この発明によれば、遠隔地の測定機器へデバックを行うためのデバック信号を効率的に送信することができ、遠隔地でのデバッグ作業を容易に行うことができ、ハードウェアのリソースを削減することができる。   According to the present invention, a debugging signal for performing debugging can be efficiently transmitted to a remote measuring device, debugging work at a remote location can be easily performed, and hardware resources can be reduced. be able to.

本発明の実施形態による遠隔デバッグシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the remote debugging system by embodiment of this invention. 本実施形態による遠隔デバッグ装置(送信側、受信側)の構成を示すブロック図である。It is a block diagram which shows the structure of the remote debugging apparatus (transmission side, receiving side) by this embodiment. 本実施形態によるデバッグ信号入出力回路5の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the debug signal input / output circuit 5 by this embodiment. 本実施形態による遠隔デバックシステムの動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the remote debugging system by this embodiment.

以下、本発明の一実施形態を、図面を参照して説明する。なお、本発明は斯かる実施形態に限定されず、その技術思想の範囲内で種々の変更が可能である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In addition, this invention is not limited to such embodiment, A various change is possible within the range of the technical thought.

本発明は、遠隔地からのハードウェアデバッグ手法において遠隔デバッグ装置を使用して、デバッグ対象の信号をTCP/IP変換を用いて遠隔地に送信し、遠隔地に設置した遠隔デバッグ装置でその信号を受信して測定機器で観測することにより、遠隔地でのハードウェアのデバッグを可能としたことを特徴としている。なお、以下では、「信号」は、アナログ信号に限らず、デジタルデータを含むものとする。   The present invention uses a remote debugging device in a hardware debugging technique from a remote location, transmits a signal to be debugged to the remote location using TCP / IP conversion, and the remote debugging device installed at the remote location transmits the signal. It is characterized by being able to debug hardware at a remote location by receiving and monitoring with a measuring instrument. In the following, the “signal” is not limited to an analog signal, and includes digital data.

図1は、本発明の実施形態による遠隔デバッグシステムの構成を示すブロック図である。図1において、デバッグ装置(送信側)1は、入力信号(パラレル)をデバッグ対象4から取得し、取得した信号をTCP/IP通信のデータに変換してデバッグ装置(受信側)2へ送信する。デバッグ装置(受信側)2は、TCP/IP通信で受信したシリアル信号をパラレル信号に変換して測定機器3に出力する。このように、本願発明では、デバッグ対象4からの入力信号を、ネットワーク通信を通じて遠隔地に送信しているので遠隔地での測定機器によるデバッグが可能となる。   FIG. 1 is a block diagram showing a configuration of a remote debugging system according to an embodiment of the present invention. In FIG. 1, a debug device (transmission side) 1 acquires an input signal (parallel) from a debug target 4, converts the acquired signal into data of TCP / IP communication, and transmits the data to the debug device (reception side) 2. . The debug device (reception side) 2 converts a serial signal received by TCP / IP communication into a parallel signal and outputs the parallel signal to the measuring device 3. As described above, in the present invention, since the input signal from the debug target 4 is transmitted to the remote place through the network communication, it is possible to debug by the measuring device at the remote place.

図2は、本実施形態による遠隔デバッグ装置(送信側、受信側)の構成を示すブロック図である。図2において、遠隔デバッグ装置1、2は、デバッグ信号入出力回路5、RAM回路6、7、TCP/IP変換回路8、レジスタ回路9、及び制御部10から構成されている。
デバッグ信号入出力回路5(入出力回路)は、図1に示すデバッグ対象4からの入力信号(パラレル信号)を受け取り、受け取った入力信号をシリアル信号に変換する。デバッグ信号入出力回路5は、変換したシリアル入力信号をRAM回路6に出力するとともに、RAM回路7からのシリアル出力信号を受け取る。デバッグ信号入出力回路5は、受け取ったシリアル出力信号をパラレル信号に変換し、変換したパラレル信号を出力信号として図1に示す測定機器3に出力する。
FIG. 2 is a block diagram showing the configuration of the remote debugging device (transmission side, reception side) according to the present embodiment. In FIG. 2, the remote debugging devices 1 and 2 include a debug signal input / output circuit 5, RAM circuits 6 and 7, a TCP / IP conversion circuit 8, a register circuit 9, and a control unit 10.
The debug signal input / output circuit 5 (input / output circuit) receives an input signal (parallel signal) from the debug target 4 shown in FIG. 1, and converts the received input signal into a serial signal. The debug signal input / output circuit 5 outputs the converted serial input signal to the RAM circuit 6 and receives the serial output signal from the RAM circuit 7. The debug signal input / output circuit 5 converts the received serial output signal into a parallel signal, and outputs the converted parallel signal as an output signal to the measuring device 3 shown in FIG.

RAM回路6(第1保持回路)は、デバッグ信号入出力回路5からのシリアル入力信号を一時保持し、TCP/IP変換回路8に出力する。RAM回路7(第2保持回路)は、TCP/IP変換回路8で変換されたシリアル信号を一時保持し、シリアル出力信号としてデバッグ信号入出力回路5に出力する。なお、RAM回路6、7は、レジスタ回路9に設定されている閾値に基づいて、保持したデータ(シリアル入出力信号)を出力する。   The RAM circuit 6 (first holding circuit) temporarily holds the serial input signal from the debug signal input / output circuit 5 and outputs it to the TCP / IP conversion circuit 8. The RAM circuit 7 (second holding circuit) temporarily holds the serial signal converted by the TCP / IP conversion circuit 8 and outputs it to the debug signal input / output circuit 5 as a serial output signal. The RAM circuits 6 and 7 output the held data (serial input / output signal) based on the threshold value set in the register circuit 9.

TCP/IP変換回路8(送受信回路)は、RAM回路6からのシリアル入力信号を、TCP/IP信号に変換してデバッグ装置(受信側)2へ送信する。また、TCP/IP変換回路8は、遠隔デバッグ装置(送信側)1からのTCP/IP信号を受信し、シリアル信号に変換してRAM回路7に出力する。また、TCP/IP変換回路8は、レジスタ回路9に設定されているデバッグ信号入出力回路5の送信・受信の切り替えタイミングに従って、RAM回路6からのシリアル入力信号を、TCP/IP信号に変換したり、遠隔デバッグ装置(送信側)1からのTCP/IP信号を受信し、シリアル信号に変換したりする。   The TCP / IP conversion circuit 8 (transmission / reception circuit) converts the serial input signal from the RAM circuit 6 into a TCP / IP signal and transmits it to the debug device (reception side) 2. The TCP / IP conversion circuit 8 receives a TCP / IP signal from the remote debugging device (transmission side) 1, converts it into a serial signal, and outputs it to the RAM circuit 7. The TCP / IP conversion circuit 8 converts the serial input signal from the RAM circuit 6 into a TCP / IP signal according to the transmission / reception switching timing of the debug signal input / output circuit 5 set in the register circuit 9. Or receives a TCP / IP signal from the remote debugging device (transmission side) 1 and converts it into a serial signal.

レジスタ回路9には、デバッグ信号入出力回路5の送信・受信の切り替えタイミング、デバッグ信号の入力本数、RAM回路6、7の閾値が設定されている。
制御部10は、所定のプログラムや、ユーザ入力に従って、レジスタ回路9に、デバッグ信号入出力回路5の送信・受信の切り替えタイミング、デバッグ信号の入力本数、RAM回路6、7の閾値を設定する。
In the register circuit 9, the transmission / reception switching timing of the debug signal input / output circuit 5, the number of debug signal inputs, and the threshold values of the RAM circuits 6 and 7 are set.
The control unit 10 sets the transmission / reception switching timing of the debug signal input / output circuit 5, the number of debug signal inputs, and the threshold values of the RAM circuits 6 and 7 in the register circuit 9 in accordance with a predetermined program and user input.

デバッグ信号入出力回路5は、レジスタ回路9に設定されている送信・受信の切り替えタイミングに従って入出力動作を切り替えるとともに、デバッグ信号の入力本数に基づいて、シリアル−パラレル変換、パラレル−シリアル変換を行う。   The debug signal input / output circuit 5 switches the input / output operation according to the transmission / reception switching timing set in the register circuit 9, and performs serial-parallel conversion and parallel-serial conversion based on the number of debug signal inputs. .

なお、図2には、デバック装置(送信側)1とデバッグ装置(受信側)2とを兼用する場合の構成を示している。デバック装置(送信側)1専用の場合には、デバッグ信号入出力回路5、RAM回路6、TCP/IP変換回路8、レジスタ回路9、及び制御部10を備えていればよく、デバック装置(受信側)2専用の場合には、デバッグ信号入出力回路5、RAM回路7、TCP/IP変換回路8、レジスタ回路9、及び制御部10を備えていればよい。   FIG. 2 shows a configuration in which the debugging device (transmission side) 1 and the debugging device (reception side) 2 are used together. In the case of exclusive use for the debugging device (transmission side) 1, it is sufficient that the debugging device input / output circuit 5, the RAM circuit 6, the TCP / IP conversion circuit 8, the register circuit 9, and the control unit 10 are provided. In the case of exclusive use of 2), the debug signal input / output circuit 5, the RAM circuit 7, the TCP / IP conversion circuit 8, the register circuit 9, and the control unit 10 may be provided.

なお、図2のRAM回路6、RAM回路7、TCP/IP変換回路8は、当業者にとってよく知られているため、その詳細な説明は省略する。   The RAM circuit 6, the RAM circuit 7, and the TCP / IP conversion circuit 8 in FIG. 2 are well known to those skilled in the art, and thus detailed description thereof is omitted.

次に、データ送信時の遠隔デバッグ装置(送信側)1の動作について説明する。
制御部10は、レジスタ回路9に、デバッグ信号入出力回路5をパラレル入力/シリアル出力への切り替え、デバッグ信号の入力本数、RAM回路6の閾値(例えば、所定のデータ量)を予め設定しておく。デバッグ信号入出力回路5は、デバッグ信号の入力本数に従って、デバッグ対象4からの入力信号(パラレル信号)をシリアル信号に変換し、変換したシリアル信号をRAM回路6に出力する。
RAM回路6は、デバッグ信号入出力回路5からのシリアル信号を保持する。RAM回路6は、保持したデータが所定の閾値(所定のデータ量)を超えると、保持したシリアル入力信号(データ)を、TCP/IP変換回路8に出力する。
TCP/IP変換回路8は、RAM回路6からのシリアル入力信号を、TCP/IP通信のデータに変換してデバッグ装置(受信側)2へ送信する。
Next, the operation of the remote debugging device (transmission side) 1 at the time of data transmission will be described.
The control unit 10 switches the debug signal input / output circuit 5 to parallel input / serial output, sets the number of debug signals input, and the threshold value of the RAM circuit 6 (for example, a predetermined amount of data) in the register circuit 9 in advance. deep. The debug signal input / output circuit 5 converts the input signal (parallel signal) from the debug target 4 into a serial signal according to the number of debug signals input, and outputs the converted serial signal to the RAM circuit 6.
The RAM circuit 6 holds the serial signal from the debug signal input / output circuit 5. The RAM circuit 6 outputs the held serial input signal (data) to the TCP / IP conversion circuit 8 when the held data exceeds a predetermined threshold (a predetermined amount of data).
The TCP / IP conversion circuit 8 converts the serial input signal from the RAM circuit 6 into TCP / IP communication data and transmits the data to the debug device (reception side) 2.

次に、データ受信時の遠隔デバッグ装置(受信側)2の動作ついて説明する。
制御部10は、レジスタ回路9に、デバッグ信号入出力回路5をシリアル入力/パラレル出力への切り替え、デバッグ信号の入力本数、RAM回路7の閾値(例えば、所定のデータ量)を予め設定しておく。
TCP/IC変換回路8は、遠隔デバッグ装置(送信側)1からTCP/IP通信により送信されてくるシリアル信号(データ)を受信し、そのデータをシリアルデータに変換し、RAM回路7に出力する。
RAM回路7は、TCP/IC変換回路8からのシリアル信号を保持する。RAM回路7は、保持したデータが所定の閾値(所定のデータ量)を超えると、デバッグ信号入出力回路5へデータを出力する。
デバッグ信号入出力回路5は、デバッグ信号の入力本数に従って、RAM回路7からのシリアル信号(データ)をパラレル信号に変換して測定機器3に出力する。
Next, the operation of the remote debugging device (reception side) 2 at the time of data reception will be described.
The control unit 10 switches the debug signal input / output circuit 5 to serial input / parallel output, sets the number of debug signals input, and the threshold value of the RAM circuit 7 (for example, a predetermined amount of data) in the register circuit 9 in advance. deep.
The TCP / IC conversion circuit 8 receives a serial signal (data) transmitted from the remote debugging device (transmission side) 1 by TCP / IP communication, converts the data into serial data, and outputs the serial data to the RAM circuit 7. .
The RAM circuit 7 holds the serial signal from the TCP / IC conversion circuit 8. The RAM circuit 7 outputs data to the debug signal input / output circuit 5 when the held data exceeds a predetermined threshold (a predetermined amount of data).
The debug signal input / output circuit 5 converts the serial signal (data) from the RAM circuit 7 into a parallel signal according to the number of debug signals input, and outputs the parallel signal to the measuring device 3.

図3は、本実施形態によるデバッグ信号入出力回路5の詳細な構成を示すブロック図である。図3において、デバッグ信号入出力回路5は、信号入出力ポート11、パラレル−シリアル変換回路12、シリアル−パラレル変換回路13、及びスイッチ14により構成されている。信号入出力ポート11は、外部から入力されたパラレル信号をパラレル−シリアル変換回路12に出力するか、あるいは、シリアル−パラレル変換回路13からのパラレル信号を受け取り、受け取ったパラレル信号を外部へ出力する。   FIG. 3 is a block diagram showing a detailed configuration of the debug signal input / output circuit 5 according to the present embodiment. In FIG. 3, the debug signal input / output circuit 5 includes a signal input / output port 11, a parallel-serial conversion circuit 12, a serial-parallel conversion circuit 13, and a switch 14. The signal input / output port 11 outputs a parallel signal input from the outside to the parallel-serial conversion circuit 12 or receives a parallel signal from the serial-parallel conversion circuit 13 and outputs the received parallel signal to the outside. .

パラレル−シリアル変換回路12は、信号入出力ポート11からのパラレル信号を受け取り、受け取ったパラレル信号をシリアル信号に変換してスイッチ14に出力する。
シリアル−パラレル変換回路13は、スイッチ14を介して入力されるシリアル信号をパラレル信号に変換して信号入出力ポート11に出力する。
スイッチ14は、パラレル−シリアル変換回路12からのシリアル信号を外部へ出力するか、あるいは、外部からのシリアル信号をシリアル−パラレル変換回路13に出力する。
なお、パラレル−シリアル変換回路12、シリアル−パラレル変換回路13のON/OFF、またスイッチ14の入出力の切り替えは、図2に示すレジスタ回路8の設定内容に従って制御部10が制御する。
The parallel-serial conversion circuit 12 receives the parallel signal from the signal input / output port 11, converts the received parallel signal into a serial signal, and outputs the serial signal to the switch 14.
The serial-parallel conversion circuit 13 converts the serial signal input via the switch 14 into a parallel signal and outputs the parallel signal to the signal input / output port 11.
The switch 14 outputs a serial signal from the parallel-serial conversion circuit 12 to the outside, or outputs an external serial signal to the serial-parallel conversion circuit 13.
Note that the controller 10 controls ON / OFF of the parallel-serial conversion circuit 12 and the serial-parallel conversion circuit 13 and the switching of the input / output of the switch 14 according to the setting contents of the register circuit 8 shown in FIG.

次に、本実施形態による遠隔デバックシステムの動作について説明する。
図4は、本実施形態による遠隔デバックシステムの動作を説明するためのフローチャートである。デバッグ対象4からの入力信号が、遠隔デバッグ装置(送信側)1に与えられると(ステップS1)、遠隔デバッグ装置(送信側)1のデバッグ信号入力力回路5は、パラレルで入力された入力信号をシリアル信号に変換する(ステップS2)。
次に、デバッグ信号入力力回路5は、該シリアル信号を一度RAM回路6に格納する(ステップS3)。
RAM回路6は、保持したシリアル信号が所定の閾値(所定のデータ量)を超えると、保持したシリアル信号をTCP/IP変換回路8へ出力する。なお、所定の閾値は、例えば、シリアル信号の本数や、データの転送速度に応じた値である。
次に、TCP/IP変換回路8は、RAM回路6から出力された信号をTCP/IP通信に従ったデータに変換して、変換したデータを遠隔デバッグ装置(受信側)2に送信する(ステップS4)。
Next, the operation of the remote debugging system according to this embodiment will be described.
FIG. 4 is a flowchart for explaining the operation of the remote debugging system according to the present embodiment. When an input signal from the debug target 4 is given to the remote debug device (transmission side) 1 (step S1), the debug signal input power circuit 5 of the remote debug device (transmission side) 1 receives the input signal input in parallel. Is converted into a serial signal (step S2).
Next, the debug signal input power circuit 5 once stores the serial signal in the RAM circuit 6 (step S3).
The RAM circuit 6 outputs the held serial signal to the TCP / IP conversion circuit 8 when the held serial signal exceeds a predetermined threshold (a predetermined amount of data). The predetermined threshold is, for example, a value corresponding to the number of serial signals and the data transfer rate.
Next, the TCP / IP conversion circuit 8 converts the signal output from the RAM circuit 6 into data according to TCP / IP communication, and transmits the converted data to the remote debugging device (reception side) 2 (step). S4).

遠隔デバッグ装置(受信側)2は、ネットワークを介して送信された信号を受信し、TCP/IP変換回路8によりシリアル信号に変換する(ステップS5)。
次に、遠隔デバッグ装置(受信側)2のTCP/IP変換回路8は、変換したシリアル信号を一時RAM回路7に格納する(ステップS6)。
RAM回路7は、保持したシリアル信号が所定の閾値(所定のデータ量)を超えると、保持したシリアル信号をデバッグ信号入出力回路5へ出力する。
そ次に、デバッグ信号入出力回路5は、RAM回路7から出力されたシリアル信号をパラレル信号に変換し(ステップS7)、変換したパラレル信号を出力信号として測定機器3に出力する(ステップS8)。
The remote debugging device (receiving side) 2 receives the signal transmitted via the network, and converts it into a serial signal by the TCP / IP conversion circuit 8 (step S5).
Next, the TCP / IP conversion circuit 8 of the remote debugging device (reception side) 2 stores the converted serial signal in the temporary RAM circuit 7 (step S6).
When the retained serial signal exceeds a predetermined threshold value (predetermined data amount), the RAM circuit 7 outputs the retained serial signal to the debug signal input / output circuit 5.
Next, the debug signal input / output circuit 5 converts the serial signal output from the RAM circuit 7 into a parallel signal (step S7), and outputs the converted parallel signal as an output signal to the measuring device 3 (step S8). .

上述した実施形態によれば、デバッグ信号をTCP/IP変換して送信することにより、遠隔地で測定機器によってデバッグすることができる。これにより、デバッグ対象が必ずしも測定機器の近傍にある必要はなく、任意の地点でのハードウェアデバッグが可能となり、タイムシェアリング等も可能となり、リソースの削減も期待できる。   According to the above-described embodiment, the debug signal can be debugged by the measuring device at a remote place by transmitting the debug signal after TCP / IP conversion. As a result, the debug target does not necessarily have to be in the vicinity of the measuring device, hardware debugging at an arbitrary point is possible, time sharing is possible, and resource reduction can be expected.

また、デバッグ信号入出力回路を用いてシリアル/パラレル変換を実施しているので、信号数に合わせで信号を入出力することができる。   Since serial / parallel conversion is performed using the debug signal input / output circuit, signals can be input / output in accordance with the number of signals.

また、RAM回路に一度情報を保持して信号出力をしているので、ネットワークで発生する遅延などをマージすることができ、出力信号の連続性を保持できる。   In addition, since the information is once stored in the RAM circuit and the signal is output, delays generated in the network can be merged, and the continuity of the output signal can be maintained.

なお、本実施形態では、図1に示したようにデバッグ対象4が1つの場合について説明したが、デバッグ対象4と当該デバッグ対象に接続されている遠隔デバッグ装置1(送信側)は複数であってもよい。この場合、遠隔デバッグ装置2(受信側)と測定機器3が1組ですむので、測定機器3のリソースの削減になる。また、デバッグ対象4と遠隔デバッグ装置1(送信側)が1組で、遠隔デバッグ装置2(受信側)と測定機器3の組を複数備えるようにしてもよい。この場合、複組の遠隔デバッグ装置2(受信側)と測定機器3が、遠隔地にある1つのデバッグ対象4をデバッグできるので、デバッグ対象4のリソースの削減になる。   In the present embodiment, the case where there is one debug object 4 as shown in FIG. 1 has been described, but there are a plurality of debug objects 4 and remote debug devices 1 (transmission side) connected to the debug object. May be. In this case, since the remote debugging device 2 (reception side) and the measuring device 3 are only one set, the resources of the measuring device 3 are reduced. Further, the debug target 4 and the remote debug device 1 (transmission side) may be one set, and a plurality of remote debug devices 2 (reception side) and measurement devices 3 may be provided. In this case, the multiple sets of the remote debugging device 2 (receiving side) and the measuring device 3 can debug one debug target 4 at a remote location, so that the resources of the debug target 4 are reduced.

1 遠隔デバッグ装置(送信側) 2 遠隔デバッグ装置(受信側)
3 測定機器 4 デバッグ対象 5 デバッグ信号入出力回路
6、7 RAM回路 8 TCP/IP変換回路 9 レジスタ回路
10 制御部 11 信号入出力ポート 12 パラレル−シリアル変換回路
13 シリアル−パラレル変換回路 14 スイッチ
1 Remote debugging device (sending side) 2 Remote debugging device (receiving side)
DESCRIPTION OF SYMBOLS 3 Measuring apparatus 4 Debug object 5 Debug signal input / output circuit 6, 7 RAM circuit 8 TCP / IP conversion circuit 9 Register circuit 10 Control unit 11 Signal input / output port 12 Parallel-serial conversion circuit 13 Serial-parallel conversion circuit 14 Switch

Claims (8)

デバッグ対象機器の状態を測定機器で測定する遠隔デバッグシステムであって、
前記デバッグ対象機器の状態を表すパラレル信号を入力し、該パラレル信号をシリアル信号に変換し、該シリアル信号をネットワークへ送信する送信側遠隔デバッグ装置と、
前記ネットワークを介して前記送信側遠隔デバッグ装置からのシリアル信号を受信し、該シリアル信号をパラレル信号に変換して前記測定機器に出力する受信側遠隔デバッグ装置と、
を備えることを特徴とする遠隔デバッグシステム。
A remote debugging system for measuring the state of a device to be debugged with a measuring device,
A remote signal debugging device that inputs a parallel signal representing the state of the device to be debugged, converts the parallel signal into a serial signal, and transmits the serial signal to a network;
Receiving a serial signal from the transmission-side remote debugging device via the network, converting the serial signal into a parallel signal and outputting the parallel signal to the measuring device; and
A remote debugging system comprising:
前記送信側遠隔デバッグ装置は、
前記パラレル信号から変換したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号を送信する
ことを特徴とする請求項1に記載の遠隔デバッグシステム。
The transmission-side remote debugging device is
The remote debugging system according to claim 1, wherein a serial signal converted from the parallel signal is held, and the held serial signal is transmitted when the held data amount exceeds a predetermined threshold.
前記受信側遠隔デバッグ装置は、
前記受信したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号をパラレル信号に変換して前記測定機器に出力する
ことを特徴とする請求項1に記載の遠隔デバッグシステム。
The receiving-side remote debugging device is
2. The remote according to claim 1, wherein the received serial signal is held, and when the held data amount exceeds a predetermined threshold, the held serial signal is converted into a parallel signal and output to the measuring device. Debug system.
デバッグ対象機器の状態を表すパラレル信号を入力し、該パラレル信号をシリアル信号に変換して出力する入出力回路と、
前記入出力回路から出力されるシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号を出力する第1保持回路と、
前記第1保持回路から出力されるシリアル信号をネットワークへ送信する送受信回路と、
を備えることを特徴とする遠隔デバッグ装置。
An input / output circuit that inputs a parallel signal representing the state of the debug target device, converts the parallel signal into a serial signal, and outputs the serial signal;
A first holding circuit that holds the serial signal output from the input / output circuit and outputs the held serial signal when the held data amount exceeds a predetermined threshold;
A transmission / reception circuit for transmitting a serial signal output from the first holding circuit to a network;
A remote debugging device comprising:
前記入出力回路は、
前記デバッグ対象機器からのパラレル信号を入力する信号入力ポートと、
前記信号入力ポートから出力されるパラレル信号をシリアル信号に変換して出力するパラレル−シリアル変換回路と、
を備えることを特徴とする請求項4に記載の遠隔デバッグ装置。
The input / output circuit is
A signal input port for inputting a parallel signal from the debug target device;
A parallel-serial conversion circuit that converts a parallel signal output from the signal input port into a serial signal and outputs the serial signal;
The remote debugging apparatus according to claim 4, further comprising:
前記送受信回路により受信した前記シリアル信号を保持し、保持したデータ量が所定の閾値を超えると、前記保持したシリアル信号を出力する第2保持回路
をさらに備え、
前記送受信回路は、
前記ネットワークを介して前記シリアル信号を受信し、
前記入出力回路は、
前記第2保持回路から出力されるシリアル信号を、パラレル信号に変換して測定機器に出力する
ことを特徴とする請求項4または請求項5に記載の遠隔デバッグ装置。
A second holding circuit for holding the serial signal received by the transmission / reception circuit and outputting the held serial signal when the held data amount exceeds a predetermined threshold;
The transceiver circuit is
Receiving the serial signal via the network;
The input / output circuit is
6. The remote debugging device according to claim 4, wherein the serial signal output from the second holding circuit is converted into a parallel signal and output to a measuring device.
前記入出力回路は、
前記保持回路から出力されるシリアル信号を、パラレル信号に変換するシリアル−パラレル変換回路と、
前記シリアル−パラレル変換回路が出力するパラレル信号を前記測定機器に出力する信号出力ポートと、
を備えることを特徴とする請求項6に記載の遠隔デバッグ装置。
The input / output circuit is
A serial-parallel conversion circuit for converting a serial signal output from the holding circuit into a parallel signal;
A signal output port for outputting a parallel signal output from the serial-parallel conversion circuit to the measuring device;
The remote debugging apparatus according to claim 6, further comprising:
デバッグ対象機器の状態を測定機器で測定する送信側遠隔デバッグ装置と受信側遠隔デバッグ装置とによる遠隔デバッグ方法であって、
送信側遠隔デバッグ装置において、
入出力回路が、前記デバッグ対象機器の状態を表すパラレル信号を入力するステップと、
入出力回路が、前記入力したパラレル信号をシリアル信号に変換するステップと、
第1保持回路が、前記変換したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、保持したシリアル信号を出力するステップと、
送信側遠隔デバッグ装置の送受信回路が、前記出力されたシリアル信号をネットワークへ送信するステップと、
受信側遠隔デバッグ装置において、
送受信回路は、前記ネットワークを介して前記送信側遠隔デバッグ装置からのシリアル信号を受信するステップと、
第2保持回路が、前記受信したシリアル信号を保持し、保持したデータ量が所定の閾値を超えると、前記保持したシリアル信号を出力するステップと、
入出力回路が、前記出力されたシリアル信号をパラレル信号に変換するステップと、
入出力回路が、前記変換したパラレル信号を前記測定機器に出力するステップと、
を含むことを特徴とする遠隔デバッグ方法。
A remote debugging method using a transmission-side remote debugging device and a receiving-side remote debugging device that measures the state of a debug target device with a measurement device,
In the remote debugging device on the sending side,
An input / output circuit that inputs a parallel signal representing a state of the debug target device;
An input / output circuit that converts the input parallel signal into a serial signal;
A first holding circuit holding the converted serial signal, and outputting the held serial signal when the held data amount exceeds a predetermined threshold;
A transmission / reception circuit of a transmission-side remote debugging device transmits the output serial signal to a network;
In the remote debugging device on the receiving side,
A transmitting / receiving circuit receiving a serial signal from the transmitting remote debugging device via the network;
A second holding circuit holding the received serial signal and outputting the held serial signal when the held data amount exceeds a predetermined threshold;
An input / output circuit that converts the output serial signal into a parallel signal;
An input / output circuit outputting the converted parallel signal to the measuring device;
A remote debugging method comprising:
JP2010282829A 2010-12-20 2010-12-20 Remote debug system, remote debug device, and remote debug method Pending JP2012133444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010282829A JP2012133444A (en) 2010-12-20 2010-12-20 Remote debug system, remote debug device, and remote debug method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010282829A JP2012133444A (en) 2010-12-20 2010-12-20 Remote debug system, remote debug device, and remote debug method

Publications (1)

Publication Number Publication Date
JP2012133444A true JP2012133444A (en) 2012-07-12

Family

ID=46648998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010282829A Pending JP2012133444A (en) 2010-12-20 2010-12-20 Remote debug system, remote debug device, and remote debug method

Country Status (1)

Country Link
JP (1) JP2012133444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063927A (en) * 2017-11-10 2018-05-22 深圳市火乐科技发展有限公司 A kind of projecting apparatus debugging apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063927A (en) * 2017-11-10 2018-05-22 深圳市火乐科技发展有限公司 A kind of projecting apparatus debugging apparatus
CN108063927B (en) * 2017-11-10 2020-11-03 深圳市火乐科技发展有限公司 Projector debugging device

Similar Documents

Publication Publication Date Title
JP5304331B2 (en) Plant monitoring and control system transition device
US8599883B2 (en) Transit time fixation device
SG10201402576SA (en) Test Apparatus and Test Method based on DFDAU
EP2573975A2 (en) Method and device for selecting sampling clock signal
JP2013168811A (en) Network system and time synchronization method
KR101768250B1 (en) Apparatus for Switching RS-485 Terminal Polarity
CN105100000B (en) Interface conversion device and network system
US11281611B2 (en) General purpose interface bus (GPIB) sniffer system and method
JP2012133444A (en) Remote debug system, remote debug device, and remote debug method
US11947475B2 (en) Synchronized processing of process data and delayed transmission
JP2017188865A (en) Communication system for PLC
JPWO2009011020A1 (en) Packet delay characteristic measuring apparatus and method
CN103532686A (en) Serial data transceiver circuit with line sequence self-adaptive function, and control method thereof
KR101794761B1 (en) Digital Data Communication Module and its Data Simulator
US9571704B2 (en) Signal multiplexing apparatus and transmission apparatus
CN106130829B (en) Bus test method and device
TW201441643A (en) SVID data test system and method
KR101764652B1 (en) Remote contact monitoring apparatus and method thereof
CN104331381B (en) The anti-interference output intent of SPI chips
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
CN202856782U (en) Automatic receiving/transmitting and converting device for HART communication signals
CN103517307B (en) A kind of remote debugging system based on TD-SCDMA
WO2014109056A1 (en) Signal conversion system and signal conversion method
CN104636302A (en) Experimental device, experimental client, experimental system and experimental method of experimental system
KR101377066B1 (en) Multi-channel serial communication apparatus