CN104615467A - Method and system for burning CPLD (complex programmable logic device) firmware - Google Patents
Method and system for burning CPLD (complex programmable logic device) firmware Download PDFInfo
- Publication number
- CN104615467A CN104615467A CN201510072835.2A CN201510072835A CN104615467A CN 104615467 A CN104615467 A CN 104615467A CN 201510072835 A CN201510072835 A CN 201510072835A CN 104615467 A CN104615467 A CN 104615467A
- Authority
- CN
- China
- Prior art keywords
- mux
- bmc
- signal
- cpld
- rom recorder
- 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
Landscapes
- Stored Programmes (AREA)
- Read Only Memory (AREA)
Abstract
The invention discloses a method and a system for burning CPLD (complex programmable logic device) firmware. The method includes the following steps that when a BMC (baseboard management controller) judges that a burner is in place, the BMC sends a first switch selection signal to a multiplexer, and the multiplexer forwards a JTAG (joint test action group) signal from a CPLD to the burner; when the BMC judges that the burner is not in place or the BMC receives a burning finish signal from the CPLD, the BMC sends a second switch selection signal to the multiplexer, and the multiplexer forwards the JTAG signal from the CPLD to the BMC. The BMC can isolate the burner from the CPLD when the burner is not in place and burning is finished by configuring the connection status between the burner and the CPLD to the multiplexer according to whether or not the burner is in place and whether or not burning is finished, and hot swapping of the burner under the conditions is realized.
Description
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of method and system of burning CPLD firmware.
Background technology
CPLD (Complex Programmable Logic Device, CPLD) be applicable to various computing and combinational logic, comprise many PAL (Programmable Array Logic, programmable logic array), the mutual connection line between each PAL can be used for carrying out procedural planning and burning.CPLD uses the integration practice of All-in-One (All-In-One), enables a PAL realize thousands of logic gate, even hundreds thousand of the logic gates circuit that could form.
In prior art, burning CPLD firmware does not support warm connection function, needs to plug cd-rom recorder before system electrification, and after firmware burning completes, to system cut-off, just can pull out cd-rom recorder; Otherwise, potential impact can be caused on circuits such as CPLD, such as, cause JTAG (Joint Test Action Group; Joint test working group) false triggering of signal, and system is caused damage.
Summary of the invention
The invention provides a kind of method and system of burning CPLD firmware, do not support the defect of warm connection function to solve burning CPLD firmware in prior art.
The invention provides a kind of method of burning CPLD firmware, comprise the following steps:
When BMC judges that cd-rom recorder is in place, described BMC sends the first switch selection signal to MUX, and the JTAG signal from CPLD is transmitted to described cd-rom recorder by described MUX;
When described BMC judges that described cd-rom recorder is not in place, or, when described BMC receives the burning settling signal from described CPLD, described BMC sends second switch to described MUX and selects signal, and the JTAG signal from described CPLD is transmitted to described BMC by described MUX.
Alternatively, described BMC judges that whether cd-rom recorder is in place, is specially:
Described BMC judges whether in Preset Time, receive the signal in place from described cd-rom recorder, if so, then determines that described cd-rom recorder is in place; Otherwise, determine that described cd-rom recorder is not in place.
Alternatively, the A pin of described MUX is connected with the jtag interface of described CPLD, and the B0 pin of described MUX is connected with described cd-rom recorder, and the B1 pin of described MUX is all connected with described BMC with S pin.
Alternatively, described BMC sends the first switch selection signal to MUX, is specially:
Described BMC sends the first switch selection signal to the S pin of MUX;
Described BMC sends second switch to MUX and selects signal, is specially:
Described BMC sends second switch selection signal to the S pin of MUX.
Alternatively, the JTAG signal from CPLD is transmitted to described cd-rom recorder by described MUX, is specially:
The level state of A pin and B0 pin is configured to identical by described MUX;
JTAG signal from CPLD is transmitted to described BMC by described MUX, is specially:
The level state of A pin and B1 pin is configured to identical by described MUX.
Present invention also offers a kind of system of burning CPLD firmware, comprise BMC, cd-rom recorder, MUX and CPLD;
Wherein, described BMC is connected with described cd-rom recorder, MUX and CPLD respectively, for judging that whether described cd-rom recorder is in place, if described cd-rom recorder is in place, then sends the first switch selection signal to described MUX; If described cd-rom recorder is not in place, or described BMC receives the burning settling signal from described CPLD, sends second switch select signal to described MUX;
Described MUX is connected with BMC, cd-rom recorder and CPLD respectively, for when receiving the first switch selection signal from described BMC, the JTAG signal from described CPLD is transmitted to described cd-rom recorder; When receiving the second switch selection signal from described BMC, the JTAG signal from CPLD is transmitted to described BMC.
Alternatively, described BMC, receiving the signal in place from described cd-rom recorder specifically for judging whether, if receive the signal in place from described cd-rom recorder, then sending the first switch selection signal to MUX in Preset Time; If do not receive the signal in place from described cd-rom recorder, or receive the burning settling signal from described CPLD, then send second switch to described MUX and select signal.
Alternatively, the A pin of described MUX is connected with the jtag interface of described CPLD, and the B0 pin of described MUX is connected with described cd-rom recorder, and the B1 pin of described MUX is all connected with described BMC with S pin.
Alternatively, described BMC, receives the signal in place from described cd-rom recorder specifically for judging whether in Preset Time, if receive the signal in place from described cd-rom recorder, then the S pin to MUX sends the first switch selection signal; If do not receive the signal in place from described cd-rom recorder, or receive the burning settling signal from described CPLD, then the S pin to MUX sends second switch selection signal.
Alternatively, described MUX, specifically for when receiving the first switch selection signal from described BMC, is configured to identical by the level state of A pin and B0 pin; When receiving the second switch selection signal from described BMC, the level state of A pin and B1 pin is configured to identical.
According to cd-rom recorder, whether whether in place and burning completes BMC in the present invention, by configuring the connection status between cd-rom recorder and CPLD to MUX, can when cd-rom recorder to be not in place and burning completes, isolation cd-rom recorder and CPLD, realize cd-rom recorder hot plug in these cases.
Accompanying drawing explanation
Fig. 1 is the system construction drawing of a kind of burning CPLD firmware in the embodiment of the present invention;
Fig. 2 is the method flow diagram of a kind of burning CPLD firmware in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, if do not conflicted, each feature in the embodiment of the present invention and embodiment can be combined with each other, all within protection scope of the present invention.In addition, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Embodiments provide a kind of system of burning CPLD firmware, as shown in Figure 1, comprise BMC (Baseboard Management Controller, baseboard management controller) 101, cd-rom recorder 102, MUX 103 and CPLD104, BMC101 is connected with cd-rom recorder 102, MUX 103 and CPLD104 respectively, and MUX 103 is connected with BMC101, cd-rom recorder 102 and CPLD104 respectively.
Wherein, BMC101, whether in place for judging cd-rom recorder 102, if cd-rom recorder 102 is in place, then send the first switch selection signal to MUX 103; If cd-rom recorder 102 is not in place, or BMC101 receives the burning settling signal from CPLD104, sends second switch select signal to MUX 103.
Particularly, BMC101, receiving the signal in place from cd-rom recorder 102 specifically for judging whether, if receive the signal in place from described cd-rom recorder, then sending the first switch selection signal to MUX in Preset Time; If do not receive the signal in place from described cd-rom recorder, or receive the burning settling signal from described CPLD, then send second switch to described MUX and select signal.
MUX 103, for when receiving the first switch selection signal from BMC101, is transmitted to cd-rom recorder 102 by the JTAG signal from CPLD104; When receiving the second switch selection signal from BMC101, the JTAG signal from CPLD104 is transmitted to BMC101.
In the present embodiment, the A pin of MUX 103 is connected with the jtag interface of described CPLD104, and the B0 pin of MUX 103 is connected with cd-rom recorder 102, and the B1 pin of MUX 103 is all connected with BMC101 with S pin.In an initial condition, A pin is identical with the level state of B1 pin.
Correspondingly, BMC101, receives the signal in place from cd-rom recorder 102 specifically for judging whether in Preset Time, if receive the signal in place from cd-rom recorder 102, then the S pin to MUX 103 sends the first switch selection signal; If do not receive the signal in place from cd-rom recorder 102, or receive the burning settling signal from CPLD104, then the S pin to MUX 103 sends second switch selection signal.
MUX 103, specifically for when receiving the first switch selection signal from BMC101, is configured to identical by the level state of A pin and B0 pin; When receiving the second switch selection signal from BMC101, the level state of A pin and B1 pin is configured to identical.When A pin is identical with the level state of B1 pin, the JTAG signal from cd-rom recorder 102 cannot send to CPLD104 by MUX 103, and cd-rom recorder 102 and CPLD104 are in isolation, can carry out plug when powering on.
According to cd-rom recorder, whether whether in place and burning completes BMC in the embodiment of the present invention, by configuring the connection status between cd-rom recorder and CPLD to MUX, can when cd-rom recorder be not in place and burning completes, isolation cd-rom recorder and CPLD, realize cd-rom recorder hot plug in these cases.
Based on the system of above-mentioned burning CPLD firmware, the embodiment of the present invention additionally provides a kind of method of burning CPLD firmware, as shown in Figure 2, comprises the following steps:
Step 201, BMC judges that whether cd-rom recorder is in place, if so, then performs step 204; Otherwise, perform step 202.
Particularly, BMC judges whether in Preset Time, receive the signal in place from cd-rom recorder, if so, then determines that cd-rom recorder is in place; Otherwise, determine that cd-rom recorder is not in place.
Step 202, BMC sends second switch to MUX and selects signal.
Particularly, BMC sends second switch selection signal to the S pin of MUX.
Step 203, the JTAG signal from CPLD is transmitted to BMC by MUX.
Particularly, the level state of A pin and B1 pin is configured to identical by MUX.Now, the JTAG signal from cd-rom recorder cannot send to CPLD by MUX, and cd-rom recorder and CPLD are in isolation, can carry out plug when powering on.
Step 204, BMC sends the first switch selection signal to MUX.
Particularly, BMC sends the first switch selection signal to the S pin of MUX.
Step 205, the JTAG signal from CPLD is transmitted to cd-rom recorder by MUX.
Particularly, the level state of A pin and B0 pin is configured to identical by MUX.
Step 206, MUX receives the burning settling signal from described CPLD.
Step 207, BMC sends second switch to MUX and selects signal.
Step 208, the JTAG signal from CPLD is transmitted to BMC by MUX.
According to cd-rom recorder, whether whether in place and burning completes BMC in the embodiment of the present invention, by configuring the connection status between cd-rom recorder and CPLD to MUX, can when cd-rom recorder be not in place and burning completes, isolation cd-rom recorder and CPLD, realize cd-rom recorder hot plug in these cases.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.
Claims (10)
1. a method for burning CPLD firmware, is characterized in that, comprises the following steps:
When BMC judges that cd-rom recorder is in place, described BMC sends the first switch selection signal to MUX, and the JTAG signal from CPLD is transmitted to described cd-rom recorder by described MUX;
When described BMC judges that described cd-rom recorder is not in place, or, when described BMC receives the burning settling signal from described CPLD, described BMC sends second switch to described MUX and selects signal, and the JTAG signal from described CPLD is transmitted to described BMC by described MUX.
2. the method for claim 1, is characterized in that, described BMC judges that whether cd-rom recorder is in place, is specially:
Described BMC judges whether in Preset Time, receive the signal in place from described cd-rom recorder, if so, then determines that described cd-rom recorder is in place; Otherwise, determine that described cd-rom recorder is not in place.
3. the method for claim 1, it is characterized in that, the A pin of described MUX is connected with the jtag interface of described CPLD, and the B0 pin of described MUX is connected with described cd-rom recorder, and the B1 pin of described MUX is all connected with described BMC with S pin.
4. method as claimed in claim 3, it is characterized in that, described BMC sends the first switch selection signal to MUX, is specially:
Described BMC sends the first switch selection signal to the S pin of MUX;
Described BMC sends second switch to MUX and selects signal, is specially:
Described BMC sends second switch selection signal to the S pin of MUX.
5. method as claimed in claim 3, it is characterized in that, the JTAG signal from CPLD is transmitted to described cd-rom recorder by described MUX, is specially:
The level state of A pin and B0 pin is configured to identical by described MUX;
JTAG signal from CPLD is transmitted to described BMC by described MUX, is specially:
The level state of A pin and B1 pin is configured to identical by described MUX.
6. a system for burning CPLD firmware, is characterized in that, comprises BMC, cd-rom recorder, MUX and CPLD;
Wherein, described BMC is connected with described cd-rom recorder, MUX and CPLD respectively, for judging that whether described cd-rom recorder is in place, if described cd-rom recorder is in place, then sends the first switch selection signal to described MUX; If described cd-rom recorder is not in place, or described BMC receives the burning settling signal from described CPLD, sends second switch select signal to described MUX;
Described MUX is connected with BMC, cd-rom recorder and CPLD respectively, for when receiving the first switch selection signal from described BMC, the JTAG signal from described CPLD is transmitted to described cd-rom recorder; When receiving the second switch selection signal from described BMC, the JTAG signal from CPLD is transmitted to described BMC.
7. system as claimed in claim 6, is characterized in that,
Described BMC, receiving the signal in place from described cd-rom recorder specifically for judging whether, if receive the signal in place from described cd-rom recorder, then sending the first switch selection signal to MUX in Preset Time; If do not receive the signal in place from described cd-rom recorder, or receive the burning settling signal from described CPLD, then send second switch to described MUX and select signal.
8. system as claimed in claim 6, it is characterized in that, the A pin of described MUX is connected with the jtag interface of described CPLD, and the B0 pin of described MUX is connected with described cd-rom recorder, and the B1 pin of described MUX is all connected with described BMC with S pin.
9. system as claimed in claim 8, is characterized in that,
Described BMC, receives the signal in place from described cd-rom recorder specifically for judging whether in Preset Time, if receive the signal in place from described cd-rom recorder, then the S pin to MUX sends the first switch selection signal; If do not receive the signal in place from described cd-rom recorder, or receive the burning settling signal from described CPLD, then the S pin to MUX sends second switch selection signal.
10. system as claimed in claim 8, is characterized in that,
Described MUX, specifically for when receiving the first switch selection signal from described BMC, is configured to identical by the level state of A pin and B0 pin; When receiving the second switch selection signal from described BMC, the level state of A pin and B1 pin is configured to identical.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510072835.2A CN104615467B (en) | 2015-02-11 | 2015-02-11 | A kind of method and system of burning CPLD firmwares |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510072835.2A CN104615467B (en) | 2015-02-11 | 2015-02-11 | A kind of method and system of burning CPLD firmwares |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104615467A true CN104615467A (en) | 2015-05-13 |
CN104615467B CN104615467B (en) | 2017-12-22 |
Family
ID=53149926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510072835.2A Active CN104615467B (en) | 2015-02-11 | 2015-02-11 | A kind of method and system of burning CPLD firmwares |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104615467B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843989A (en) * | 2017-03-10 | 2017-06-13 | 郑州云海信息技术有限公司 | It is a kind of to realize the system and method that program updates |
CN109460240A (en) * | 2018-10-19 | 2019-03-12 | 郑州云海信息技术有限公司 | A kind of firmware programming component and firmware programming method, system and storage medium |
CN111552486A (en) * | 2020-04-27 | 2020-08-18 | 苏州浪潮智能科技有限公司 | SSD firmware burning method and related components |
CN114019357A (en) * | 2021-10-27 | 2022-02-08 | 浪潮(北京)电子信息产业有限公司 | Management method of test pin of logic processing module and related assembly |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714104A (en) * | 2008-10-08 | 2010-05-26 | 英业达股份有限公司 | Firmware burning device of computer |
CN102325081A (en) * | 2011-07-15 | 2012-01-18 | 福建星网锐捷网络有限公司 | Hot-pluggable isolation method, device and master control board |
CN202711721U (en) * | 2012-07-06 | 2013-01-30 | 建荣集成电路科技(珠海)有限公司 | Novel compact disk-recordable (CD-R) machine |
CN103116512A (en) * | 2013-02-25 | 2013-05-22 | 上海师范大学 | Method for upgrading firmware of CPLD (complex programmable logic device) |
US20140137095A1 (en) * | 2012-11-09 | 2014-05-15 | Inventec Corporation | Server and method for updating firmware of server |
CN104035846A (en) * | 2014-05-21 | 2014-09-10 | 青岛歌尔声学科技有限公司 | Method and device for detecting burning state of CPLD firmware |
-
2015
- 2015-02-11 CN CN201510072835.2A patent/CN104615467B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714104A (en) * | 2008-10-08 | 2010-05-26 | 英业达股份有限公司 | Firmware burning device of computer |
CN102325081A (en) * | 2011-07-15 | 2012-01-18 | 福建星网锐捷网络有限公司 | Hot-pluggable isolation method, device and master control board |
CN202711721U (en) * | 2012-07-06 | 2013-01-30 | 建荣集成电路科技(珠海)有限公司 | Novel compact disk-recordable (CD-R) machine |
US20140137095A1 (en) * | 2012-11-09 | 2014-05-15 | Inventec Corporation | Server and method for updating firmware of server |
CN103116512A (en) * | 2013-02-25 | 2013-05-22 | 上海师范大学 | Method for upgrading firmware of CPLD (complex programmable logic device) |
CN104035846A (en) * | 2014-05-21 | 2014-09-10 | 青岛歌尔声学科技有限公司 | Method and device for detecting burning state of CPLD firmware |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843989A (en) * | 2017-03-10 | 2017-06-13 | 郑州云海信息技术有限公司 | It is a kind of to realize the system and method that program updates |
CN109460240A (en) * | 2018-10-19 | 2019-03-12 | 郑州云海信息技术有限公司 | A kind of firmware programming component and firmware programming method, system and storage medium |
CN111552486A (en) * | 2020-04-27 | 2020-08-18 | 苏州浪潮智能科技有限公司 | SSD firmware burning method and related components |
CN111552486B (en) * | 2020-04-27 | 2024-02-09 | 苏州浪潮智能科技有限公司 | SSD firmware burning method and related components |
CN114019357A (en) * | 2021-10-27 | 2022-02-08 | 浪潮(北京)电子信息产业有限公司 | Management method of test pin of logic processing module and related assembly |
Also Published As
Publication number | Publication date |
---|---|
CN104615467B (en) | 2017-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615467A (en) | Method and system for burning CPLD (complex programmable logic device) firmware | |
CN102288902B (en) | logic device and method supporting scan test | |
US20120131403A1 (en) | Multi-chip test system and test method thereof | |
CN102479133B (en) | USB (Universal Serial Bus) equipment and detection method thereof | |
EP2534496B1 (en) | Determination of physical connectivity status of devices based on electrical measurement | |
WO2018133242A1 (en) | Terminal, debugging system, and debugging method | |
US20130086283A1 (en) | Interface system and method with backward compatibility | |
CN111104278B (en) | SAS connector conduction detection system and method thereof | |
US7406641B2 (en) | Selective control of test-access ports in integrated circuits | |
CN111104279B (en) | SAS connector conduction detection system and method thereof | |
US20150149842A1 (en) | Test device and method using a separate control module for test | |
KR101539712B1 (en) | Semiconductor device enabling low power scan test and method for testing the same | |
TWI759380B (en) | Pin of connector slot of circuit board conduction detection system and method thereof | |
US9378074B2 (en) | Server system | |
TW201823754A (en) | Testing circuit board with self-detection function and self-detection method thereof | |
CN115017080A (en) | Circuit and method for multiplexing JTAG pin in FPGA chip | |
CN105468557A (en) | Isolation method for avoiding interference to SMBUSes (System Management Bus) | |
CN104216857B (en) | Multiplexing switching device and its switching method | |
US20090182523A1 (en) | Apparatus and method for connection test on printed circuit board | |
US20200379937A1 (en) | Semiconductor system and semiconductor device | |
TW201326843A (en) | Connecting device | |
US10061673B2 (en) | Testing system using different operating systems to test electronic products | |
CN105703180A (en) | USB2.0 and USB3.0 switch | |
TW202018509A (en) | Sas connector conduction detection system and method thereof | |
CN105141443A (en) | Server test system and interface configuration method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |