CN112000534A - Server serial port debugging method and system - Google Patents

Server serial port debugging method and system Download PDF

Info

Publication number
CN112000534A
CN112000534A CN202010850162.XA CN202010850162A CN112000534A CN 112000534 A CN112000534 A CN 112000534A CN 202010850162 A CN202010850162 A CN 202010850162A CN 112000534 A CN112000534 A CN 112000534A
Authority
CN
China
Prior art keywords
serial port
debugging data
debugging
cpld
keyword
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
CN202010850162.XA
Other languages
Chinese (zh)
Inventor
慈潭龙
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.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems Co 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 Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN202010850162.XA priority Critical patent/CN112000534A/en
Publication of CN112000534A publication Critical patent/CN112000534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a server serial port debugging method, which comprises the steps of firstly obtaining debugging data corresponding to a plurality of chips through a plurality of receiving serial port interfaces through a CPLD; then, adding a start keyword corresponding to the receiving serial port interface at least at the head of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail of the debugging data through the CPLD; and finally calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the start keywords and the end keywords to the upper computer, and distinguishing and displaying the debugging data according to the start keywords and the end keywords through the upper computer. The debugging data corresponding to a plurality of chips can be simultaneously transmitted to the upper computer only through one transmitting serial port interface through the CPLD, and the debugging data can be distinguished and displayed through the starting keywords and the ending keywords. The invention also provides a server serial port debugging system, which also has the beneficial effects.

Description

Server serial port debugging method and system
Technical Field
The invention relates to the technical field of computers, in particular to a server serial port debugging method and a server serial port debugging system.
Background
In the server, various functional chips such as a BMC, a memory controller, a PCIe controller, and the like are often employed. In the development stage and the later problem troubleshooting stage, the operation condition of each chip needs to be checked to ensure that the system functions normally.
The most common troubleshooting method currently uses a PC to collect and check serial port information of each chip, since the chips typically send out the information through the serial port. If the serial port information of a plurality of chips needs to be collected at the same time, a PC (personal computer) needs to be connected to the serial port connectors of the chips through a plurality of serial port cables. Meanwhile, a plurality of corresponding software ports also need to be opened on the PC to check the serial port information. On one hand, the PC has limited interfaces, and the requirement that a plurality of chip serial ports check information simultaneously cannot be directly met; on the other hand, the operation is also complicated. Therefore, the technical personnel in the field need to solve the problem of how to simply check the information of a plurality of serial ports.
Disclosure of Invention
The invention aims to provide a server serial port debugging method, which can check serial port information of a plurality of serial ports at the same time; the invention also provides a server serial port debugging system which can check the serial port information of a plurality of serial ports simultaneously.
In order to solve the technical problem, the invention provides a server serial port debugging method, which comprises the following steps:
calling a plurality of receiving serial port interfaces through the CPLD to obtain debugging data corresponding to a plurality of chips;
adding a start keyword corresponding to a receiving serial port interface at least at the head of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail of the debugging data through the CPLD;
calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the starting keywords and the ending keywords to an upper computer, and distinguishing and displaying the debugging data according to the starting keywords and the ending keywords through the upper computer.
Optionally, the transmission rate of the sending serial port interface is not less than the sum of the transmission rates of all the receiving serial ports.
Optionally, the receiving serial port interface is a UART serial port interface.
Optionally, the sending serial port interface is connected to the upper computer through a cable.
Optionally, after the calling, by the CPLD, the multiple serial port receiving interfaces to obtain the debug data corresponding to the multiple chips, the method further includes:
identifying characters to be identified which are the same as the starting keyword and the ending keyword in the debugging data through the CPLD;
and interrupting the character to be recognized, adding the ending keyword at the tail of the previous debugging data, and adding the starting keyword at the beginning of the next debugging data.
The invention also provides a server serial port debugging system, which comprises a CPLD and an upper computer, wherein the CPLD is connected with a plurality of chips through a plurality of receiving serial port interfaces and is connected with the upper computer through a transmitting serial port interface;
the CPLD is used for:
calling a plurality of serial port receiving interfaces to obtain debugging data corresponding to a plurality of chips;
adding a start keyword corresponding to a receiving serial port interface at least at the head part of the debugging data, and adding an end keyword corresponding to the receiving serial port interface at least at the tail part of the debugging data;
calling the sending serial port interface to send the debugging data added with the starting keywords and the ending keywords to the upper computer;
the upper computer is used for:
and distinguishing and displaying the debugging data according to the starting keyword and the ending keyword.
Optionally, the transmission rate of the sending serial port interface is not less than the sum of the transmission rates of all the receiving serial ports.
Optionally, the receiving serial port interface is a UART serial port interface.
Optionally, the sending serial port interface is connected to the upper computer through a cable.
Optionally, the CPLD is further configured to:
identifying characters to be identified which are the same as the starting keywords and the ending keywords in the debugging data;
and interrupting the character to be recognized, adding the ending keyword at the tail of the previous debugging data, and adding the starting keyword at the beginning of the next debugging data.
The invention provides a server serial port debugging method, which comprises the steps of firstly obtaining debugging data corresponding to a plurality of chips through a plurality of receiving serial port interfaces through a CPLD; then, adding a start keyword corresponding to the receiving serial port interface at least at the head of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail of the debugging data through the CPLD; and finally calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the start keywords and the end keywords to the upper computer, and distinguishing and displaying the debugging data according to the start keywords and the end keywords through the upper computer. Debugging data corresponding to a plurality of chips can be simultaneously transmitted to the upper computer through the CPLD only through one transmitting serial port interface, so that the upper computer only needs to be connected with the CPLD by leading out a line, and the using quantity of interfaces in the upper computer is greatly reduced; the debugging data can be distinguished and displayed through the start keyword and the end keyword, and the debugging data of a plurality of chips can be displayed simultaneously.
The invention also provides a server serial port debugging system, which has the beneficial effects and is not repeated herein.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a server serial port debugging method according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific server serial port debugging method according to an embodiment of the present invention;
fig. 3 is a block diagram of a structure of a server serial port debugging system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a server serial port debugging method. In the prior art, when a fault is checked through a PC, that is, an upper computer, the PC needs to be connected to a serial port connector of each chip through a plurality of serial port cables. Meanwhile, a plurality of corresponding software ports also need to be opened on the PC to check the serial port information. On one hand, the PC has limited interfaces, and the requirement that a plurality of chip serial ports check information simultaneously cannot be directly met; on the other hand, the operation is also complicated.
The server serial port debugging method provided by the invention can firstly acquire debugging data corresponding to a plurality of chips through a plurality of receiving serial port interfaces by the CPLD; then, adding a start keyword corresponding to the receiving serial port interface at least at the head of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail of the debugging data through the CPLD; and finally calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the start keywords and the end keywords to the upper computer, and distinguishing and displaying the debugging data according to the start keywords and the end keywords through the upper computer. Debugging data corresponding to a plurality of chips can be simultaneously transmitted to the upper computer through the CPLD only through one transmitting serial port interface, so that the upper computer only needs to be connected with the CPLD by leading out a line, and the using quantity of interfaces in the upper computer is greatly reduced; the debugging data can be distinguished and displayed through the start keyword and the end keyword, and the debugging data of a plurality of chips can be displayed simultaneously.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a server serial port debugging method according to an embodiment of the present invention.
Referring to fig. 1, in the embodiment of the present invention, a server serial port debugging method includes:
s101: and calling a plurality of receiving serial port interfaces through the CPLD to acquire debugging data corresponding to a plurality of chips.
In the embodiment of the present invention, a CPLD (complex programmable logic device) has a plurality of receiving serial interfaces, the CPLD links a plurality of chips through the plurality of receiving serial interfaces, the chips may be a BMC, a memory controller, a PCIe controller, and the like, and specific types and specific functions of the chips are not specifically limited in the embodiment of the present invention, depending on the specific circumstances. It should be noted that the receiving serial port interfaces are generally in one-to-one correspondence with the chips, so that the CPLD can query the debug data of the chips through the receiving serial port interfaces, and correspondingly, in this step, the CPLD can call the multiple receiving serial port interfaces to obtain the debug data corresponding to the multiple chips. For the details of the debugging data, reference may be made to the prior art, and further description is not repeated herein.
S102: and adding a start keyword corresponding to the receiving serial port interface at least at the head part of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail part of the debugging data through the CPLD.
After the CPLD obtains the respective debug data of the plurality of chips through the plurality of receiving serial interfaces, in this step, a start keyword corresponding to the receiving serial interface is added to the head of the debug data, and an end keyword corresponding to the receiving serial interface is added to the tail of the debug data. That is, if a certain piece of debug data is specifically data received through the first receiving serial port interface, it indicates that the debug data is specifically debug data of a chip connected to the first receiving serial port interface. Correspondingly, in this step, the beginning keyword and the ending keyword corresponding to the first receiving serial port interface are added to the beginning and the end of the debugging data respectively, so that the upper computer in the subsequent step can identify that the debugging data is the debugging data of the chip specifically according to the beginning keyword and the ending keyword.
For example, for the first receiving serial interface, the corresponding start key may be/1, and the end key may be set to 1 ×/; for the second receiving serial port interface, the corresponding start key word may be/2, and the end key word may be set to 2 ×/; and so on. Of course, the specific contents of the start keyword and the end keyword may be set according to the actual situation, and are not limited specifically herein.
S103; calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the start keywords and the end keywords to the upper computer, and distinguishing and displaying the debugging data according to the start keywords and the end keywords through the upper computer.
In this step, the CPLD specifically sends the debug data added with the start keyword and the end keyword to the upper computer through a sending serial port interface, and at this time, the upper computer can distinguish the specifically corresponding receiving serial port interface of each piece of debug data according to the start keyword and the end keyword, and the specifically corresponding chip, that is, can distinguish the pieces of debug data according to the start keyword and the end keyword, and display the debug data distinguished by each piece of debug data respectively. Specifically, when the upper computer is provided with enough displays, debugging data received by a receiving serial port interface can be displayed in each display; when the number of the displays is insufficient, the displays may be split to display all the debugging data, or only part of the debugging data may be displayed in the displays, which is not specifically limited in the embodiment of the present invention. It should be noted that, in this step, the upper computer usually only displays the content between the start keyword and the end keyword, and usually does not display the start keyword and the end keyword themselves.
Preferably, in the embodiment of the present invention, in order to ensure that the upper computer can display the debug data of each chip in time, the transmission rate of the sending serial port interface generally needs to be not less than the sum of the transmission rates of all the receiving serial port interfaces, so as to ensure that the debug data received by the CPLD can be transmitted to the upper computer in time.
Specifically, in the embodiment of the present invention, the receiving serial interface is usually a UART serial interface, and a UART (Universal Asynchronous Receiver/Transmitter) serial interface is used to effectively improve the receiving efficiency of the CPLD on the debugging data. Correspondingly, in the embodiment of the present invention, the transmitting serial port interface is generally connected to the upper computer through a cable. The CPLD and the upper computer are connected through cables, so that the communication stability between the CPLD and the upper computer can be obviously improved, and the upper computer can stably receive debugging data of each chip.
The server serial port debugging method provided by the embodiment of the invention can firstly acquire debugging data corresponding to a plurality of chips through a plurality of receiving serial port interfaces by a CPLD; then, adding a start keyword corresponding to the receiving serial port interface at least at the head of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail of the debugging data through the CPLD; and finally calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the start keywords and the end keywords to the upper computer, and distinguishing and displaying the debugging data according to the start keywords and the end keywords through the upper computer. Debugging data corresponding to a plurality of chips can be simultaneously transmitted to the upper computer through the CPLD only through one transmitting serial port interface, so that the upper computer only needs to be connected with the CPLD by leading out a line, and the using quantity of interfaces in the upper computer is greatly reduced; the debugging data can be distinguished and displayed through the start keyword and the end keyword, and the debugging data of a plurality of chips can be displayed simultaneously.
The details of the server serial port debugging method provided by the present invention will be described in detail in the following embodiments of the present invention.
Referring to fig. 2, fig. 2 is a flowchart of a specific server serial port debugging method according to an embodiment of the present invention.
Referring to fig. 2, in the embodiment of the present invention, a server serial port debugging method includes:
s201: and calling a plurality of receiving serial port interfaces through the CPLD to acquire debugging data corresponding to a plurality of chips.
S202: and adding a start keyword corresponding to the receiving serial port interface at least at the head part of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail part of the debugging data through the CPLD.
S201 to S202 are substantially the same as S101 to S102 in the above embodiment of the invention, and for details, reference is made to the above embodiment of the invention, which is not repeated herein.
S203: and identifying the characters to be identified which are the same as the starting keyword and the ending keyword in the debugging data through the CPLD.
In this step, the debugging data is traversed through the CPLD to identify the character to be identified in the debugging data that is the same as the preset start keyword and end keyword. Because the debugging data of different chips are distinguished in the form of adding the keywords in the debugging data, the characters to be recognized which are the same as the preset starting keywords and ending keywords may exist in the debugging data, and the characters to be recognized interfere with the recognition of the upper computer, so that the upper computer cannot accurately recognize and display the complete debugging data. Correspondingly, in this step, the characters to be recognized, which are the same as the start keyword and the end keyword in the debug data, need to be recognized through the CPLD first, so that the characters to be recognized are processed in the subsequent steps.
S204: and breaking the character to be recognized, adding an ending keyword at the tail of the previous debugging data, and adding a starting keyword at the beginning of the next debugging data.
In this step, the character to be recognized is usually interrupted by the CPLD, so that the debugging data is divided into two pieces of debugging data at the character to be recognized. Taking "1 x/" as an example, if the debugging data itself has a character to be recognized 1 x/, and the character to be recognized is the same as the ending keyword of the first receiving serial port interface, the debugging data needs to be interrupted in the middle of the character to be recognized in this step, at this time, the end of the former piece of debugging data may be 1 x, and the beginning of the latter piece of debugging data may be/; if the debugging data are received by the CPLD through the second receiving serial port, 2 is added at the tail of the previous section of debugging data and 2 is added at the head of the next section of debugging data in the step, the modification of the debugging data is completed, so that the upper computer can completely identify each section of debugging data, and the upper computer only needs to merge and display each section of debugging data. Of course, the specific form of the character to be recognized in this step is not particularly limited, as the case may be.
It should be noted that, in general, there is no sequence between the above S203 to S204 and the above S202, S203 to S204 may be executed before S202, S203 to S204 may be executed after S202, or S203 to S204 may be executed in parallel with S202, which is not limited in this embodiment of the present invention.
S205; calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the start keywords and the end keywords to the upper computer, and distinguishing and displaying the debugging data according to the start keywords and the end keywords through the upper computer.
This step is substantially the same as S103 in the above embodiment of the present invention, and details have been described in the above embodiment of the present invention, and are not described herein again.
According to the server serial port debugging method provided by the embodiment of the invention, CPLD identifies and breaks the character to be identified, and adds the corresponding ending keyword and the starting keyword at the breaking position, so that the error of upper computer identification caused by the existence of the same character as the starting keyword and the ending keyword in debugging data can be effectively avoided.
In the following, the server serial port debugging system provided by the embodiment of the present invention is introduced, and the server serial port debugging system described below and the server serial port debugging method described above may be referred to in a corresponding manner.
Fig. 3 is a block diagram of a server serial port debugging system according to an embodiment of the present invention, and referring to fig. 3, the server serial port debugging system may include a CPLD12 and an upper computer 11, where the CPLD12 is connected to a plurality of chips 13 through a plurality of receiving serial port interfaces, and the CPLD12 is connected to the upper computer 11 through a transmitting serial port interface.
The CPLD12 is used for:
and calling a plurality of serial port receiving interfaces to acquire a plurality of debugging data corresponding to the chip 13.
And adding a start keyword corresponding to the receiving serial port interface at least at the head part of the debugging data, and adding an end keyword corresponding to the receiving serial port interface at least at the tail part of the debugging data.
And calling the serial port sending interface to send the debugging data added with the start keyword and the end keyword to the upper computer 11.
The upper computer 11 is used for:
and distinguishing and displaying the debugging data according to the starting keyword and the ending keyword.
Preferably, in the embodiment of the present invention, the transmission rate of the sending serial port interface is not less than the sum of the transmission rates of all the receiving serial ports.
Preferably, in the embodiment of the present invention, the receiving serial interface is a UART serial interface.
Preferably, in the embodiment of the present invention, the sending serial port interface is connected to the upper computer 11 through a cable.
Preferably, in the embodiment of the present invention, the CPLD12 is further configured to:
and identifying the character to be identified which is the same as the starting keyword and the ending keyword in the debugging data.
And interrupting the character to be recognized, adding the ending keyword at the tail of the previous debugging data, and adding the starting keyword at the beginning of the next debugging data.
The server serial port debugging system of this embodiment is used to implement the server serial port debugging method, and therefore, the specific implementation manner in the server serial port debugging system may refer to the description of the embodiments of the foregoing server serial port debugging method, and is not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The details of the server serial port debugging method and the server serial port debugging system provided by the invention are described above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A server serial port debugging method is characterized by comprising the following steps:
calling a plurality of receiving serial port interfaces through the CPLD to obtain debugging data corresponding to a plurality of chips;
adding a start keyword corresponding to a receiving serial port interface at least at the head of the debugging data and adding an end keyword corresponding to the receiving serial port interface at least at the tail of the debugging data through the CPLD;
calling a transmitting serial port interface through the CPLD to transmit the debugging data added with the starting keywords and the ending keywords to an upper computer, and distinguishing and displaying the debugging data according to the starting keywords and the ending keywords through the upper computer.
2. The method according to claim 1, wherein the transmission rate of the transmitting serial port interface is not less than the sum of the transmission rates of all the receiving serial port interfaces.
3. The method of claim 2, wherein the receiving serial port interface is a UART serial port interface.
4. The method of claim 3, wherein the transmitting serial port interface is connected with the upper computer through a cable.
5. The method according to any one of claims 1 to 4, wherein after the debugging data corresponding to the plurality of chips is obtained by calling the plurality of receiving serial interfaces through the CPLD, the method further comprises:
identifying characters to be identified which are the same as the starting keyword and the ending keyword in the debugging data through the CPLD;
and interrupting the character to be recognized, adding the ending keyword at the tail of the previous debugging data, and adding the starting keyword at the beginning of the next debugging data.
6. A server serial port debugging system is characterized by comprising a CPLD and an upper computer, wherein the CPLD is connected with a plurality of chips through a plurality of receiving serial port interfaces and is connected with the upper computer through a transmitting serial port interface;
the CPLD is used for:
calling a plurality of serial port receiving interfaces to obtain debugging data corresponding to a plurality of chips;
adding a start keyword corresponding to a receiving serial port interface at least at the head part of the debugging data, and adding an end keyword corresponding to the receiving serial port interface at least at the tail part of the debugging data;
calling the sending serial port interface to send the debugging data added with the starting keywords and the ending keywords to the upper computer;
the upper computer is used for:
and distinguishing and displaying the debugging data according to the starting keyword and the ending keyword.
7. The system according to claim 6, wherein the transmission rate of the transmitting serial port interface is not less than the sum of the transmission rates of all the receiving serial port interfaces.
8. The system of claim 7, wherein the receiving serial port interface is a UART serial port interface.
9. The system of claim 8, wherein the transmitting serial port interface is connected to the upper computer through a cable.
10. The system according to any one of claims 6 to 9, wherein said CPLD is further configured to:
identifying characters to be identified which are the same as the starting keywords and the ending keywords in the debugging data;
and interrupting the character to be recognized, adding the ending keyword at the tail of the previous debugging data, and adding the starting keyword at the beginning of the next debugging data.
CN202010850162.XA 2020-08-21 2020-08-21 Server serial port debugging method and system Pending CN112000534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010850162.XA CN112000534A (en) 2020-08-21 2020-08-21 Server serial port debugging method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010850162.XA CN112000534A (en) 2020-08-21 2020-08-21 Server serial port debugging method and system

Publications (1)

Publication Number Publication Date
CN112000534A true CN112000534A (en) 2020-11-27

Family

ID=73473053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010850162.XA Pending CN112000534A (en) 2020-08-21 2020-08-21 Server serial port debugging method and system

Country Status (1)

Country Link
CN (1) CN112000534A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357077A (en) * 2015-11-24 2016-02-24 上海斐讯数据通信技术有限公司 Device and method for processing serial port data of multiple devices
CN105846909A (en) * 2016-03-17 2016-08-10 海信集团有限公司 Acoustic wave signal sending and receiving method and device, and system thereof
CN107645647A (en) * 2017-09-21 2018-01-30 京信通信系统(中国)有限公司 A kind of multichannel audio-video frequency transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357077A (en) * 2015-11-24 2016-02-24 上海斐讯数据通信技术有限公司 Device and method for processing serial port data of multiple devices
CN105846909A (en) * 2016-03-17 2016-08-10 海信集团有限公司 Acoustic wave signal sending and receiving method and device, and system thereof
CN107645647A (en) * 2017-09-21 2018-01-30 京信通信系统(中国)有限公司 A kind of multichannel audio-video frequency transmission method and device

Similar Documents

Publication Publication Date Title
US20070113133A1 (en) System and method for testing a serial port
CN100511171C (en) Test approach for debugging serial port function with single board and system thereof
CN112732636B (en) Configuration method, device and equipment of chip prototype verification system based on multiple FPGAs
CN107168834A (en) Method and device for detecting computer startup fault
CN115686910A (en) Fault analysis method and device, electronic equipment and medium
CN106126465A (en) A kind of data transmission method and device
CN109582320A (en) Write yard method and terminal device
CN112000534A (en) Server serial port debugging method and system
CN109032867A (en) A kind of method for diagnosing faults, device and equipment
US20090216517A1 (en) Dedicated simulator for testing a usb host solution
CN115729872A (en) Computing device and detection method for PCIE cable connection
Dessy Computer networking: a rational approach to lab automation
CN108763053A (en) Bury the generation method and terminal device of a title
CN113778796A (en) Method for monitoring serial port communication through USB
CN115033451A (en) Data generation method, data processing device, electronic device, and medium
CN113660635A (en) Connection method, connection device, electronic apparatus, storage medium, and program product
CN112559478B (en) Log generation method and device, terminal equipment and storage medium
CN110909171B (en) Data scheduling method, device, terminal and storage medium
CN115412346B (en) Message detection method and device, electronic equipment and storage medium
CN214375899U (en) Device for maintaining field PROFIBUS instrument
CN115643223B (en) Interrupt signal transmission method and device
CN112565271B (en) Web attack detection method and device
CN112000579B (en) Software interface testing method, system, equipment and medium
CN114647631A (en) Log query method, device and equipment based on secure shell protocol terminal
CN114048163A (en) Python-based serial port debugging method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination