CN107273167B - Device and method for controlling mainboard, and programming code to the mainboard - Google Patents
Device and method for controlling mainboard, and programming code to the mainboard Download PDFInfo
- Publication number
- CN107273167B CN107273167B CN201710495278.4A CN201710495278A CN107273167B CN 107273167 B CN107273167 B CN 107273167B CN 201710495278 A CN201710495278 A CN 201710495278A CN 107273167 B CN107273167 B CN 107273167B
- Authority
- CN
- China
- Prior art keywords
- target code
- ich
- jtag
- conversion unit
- burning
- 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 17
- 238000006243 chemical reaction Methods 0.000 claims abstract description 63
- 230000009471 action Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- 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/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Bus Control (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明提供了控制主板、向控制主板烧录代码的装置及方法,该控制主板,包括:控制主板主体中包括:处理器、ICH、JTAG接口和USB接口;所述转换单元通过所述JTAG接口与外部的上位机相连;所述ICH与所述处理器相连;所述ICH通过所述USB接口与所述转换单元相连;所述转换单元,用于通过所述JTAG接口接收所述上位机发来的JTAG协议的第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口发送给所述ICH;所述ICH,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器中。本发明能够将目标代码直接烧录到控制主板的操作系统中。
The present invention provides a control board, a device and method for programming code to the control board. The control board includes: the control board main body includes: a processor, an ICH, a JTAG interface and a USB interface; the conversion unit passes through the JTAG interface. connected with an external host computer; the ICH is connected with the processor; the ICH is connected with the conversion unit through the USB interface; the conversion unit is used for receiving the data sent by the host computer through the JTAG interface the first target code of the JTAG protocol, converts the first target code of the JTAG protocol into the second target code of the USB protocol, and sends the second target code to the ICH through the USB interface; the The ICH is configured to receive the second target code and program the second target code into the processor. The invention can directly burn the target code into the operating system of the control motherboard.
Description
技术领域technical field
本发明涉及电子技术领域,特别涉及控制主板、向控制主板烧录代码的装置及方法。The present invention relates to the field of electronic technology, in particular to a control board, and a device and method for programming codes to the control board.
背景技术Background technique
为了使得设备能够满足用户的各种需求,需要向设备的控制主板烧录各种目标代码,通过这些目标代码使得设备能够实现用户所需要的功能。In order to make the device meet various needs of users, it is necessary to burn various target codes to the control board of the device, and through these target codes, the device can realize the functions required by the user.
在现有技术中,设备的控制主板上一般设置有JTAG(Joint Test Action Group,联合测试行动小组)接口,用户通过JTAG接口向控制主板烧录目标代码,但是,JTAG接口无法直接与控制主板的处理器进行交互,因此,通过JTAG接口无法将目标代码烧录都控制主板的操作系统中。In the prior art, a JTAG (Joint Test Action Group, Joint Test Action Group) interface is generally provided on the control board of the device, and the user burns the target code to the control board through the JTAG interface. However, the JTAG interface cannot be directly connected to the control board. The processor interacts, so the target code cannot be programmed into the operating system of the motherboard through the JTAG interface.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了控制主板、向控制主板烧录代码的装置及方法,能够将目标代码直接烧录到控制主板的操作系统中。The embodiments of the present invention provide a control board, and a device and method for burning code to the control board, which can directly burn the target code into the operating system of the control board.
第一方面,本发明实施例提供了一种控制主板,包括:In a first aspect, an embodiment of the present invention provides a control motherboard, including:
控制主板主体和转换单元;Control the main body of the main board and the conversion unit;
所述控制主板主体中包括:处理器、ICH(I/O controller hub,输入/输出控制器中心)、JTAG接口和USB接口;The main body of the control board includes: a processor, an ICH (I/O controller hub, input/output controller center), a JTAG interface and a USB interface;
所述转换单元通过所述JTAG接口与外部的上位机相连;The conversion unit is connected with an external host computer through the JTAG interface;
所述ICH与所述处理器相连;the ICH is connected to the processor;
所述ICH通过所述USB接口与所述转换单元相连;The ICH is connected to the conversion unit through the USB interface;
所述转换单元,用于通过所述JTAG接口接收所述上位机发来的JTAG协议的第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口发送给所述ICH;The conversion unit is configured to receive the first target code of the JTAG protocol sent by the host computer through the JTAG interface, convert the first target code of the JTAG protocol into the second target code of the USB protocol, and convert the The second target code is sent to the ICH through the USB interface;
所述ICH,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器中。The ICH is configured to receive the second target code and program the second target code into the processor.
进一步地,further,
所述转换单元包括:ARM(Acorn RISC Machine)处理器。The conversion unit includes: an ARM (Acorn RISC Machine) processor.
进一步地,further,
所述ICH通过PCIE(peripheral component interconnect express)与所述处理器相连。The ICH is connected to the processor through PCIE (peripheral component interconnect express).
进一步地,further,
所述处理器,用于向所述ICH发送第一烧录信号,the processor, configured to send a first programming signal to the ICH,
所述ICH,进一步用于将所述第一烧录信号通过所述USB接口按照USB协议发送给所述转换单元;The ICH is further configured to send the first programming signal to the conversion unit through the USB interface according to the USB protocol;
所述转换单元,进一步用于将USB协议的所述第一烧录信号转换为JTAG协议的第二烧录信号,将所述第二烧录信号通过所述JTAG接口发送给所述上位机;The conversion unit is further configured to convert the first programming signal of the USB protocol into the second programming signal of the JTAG protocol, and send the second programming signal to the host computer through the JTAG interface;
烧录信号包括:所述第一烧录信号、所述第二烧录信号;The programming signal includes: the first programming signal and the second programming signal;
所述烧录信号中包括:通知所述上位机开始烧录的信息,或,通知所述上位机烧录成功的信息,或,通知所述上位机烧录失败的信息。The programming signal includes: information informing the host computer to start programming, or information informing the host computer that programming is successful, or information informing the host computer that programming fails.
第二方面,本发明实施例提供了一种向控制主板烧录代码的装置,包括:In a second aspect, an embodiment of the present invention provides a device for burning code to a control motherboard, including:
待烧录设备和上位机;The device to be burned and the host computer;
所述待烧录设备中包括控制主板;The device to be burned includes a control motherboard;
所述控制主板包括:控制主板主体和转换单元;The control board includes: a control board main body and a conversion unit;
所述控制主板主体中包括:处理器、ICH、JTAG接口和USB接口;The main body of the control board includes: a processor, an ICH, a JTAG interface and a USB interface;
所述转换单元通过所述JTAG接口与所述上位机相连;The conversion unit is connected with the host computer through the JTAG interface;
所述ICH与所述处理器相连;the ICH is connected to the processor;
所述ICH通过所述USB接口与所述转换单元相连;The ICH is connected to the conversion unit through the USB interface;
所述上位机,用于向所述控制主板的JTAG接口发送JTAG协议的第一目标代码;The host computer is used to send the first target code of the JTAG protocol to the JTAG interface of the control motherboard;
所述转换单元,用于通过所述JTAG接口接收所述上位机发来的JTAG协议的所述第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口发送给所述ICH;The conversion unit is configured to receive the first target code of the JTAG protocol sent by the host computer through the JTAG interface, and convert the first target code of the JTAG protocol to the second target code of the USB protocol, sending the second target code to the ICH through the USB interface;
所述ICH,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器中。The ICH is configured to receive the second target code and program the second target code into the processor.
进一步地,further,
所述转换单元包括:ARM处理器。The conversion unit includes: an ARM processor.
进一步地,further,
所述ICH通过PCIE与所述处理器相连。The ICH is connected to the processor through PCIE.
进一步地,further,
所述处理器,用于向所述ICH发送第一烧录信号,the processor, configured to send a first programming signal to the ICH,
所述ICH,进一步用于将所述第一烧录信号通过所述USB接口按照USB协议发送给所述转换单元;The ICH is further configured to send the first programming signal to the conversion unit through the USB interface according to the USB protocol;
所述转换单元,进一步用于将USB协议的所述第一烧录信号转换为JTAG协议的第二烧录信号,将所述第二烧录信号通过所述JTAG接口发送给所述上位机;The conversion unit is further configured to convert the first programming signal of the USB protocol into the second programming signal of the JTAG protocol, and send the second programming signal to the host computer through the JTAG interface;
烧录信号包括:所述第一烧录信号、所述第二烧录信号;The programming signal includes: the first programming signal and the second programming signal;
所述烧录信号中包括:通知所述上位机开始烧录的信息,或,通知所述上位机烧录成功的信息,或,通知所述上位机烧录失败的信息。The programming signal includes: information informing the host computer to start programming, or information informing the host computer that programming is successful, or information informing the host computer that programming fails.
进一步地,further,
所述待烧录设备中包括:背板;The device to be burned includes: a backplane;
所述JTAG接口与所述背板相连;the JTAG interface is connected to the backplane;
所述JTAG接口通过所述背板与所述上位机相连。The JTAG interface is connected to the upper computer through the backplane.
第三方面,本发明实施例提供了一种基于权利要求第一方面中任一所述的控制主板的向控制主板烧录代码的方法,包括:In a third aspect, an embodiment of the present invention provides a method for burning code to the control motherboard based on the control motherboard according to any one of the first aspects of the claims, including:
控制主板的转换单元通过JTAG接口接收外部的上位机发来的JTAG协议的第一目标代码;The conversion unit of the control motherboard receives the first target code of the JTAG protocol sent by the external host computer through the JTAG interface;
所述转换单元将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过USB接口发送给控制主板的ICH;The conversion unit converts the first target code of the JTAG protocol into the second target code of the USB protocol, and sends the second target code to the ICH that controls the motherboard through the USB interface;
所述ICH接收所述第二目标代码,将所述第二目标代码烧录到所述控制主板的处理器中。The ICH receives the second target code, and burns the second target code into the processor of the control motherboard.
在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中。In the embodiment of the present invention, the host computer sends the first target code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first target code to the second target code of the USB protocol that can be recognized by the ICH, so that the ICH can convert the The second target code is burned into the processor, and then the second target code is directly burned into the operating system that controls the motherboard.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1是本发明一实施例提供的一种控制主板的示意图;FIG. 1 is a schematic diagram of a control motherboard according to an embodiment of the present invention;
图2是本发明一实施例提供的另一种控制主板的示意图;2 is a schematic diagram of another control motherboard provided by an embodiment of the present invention;
图3是本发明一实施例提供的一种向控制主板烧录代码的装置的示意图;3 is a schematic diagram of a device for burning codes to a control motherboard according to an embodiment of the present invention;
图4是本发明一实施例提供的一种向控制主板烧录代码的方法的流程图。FIG. 4 is a flowchart of a method for programming a code to a control motherboard according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work are protected by the present invention. scope.
如图1所示,本发明实施例提供了一种控制主板,包括:As shown in FIG. 1, an embodiment of the present invention provides a control motherboard, including:
控制主板主体101和转换单元102;Control the
所述控制主板主体101中包括:处理器1011、ICH 1012、JTAG接口1013和USB接口1014;The control motherboard
所述转换单元102通过所述JTAG接口1013与外部的上位机相连;The
所述ICH 1012与所述处理器1011相连;the
所述ICH 1012通过所述USB接口1014与所述转换单元102相连;The
所述转换单元102,用于通过所述JTAG接口1013接收所述上位机发来的JTAG协议的第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口1014发送给所述ICH 1012;The
所述ICH 1012,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器1011中。The
在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中。In the embodiment of the present invention, the host computer sends the first target code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first target code to the second target code of the USB protocol that can be recognized by the ICH, so that the ICH can convert the The second target code is burned into the processor, and then the second target code is directly burned into the operating system that controls the motherboard.
在本发明一实施例中,所述转换单元包括:ARM处理器。In an embodiment of the present invention, the conversion unit includes: an ARM processor.
如图2所示,本发明实施例提供了一种控制主板,包括:As shown in FIG. 2, an embodiment of the present invention provides a control motherboard, including:
控制主板主体101和ARM处理器201;Control the
所述控制主板主体101中包括:处理器1011、ICH 1012、JTAG接口1013和USB接口1014;The control motherboard
所述ARM处理器201通过所述JTAG接口1013与外部的上位机相连;The
所述ICH 1012与所述处理器1011相连;the
所述ICH 1012通过所述USB接口1014与所述ARM处理器201相连;The
所述ARM处理器201,用于通过所述JTAG接口1013接收所述上位机发来的JTAG协议的第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口1014发送给所述ICH 1012;The
所述ICH 1012,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器1011中。The
在本发明一实施例中,所述ICH通过PCIE与所述处理器相连。In an embodiment of the present invention, the ICH is connected to the processor through PCIE.
具体地,ICH通过PCIE总线与所述处理器相连。Specifically, the ICH is connected to the processor through a PCIE bus.
在本发明一实施例中,所述处理器,用于向所述ICH发送第一烧录信号,In an embodiment of the present invention, the processor is configured to send a first programming signal to the ICH,
所述ICH,进一步用于将所述第一烧录信号通过所述USB接口按照USB协议发送给所述转换单元;The ICH is further configured to send the first programming signal to the conversion unit through the USB interface according to the USB protocol;
所述转换单元,进一步用于将USB协议的所述第一烧录信号转换为JTAG协议的第二烧录信号,将所述第二烧录信号通过所述JTAG接口发送给所述上位机;The conversion unit is further configured to convert the first programming signal of the USB protocol into the second programming signal of the JTAG protocol, and send the second programming signal to the host computer through the JTAG interface;
烧录信号包括:所述第一烧录信号、所述第二烧录信号;The programming signal includes: the first programming signal and the second programming signal;
所述烧录信号中包括:通知所述上位机开始烧录的信息,或,通知所述上位机烧录成功的信息,或,通知所述上位机烧录失败的信息。The programming signal includes: information informing the host computer to start programming, or information informing the host computer that programming is successful, or information informing the host computer that programming fails.
在本发明实施例中,转换单元可以实现USB协议与JTAG协议的互相转换,使得外部的上位机可以直接与处理器进行交互,提高了烧录的效率。处理器通过向上位机发送烧录信号,使得上位机能够及时了解控制主板的情况。例如:当上位机接收到通知上位机开始烧录的信息时,上位机可以开始烧录,发出第一目标代码;当上位机接收到通知上位机烧录成功的信息时,上位机可以结束烧录过程;当上位机接收到通知上位机烧录失败的信息时,上位机可以重新烧录,重新发出第一目标代码,或者,上位机发出故障告警,进而查找失败原因,进行修复。In the embodiment of the present invention, the conversion unit can realize the mutual conversion between the USB protocol and the JTAG protocol, so that the external host computer can directly interact with the processor, which improves the efficiency of programming. The processor sends the programming signal to the upper computer, so that the upper computer can know the situation of the control board in time. For example: when the host computer receives the information notifying the host computer to start programming, the host computer can start programming and issue the first target code; when the host computer receives the information notifying the host computer that the programming is successful, the host computer can end the programming When the host computer receives the information notifying the host computer that the programming fails, the host computer can re-program and re-send the first target code, or the host computer sends a fault alarm, and then finds the cause of the failure and repairs it.
在本发明一实施例中,处理器可以是申威处理器。In an embodiment of the present invention, the processor may be a Sunway processor.
ARM处理器可以是小型ARM处理器,便于在控制主板上部署,减少占用的空间。The ARM processor can be a small ARM processor, which is easy to deploy on the control board and reduces the space occupied.
在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中,使得控制主板所在的设备能够满足用户的各种需求,并且,提高了控制主板所在的设备的可维护性与稳定性。In the embodiment of the present invention, the host computer sends the first target code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first target code to the second target code of the USB protocol that can be recognized by the ICH, so that the ICH can convert the The second target code is burned into the processor, and then the second target code is directly burned into the operating system of the control board, so that the device where the control board is located can meet the various needs of users, and it improves the performance of the control board. Maintainability and stability of equipment.
在本发明实施例中,该控制主板的控制主板主体还可以包括:内存、FPGA维护模块、网卡模块。In the embodiment of the present invention, the main body of the control board of the control board may further include: a memory, an FPGA maintenance module, and a network card module.
其中,内存可以是DDR3内存,通过表贴DDR3内存颗粒方式实现。Among them, the memory can be DDR3 memory, which is realized by means of surface-mounted DDR3 memory particles.
FPGA(Field-Programmable Gate Array,即现场可编程门阵列)维护模块,可以用于控制主板的调试及维护。FPGA (Field-Programmable Gate Array, namely Field Programmable Gate Array) maintenance module, can be used to control the debugging and maintenance of the main board.
网卡模块可以实现网络与背板上其余模块的互连。网卡模块可以通过网卡INTEL82574模块来实现。The network card module can realize the interconnection between the network and other modules on the backplane. The network card module can be realized by the network card INTEL82574 module.
ICH还可以支持VGA(Video Graphics Array,视频传输标准)接口、USB接口、PCIE接口,这些接口与处理器集成的PCIE一起输出至背板,用以实现整机的扩展及其余附加功能。The ICH can also support a VGA (Video Graphics Array, video transmission standard) interface, a USB interface, and a PCIE interface, which are output to the backplane together with the PCIE integrated in the processor to realize the expansion of the whole machine and other additional functions.
ICH可以通过PCIE与网卡模块相连。The ICH can be connected to the network card module through PCIE.
如图3所示,本发明实施例提供了一种向控制主板烧录代码的装置,包括:As shown in FIG. 3 , an embodiment of the present invention provides a device for burning codes to a control motherboard, including:
待烧录设备31和上位机32;The
所述待烧录设备31中包括控制主板311;The to-
所述控制主板311包括:控制主板主体3111和转换单元3112;The
所述控制主板主体3111中包括:处理器31111、ICH 31112和JTAG接口31113和USB接口31114;The
所述转换单元3112通过所述JTAG接口31113与所述上位机32相连;The
所述ICH 31112与所述处理器31111相连;The
所述ICH 31112通过所述USB接口31114与所述转换单元3112相连;The
所述上位机32,用于向所述控制主板311的JTAG接口31113发送JTAG协议的第一目标代码;The
所述转换单元3112,用于通过所述JTAG接口31113接收所述上位机发来的JTAG协议的所述第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口31114发送给所述ICH 31112;The
所述ICH 31112,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器31111中。The
当然,待烧录设备除了控制主板之外,还可以包括硬盘、电源、输入输出设备等。待烧录设备可以是计算机、服务器等。Of course, in addition to controlling the motherboard, the device to be burned may also include a hard disk, a power supply, an input and output device, and the like. The device to be burned may be a computer, a server, or the like.
在本发明一实施例中,所述转换单元包括:ARM处理器。In an embodiment of the present invention, the conversion unit includes: an ARM processor.
在本发明一实施例中,所述ICH通过PCIE与所述处理器相连。In an embodiment of the present invention, the ICH is connected to the processor through PCIE.
在本发明一实施例中,所述处理器,用于向所述ICH发送第一烧录信号,In an embodiment of the present invention, the processor is configured to send a first programming signal to the ICH,
所述ICH,进一步用于将所述第一烧录信号通过所述USB接口按照USB协议发送给所述转换单元;The ICH is further configured to send the first programming signal to the conversion unit through the USB interface according to the USB protocol;
所述转换单元,进一步用于将USB协议的所述第一烧录信号转换为JTAG协议的第二烧录信号,将所述第二烧录信号通过所述JTAG接口发送给所述上位机;The conversion unit is further configured to convert the first programming signal of the USB protocol into the second programming signal of the JTAG protocol, and send the second programming signal to the host computer through the JTAG interface;
烧录信号包括:所述第一烧录信号、所述第二烧录信号;The programming signal includes: the first programming signal and the second programming signal;
所述烧录信号中包括:通知所述上位机开始烧录的信息,或,通知所述上位机烧录成功的信息,或,通知所述上位机烧录失败的信息。The programming signal includes: information informing the host computer to start programming, or information informing the host computer that programming is successful, or information informing the host computer that programming fails.
在本发明一实施例中,所述待烧录设备中包括:背板;In an embodiment of the present invention, the device to be programmed includes: a backplane;
所述JTAG接口与所述背板相连;the JTAG interface is connected to the backplane;
所述JTAG接口通过所述背板与所述上位机相连。The JTAG interface is connected to the upper computer through the backplane.
如图4所示,本发明实施例提供了一种基于本发明实施例中任一所述的控制主板的向控制主板烧录代码的方法,包括:As shown in FIG. 4 , an embodiment of the present invention provides a method for burning code to a control motherboard based on any one of the control motherboards in the embodiments of the present invention, including:
步骤401:控制主板的转换单元通过JTAG接口接收外部的上位机发来的JTAG协议的第一目标代码;Step 401: the conversion unit of the control motherboard receives the first target code of the JTAG protocol sent by the external host computer through the JTAG interface;
步骤402:所述转换单元将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过USB接口发送给控制主板的ICH;Step 402: the conversion unit converts the first target code of the JTAG protocol into the second target code of the USB protocol, and sends the second target code to the ICH of the control motherboard through the USB interface;
步骤403:所述ICH接收所述第二目标代码,将所述第二目标代码烧录到所述控制主板的处理器中。Step 403: The ICH receives the second target code, and burns the second target code into the processor of the control motherboard.
本发明各个实施例至少具有如下有益效果:Each embodiment of the present invention has at least the following beneficial effects:
1、在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中。1. In the embodiment of the present invention, the host computer sends the first target code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first target code into the second target code of the USB protocol that the ICH can recognize, so that the ICH The second object code can be burned into the processor, and then the second object code can be directly burned into the operating system of the control board.
2、在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中,使得控制主板所在的设备能够满足用户的各种需求,并且,提高了控制主板所在的设备的可维护性与稳定性。2. In the embodiment of the present invention, the host computer sends the first target code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first target code into the second target code of the USB protocol that the ICH can recognize, so that the ICH The second target code can be burned into the processor, and then the second target code can be directly burned into the operating system of the control board, so that the device where the control board is located can meet various needs of users, and the control board is improved. The maintainability and stability of the equipment where it is located.
需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个······”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同因素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply a relationship between these entities or operations. There is no such actual relationship or sequence. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, the inclusion of an element by the phrase "comprising a..." does not preclude the presence of additional such elements in the process, method, article or apparatus that includes the element.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储在计算机可读取的存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质中。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other mediums that can store program codes.
最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention, and are only used to illustrate the technical solutions of the present invention, but not to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710495278.4A CN107273167B (en) | 2017-06-26 | 2017-06-26 | Device and method for controlling mainboard, and programming code to the mainboard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710495278.4A CN107273167B (en) | 2017-06-26 | 2017-06-26 | Device and method for controlling mainboard, and programming code to the mainboard |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107273167A CN107273167A (en) | 2017-10-20 |
CN107273167B true CN107273167B (en) | 2020-07-10 |
Family
ID=60068712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710495278.4A Active CN107273167B (en) | 2017-06-26 | 2017-06-26 | Device and method for controlling mainboard, and programming code to the mainboard |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273167B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582324B (en) * | 2018-12-03 | 2022-02-18 | 郑州云海信息技术有限公司 | IC burning method and board card |
CN113407218A (en) * | 2021-07-07 | 2021-09-17 | 广州医软智能科技有限公司 | Method for upgrading program on line and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750156A (en) * | 2011-04-19 | 2012-10-24 | 上海博泰悦臻电子设备制造有限公司 | Program burning method and system |
CN103092633A (en) * | 2011-10-31 | 2013-05-08 | 北京精密机电控制设备研究所 | Servo control software online burning method based on 1553B bus |
CN103399761A (en) * | 2013-07-22 | 2013-11-20 | 珠海全志科技股份有限公司 | Firmware burn method and firmware burn device |
CN103425607A (en) * | 2012-05-23 | 2013-12-04 | 神讯电脑(昆山)有限公司 | USB (universal serial bus) burning device for directly burning SPI ROM (serial peripheral interface read only memory) on mainboard |
CN105072492A (en) * | 2015-07-27 | 2015-11-18 | 上海龙晶科技有限公司 | Program burning board and program post-burning method of intelligent set top box |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7490305B2 (en) * | 2006-07-17 | 2009-02-10 | International Business Machines Corporation | Method for driving values to DC adjusted/untimed nets to identify timing problems |
US8868955B2 (en) * | 2011-07-01 | 2014-10-21 | Intel Corporation | Enhanced interconnect link width modulation for power savings |
-
2017
- 2017-06-26 CN CN201710495278.4A patent/CN107273167B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750156A (en) * | 2011-04-19 | 2012-10-24 | 上海博泰悦臻电子设备制造有限公司 | Program burning method and system |
CN103092633A (en) * | 2011-10-31 | 2013-05-08 | 北京精密机电控制设备研究所 | Servo control software online burning method based on 1553B bus |
CN103425607A (en) * | 2012-05-23 | 2013-12-04 | 神讯电脑(昆山)有限公司 | USB (universal serial bus) burning device for directly burning SPI ROM (serial peripheral interface read only memory) on mainboard |
CN103399761A (en) * | 2013-07-22 | 2013-11-20 | 珠海全志科技股份有限公司 | Firmware burn method and firmware burn device |
CN105072492A (en) * | 2015-07-27 | 2015-11-18 | 上海龙晶科技有限公司 | Program burning board and program post-burning method of intelligent set top box |
Also Published As
Publication number | Publication date |
---|---|
CN107273167A (en) | 2017-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103399840B (en) | The outer amending method of the band of a kind of allocation of computer file and computer | |
CN108845655B (en) | Electronic equipment control method, device, control circuit and electronic equipment | |
US20200142683A1 (en) | Software update system | |
CN109976767A (en) | Software burning method and device | |
US9026685B2 (en) | Memory module communication control | |
CN112783721B (en) | Method, device, system and storage medium for I2C bus monitoring | |
CN103412836B (en) | Hot plug processing method, device and system | |
CN110515635A (en) | Mainboard VR firmware upgrade method, device, server and readable storage medium | |
CN107273167B (en) | Device and method for controlling mainboard, and programming code to the mainboard | |
CN103955416A (en) | Hard disk management method, device and system | |
CN102081526B (en) | Basic Input/Output System Architecture | |
KR101284403B1 (en) | System and method for customizing a scsi error response received from a scsi target in a storage network environment | |
WO2019052124A1 (en) | Data processing method and electronic device | |
CN115098324A (en) | Hard disk maintenance method, device, device and storage medium | |
CN113138650A (en) | CPLD PCI equipment hot reset circuit, method, system and readable storage medium | |
CN115470054A (en) | A server memory function testing method, system, device and storage medium | |
CN113434442A (en) | A switch and data access method | |
TW201335764A (en) | Computer device and working mode conversion method of universal serial bus connector thereof | |
CN114356411A (en) | A hard disk power-on and power-off control system applied to an Ampere server | |
CN105468123A (en) | Rack management controller, power management program update system and method | |
WO2024109026A1 (en) | Server interrupt operation execution method and apparatus, device, and storage medium | |
CN116204214A (en) | BMC upgrade method, device, system, electronic equipment and storage medium | |
US20170060672A1 (en) | Electronic component having redundant product data stored externally | |
CN104679123A (en) | Mainboard and data burning method thereof | |
TWI735869B (en) | Storage control device and control method thereof |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200617 Address after: 250100 Ji'nan high tech Zone, Shandong, No. 1036 wave road Applicant after: INSPUR GROUP Co.,Ltd. Address before: 250100, Ji'nan province high tech Zone, Sun Village Branch Road, No. 2877, building, floor, building, on the first floor Applicant before: JINAN INSPUR HIGH-TECH TECHNOLOGY DEVELOPMENT Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230324 Address after: 250000 building S02, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province Patentee after: Shandong Inspur Scientific Research Institute Co.,Ltd. Address before: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong Patentee before: INSPUR GROUP Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241014 Address after: 2324, Building 1, Aosheng Building, No. 1166 Xinluo Street, High tech Zone, Jinan City, Shandong Province, 250000 Patentee after: Inspur Computer Technology Co.,Ltd. Country or region after: China Address before: 250000 building S02, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province Patentee before: Shandong Inspur Scientific Research Institute Co.,Ltd. Country or region before: China |