CN104615467B - A kind of method and system of burning CPLD firmwares - Google Patents
A kind of method and system of burning CPLD firmwares Download PDFInfo
- Publication number
- CN104615467B CN104615467B CN201510072835.2A CN201510072835A CN104615467B CN 104615467 B CN104615467 B CN 104615467B CN 201510072835 A CN201510072835 A CN 201510072835A CN 104615467 B CN104615467 B CN 104615467B
- Authority
- CN
- China
- Prior art keywords
- mux
- bmc
- rom recorder
- cpld
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000005516 engineering process Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Read Only Memory (AREA)
Abstract
The invention discloses a kind of method and system of burning CPLD firmwares, this method comprises the following steps:When BMC judges that cd-rom recorder is in place, the BMC sends first switch selection signal to MUX, and the JTAG signal from CPLD is transmitted to the cd-rom recorder by the MUX;When the BMC judges that the cd-rom recorder is not in place, or, when the BMC receives the burning completion signal from the CPLD, the BMC sends second switch selection signal to the MUX, and the JTAG signal from the CPLD is transmitted to the BMC by the MUX.BMC in the present invention according to cd-rom recorder, whether complete by place and burning, by configuring the connection status between cd-rom recorder and CPLD to MUX, can and burning not in place in cd-rom recorder when completing, isolate cd-rom recorder and CPLD, realize the hot plug of cd-rom recorder in these cases.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of method and system of burning CPLD firmwares.
Background technology
CPLD (Complex Programmable Logic Device, CPLD) is applied to various
Computing and combinational logic, comprising more PAL (Programmable Array Logic, programmable logic array), between each PAL
Mutual connection line can be used for carrying out procedural planning and burning.CPLD uses the integration practice of All-in-One (All-In-One), makes
One PAL can realize thousands of gates, or even the circuit that hundreds thousand of individual gates could be formed.
In the prior art, burning CPLD firmwares do not support warm connection function, it is necessary to plug cd-rom recorder before system electrification,
And after the completion of firmware burning, to system cut-off, it can just pull out cd-rom recorder;Otherwise, the circuits such as CPLD can be caused potentially
Influence, for example, causing JTAG (Joint Test Action Group;Joint test working group) signal false triggering, it is and right
System causes damage.
The content of the invention
The invention provides a kind of method and system of burning CPLD firmwares, to solve burning CPLD firmwares in the prior art
Not the defects of not supporting warm connection function.
The invention provides a kind of method of burning CPLD firmwares, comprise the following steps:
When BMC judges that cd-rom recorder is in place, the BMC sends first switch selection signal to MUX, described
JTAG signal from CPLD is transmitted to the cd-rom recorder by MUX;
When the BMC judges that the cd-rom recorder is not in place, or, the BMC receives the burning from the CPLD
When completing signal, the BMC sends second switch selection signal to the MUX, and the MUX will come from institute
The JTAG signal for stating CPLD is transmitted to the BMC.
Alternatively, the BMC judges whether cd-rom recorder is in place, is specially:
The BMC judges whether to receive the signal in place from the cd-rom recorder in preset time, if it is, really
The fixed cd-rom recorder is in place;Otherwise, it determines the cd-rom recorder is not in place.
Alternatively, the A pins of the MUX are connected with the jtag interface of the CPLD, the MUX
B0 pins are connected with the cd-rom recorder, and the B1 pins and S pins of the MUX are connected with the BMC.
Alternatively, the BMC sends first switch selection signal to MUX, is specially:
The BMC sends first switch selection signal to the S pins of MUX;
The BMC sends second switch selection signal to MUX, is specially:
The BMC sends second switch selection signal to the S pins of MUX.
Alternatively, the JTAG signal from CPLD is transmitted to the cd-rom recorder by the MUX, is specially:
The level state of A pins and B0 pins is configured to identical by the MUX;
JTAG signal from CPLD is transmitted to the BMC by the MUX, is specially:
The level state of A pins and B1 pins is configured to identical by the MUX.
Present invention also offers a kind of system of burning CPLD firmwares, including BMC, cd-rom recorder, MUX and CPLD;
Wherein, the BMC is connected with the cd-rom recorder, MUX and CPLD respectively, for judging the cd-rom recorder
It is whether in place, if the cd-rom recorder is in place, first switch selection signal is sent to the MUX;If the burning
It is not in place to record device, or, the BMC receives the burning from the CPLD and completes signal, is sent to the MUX
Second switch selection signal;
The MUX is connected with BMC, cd-rom recorder and CPLD respectively, for receiving from the BMC
During one switch selection signal, the JTAG signal from the CPLD is transmitted to the cd-rom recorder;The BMC is come from receiving
Second switch selection signal when, the JTAG signal from CPLD is transmitted to the BMC.
Alternatively, the BMC, specifically for judging whether to receive in preset time from the in place of the cd-rom recorder
Signal, if receiving the signal in place from the cd-rom recorder, first switch selection signal is sent to MUX;Such as
Fruit is not received by the signal in place from the cd-rom recorder, or receives the burning from the CPLD and complete signal, then
Second switch selection signal is sent to the MUX.
Alternatively, the A pins of the MUX are connected with the jtag interface of the CPLD, the MUX
B0 pins are connected with the cd-rom recorder, and the B1 pins and S pins of the MUX are connected with the BMC.
Alternatively, the BMC, specifically for judging whether to receive in preset time from the in place of the cd-rom recorder
Signal, if receiving the signal in place from the cd-rom recorder, first switch selection is sent to the S pins of MUX
Signal;If being not received by the signal in place from the cd-rom recorder, or receive the burning from the CPLD and complete
Signal, then send second switch selection signal to the S pins of MUX.
Alternatively, the MUX, specifically for receiving the first switch selection signal from the BMC
When, the level state of A pins and B0 pins is configured to identical;Receiving the second switch selection signal from the BMC
When, the level state of A pins and B1 pins is configured to identical.
BMC in the present invention according to cd-rom recorder, whether complete by place and burning, by being configured to MUX
Connection status between cd-rom recorder and CPLD, can and burning not in place in cd-rom recorder when completing, isolate cd-rom recorder and CPLD,
Realize the hot plug of cd-rom recorder in these cases.
Brief description of the drawings
Fig. 1 is a kind of system construction drawing of burning CPLD firmwares in the embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of burning CPLD firmwares in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
If it should be noted that not conflicting, each feature in the embodiment of the present invention and embodiment can be tied mutually
Close, within protection scope of the present invention.In addition, though logical order is shown in flow charts, but in some situations
Under, can be with the step shown or described by being performed different from order herein.
The embodiments of the invention provide a kind of system of burning CPLD firmwares, as shown in figure 1, including 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, MUX 103 respectively with BMC101, burn
Record device 102 connects with CPLD104.
Wherein, BMC101, for judging whether cd-rom recorder 102 is in place, if cd-rom recorder 102 is in place, to multi-path choice
Device 103 sends first switch selection signal;If cd-rom recorder 102 is not in place, or, BMC101 is received from CPLD104's
Signal is completed in burning, and second switch selection signal is sent to MUX 103.
Specifically, BMC101, specifically for judging whether to receive the letter in place from cd-rom recorder 102 in preset time
Number, if receiving the signal in place from the cd-rom recorder, first switch selection signal is sent to MUX;If
Be not received by the signal in place from the cd-rom recorder, or receive burning from the CPLD and complete signal, then to
The MUX sends second switch selection signal.
MUX 103, for that when receiving the first switch selection signal from BMC101, will come from
CPLD104 JTAG signal is transmitted to cd-rom recorder 102;When receiving the second switch selection signal from BMC101, in the future
BMC101 is transmitted to from CPLD104 JTAG signal.
In the present embodiment, the A pins of MUX 103 are connected with the jtag interface of the CPLD104, MUX
103 B0 pins are connected with cd-rom recorder 102, and the B1 pins and S pins of MUX 103 are connected with BMC101.Initial
Under state, A pins are identical with the level state of B1 pins.
Correspondingly, BMC101, specifically for judging whether to receive the letter in place from cd-rom recorder 102 in preset time
Number, if receiving the signal in place from cd-rom recorder 102, first switch selection is sent to the S pins of MUX 103
Signal;If being not received by the signal in place from cd-rom recorder 102, or receive the burning from CPLD104 and complete letter
Number, then send second switch selection signal to the S pins of MUX 103.
MUX 103, specifically for when receiving the first switch selection signal from BMC101, by A pins
It is configured to the level state of B0 pins identical;When receiving the second switch selection signal from BMC101, by A pins and
The level state of B1 pins is configured to identical.When A pins are identical with the level state of B1 pins, from cd-rom recorder 102
JTAG signal will be unable to be sent to CPLD104 by MUX 103, and cd-rom recorder 102 and CPLD104 is in isolation,
It can be carried out plug in the case of upper electricity.
Whether whether in place and burning is completed according to cd-rom recorder by BMC in the embodiment of the present invention, by multi-path choice
Device configures the connection status between cd-rom recorder and CPLD, can and burning not in place in cd-rom recorder when completing, isolate cd-rom recorder
With CPLD, the hot plug of cd-rom recorder in these cases is realized.
Based on the system of above-mentioned burning CPLD firmwares, the embodiment of the present invention additionally provides a kind of side of burning CPLD firmwares
Method, as shown in Fig. 2 comprising the following steps:
Step 201, BMC judges whether cd-rom recorder is in place, if it is, performing step 204;Otherwise, step 202 is performed.
Specifically, BMC judges whether to receive the signal in place from cd-rom recorder in preset time, if it is, really
It is in place to determine cd-rom recorder;Otherwise, it determines cd-rom recorder is not in place.
Step 202, BMC sends second switch selection signal to MUX.
Specifically, BMC sends second switch selection signal to the S pins of MUX.
Step 203, the JTAG signal from CPLD is transmitted to BMC by MUX.
Specifically, the level state of A pins and B1 pins is configured to identical by MUX.Now, from cd-rom recorder
JTAG signal will be unable to be sent to CPLD by MUX, cd-rom recorder is in isolation with CPLD, can be upper electric
In the case of carry out plug.
Step 204, BMC sends first switch selection signal to MUX.
Specifically, BMC sends first switch selection signal to the S pins of MUX.
Step 205, the JTAG signal from CPLD is transmitted to cd-rom recorder by MUX.
Specifically, the level state of A pins and B0 pins is configured to identical by MUX.
Step 206, MUX receives the burning from the CPLD and completes signal.
Step 207, BMC sends second switch selection signal to MUX.
Step 208, the JTAG signal from CPLD is transmitted to BMC by MUX.
Whether whether in place and burning is completed according to cd-rom recorder by BMC in the embodiment of the present invention, by multi-path choice
Device configures the connection status between cd-rom recorder and CPLD, can and burning not in place in cd-rom recorder when completing, isolate cd-rom recorder
With CPLD, the hot plug of cd-rom recorder in these cases is realized.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
- A kind of 1. method of burning CPLD firmwares, it is characterised in that comprise the following steps:When BMC judges that cd-rom recorder is in place, the BMC sends first switch selection signal, the multichannel to MUX JTAG signal from CPLD is transmitted to the cd-rom recorder by selector;When the BMC judges that the cd-rom recorder is not in place, or, the BMC receives the burning from the CPLD and completed During signal, the BMC sends second switch selection signal to the MUX, and the MUX will come from described CPLD JTAG signal is transmitted to the BMC.
- 2. the method as described in claim 1, it is characterised in that the BMC judges whether cd-rom recorder is in place, is specially:The BMC judges whether to receive the signal in place from the cd-rom recorder in preset time, if it is, determining institute It is in place to state cd-rom recorder;Otherwise, it determines the cd-rom recorder is not in place.
- 3. the method as described in claim 1, it is characterised in that the A pins of the MUX and the JTAG of the CPLD Interface is connected, and the B0 pins of the MUX are connected with the cd-rom recorder, the B1 pins and S pins of the MUX It is connected with the BMC.
- 4. method as claimed in claim 3, it is characterised in that the BMC sends first switch selection letter to MUX Number, it is specially:The BMC sends first switch selection signal to the S pins of MUX;The BMC sends second switch selection signal to MUX, is specially:The BMC sends second switch selection signal to the S pins of MUX.
- 5. method as claimed in claim 3, it is characterised in that the MUX forwards the JTAG signal from CPLD To the cd-rom recorder, it is specially:The level state of A pins and B0 pins is configured to identical by the MUX;JTAG signal from CPLD is transmitted to the BMC by the MUX, is specially:The level state of A pins and B1 pins is configured to identical by the MUX.
- 6. a kind of system of burning CPLD firmwares, it is characterised in that including BMC, cd-rom recorder, MUX and CPLD;Wherein, the BMC is connected with the cd-rom recorder, MUX and CPLD respectively, for whether judging the cd-rom recorder In place, if the cd-rom recorder is in place, first switch selection signal is sent to the MUX;If the cd-rom recorder It is not in place, or, the BMC receives the burning from the CPLD and completes signal, and second is sent to the MUX Switch selection signal;The MUX is connected with BMC, cd-rom recorder and CPLD respectively, for opening receiving first from the BMC When closing selection signal, the JTAG signal from the CPLD is transmitted to the cd-rom recorder;Receiving from the BMC During two switch selection signals, the JTAG signal from CPLD is transmitted to the BMC.
- 7. system as claimed in claim 6, it is characterised in thatThe BMC, specifically for judging whether to receive the signal in place from the cd-rom recorder in preset time, if connect The signal in place from the cd-rom recorder is received, then sends first switch selection signal to MUX;If do not receive To the signal in place from the cd-rom recorder, or receive the burning from the CPLD and complete signal, then to the multichannel Selector sends second switch selection signal.
- 8. system as claimed in claim 6, it is characterised in that the A pins of the MUX and the JTAG of the CPLD Interface is connected, and the B0 pins of the MUX are connected with the cd-rom recorder, the B1 pins and S pins of the MUX It is connected with the BMC.
- 9. system as claimed in claim 8, it is characterised in thatThe BMC, specifically for judging whether to receive the signal in place from the cd-rom recorder in preset time, if connect The signal in place from the cd-rom recorder is received, then sends first switch selection signal to the S pins of MUX;If not yet Have and receive the signal in place from the cd-rom recorder, or receive the burning from the CPLD and complete signal, then to more The S pins of road selector send second switch selection signal.
- 10. system as claimed in claim 8, it is characterised in thatThe MUX, specifically for when receiving the first switch selection signal from the BMC, by A pins and The level state of B0 pins is configured to identical;When receiving the second switch selection signal from the BMC, by A pins and The level state of B1 pins 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 CN104615467A (en) | 2015-05-13 |
CN104615467B true 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) |
Families Citing this family (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 |
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 |
Citations (5)
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) |
CN104035846A (en) * | 2014-05-21 | 2014-09-10 | 青岛歌尔声学科技有限公司 | Method and device for detecting burning state of CPLD firmware |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103809990B (en) * | 2012-11-09 | 2016-12-21 | 英业达科技有限公司 | Servomechanism |
-
2015
- 2015-02-11 CN CN201510072835.2A patent/CN104615467B/en active Active
Patent Citations (5)
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) |
CN104035846A (en) * | 2014-05-21 | 2014-09-10 | 青岛歌尔声学科技有限公司 | Method and device for detecting burning state of CPLD firmware |
Also Published As
Publication number | Publication date |
---|---|
CN104615467A (en) | 2015-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615467B (en) | A kind of method and system of burning CPLD firmwares | |
US20120131403A1 (en) | Multi-chip test system and test method thereof | |
CN103616937B (en) | A kind of mainboard, PCIE network interface card and server system | |
KR20110136795A (en) | Fault testing for interconnections | |
CN100507585C (en) | Method and system for detecting single-plate on position | |
WO2007053240A3 (en) | Tandem handler system and method for reduced index time | |
CN102479132A (en) | Test system and test method for multiple chips | |
CN108897647B (en) | Test system, test method and device | |
WO2018133242A1 (en) | Terminal, debugging system, and debugging method | |
CN108804261A (en) | The test method and device of connector | |
CN102142911A (en) | Communication equipment and communication test method | |
EP3179321B1 (en) | System and method for testing configuration and operation of i/o devices | |
CN107577591A (en) | A kind of method, apparatus and system of automatic test abnormal protection | |
CN107992386A (en) | A kind of router memory method for testing pressure and system | |
CN108683556A (en) | Detect the method, apparatus and computer storage media of network interface card functional status | |
CN104407947B (en) | Active and standby NAS switching methods and device | |
CN111104279B (en) | SAS connector conduction detection system and method thereof | |
CN109031005B (en) | Distributed relay protection device testing method and relay protection tester | |
US10613963B2 (en) | Intelligent packet analyzer circuits, systems, and methods | |
CN103729222A (en) | Loading device and method of configuration file | |
US9087042B2 (en) | Testing device, testing method, and computer-readable recording medium having testing program stored therein | |
CN104216857B (en) | Multiplexing switching device and its switching method | |
CN105141443B (en) | Server test system and interface allocation method | |
CN109283920B (en) | DCS system connection fault testing device and method | |
US9880195B2 (en) | Test systems and methods of testing devices |
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 |