CN116069391A - Pin state reading method, device, equipment and medium of CPLD - Google Patents

Pin state reading method, device, equipment and medium of CPLD Download PDF

Info

Publication number
CN116069391A
CN116069391A CN202211447023.8A CN202211447023A CN116069391A CN 116069391 A CN116069391 A CN 116069391A CN 202211447023 A CN202211447023 A CN 202211447023A CN 116069391 A CN116069391 A CN 116069391A
Authority
CN
China
Prior art keywords
pin state
programmable logic
complex programmable
logic device
equipment
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
CN202211447023.8A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211447023.8A priority Critical patent/CN116069391A/en
Publication of CN116069391A publication Critical patent/CN116069391A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/3004Arrangements for executing specific machine instructions to perform operations on memory
    • G06F9/30047Prefetch instructions; cache control instructions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a pin state reading method of a complex programmable logic device, which relates to the technical field of computers and comprises the following steps: transmitting a pin state reading instruction aiming at the complex programmable logic device to first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function; and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction. That is, the pin state of the complex programmable logic device can be read in a wireless communication mode without changing the complex programmable logic device, and the convenience of reading the pin state is improved. In addition, the application also provides a pin state reading device, equipment and medium of the complex programmable logic device, and the technical effects of the device correspond to those of the method.

Description

Pin state reading method, device, equipment and medium of CPLD
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for reading pin states of a complex programmable logic device.
Background
Servers are very widely used and applied in modern times, and each server is internally provided with a complex programmable logic device (CPLD, complex Programmable Logic Device) for power supply time sequence control and other peripheral functions. The pin detection of the CPLD needs to directly measure the board end by means of an oscilloscope, or a debug logic circuit is packaged in the CPLD and then read out by a fixture of the CPLD, as shown in fig. 1. This is more difficult for non-CPLD engineers to operate.
Therefore, how to realize the reading of the pin state of the complex programmable logic device without changing the complex programmable logic device so as to improve the convenience of reading the pin state is a problem to be solved in the field.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, an apparatus, a device and a medium for reading a pin state of a complex programmable logic device, which can realize reading of the pin state of the complex programmable logic device without changing the complex programmable logic device, so as to improve convenience of reading the pin state, and the specific scheme is as follows:
in a first aspect, the present application discloses a pin state reading method of a complex programmable logic device, including:
transmitting a pin state reading instruction aiming at the complex programmable logic device to first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function;
and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction.
Optionally, the sending, to the first device, a pin state reading instruction for the complex programmable logic device includes:
and sending a pin state reading instruction aiming at the complex programmable logic device to the target micro-control unit.
Optionally, the sending, to the first device, a pin state reading instruction for the complex programmable logic device includes:
and sending a pin state reading instruction aiming at the complex programmable logic device to the target system-in-chip.
Optionally, the acquiring the pin state information of the complex programmable logic device read by the first device after receiving the pin state reading instruction includes:
and acquiring the pin state information of the complex programmable logic device read by the first equipment in a preset mode after receiving the pin state reading instruction.
Optionally, after the obtaining the pin state information of the complex programmable logic device read by the first device through a preset manner after receiving the pin state reading instruction includes:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through a serial peripheral interface after receiving the pin state reading instruction.
Optionally, after the obtaining the pin state information of the complex programmable logic device read by the first device through a preset manner after receiving the pin state reading instruction includes:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through the SGPIO interface after receiving the pin state reading instruction.
Optionally, the sending, by a bluetooth wireless communication manner, a pin status reading instruction for the complex programmable logic device to the first device includes:
and sending a pin state reading instruction aiming at the complex programmable logic device to the first equipment through the Bluetooth wireless communication function in the second equipment.
In a second aspect, the present application discloses a pin state reading apparatus for a complex programmable logic device, including:
the pin state reading instruction sending module is used for sending a pin state reading instruction aiming at the complex programmable logic device to the first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function;
and the pin state acquisition module is used for acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction.
In a third aspect, the present application discloses an electronic device comprising:
a memory for storing a computer program;
and a processor for executing the computer program to implement the pin state reading method of the complex programmable logic device disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by the processor, implements the pin state reading method of the complex programmable logic device disclosed above.
It can be seen that the present application proposes a pin state reading method of a complex programmable logic device, including: transmitting a pin state reading instruction aiming at the complex programmable logic device to first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function; and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction. That is, the complex programmable logic device is not required to be changed, wiring and oscilloscope connection are not required, a debug logic circuit is not required to be arranged in the complex programmable logic device, and the reading of the pin state of the complex programmable logic device can be realized in a wireless communication mode, so that the convenience of reading the pin state is improved. In addition, the application also provides a pin state reading device, equipment and medium of the complex programmable logic device, and the technical effects of the device correspond to those of the method.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a conventional pin state reading method of a complex programmable logic device;
FIG. 2 is a flow chart of a method for reading pin states of a complex programmable logic device disclosed in the present application;
FIG. 3 is a flowchart of a pin state reading method for a specific complex programmable logic device disclosed in the present application;
FIG. 4 is a flowchart of a pin state reading method for a specific complex programmable logic device disclosed in the present application;
FIG. 5 is a flowchart of a pin state reading method for a specific complex programmable logic device disclosed in the present application;
FIG. 6 is a schematic diagram of a pin status reading device of a complex programmable logic device disclosed in the present application;
fig. 7 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Servers are very widely used and applied in modern times, and each server is internally provided with a complex programmable logic device CPLD for power supply time sequence control and other peripheral functions. The pin detection of the CPLD needs to directly measure the board end by means of an oscilloscope, or a debug logic circuit is packaged in the CPLD and then read out by a fixture of the CPLD, so that the operation difficulty is high for non-CPLD engineering personnel.
Therefore, the embodiment of the application provides a pin state reading scheme of a complex programmable logic device, which can realize the reading of the pin state of the complex programmable logic device under the condition that the complex programmable logic device is not required to be changed, so as to improve the convenience of the pin state reading.
The embodiment of the application discloses a pin state reading method of a complex programmable logic device, which is shown in fig. 2 and comprises the following steps:
step S11: transmitting a pin state reading instruction aiming at the complex programmable logic device to first equipment in a Bluetooth wireless communication mode; the first device has a Bluetooth wireless communication function.
In this embodiment, a pin status reading instruction for a complex programmable logic device is sent to a first device through a bluetooth wireless communication mode; the first device has a Bluetooth wireless communication function.
In a specific embodiment, the first device may be a target micro control unit (MCU, microcontroller Unit), that is, send a pin status reading instruction for a complex programmable logic device to the target micro control unit through a bluetooth wireless communication manner; in another specific embodiment, the first device may be a target system-on-chip, that is, send a pin status reading instruction for the complex programmable logic device to the target system-on-chip through a bluetooth wireless communication manner. It should be noted that, the target micro control unit and the target system-in-chip all have bluetooth wireless communication function, and in addition, the application also supports other devices with bluetooth wireless communication function, which is not described in detail herein.
Step S12: and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction.
It should be noted that, after receiving the pin state reading instruction, the first device reads the pin state information of the complex programmable logic device according to the pin state reading instruction. After receiving the pin state reading instruction, the obtaining the pin state information of the complex programmable logic device, which is read by the first device, may specifically include: and acquiring the pin state information of the complex programmable logic device read by the first equipment in a preset mode after receiving the pin state reading instruction. In a specific embodiment, the preset manner is reading through a serial peripheral interface (SPI, serial Peripheral Interface), that is, the pin status information of the complex programmable logic device read through the serial peripheral interface by the first device after receiving the pin status reading instruction is obtained. In another specific embodiment, the preset manner is reading through an SGPIO interface, that is, acquiring pin state information of the complex programmable logic device read through the SGPIO interface after the first device receives the pin state reading instruction. In summary, the method and the device do not need to change the complex programmable logic device, do not need to connect wires and oscilloscopes, and do not need to set a debug logic circuit in the complex programmable logic device, but can read the pin state of the complex programmable logic device in a wireless communication mode, so that the convenience of reading the pin state is improved.
It can be seen that the present application proposes a pin state reading method of a complex programmable logic device, including: transmitting a pin state reading instruction aiming at the complex programmable logic device to first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function; and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction. That is, the complex programmable logic device is not required to be changed, wiring and oscilloscope connection are not required, a debug logic circuit is not required to be arranged in the complex programmable logic device, and the reading of the pin state of the complex programmable logic device can be realized in a wireless communication mode, so that the convenience of reading the pin state is improved. In addition, the pin state reading device, the pin state reading equipment and the pin state reading medium for the complex programmable logic device have the technical effects corresponding to those of the method.
The embodiment of the application discloses a pin state reading method of a specific complex programmable logic device, and compared with the previous embodiment, the embodiment further describes and optimizes the technical scheme. Referring to fig. 3, the method specifically includes:
step S21: and sending a pin state reading instruction aiming at the complex programmable logic device to the first equipment through the Bluetooth wireless communication function in the second equipment.
In this embodiment, the second device has a bluetooth wireless communication function, and sends a pin status reading instruction for the complex programmable logic device to the first device through the bluetooth wireless communication function in the second device; the second device is an external device with a Bluetooth wireless communication function, such as a mobile phone, a tablet and the like; the first device may be a target micro-control unit, or may be a target system-in-chip, that is, the pin state reading instruction for the complex programmable logic device is sent to the target micro-control unit through the bluetooth wireless communication function in the second device, or the pin state reading instruction for the complex programmable logic device is sent to the target system-in-chip through the bluetooth wireless communication function in the second device. The target micro control unit and the target system-level chip both have a bluetooth wireless communication function, and in addition, the application also supports other first devices with bluetooth wireless communication functions, which are not described in detail herein.
Step S22: and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction.
It should be noted that, after receiving the pin state reading instruction, the first device reads the pin state information of the complex programmable logic device according to the pin state reading instruction. After receiving the pin state reading instruction, the obtaining the pin state information of the complex programmable logic device, which is read by the first device, specifically includes: and acquiring the pin state information of the complex programmable logic device read by the first equipment in a preset mode after receiving the pin state reading instruction. In a specific embodiment, the preset manner is reading through a serial peripheral interface, that is, acquiring the pin state information of the complex programmable logic device read through the serial peripheral interface after the first device receives the pin state reading instruction. In another specific embodiment, the preset manner is reading through an SGPIO interface, that is, acquiring pin state information of the complex programmable logic device read through the SGPIO interface after the first device receives the pin state reading instruction. In summary, the method and the device do not need to change the complex programmable logic device, do not need to connect wires and oscilloscopes, and do not need to set a debug logic circuit in the complex programmable logic device, but can read the pin state of the complex programmable logic device in a wireless communication mode, so that the convenience of reading the pin state is improved.
Referring to fig. 4 and fig. 5, it can be known that, in the present application, an MCU with bluetooth is externally added to the CPLD and is connected to an external mobile device, so that after receiving a pin state reading instruction for a complex programmable logic device sent by the external mobile device, the CPLD transmits the pin state to the MCU through the SPI, and the MCU sends the pin state to the external mobile device through bluetooth, so that the pin state of the complex programmable logic device can be read, that is, the complex programmable logic device does not need to be modified, and a debug logic circuit is not required to be set in the complex programmable logic device, but the pin state of the complex programmable logic device can be read through a wireless communication manner, thereby improving the convenience of pin state reading.
It can be seen that the present application proposes a pin state reading method of a complex programmable logic device, including: transmitting a pin state reading instruction aiming at the complex programmable logic device to the first equipment through a Bluetooth wireless communication function in the second equipment; and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction. That is, the complex programmable logic device is not required to be changed, wiring and oscilloscope connection are not required, a debug logic circuit is not required to be arranged in the complex programmable logic device, and the reading of the pin state of the complex programmable logic device can be realized in a wireless communication mode, so that the convenience of reading the pin state is improved. In addition, the pin state reading device, the pin state reading equipment and the pin state reading medium for the complex programmable logic device have the technical effects corresponding to those of the method.
Correspondingly, the embodiment of the application also discloses a pin state reading device of the complex programmable logic device, and referring to fig. 6, the device comprises:
the pin state reading instruction sending module 11 is configured to send a pin state reading instruction for the complex programmable logic device to the first device through a bluetooth wireless communication manner; the first equipment has a Bluetooth wireless communication function;
in this embodiment, a pin status reading instruction for a complex programmable logic device is sent to a first device through a bluetooth wireless communication mode; the first device has a Bluetooth wireless communication function.
In a specific embodiment, the first device may be a target micro control unit, that is, send, by means of bluetooth wireless communication, a pin status reading instruction for the complex programmable logic device to the target micro control unit; in another specific embodiment, the first device may be a target system-on-chip, that is, send a pin status reading instruction for the complex programmable logic device to the target system-on-chip through a bluetooth wireless communication manner. It should be noted that, the target micro control unit and the target system-in-chip all have bluetooth wireless communication function, and in addition, the application also supports other devices with bluetooth wireless communication function, which is not described in detail herein.
And the pin state acquisition module 12 is configured to acquire the pin state information of the complex programmable logic device read by the first device after receiving the pin state reading instruction.
It should be noted that, after receiving the pin state reading instruction, the first device reads the pin state information of the complex programmable logic device according to the pin state reading instruction. After receiving the pin state reading instruction, the obtaining the pin state information of the complex programmable logic device, which is read by the first device, specifically includes: and acquiring the pin state information of the complex programmable logic device read by the first equipment in a preset mode after receiving the pin state reading instruction. In a specific embodiment, the preset manner is reading through a serial peripheral interface (SPI, serial Peripheral Interface), that is, the pin status information of the complex programmable logic device read through the serial peripheral interface by the first device after receiving the pin status reading instruction is obtained. In another specific embodiment, the preset manner is reading through an SGPIO interface, that is, acquiring pin state information of the complex programmable logic device read through the SGPIO interface after the first device receives the pin state reading instruction. In summary, the method and the device do not need to change the complex programmable logic device, do not need to connect wires and oscilloscopes, and do not need to set a debug logic circuit in the complex programmable logic device, but can read the pin state of the complex programmable logic device in a wireless communication mode, so that the convenience of reading the pin state is improved.
It can be seen that the present application proposes a pin state reading apparatus for a complex programmable logic device, comprising: the pin state reading instruction sending module is used for sending a pin state reading instruction aiming at the complex programmable logic device to the first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function; and the pin state acquisition module is used for acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction. That is, the complex programmable logic device is not required to be changed, wiring and oscilloscope connection are not required, a debug logic circuit is not required to be arranged in the complex programmable logic device, and the reading of the pin state of the complex programmable logic device can be realized in a wireless communication mode, so that the convenience of reading the pin state is improved.
In some specific embodiments, the pin status reading instruction sending module 11 may specifically include:
and the pin state reading instruction sending unit is used for sending the pin state reading instruction aiming at the complex programmable logic device to the target micro control unit.
In some specific embodiments, the pin status reading instruction sending module 11 may specifically include:
and the pin state reading instruction sending unit is used for sending the pin state reading instruction aiming at the complex programmable logic device to the target system-in-chip.
In some specific embodiments, the pin status acquisition module 12 may specifically include:
the pin state acquisition unit is used for acquiring the pin state information of the complex programmable logic device read in a preset mode after the first equipment receives the pin state reading instruction.
In some specific embodiments, the pin status acquisition unit may specifically be configured to:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through a serial peripheral interface after receiving the pin state reading instruction.
In some specific embodiments, the pin status acquisition unit may specifically be configured to:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through the SGPIO interface after receiving the pin state reading instruction.
In some specific embodiments, the pin status reading instruction sending module 11 may specifically include:
and the pin state reading instruction sending unit is used for sending the pin state reading instruction aiming at the complex programmable logic device to the first equipment through the Bluetooth wireless communication function in the second equipment.
Further, the embodiment of the application also provides electronic equipment. Fig. 7 is a block diagram of an electronic device 20, according to an exemplary embodiment, and the contents of the diagram should not be construed as limiting the scope of use of the present application in any way.
Fig. 7 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 for realizing the following steps:
transmitting a pin state reading instruction aiming at the complex programmable logic device to first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function;
and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and sending a pin state reading instruction aiming at the complex programmable logic device to the target micro-control unit.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and sending a pin state reading instruction aiming at the complex programmable logic device to the target system-in-chip.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and acquiring the pin state information of the complex programmable logic device read by the first equipment in a preset mode after receiving the pin state reading instruction.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through a serial peripheral interface after receiving the pin state reading instruction.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through the SGPIO interface after receiving the pin state reading instruction.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and sending a pin state reading instruction aiming at the complex programmable logic device to the first equipment through the Bluetooth wireless communication function in the second equipment.
In this embodiment, the power supply 26 is used to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 24 is used for obtaining external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application needs, which is not limited herein.
The memory 22 may be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like, and the resources stored thereon may include the computer program 221, which may be stored in a temporary or permanent manner. The computer program 221 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the pin state reading method of the complex programmable logic device executed by the electronic device 20 as disclosed in any of the foregoing embodiments.
Further, the embodiment of the application also discloses a computer readable storage medium for storing a computer program; wherein the computer program, when executed by the processor, implements the pin state reading method of the complex programmable logic device disclosed above.
For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In this application, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts between the embodiments refer to the devices disclosed in the embodiments, so that the description is relatively simple because it corresponds to the method disclosed in the embodiments, and the relevant parts refer to the description of the method section.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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 application.
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. The software modules may be disposed 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 is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The pin state reading method, device, equipment and storage medium of the complex programmable logic device provided by the application are described in detail, and specific examples are applied to illustrate the principle and implementation of the application, and the description of the above examples is only used for helping to understand the method and core ideas of the application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A method for reading pin states of a complex programmable logic device, comprising:
transmitting a pin state reading instruction aiming at the complex programmable logic device to first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function;
and acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction.
2. The method for reading the pin state of the complex programmable logic device according to claim 1, wherein the sending the pin state reading instruction for the complex programmable logic device to the first device includes:
and sending a pin state reading instruction aiming at the complex programmable logic device to the target micro-control unit.
3. The method for reading the pin state of the complex programmable logic device according to claim 1, wherein the sending the pin state reading instruction for the complex programmable logic device to the first device includes:
and sending a pin state reading instruction aiming at the complex programmable logic device to the target system-in-chip.
4. The method for reading the pin state of the complex programmable logic device according to claim 1, wherein the obtaining the pin state information of the complex programmable logic device read by the first device after receiving the pin state reading instruction includes:
and acquiring the pin state information of the complex programmable logic device read by the first equipment in a preset mode after receiving the pin state reading instruction.
5. The method for reading the pin state of the complex programmable logic device according to claim 4, wherein the obtaining the pin state information of the complex programmable logic device, which is read by the first device through a preset manner after receiving the pin state reading instruction, includes:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through a serial peripheral interface after receiving the pin state reading instruction.
6. The method for reading the pin state of the complex programmable logic device according to claim 4, wherein the obtaining the pin state information of the complex programmable logic device, which is read by the first device through a preset manner after receiving the pin state reading instruction, includes:
and acquiring the pin state information of the complex programmable logic device read by the first equipment through the SGPIO interface after receiving the pin state reading instruction.
7. The method for reading the pin state of the complex programmable logic device according to any one of claims 1 to 6, wherein the sending, by bluetooth wireless communication, the pin state reading instruction for the complex programmable logic device to the first device includes:
and sending a pin state reading instruction aiming at the complex programmable logic device to the first equipment through the Bluetooth wireless communication function in the second equipment.
8. A pin state reading apparatus for a complex programmable logic device, comprising:
the pin state reading instruction sending module is used for sending a pin state reading instruction aiming at the complex programmable logic device to the first equipment in a Bluetooth wireless communication mode; the first equipment has a Bluetooth wireless communication function;
and the pin state acquisition module is used for acquiring the pin state information of the complex programmable logic device read by the first equipment after receiving the pin state reading instruction.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the pin state reading method of the complex programmable logic device as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the pin state reading method of the complex programmable logic device as claimed in any one of claims 1 to 7.
CN202211447023.8A 2022-11-18 2022-11-18 Pin state reading method, device, equipment and medium of CPLD Pending CN116069391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211447023.8A CN116069391A (en) 2022-11-18 2022-11-18 Pin state reading method, device, equipment and medium of CPLD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211447023.8A CN116069391A (en) 2022-11-18 2022-11-18 Pin state reading method, device, equipment and medium of CPLD

Publications (1)

Publication Number Publication Date
CN116069391A true CN116069391A (en) 2023-05-05

Family

ID=86177737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211447023.8A Pending CN116069391A (en) 2022-11-18 2022-11-18 Pin state reading method, device, equipment and medium of CPLD

Country Status (1)

Country Link
CN (1) CN116069391A (en)

Similar Documents

Publication Publication Date Title
CN107592238B (en) Automatic test method and system of interface, service terminal and memory
CN107907814B (en) Method for improving mass production test efficiency of chips
CN108415741B (en) Object serialization and deserialization method and related device
US11074157B2 (en) Splicing screen debugging method, splicing screen and splicing wall
CN103516557A (en) Method and system for testing
CN110287093A (en) Mobile terminal, data-interface test method and storage medium
CN110502464A (en) A kind of hot-swappable processing method, device, equipment, system and readable storage medium storing program for executing
CN106844277B (en) Server and information transmission method thereof
CN113946480A (en) Detection device and method for I2C bus
CN114548027A (en) Method for tracking signal in verification system, electronic device and storage medium
CN109862083A (en) A kind of Activiation method of internet of things equipment, device and equipment
CN116069391A (en) Pin state reading method, device, equipment and medium of CPLD
CN114443537B (en) PCIE signal transmitting end parameter configuration method, device, equipment and medium
CN113824613B (en) Network reliability test method, test system and storage medium
CN205247119U (en) Gradual signal real -time supervision device of low frequency
CN117009155A (en) High-bandwidth memory test method, high-bandwidth memory, electronic device and storage medium
CN104461904A (en) Method and device for testing mobile terminal
CN111736654B (en) Clock model implementation method and device, computer equipment and storage medium
CN113064833A (en) Single chip microcomputer simulation method, system, device, equipment and storage medium
CN113259389A (en) Protocol switching method and system for guide rail meter
CN106452838A (en) USB equipment simulation device and method
CN206312120U (en) A kind of mobile device software update apparatus
CN109597787B (en) SIO UART configuration method, system, device and readable storage medium
CN113094278B (en) Method, device, equipment and computer readable storage medium for debugging mobile terminal
CN201967064U (en) PAL-mode video signals generator

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