[go: up one dir, main page]

CN107273167A - Control mainboard, the device and method to control mainboard burning code - Google Patents

Control mainboard, the device and method to control mainboard burning code Download PDF

Info

Publication number
CN107273167A
CN107273167A CN201710495278.4A CN201710495278A CN107273167A CN 107273167 A CN107273167 A CN 107273167A CN 201710495278 A CN201710495278 A CN 201710495278A CN 107273167 A CN107273167 A CN 107273167A
Authority
CN
China
Prior art keywords
object code
ich
jtag
host computer
conversion unit
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
Application number
CN201710495278.4A
Other languages
Chinese (zh)
Other versions
CN107273167B (en
Inventor
赵素梅
张孝飞
刘强
金长新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Computer Technology Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN201710495278.4A priority Critical patent/CN107273167B/en
Publication of CN107273167A publication Critical patent/CN107273167A/en
Application granted granted Critical
Publication of CN107273167B publication Critical patent/CN107273167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus 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 invention provides a control board and a device and method for burning codes to the control board. The control board includes: the main body of the control board includes: a processor, an ICH, a JTAG interface and a USB interface; the conversion unit passes through the JTAG interface Connected to an external host computer; the ICH is connected to the processor; the ICH is connected to the conversion unit through the USB interface; the conversion unit is used to receive the host computer through the JTAG interface. The first object code of the JTAG protocol is converted into the second object code of the USB protocol by the first object code of the JTAG protocol, and the second object code is sent to the ICH through the USB interface; The ICH is configured to receive the second object code, and burn the second object code into the processor. The invention can directly burn the target code into the operating system of the control mainboard.

Description

控制主板、向控制主板烧录代码的装置及方法Device and method for controlling mainboard and programming code to control mainboard

技术领域technical field

本发明涉及电子技术领域,特别涉及控制主板、向控制主板烧录代码的装置及方法。The invention relates to the field of electronic technology, in particular to a control board and a device and method for burning codes to the control board.

背景技术Background technique

为了使得设备能够满足用户的各种需求,需要向设备的控制主板烧录各种目标代码,通过这些目标代码使得设备能够实现用户所需要的功能。In order to enable the device to meet the various needs of the user, it is necessary to burn various object codes to the control board of the device, and through these object codes, the device can realize the functions required by the user.

在现有技术中,设备的控制主板上一般设置有JTAG(Joint Test Action Group,联合测试行动小组)接口,用户通过JTAG接口向控制主板烧录目标代码,但是,JTAG接口无法直接与控制主板的处理器进行交互,因此,通过JTAG接口无法将目标代码烧录都控制主板的操作系统中。In the prior art, the control board of the equipment is generally provided with a JTAG (Joint Test Action Group, joint test action group) interface, and the user burns the target code to the control board through the JTAG interface, but the JTAG interface cannot directly communicate with the control board. The processor interacts, therefore, the object code cannot be burned into the operating system of the control board through the JTAG interface.

发明内容Contents of the invention

本发明实施例提供了控制主板、向控制主板烧录代码的装置及方法,能够将目标代码直接烧录到控制主板的操作系统中。The embodiment of the present invention provides a control board and a device and method for burning codes to the control board, which can directly burn target codes into the operating system of the control board.

第一方面,本发明实施例提供了一种控制主板,包括:In a first aspect, an embodiment of the present invention provides a control board, including:

控制主板主体和转换单元;Control main board body and conversion unit;

所述控制主板主体中包括:处理器、ICH(I/O controller hub,输入/输出控制器中心)、JTAG接口和USB接口;Include in described control main board main body: processor, ICH (I/O controller hub, input/output controller center), JTAG interface and USB interface;

所述转换单元通过所述JTAG接口与外部的上位机相连;The conversion unit is connected to 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 object code of the JTAG protocol sent by the host computer through the JTAG interface, convert the first object code of the JTAG protocol into the second object code of the USB protocol, and convert the The second object code is sent to the ICH through the USB interface;

所述ICH,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器中。The ICH is configured to receive the second object code, and burn the second object code into the processor.

进一步地,further,

所述转换单元包括:ARM(Acorn RISC Machine)处理器。The conversion unit includes: ARM (Acorn RISC Machine) processor.

进一步地,further,

所述ICH通过PCIE(peripheral component interconnect express)与所述处理器相连。The ICH is connected to the processor through a PCIE (peripheral component interconnect express).

进一步地,further,

所述处理器,用于向所述ICH发送第一烧录信号,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 a 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 notifying the host computer to start programming, or information notifying the host computer of programming success, or information notifying the host computer of programming failure.

第二方面,本发明实施例提供了一种向控制主板烧录代码的装置,包括:In the second aspect, the embodiment of the present invention provides a device for programming codes to the control board, including:

待烧录设备和上位机;The device to be burned and the host computer;

所述待烧录设备中包括控制主板;The device to be programmed includes a control board;

所述控制主板包括:控制主板主体和转换单元;The control main board includes: a main body of the control main board and a conversion unit;

所述控制主板主体中包括:处理器、ICH、JTAG接口和USB接口;The main body of the control board includes: processor, ICH, JTAG interface and USB interface;

所述转换单元通过所述JTAG接口与所述上位机相连;The conversion unit is connected to 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 object code of the JTAG protocol to the JTAG interface of the control mainboard;

所述转换单元,用于通过所述JTAG接口接收所述上位机发来的JTAG协议的所述第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口发送给所述ICH;The conversion unit is configured to receive the first object code of the JTAG protocol sent by the host computer through the JTAG interface, and convert the first object code of the JTAG protocol into a second object code of the USB protocol, sending the second object code to the ICH through the USB interface;

所述ICH,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器中。The ICH is configured to receive the second object code, and burn the second object code into the processor.

进一步地,further,

所述转换单元包括:ARM处理器。The converting unit includes: an ARM processor.

进一步地,further,

所述ICH通过PCIE与所述处理器相连。The ICH is connected to the processor through PCIE.

进一步地,further,

所述处理器,用于向所述ICH发送第一烧录信号,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 a 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 notifying the host computer to start programming, or information notifying the host computer of programming success, or information notifying the host computer of programming failure.

进一步地,further,

所述待烧录设备中包括:背板;The device to be programmed includes: a backplane;

所述JTAG接口与所述背板相连;The JTAG interface is connected to the backplane;

所述JTAG接口通过所述背板与所述上位机相连。The JTAG interface is connected with the host computer through the backplane.

第三方面,本发明实施例提供了一种基于权利要求第一方面中任一所述的控制主板的向控制主板烧录代码的方法,包括:In the third aspect, the embodiment of the present invention provides a method for burning codes to the control motherboard based on the control motherboard described in any one of the first aspects of the claim, including:

控制主板的转换单元通过JTAG接口接收外部的上位机发来的JTAG协议的第一目标代码;The conversion unit of the control board receives the first object 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 of the control motherboard through the USB interface;

所述ICH接收所述第二目标代码,将所述第二目标代码烧录到所述控制主板的处理器中。The ICH receives the second object code, and burns the second object code into the processor of the control main board.

在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中。In the embodiment of the present invention, the host computer sends the first object code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first object code into the second object code of the USB protocol that the ICH can recognize, so that the ICH can convert the The second object code is burned into the processor, and then the second object code is directly burned into the operating system of the control motherboard.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明一实施例提供的一种控制主板的示意图;Fig. 1 is a schematic diagram of a control board provided by an embodiment of the present invention;

图2是本发明一实施例提供的另一种控制主板的示意图;Fig. 2 is a schematic diagram of another control main board provided by an embodiment of the present invention;

图3是本发明一实施例提供的一种向控制主板烧录代码的装置的示意图;Fig. 3 is a schematic diagram of a device for programming codes to the control board provided by an embodiment of the present invention;

图4是本发明一实施例提供的一种向控制主板烧录代码的方法的流程图。Fig. 4 is a flow chart of a method for programming codes to a control board provided by an embodiment of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, 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 in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

如图1所示,本发明实施例提供了一种控制主板,包括:As shown in Figure 1, an embodiment of the present invention provides a control board, including:

控制主板主体101和转换单元102;Control the main board main body 101 and the conversion unit 102;

所述控制主板主体101中包括:处理器1011、ICH 1012、JTAG接口1013和USB接口1014;The control board main body 101 includes: a processor 1011, an ICH 1012, a JTAG interface 1013 and a USB interface 1014;

所述转换单元102通过所述JTAG接口1013与外部的上位机相连;The conversion unit 102 is connected to an external host computer through the JTAG interface 1013;

所述ICH 1012与所述处理器1011相连;The ICH 1012 is connected to the processor 1011;

所述ICH 1012通过所述USB接口1014与所述转换单元102相连;The ICH 1012 is connected to the conversion unit 102 through the USB interface 1014;

所述转换单元102,用于通过所述JTAG接口1013接收所述上位机发来的JTAG协议的第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口1014发送给所述ICH 1012;The conversion unit 102 is configured to receive the first object code of the JTAG protocol sent by the host computer through the JTAG interface 1013, and convert the first object code of the JTAG protocol into a second object code of the USB protocol, sending the second object code to the ICH 1012 through the USB interface 1014;

所述ICH 1012,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器1011中。The ICH 1012 is configured to receive the second object code, and burn the second object code into the processor 1011 .

在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中。In the embodiment of the present invention, the host computer sends the first object code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first object code into the second object code of the USB protocol that the ICH can recognize, so that the ICH can convert the The second object code is burned into the processor, and then the second object code is directly burned into the operating system of the control motherboard.

在本发明一实施例中,所述转换单元包括:ARM处理器。In an embodiment of the present invention, the converting unit includes: an ARM processor.

如图2所示,本发明实施例提供了一种控制主板,包括:As shown in Figure 2, an embodiment of the present invention provides a control board, including:

控制主板主体101和ARM处理器201;Control the main board main body 101 and the ARM processor 201;

所述控制主板主体101中包括:处理器1011、ICH 1012、JTAG接口1013和USB接口1014;The control board main body 101 includes: a processor 1011, an ICH 1012, a JTAG interface 1013 and a USB interface 1014;

所述ARM处理器201通过所述JTAG接口1013与外部的上位机相连;The ARM processor 201 is connected to an external host computer through the JTAG interface 1013;

所述ICH 1012与所述处理器1011相连;The ICH 1012 is connected to the processor 1011;

所述ICH 1012通过所述USB接口1014与所述ARM处理器201相连;The ICH 1012 is connected to the ARM processor 201 through the USB interface 1014;

所述ARM处理器201,用于通过所述JTAG接口1013接收所述上位机发来的JTAG协议的第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口1014发送给所述ICH 1012;The ARM processor 201 is configured to receive the first object code of the JTAG protocol sent by the host computer through the JTAG interface 1013, and convert the first object code of the JTAG protocol into the second object code of the USB protocol , sending the second object code to the ICH 1012 through the USB interface 1014;

所述ICH 1012,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器1011中。The ICH 1012 is configured to receive the second object code, and burn the second object code into the processor 1011 .

在本发明一实施例中,所述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 a 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 notifying the host computer to start programming, or information notifying the host computer of programming success, or information notifying the host computer of programming failure.

在本发明实施例中,转换单元可以实现USB协议与JTAG协议的互相转换,使得外部的上位机可以直接与处理器进行交互,提高了烧录的效率。处理器通过向上位机发送烧录信号,使得上位机能够及时了解控制主板的情况。例如:当上位机接收到通知上位机开始烧录的信息时,上位机可以开始烧录,发出第一目标代码;当上位机接收到通知上位机烧录成功的信息时,上位机可以结束烧录过程;当上位机接收到通知上位机烧录失败的信息时,上位机可以重新烧录,重新发出第一目标代码,或者,上位机发出故障告警,进而查找失败原因,进行修复。In the embodiment of the present invention, the conversion unit can realize mutual conversion between the USB protocol and the JTAG protocol, so that the external host computer can directly interact with the processor, thereby improving the programming efficiency. The processor sends a programming signal to the host computer, so that the host 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 burning, the host computer can start burning and send out the first target code; when the host computer receives the information notifying the host computer that the burning is successful, the host computer can end the burning recording process; when the upper computer receives the information notifying the upper computer that the programming has failed, the upper computer can re-program and re-send the first target code, or the upper computer sends out 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 Shenwei processor.

ARM处理器可以是小型ARM处理器,便于在控制主板上部署,减少占用的空间。The ARM processor can be a small ARM processor, which is convenient to be deployed on the control board and reduces the occupied space.

在本发明实施例中,上位机通过JTAG接口将JTAG协议的第一目标代码发送给转换单元,转换单元将第一目标代码转换为ICH能够识别的USB协议的第二目标代码,使得ICH能够将第二目标代码烧录到处理器中,进而将第二目标代码直接烧录到控制主板的操作系统中,使得控制主板所在的设备能够满足用户的各种需求,并且,提高了控制主板所在的设备的可维护性与稳定性。In the embodiment of the present invention, the host computer sends the first object code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first object code into the second object code of the USB protocol that the ICH can recognize, so that the ICH can convert the The second object code is burned into the processor, and then the second object code is directly burned into the operating system of the control board, so that the equipment where the control board is located can meet the various needs of users, and the operating system where the control board is located is improved. Equipment maintainability and stability.

在本发明实施例中,该控制主板的控制主板主体还可以包括:内存、FPGA维护模块、网卡模块。In the embodiment of the present invention, the control mainboard body of the control mainboard may further include: a memory, an FPGA maintenance module, and a network card module.

其中,内存可以是DDR3内存,通过表贴DDR3内存颗粒方式实现。Wherein, the memory may be DDR3 memory, which is implemented by surface-mounting DDR3 memory particles.

FPGA(Field-Programmable Gate Array,即现场可编程门阵列)维护模块,可以用于控制主板的调试及维护。The FPGA (Field-Programmable Gate Array, 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一起输出至背板,用以实现整机的扩展及其余附加功能。ICH can also support VGA (Video Graphics Array, video transmission standard) interface, USB interface, and PCIE interface. These interfaces 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 Figure 3, the embodiment of the present invention provides a device for programming codes to the control board, including:

待烧录设备31和上位机32;The device to be burned 31 and the host computer 32;

所述待烧录设备31中包括控制主板311;The device 31 to be programmed includes a control board 311;

所述控制主板311包括:控制主板主体3111和转换单元3112;The control board 311 includes: a control board main body 3111 and a conversion unit 3112;

所述控制主板主体3111中包括:处理器31111、ICH 31112和JTAG接口31113和USB接口31114;The control board main body 3111 includes: a processor 31111, an ICH 31112, a JTAG interface 31113 and a USB interface 31114;

所述转换单元3112通过所述JTAG接口31113与所述上位机32相连;The conversion unit 3112 is connected to the host computer 32 through the JTAG interface 31113;

所述ICH 31112与所述处理器31111相连;The ICH 31112 is connected to the processor 31111;

所述ICH 31112通过所述USB接口31114与所述转换单元3112相连;The ICH 31112 is connected to the conversion unit 3112 through the USB interface 31114;

所述上位机32,用于向所述控制主板311的JTAG接口31113发送JTAG协议的第一目标代码;The host computer 32 is configured to send the first object code of the JTAG protocol to the JTAG interface 31113 of the control motherboard 311;

所述转换单元3112,用于通过所述JTAG接口31113接收所述上位机发来的JTAG协议的所述第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口31114发送给所述ICH 31112;The conversion unit 3112 is configured to receive the first object code of the JTAG protocol sent by the host computer through the JTAG interface 31113, and convert the first object code of the JTAG protocol into the second object code of the USB protocol. code, sending the second object code to the ICH 31112 through the USB interface 31114;

所述ICH 31112,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器31111中。The ICH 31112 is configured to receive the second object code, and burn the second object code into the processor 31111.

当然,待烧录设备除了控制主板之外,还可以包括硬盘、电源、输入输出设备等。待烧录设备可以是计算机、服务器等。Of course, besides the control board, the device to be programmed may also include hard disk, power supply, input and output devices, etc. The device to be burned can be a computer, server, etc.

在本发明一实施例中,所述转换单元包括:ARM处理器。In an embodiment of the present invention, the converting 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 a 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 notifying the host computer to start programming, or information notifying the host computer of programming success, or information notifying the host computer of programming failure.

在本发明一实施例中,所述待烧录设备中包括:背板;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 with the host computer through the backplane.

如图4所示,本发明实施例提供了一种基于本发明实施例中任一所述的控制主板的向控制主板烧录代码的方法,包括:As shown in Figure 4, the embodiment of the present invention provides a method for programming codes to the control board based on any one of the control boards in the embodiments of the present invention, including:

步骤401:控制主板的转换单元通过JTAG接口接收外部的上位机发来的JTAG协议的第一目标代码;Step 401: the conversion unit of the control board receives the first object 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 object code of the JTAG protocol into a second object code of the USB protocol, and sends the second object code to the ICH of the control board through the USB interface;

步骤403:所述ICH接收所述第二目标代码,将所述第二目标代码烧录到所述控制主板的处理器中。Step 403: The ICH receives the second object code, and burns the second object code into the processor of the control board.

本发明各个实施例至少具有如下有益效果:Various embodiments of the present invention have 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 object code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first object code into the second object 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 upper computer sends the first object code of the JTAG protocol to the conversion unit through the JTAG interface, and the conversion unit converts the first object code into the second object 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, so that the equipment 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 article, 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 that there is a relationship between these entities or operations. There is no such actual relationship or sequence. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional same elements in the process, method, article or apparatus comprising said element.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储在计算机可读取的存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质中。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by program instructions related hardware, and the aforementioned programs can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media 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 solution of the present invention, and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (10)

1.一种控制主板,其特征在于,包括:1. A control mainboard, characterized in that, comprising: 控制主板主体和转换单元;Control main board body and conversion unit; 所述控制主板主体中包括:处理器、输入/输出控制器中心ICH、联合测试行动小组JTAG接口和USB接口;The main body of the control main board includes: a processor, an input/output controller center ICH, a joint test action group JTAG interface and a USB interface; 所述转换单元通过所述JTAG接口与外部的上位机相连;The conversion unit is connected to 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 object code of the JTAG protocol sent by the host computer through the JTAG interface, convert the first object code of the JTAG protocol into the second object code of the USB protocol, and convert the The second object code is sent to the ICH through the USB interface; 所述ICH,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器中。The ICH is configured to receive the second object code, and burn the second object code into the processor. 2.根据权利要求1所述的控制主板,其特征在于,2. The control main board according to claim 1, characterized in that, 所述转换单元包括:ARM处理器。The converting unit includes: an ARM processor. 3.根据权利要求1所述的控制主板,其特征在于,3. The control main board according to claim 1, characterized in that, 所述ICH通过PCIE与所述处理器相连。The ICH is connected to the processor through PCIE. 4.根据权利要求1-3中任一所述的控制主板,其特征在于,4. The control board according to any one of claims 1-3, characterized in that, 所述处理器,用于向所述ICH发送第一烧录信号,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 a 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 notifying the host computer to start programming, or information notifying the host computer of programming success, or information notifying the host computer of programming failure. 5.一种向控制主板烧录代码的装置,其特征在于,包括:5. A device for burning codes to the control board, characterized in that it comprises: 待烧录设备和上位机;The device to be burned and the host computer; 所述待烧录设备中包括控制主板;The device to be programmed includes a control board; 所述控制主板包括:控制主板主体和转换单元;The control main board includes: a main body of the control main board and a conversion unit; 所述控制主板主体中包括:处理器、输入/输出控制器中心ICH、联合测试行动小组JTAG接口和USB接口;The main body of the control main board includes: a processor, an input/output controller center ICH, a joint test action group JTAG interface and a USB interface; 所述转换单元通过所述JTAG接口与所述上位机相连;The conversion unit is connected to 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 object code of the JTAG protocol to the JTAG interface of the control mainboard; 所述转换单元,用于通过所述JTAG接口接收所述上位机发来的JTAG协议的所述第一目标代码,将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过所述USB接口发送给所述ICH;The conversion unit is configured to receive the first object code of the JTAG protocol sent by the host computer through the JTAG interface, and convert the first object code of the JTAG protocol into a second object code of the USB protocol, sending the second object code to the ICH through the USB interface; 所述ICH,用于接收所述第二目标代码,将所述第二目标代码烧录到所述处理器中。The ICH is configured to receive the second object code, and burn the second object code into the processor. 6.根据权利要求5所述的装置,其特征在于,6. The device according to claim 5, characterized in that, 所述转换单元包括:ARM处理器。The converting unit includes: an ARM processor. 7.根据权利要求5所述的装置,其特征在于,7. The device of claim 5, wherein: 所述ICH通过PCIE与所述处理器相连。The ICH is connected to the processor through PCIE. 8.根据权利要求5所述的装置,其特征在于,8. The device of claim 5, wherein: 所述处理器,用于向所述ICH发送第一烧录信号,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 a 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 notifying the host computer to start programming, or information notifying the host computer of programming success, or information notifying the host computer of programming failure. 9.根据权利要求5-8中任一所述的装置,其特征在于,9. The device according to any one of claims 5-8, characterized in that, 所述待烧录设备中包括:背板;The device to be programmed includes: a backplane; 所述JTAG接口与所述背板相连;The JTAG interface is connected to the backplane; 所述JTAG接口通过所述背板与所述上位机相连。The JTAG interface is connected with the host computer through the backplane. 10.一种基于权利要求1-4中任一所述的控制主板的向控制主板烧录代码的方法,其特征在于,包括:10. A method for burning codes to the control main board based on the control main board according to any one of claims 1-4, characterized in that, comprising: 控制主板的转换单元通过联合测试行动小组JTAG接口接收外部的上位机发来的JTAG协议的第一目标代码;The conversion unit of the control board receives the first object code of the JTAG protocol sent by the external host computer through the JTAG interface of the joint test action group; 所述转换单元将JTAG协议的所述第一目标代码转换为USB协议的第二目标代码,将所述第二目标代码通过USB接口发送给控制主板的输入/输出控制器中心ICH;The conversion unit converts the first object code of the JTAG protocol into the second object code of the USB protocol, and sends the second object code to the input/output controller center ICH of the control motherboard through the USB interface; 所述ICH接收所述第二目标代码,将所述第二目标代码烧录到所述控制主板的处理器中。The ICH receives the second object code, and burns the second object code into the processor of the control mainboard.
CN201710495278.4A 2017-06-26 2017-06-26 Device and method for controlling mainboard, and programming code to the mainboard Active CN107273167B (en)

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 true CN107273167A (en) 2017-10-20
CN107273167B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582324A (en) * 2018-12-03 2019-04-05 郑州云海信息技术有限公司 A kind of IC method for burn-recording and board
CN113407218A (en) * 2021-07-07 2021-09-17 广州医软智能科技有限公司 Method for upgrading program on line and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132983A1 (en) * 2006-07-17 2009-05-21 International Business Machines Corporation Driving Values to DC Adjusted/Untimed Nets to Identify Timing Problems
CN102750156A (en) * 2011-04-19 2012-10-24 上海博泰悦臻电子设备制造有限公司 Program burning method and system
US20130007491A1 (en) * 2011-07-01 2013-01-03 Venkatraman Iyer Enhanced interconnect link width modulation for power savings
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132983A1 (en) * 2006-07-17 2009-05-21 International Business Machines Corporation Driving Values to DC Adjusted/Untimed Nets to Identify Timing Problems
CN102750156A (en) * 2011-04-19 2012-10-24 上海博泰悦臻电子设备制造有限公司 Program burning method and system
US20130007491A1 (en) * 2011-07-01 2013-01-03 Venkatraman Iyer Enhanced interconnect link width modulation for power savings
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582324A (en) * 2018-12-03 2019-04-05 郑州云海信息技术有限公司 A kind of IC method for burn-recording and board
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

Also Published As

Publication number Publication date
CN107273167B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109976767A (en) Software burning method and device
CN104376341A (en) Write-in method and system of sequence number of household appliance
CN103412836B (en) Hot plug processing method, device and system
CN107256198A (en) Server and the method for server hard disc board distribution I2C addresses
US20180357193A1 (en) Computing device and operation method
CN107678988A (en) A kind of multifunctional serial port device and implementation method
CN110619914A (en) Mass production method for solid state disk with PCIe interface mass production device
CN201741410U (en) An Online Burning System with Multiple EEPROMs
CN107273167A (en) Control mainboard, the device and method to control mainboard burning code
CN103955416A (en) Hard disk management method, device and system
JP2014203138A (en) Electronic device, verification method, and verification program
CN105468123A (en) Rack management controller, power management program update system and method
CN111949285A (en) Method, device, equipment and storage medium for upgrading firmware of expansion chip
CN115470054A (en) A server memory function testing method, system, device and storage medium
CN113138650A (en) CPLD PCI equipment hot reset circuit, method, system and readable storage medium
CN112256503B (en) Test report generation method, device, equipment and computer-readable storage medium
CN113434442A (en) A switch and data access method
CN108536557A (en) A kind of server S MBUS scanning means and method
CN104679123A (en) Mainboard and data burning method thereof
CN116185450A (en) A method, system, device and storage medium for updating CPLD firmware
CN116539992A (en) Storage device in-place stable state detection device, method, logic module and medium
CN109918257A (en) A kind of hard disk abnormality eliminating method and device
CN115827342A (en) Test fixture, test system and OCP network card test method
TWI735869B (en) Storage control device and control method thereof
CN106484048A (en) A kind of server cabinet mainboard and the repositioning method of CMOS

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

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
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

TR01 Transfer of patent right