CN107844449A - The method and system of platform processes of soaring communication protocol - Google Patents
The method and system of platform processes of soaring communication protocol Download PDFInfo
- Publication number
- CN107844449A CN107844449A CN201610834623.8A CN201610834623A CN107844449A CN 107844449 A CN107844449 A CN 107844449A CN 201610834623 A CN201610834623 A CN 201610834623A CN 107844449 A CN107844449 A CN 107844449A
- Authority
- CN
- China
- Prior art keywords
- cpu
- signal
- protocol ports
- lpc
- start bit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4221—Bus 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
The invention provides a kind of method and system for platform processes communication protocol of soaring, it is related to platform communications protocol technical field of soaring.This method includes:Whether the detection signal that CPU LPC protocol ports output is monitored by the CPLD being connected between CPU and TCM equipment is low level;If the detection signal of LPC protocol ports output is low level, force the data-signal in LPC protocol ports being arranged to default start bit signal;Start bit signal is sent to TCM equipment, CPU is established normal communication connection with TCM equipment.The present invention by CPU and TCM equipment rooms by adding CPLD so that the start bit of CPU and TCM equipment is compatible, can effectively be communicated to connect, and sets simple and fast, and cost is cheap, the use range being communicatively coupled beneficial to expansion CPU and existing equipment.
Description
Technical field
The invention belongs to platform communications protocol technical field of soaring, more particularly to a kind of platform processes communication protocol of soaring
Method and system.
Background technology
Communication protocol (LPC, I2C, UART etc.) all has developed into ripe at present, but some inter-protocol information be by
Equipment vendors consult definition, if LPC (Low Pin Count, low pin interface, is that Intel was announced on the 29th in September in 1997
A traditional ISA BUS of substitution a kind of new interface specification, and in a manner of the mandate that opens for free, for industry use)
Start bit 0100-1100 (Reserved positions), some equipment vendors oneself can also be defined to start bit, such as TCM
(Tightly Coupled Memories, close coupling internal memory) manufacturer defines, and only start bit is 0101 ability proper communication, and
CPU (Central Processing Unit, central processing unit) is held when LPC module is handled, and can typically be retained
Reserved positions, that is, can not to send 0101 this section of binary code be start bit at the CPU ends for platform of soaring.So
The CPU of TCM equipment and platform of soaring is just because the problem of can not communicating occurs in start bit.
Above mentioned problem is urgently to be resolved hurrily.
The content of the invention
For the CPU of existing TCM equipment and platform of soaring because the problem of can not communicating occurs in start bit, the present invention provides one
The method and system that kind passes through browser remote control router.
The present invention provides a kind of method for platform processes communication protocol of soaring, including:
The detecting that the LPC protocol ports output of the CPU is monitored by the CPLD being connected between CPU and TCM equipment is believed
Number whether it is low level;
If the detection signal of the LPC protocol ports output is low level, force the number in the LPC protocol ports
It is believed that number being arranged to default start bit signal;
The start bit signal is sent to the TCM equipment, the CPU is established with the TCM equipment normal logical
Letter connection.
Preferably, the LPC protocol ports specifically export three kinds of signals, including:
Clock signal for timing, the detection signal for output level and for exporting with start bit signal
Data-signal.
Preferably, if the detection signal of LPC protocol ports output is low level, force in the detection signal
LAD be arranged to also include after default start bit signal:
The detection signal of the LPC protocol ports output is high level, then continues to monitor.
Preferably, if the detection signal of LPC protocol ports output is low level, force the LPC agreements end
Data-signal in mouthful is arranged to default start bit signal and specifically included:
The LPC protocol ports of the CPU are monitored, if the LPC protocol ports are low level, by the CPLD's
The start bit signal that start bit signal line carries is forced to be arranged to 0101.
Preferably, it is described that TCM start bits signal is sent to the TCM equipment, start the CPU and the TCM
Also include after the normal communication of equipment:
The LPC protocol ports are arranged to high level after data transfer between CPU completions and the TCM equipment, then
The CPLD continues to monitor the LPC protocol ports.
The present invention also provides a kind of system for platform processes communication protocol of soaring, including:
Monitoring modular, the LPC protocol ports of the CPU are monitored for the CPLD by being connected between CPU and TCM equipment
Whether the detection signal of output is low level;
Setup module, if the detection signal for LPC protocol ports output is low level, force the LPC
Data-signal in protocol port is arranged to default start bit signal;
Link block is established, for the start bit signal to be sent to the TCM equipment, makes the CPU and the TCM
Equipment establishes normal communication connection.
Preferably, the LPC protocol ports specifically export three kinds of signals, including:
Clock signal for timing, the detection signal for output level and for exporting with start bit signal
Data-signal.
Preferably, the system also includes:
High level monitoring modular, if the detection signal for LPC protocol ports output is high level, continue to supervise
Survey.
Preferably, the setup module is specifically used for:
The LPC protocol ports of the CPU are monitored, if the LPC protocol ports are low level, by the CPLD's
The start bit signal that start bit signal line carries is forced to be arranged to 0101.
Preferably, the system also includes:
High level module is set, completed the LPC agreements for CPU after data transfer between the TCM equipment
Port is arranged to high level, then the CPLD continues to monitor the LPC protocol ports.
Beneficial effect:The present invention by CPU and TCM equipment rooms by adding CPLD so that the start bit of CPU and TCM equipment
It compatibility, can effectively be communicated to connect, simple and fast is set, cost is cheap, is communicated beneficial to expansion CPU and existing equipment
The use range of connection.
Brief description of the drawings
Fig. 1 is the specific implementation flow chart of the method for platform processes communication protocol provided in an embodiment of the present invention of soaring;
Fig. 2 is the port connection diagram of the method for the platform processes communication protocol of soaring that Fig. 1 is provided;
Fig. 3 is the specific implementation flow of the method for the platform processes communication protocol of soaring that another embodiment of the present invention provides
Figure;
Fig. 4 is the specific implementation flow of the method for the platform processes communication protocol of soaring that another embodiment of the present invention provides
Figure;
Fig. 5 is the schematic block diagram of the system of platform processes communication protocol provided in an embodiment of the present invention of soaring;
Fig. 6 is the schematic block diagram of the system of platform processes communication protocol provided in an embodiment of the present invention of soaring.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the specific implementation flow chart of the method for platform processes communication protocol provided in an embodiment of the present invention of soaring.Ginseng
As shown in Figure 1, the method for the platform processes communication protocol of soaring that the present embodiment provides may comprise steps of:
S100, detecing of monitoring by the CPLD that is connected between CPU and TCM equipment that the LPC protocol ports of the CPU export
Survey whether signal is low level;
Specifically, CPU with TCM equipment is different because of default start bit, it is difficult to directly carries out communication connection.CPLD is added two
To both unified communication start bits among person.
Fig. 2 is the port connection diagram of the method for the platform processes communication protocol of soaring that Fig. 1 is provided;It is as shown in Fig. 2 excellent
Choosing, the LPC protocol ports specifically export three kinds of signals, including:
Clock signal for timing, the detection signal for output level and for exporting with start bit signal
Data-signal.Specifically, by needing the three kinds of signals to communicate between CPLD connection CPU and TCM equipment, can effectively get
The status information that CPU is sent, to realize CPU and TCM equipment rooms communication.
If the detection signal of S200, the LPC protocol ports output is low level, force the LPC protocol ports
In data-signal be arranged to default start bit signal;
Specifically, CPLD can be that LFRAME# positions are monitored to the specific detection signal of LPC protocol ports, work as discovery
When LFRAME# is low level, force data-signal namely LAD signals [3:0] be arranged to 0101 and send this information to
TCM equipment.The start bit signal that the start bit signal line of the CPLD carries is forced to be arranged to 0101, to be adapted to TCM
The start bit 0101. of the device definition data can flexibly change according to the different of the start bit of TCM equipment positioning, to expand
The scope of application of CPU platforms.
S300, the start bit signal sent to the TCM equipment, the CPU is established with the TCM equipment normal
Communication connection.
Specifically, when TCM equipment receives the start bit signal line information of the renewal from CPLD, being considered as this is
The start bit signal that CPU is sent, thus it can carry out proper communication with CPU.
As can be seen from the above-described embodiment, the method that the embodiment of the present invention proposes is by the way that CPU and TCM equipment rooms are added
CPLD so that the start bit of CPU and TCM equipment is compatible, can effectively be communicated to connect, and sets simple and fast, and cost is cheap,
The use range being communicatively coupled beneficial to expansion CPU and existing equipment.
Fig. 3 is the specific implementation flow of the method for the platform processes communication protocol of soaring that another embodiment of the present invention provides
Figure;If as shown in figure 3, the detection signal for the LPC protocol ports output that the present embodiment proposes is low level, force institute
The LAD in detection signal is stated to be arranged to include after default start bit signal:
S400, the detection signal of LPC protocol ports output are high level, then continue to monitor.
Relative to a upper embodiment, listed in the present embodiment when LPC protocol ports output detection signal is high level
Situation, CPU output detection signals are that high level is meaned that moment CPU with TCM need not be transmitted data and carry out communication and is connected,
And the moment carries out the preparation that CPU and TCM starts communication connection.
Fig. 4 is the specific implementation flow of the method for the platform processes communication protocol of soaring that another embodiment of the present invention provides
Figure;As shown in figure 4, the present embodiment propose it is described TCM start bits signal is sent to the TCM equipment, described in startup
CPU after the normal communication of the TCM equipment with that can also include:
S500, CPU are completed the LPC protocol ports are arranged into high electric after the data transfer between the TCM equipment
Flat, then the CPLD continues to monitor the LPC protocol ports.
Relative to a upper embodiment, if CPU and TCM equipment are just in the communications, but CPU next instruction does not need and TCM
Equipment is communicated, then the LPC protocol ports are arranged to high level by CPU, and now CPLD can be according to the electricity of LPC protocol ports
Position situation carries out judging the transmission for stopping data, and carries out the preparation for continuing communication connection, quickness and high efficiency.
Fig. 5 is the schematic block diagram of the system of platform processes communication protocol provided in an embodiment of the present invention of soaring;In order to just
In explanation, part related to the present invention illustrate only.
As shown in figure 5, the system of platform processes communication protocol provided in an embodiment of the present invention of soaring, can include:
Monitoring modular 100, the LPC agreements of the CPU are monitored for the CPLD by being connected between CPU and TCM equipment
Whether the detection signal of port output is low level;
Preferably, the LPC protocol ports specifically export three kinds of signals, including:
Clock signal for timing, the detection signal for output level and for exporting with start bit signal
Data-signal.
Setup module 200, if the detection signal for LPC protocol ports output is low level, force by described in
Data-signal in LPC protocol ports is arranged to default start bit signal;
Preferably, the setup module is specifically used for:
The LPC protocol ports of the CPU are monitored, if the LPC protocol ports are low level, by the CPLD's
The start bit signal that start bit signal line carries is forced to be arranged to 0101.
Establish link block 300, for the start bit signal to be sent to the TCM equipment, make the CPU with it is described
TCM equipment establishes normal communication connection.
Fig. 6 is the schematic block diagram of the system of platform processes communication protocol provided in an embodiment of the present invention of soaring;Such as Fig. 6 institutes
Show, relative to a upper embodiment, the system for the platform processes communication protocol of soaring that another embodiment of the present invention provides can also wrap
Include:
High level monitoring modular 400, if the detection signal for LPC protocol ports output is high level, continue
Monitoring.
Relative to a upper embodiment, the present invention also proposes another embodiment, and system can also include described in the embodiment:
High level module is set, completed the LPC agreements for CPU after data transfer between the TCM equipment
Port is arranged to high level, then the CPLD continues to monitor the LPC protocol ports.
It should be noted that modules in said system provided in an embodiment of the present invention, due to real with the inventive method
Apply example and be based on same design, its technique effect brought is identical with the inventive method embodiment, and particular content can be found in the present invention
Narration in embodiment of the method, here is omitted.
Therefore, it can be seen that system provided in an embodiment of the present invention again may be by adding CPU and TCM equipment rooms
CPLD so that the start bit of CPU and TCM equipment is compatible, can effectively be communicated to connect, and sets simple and fast, and cost is cheap,
The use range being communicatively coupled beneficial to expansion CPU and existing equipment.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (10)
- A kind of 1. method for platform processes communication protocol of soaring, it is characterised in that including:The detection signal of the LPC protocol ports output of the CPU is monitored by the CPLD being connected between CPU and TCM equipment is No is low level;If the detection signal of the LPC protocol ports output is low level, force to believe the data in the LPC protocol ports Number it is arranged to default start bit signal;The start bit signal is sent to the TCM equipment, the CPU is established normal communication link with the TCM equipment Connect.
- 2. the method as described in claim 1, it is characterised in that the LPC protocol ports specifically export three kinds of signals, including:Clock signal for timing, the detection signal for output level and the data that start bit signal is carried for exporting Signal.
- 3. the method as described in claim 1, it is characterised in that if the detection signal of LPC protocol ports output is low electricity It is flat, then force to be arranged to also include after default start bit signal by the LAD in the detection signal:The detection signal of the LPC protocol ports output is high level, then continues to monitor.
- 4. the method as described in claim 1, it is characterised in that if the detection signal of LPC protocol ports output is low electricity It is flat, then force the data-signal in the LPC protocol ports being arranged to default start bit signal to specifically include:The LPC protocol ports of the CPU are monitored, if the LPC protocol ports are low level, by the beginning of the CPLD The start bit signal that position signal line carries is forced to be arranged to 0101.
- 5. the method as described in claim 1, it is characterised in that described TCM start bits signal is sent to the TCM to set It is standby, start the CPU with also including after the normal communication of the TCM equipment:The LPC protocol ports are arranged to high level after data transfer between CPU completions and the TCM equipment, then it is described CPLD continues to monitor the LPC protocol ports.
- A kind of 6. system for platform processes communication protocol of soaring, it is characterised in that including:Monitoring modular, the LPC protocol ports that the CPU is monitored for the CPLD by being connected between CPU and TCM equipment export Detection signal whether be low level;Setup module, if the detection signal for LPC protocol ports output is low level, force the LPC agreements Data-signal in port is arranged to default start bit signal;Link block is established, for the start bit signal to be sent to the TCM equipment, makes the CPU and the TCM equipment Establish normal communication connection.
- 7. system as claimed in claim 6, it is characterised in that the LPC protocol ports specifically export three kinds of signals, including:Clock signal for timing, the detection signal for output level and the data that start bit signal is carried for exporting Signal.
- 8. system as claimed in claim 6, it is characterised in that the system also includes:High level monitoring modular, if the detection signal for LPC protocol ports output is high level, continue to monitor.
- 9. system as claimed in claim 6, it is characterised in that the setup module is specifically used for:The LPC protocol ports of the CPU are monitored, if the LPC protocol ports are low level, by the beginning of the CPLD The start bit signal that position signal line carries is forced to be arranged to 0101.
- 10. system as claimed in claim 6, it is characterised in that the system also includes:High level module is set, completed the LPC protocol ports for CPU after data transfer between the TCM equipment High level is arranged to, then the CPLD continues to monitor the LPC protocol ports.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610834623.8A CN107844449B (en) | 2016-09-20 | 2016-09-20 | Method and system for processing communication protocol by Feiteng platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610834623.8A CN107844449B (en) | 2016-09-20 | 2016-09-20 | Method and system for processing communication protocol by Feiteng platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107844449A true CN107844449A (en) | 2018-03-27 |
CN107844449B CN107844449B (en) | 2021-02-09 |
Family
ID=61657451
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610834623.8A Active CN107844449B (en) | 2016-09-20 | 2016-09-20 | Method and system for processing communication protocol by Feiteng platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107844449B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888836A (en) * | 2019-11-29 | 2020-03-17 | 山东超越数控电子股份有限公司 | Method for realizing interrupt response by using BMC on Feiteng platform |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6170027B1 (en) * | 1998-08-15 | 2001-01-02 | Winbond Electronics Corp. | LPC/ISA bridge and its bridging method |
CN1279787A (en) * | 1997-09-24 | 2001-01-10 | 英特尔公司 | Memory transactions on low pin count bus |
US6326322B1 (en) * | 1999-10-29 | 2001-12-04 | Samsung Electronics Co., Ltd. | Method for depositing a silicon nitride layer |
CN1362675A (en) * | 2002-01-28 | 2002-08-07 | 威盛电子股份有限公司 | Circuit system and transmission method for PLC units to transmit mutually |
US20030043670A1 (en) * | 2001-09-06 | 2003-03-06 | Akimasa Niwa | Memory control apparatus for serial memory |
CN1818893A (en) * | 2006-03-14 | 2006-08-16 | 杭州华为三康技术有限公司 | LPC bus interface sequential conversion and converter of peripheral apparatus |
CN101989244A (en) * | 2009-08-05 | 2011-03-23 | 华为技术有限公司 | Signal conversion device and method as well as communication equipment |
CN102708028A (en) * | 2012-05-18 | 2012-10-03 | 中国人民解放军第二炮兵装备研究院第四研究所 | Trusted redundant fault-tolerant computer system |
CN104318142A (en) * | 2014-10-31 | 2015-01-28 | 山东超越数控电子有限公司 | Trusted booting method of computer |
CN104572226A (en) * | 2015-02-04 | 2015-04-29 | 浪潮(北京)电子信息产业有限公司 | Method and device for detecting mainboard starting abnormity |
CN104765650A (en) * | 2014-01-08 | 2015-07-08 | 瑞萨电子株式会社 | Data processing apparatus |
-
2016
- 2016-09-20 CN CN201610834623.8A patent/CN107844449B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1279787A (en) * | 1997-09-24 | 2001-01-10 | 英特尔公司 | Memory transactions on low pin count bus |
US6170027B1 (en) * | 1998-08-15 | 2001-01-02 | Winbond Electronics Corp. | LPC/ISA bridge and its bridging method |
US6326322B1 (en) * | 1999-10-29 | 2001-12-04 | Samsung Electronics Co., Ltd. | Method for depositing a silicon nitride layer |
US20030043670A1 (en) * | 2001-09-06 | 2003-03-06 | Akimasa Niwa | Memory control apparatus for serial memory |
CN1362675A (en) * | 2002-01-28 | 2002-08-07 | 威盛电子股份有限公司 | Circuit system and transmission method for PLC units to transmit mutually |
CN1818893A (en) * | 2006-03-14 | 2006-08-16 | 杭州华为三康技术有限公司 | LPC bus interface sequential conversion and converter of peripheral apparatus |
CN101989244A (en) * | 2009-08-05 | 2011-03-23 | 华为技术有限公司 | Signal conversion device and method as well as communication equipment |
CN102708028A (en) * | 2012-05-18 | 2012-10-03 | 中国人民解放军第二炮兵装备研究院第四研究所 | Trusted redundant fault-tolerant computer system |
CN104765650A (en) * | 2014-01-08 | 2015-07-08 | 瑞萨电子株式会社 | Data processing apparatus |
CN104318142A (en) * | 2014-10-31 | 2015-01-28 | 山东超越数控电子有限公司 | Trusted booting method of computer |
CN104572226A (en) * | 2015-02-04 | 2015-04-29 | 浪潮(北京)电子信息产业有限公司 | Method and device for detecting mainboard starting abnormity |
Non-Patent Citations (1)
Title |
---|
王禹: ""可信平台模块测试系统设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888836A (en) * | 2019-11-29 | 2020-03-17 | 山东超越数控电子股份有限公司 | Method for realizing interrupt response by using BMC on Feiteng platform |
Also Published As
Publication number | Publication date |
---|---|
CN107844449B (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7149397B2 (en) | 10/100/1000Base-T small-form-factor-pluggable module | |
CN103401728B (en) | A kind of for detecting the method and apparatus that equipment room interface connects | |
US20040236885A1 (en) | Arrangement and method for system of locally deployed module units, and contact unit for connection of such a module unit | |
US20050262279A1 (en) | USB OTG adapter module for debugging USB OTG devices | |
CN101610192B (en) | Communication slave, bus cascading method and system | |
EP1684446A2 (en) | A method and apparatus for testing optical network equipment | |
CN106933753A (en) | The control method and device of intelligent interface card | |
CN208188815U (en) | BMC module system | |
CN105703935B (en) | Tool automatically switches the server system of shared network function | |
CN107844449A (en) | The method and system of platform processes of soaring communication protocol | |
EP2339811B1 (en) | Method and system for communication capacity negotiation of physical layer chips | |
CN103701660B (en) | A kind of ethernet device attachment means and its test system and method for application | |
CN104541479A (en) | Communication controller | |
CN100438457C (en) | Working mode detection, warning method and device | |
Cisco | Overview: PA-MC-8TE1+ | |
CN201820120U (en) | Self-adapting multibus execution mechanism controller | |
US9811496B2 (en) | Method and apparatus for detecting interface connection between devices | |
CN208112646U (en) | A kind of transmitter loop network control system | |
CN209118135U (en) | A kind of automobile-used CAN bus telecommunication circuit of electrical salf-walking | |
TW201840170A (en) | Internet telephone device, external connection card and communication method therefor | |
CN202904869U (en) | RS485 bus interface with relay function | |
CN206892854U (en) | A kind of mainboard of raising PCIE data channel utilization rates | |
CN104252430A (en) | State indicating method and electronic equipment | |
CN214236813U (en) | Welding controller and robot communication system | |
CN220629345U (en) | Data transparent transmission equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |