Disclosure of utility model
In view of the above-mentioned drawbacks of the prior art, the present utility model is to provide a network card and a network card FRU controllable isolation recording system, which solves the problem that in the prior art, when the network card is used to record data by using a management controller, the corresponding test software is difficult to realize, and when the network controller is used to record data, bus conflict is easy to occur.
In order to solve the above technical problems, the present utility model provides a network card where a controllable isolation recording system is located, where the network card where the controllable isolation recording system is located is used to connect with a test machine, and write data into the network card where the controllable isolation recording system is located by using the test machine, including:
a controllable isolation device;
The SMBus bus, one end of the said SMBus bus is used for connecting with the test machine, another end links with said controllable isolating device and draws out the first end and second end communicated with each other from the said controllable isolating device, the said controllable isolating device can control the break-make of the said SMBus bus;
The FRU EEPROM memory chip is connected with the first end of the SMBus bus;
The NC network controller is connected with the second end of the SMBus bus, and the test machine is in a disconnected state with the SMBus bus between the network card through the controllable isolating device, so that the test machine is prevented from interfering through the SMBus bus, and the NC network controller is ensured to reliably write data into the FRU EEPROM memory chip.
As a more preferable mode, the controllable isolation device comprises a control chip and an electronic switch arranged on the SMBus bus, wherein the control chip is connected with the electronic switch.
As a more preferable mode, the electronic switch adopts an NMOS tube, the source electrode and the drain electrode of the NMOS tube are respectively connected into the SMBus bus, the grid electrode of the NMOS tube is electrically connected with a control chip, and the control chip realizes the current on-off between the source electrode and the drain electrode of the NMOS tube through different voltage signals sent to the grid electrode of the NMOS tube, thereby controlling the on-off of the SMBus bus.
As a more preferable mode, the control chip adopts an independently arranged CPLD, and the independently arranged control chip is more stable in the working process, and simultaneously reduces the pressure of other control chips.
As a more preferable mode, the control chip is the NC network controller, and an existing NC network controller is used as the control chip, so that cost can be saved.
As a more preferable mode, the network card where the controllable isolation burning system is located further comprises a golden finger, one end of the SMBus bus is connected with the golden finger, the golden finger is inserted into a corresponding clamping groove of the testing machine, connection between the MBBus bus and the testing machine is achieved, and the golden finger is connected with the testing machine, so that the network card where the controllable isolation burning system is located is more convenient to insert and withdraw.
As a more preferable mode, the network card where the controllable isolation burning system is located further comprises an isolation device, and the isolation device is disposed on the second end of the SMBus.
In order to solve the above problems, the present utility model provides an FRU controllable isolated burning system, comprising:
a network card where the controllable isolation system is located;
The test machine comprises a control manager, and a network card where the controllable isolation burning system is located is connected with the control manager through the SMBus bus.
As a more preferable mode, the test machine further includes a PCIE slot, the SMBus of the control manager is connected to the PCIE slot, the network card where the controllable isolation burning system is located is connected to the test machine by inserting the network card into the PCIE slot, and the network card where the controllable isolation burning system is located can be plugged in and plugged out more conveniently by using the PCIE slot.
In order to solve the above problems, the present utility model further provides a network card FRU controllable isolation burning method, and the network card FRU controllable isolation burning system is used, which is characterized in that:
Powering on and starting a network card where the controllable isolation burning system is located by using a test machine;
Cutting off an SMBus bus between the control manager and the network card by using a controllable isolation device;
controlling an NC network controller, and setting an SMBus interface of the NC network controller as a main mode;
transmitting the data to be written to an NC network controller;
Writing data into the FRU EEPROM chip through the SMBus channel by using the network controller;
A control network controller that sets the SMBus interface to a slave mode;
And the SMBus bus between the control manager and the network card is communicated by using a controllable isolation device.
As described above, the network card and the network card FRU controllable isolation burning system of the utility model have the following beneficial effects: when the network card with the controllable isolation burning system is tested, firstly, the NC network controller is adopted to write data into the FRU EEPROM memory chip, so that a direct burning mode of a testing machine is avoided, and the design difficulty of testing software is reduced; meanwhile, in the burning process, the controllable isolation device is utilized to disconnect the SMBus bus between the test machine and the network card, so that the test machine is prevented from interfering the burning process through the SMBus bus connection, and the NC network controller is ensured to reliably write data; in the network card FRU controllable isolation burning system, the NC network controller is used for writing data into the FRU EEPROM memory chip, a direct burning mode of a test machine is avoided, the design difficulty of test software is reduced, meanwhile, the SMBus bus between the test machine and the network card is controlled to be disconnected by utilizing a controllable isolation device in the burning process, the test machine is prevented from interfering the burning process by the connection of the SMBus bus, the NC network controller is ensured to be capable of reliably writing data, and after the data writing is completed, the controllable isolation device is communicated with the SMBus bus between the test machine and the network card, so that other testing steps are ensured to be normally carried out; furthermore, the utility model also provides a network card FRU controllable isolation burning method, which uses the network card FRU controllable isolation burning system, so that the design difficulty of test software is reduced, and the interference of a test machine on the burning process caused by the SMBus bus connection is avoided; in summary, the network card and the network card FRU controllable isolation burning system reduce the design difficulty of test software by adopting the NC network controller to write data into the FRU EEPROM memory chip, and the set control isolation device avoids the interference of a test machine on the burning process by the SMBus bus connection, ensures that the NC network controller can reliably write data, and solves the problem that the network card in the prior art is difficult to realize by using a management controller to burn data corresponding to the test software in the test process, and bus conflict is easy to occur by using the network controller to burn data.
Detailed Description
Further advantages and effects of the present utility model will become apparent to those skilled in the art from the disclosure of the present utility model, which is described by the following specific examples.
It should be understood that the structures, proportions, sizes, etc. shown in the drawings are for illustration purposes only and should not be construed as limiting the utility model to the extent that it can be practiced, since modifications, changes in the proportions, or otherwise, used in the practice of the utility model, are not intended to be critical to the essential characteristics of the utility model, but are intended to fall within the spirit and scope of the utility model. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present utility model is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the utility model. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "upper," and the like, may be used herein to facilitate a description of one element or feature as illustrated in the figures as being related to another element or feature.
In the present utility model, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," "held," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present utility model can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, operations, elements, components, items, categories, and/or groups. The terms "or" and/or "as used herein are to be construed as inclusive, or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; A. b and C). An exception to this definition will occur only when a combination of elements, functions or operations are in some way inherently mutually exclusive.
Before explaining the present utility model in further detail, terms and terminology involved in the embodiments of the present utility model will be explained, and the terms and terminology involved in the embodiments of the present utility model are applicable to the following explanation:
<1> bmc: baseboard Management Controller; a baseboard management controller;
<2> smbus: SYSTEM MANAGEMENT Bus; a low rate communication system management bus;
<3> fru: field-replaceable unit; a field replaceable component;
<4> eeprom: ELECTRICALLY ERASABLE PROGRAMMABLE READ ONLY MEMORY; an electronic erasable rewritable read-only memory;
<5> nc: network Controller; a network controller;
<6> pcie: PERIPHERAL COMPONENT INTERCONNECT EXPRESS; a high-speed serial computer expansion bus standard;
<7> cpld: complex Programmable Logic Device, complex programmable logic devices;
<8> nmos: N-Metal-Oxide-Semiconductor; n-type metal-oxide-semiconductor.
As shown in fig. 2, the present utility model provides a network card 1 where a controllable isolation recording system is located, where the network card 1 where the controllable isolation recording system is located is used to connect with a test machine 2, and write data to the network card 1 where the controllable isolation recording system is located by using the test machine, and includes:
A controllable isolation device 11;
An SMBus 12, wherein one end of the SMBus 12 is connected to the test bench 2, the other end is connected to the controllable isolation device 11, and a first end and a second end which are mutually communicated are led out from the controllable isolation device 11, and the controllable isolation device 11 can control on-off of the SMBus 12;
A FRU EEPROM memory chip 13, said FRU EEPROM memory chip 13 being connected to a first end of said SMBus bus 12;
The NC network controller 14, the NC network controller 14 is connected to the second end of the SMBus 12, and the test bench 2 is in a disconnected state with the SMBus 12 between the network card and the test bench 2 through the controllable isolation device 11, so that interference caused by the test bench 2 through the SMBus 12 is avoided, and it is ensured that the NC network controller 14 can reliably write data into the FRU EEPROM memory chip 13.
When the network card 1 with the controllable isolation burning system is tested, firstly, the NC network controller 14 is adopted to write data into the FRU EEPROM memory chip 13, so that the direct burning mode of the test machine 2 is avoided, and the design difficulty of test software is reduced; meanwhile, the controllable isolation device 11 is utilized to disconnect the SMBus bus 12 between the test machine 2 and the network card in the burning process, so that the interference of the connection of the test machine 2 through the SMBus bus 12 to the burning process is avoided, and the NC network controller 14 can reliably write data.
In this embodiment, as shown in fig. 2, the second terminal of the SMBus bus 12 is connected to a resistor, and the voltage is pulled up to +3.3v by the resistor.
In this embodiment, as shown in fig. 2 and 3, the controllable isolation device 11 includes a control chip 111 and an electronic switch 112 disposed on the SMBus bus 12, and the control chip 111 is connected to the electronic switch 112.
In this embodiment, as shown in fig. 4 and fig. 5, the electronic switch 112 is an NMOS transistor, a source electrode and a drain electrode of the NMOS transistor are respectively connected to the SMBus bus 12, a gate electrode of the NMOS transistor is electrically connected to the control chip 111, and the control chip 111 realizes current on-off between the source electrode and the drain electrode of the NMOS transistor through different voltage signals sent to the gate electrode of the NMOS transistor, so as to control on-off of the SMBus bus 12.
Further, in the present embodiment, as shown in fig. 2 and 3, the SMBus bus 12 includes an SMCLK clock signal and SMDAT data signals.
In this embodiment, as shown in fig. 4, the control chip 111 adopts an independently-arranged CPLD, so that the independently-arranged control chip 111 is more stable in the working process, and meanwhile, the pressure of other control chips 111 is reduced; further, in this embodiment, the electronic switch 112 is provided with two NMOS1 and NMOS2, which are respectively connected to the SMCLK clock signal and SMDAT data signal of the SMBus 12, the source and drain of the NMOS1 and NMOS2 are respectively connected to the SMBus 12, the gate of the NMOS transistor is electrically connected to the CPLD, when the CPLD outputs a low level, the NMOS1 and NMOS2 close the corresponding paths on the SMBus 12, and similarly, when the CPLD outputs a high level, the NMOS1 and NMOS2 conduct the corresponding paths on the SMBus 12; further, in the present embodiment, the controllable isolation device 11 further includes a resistor that communicates with the first terminal of the SMBus bus 12, and pulls up the voltage to +3.3v through the resistor.
In this embodiment, as shown in fig. 5, the control chip 111 may also be the NC network controller 14, and the existing NC network controller 14 is adopted as the control chip 111, so that cost can be saved. Further, in the present embodiment, the electronic switches 112 are provided with three types, namely, NMOS1, NMOS2 and NMOS3, wherein the NMOS1 and NMOS2 are respectively connected to the SMCLK clock signal and SMDAT data signal of the SMBus 12, the sources and drains of the NMOS1 and NMOS2 are respectively connected to the SMBus 12, and the gates of the NMOS1 and NMOS2 are connected to the resistor R1 and pulled up to +3.3v_egde through the resistor R1; simultaneously, the grid electrodes of the NMOS1 and the NMOS2 are connected with the drain electrode of the NMOS 3; the grid electrode of the NMOS3 is grounded through a resistor 2 in a pull-down mode, and meanwhile, the grid electrode of the NMOS3 is connected with a network controller. By means of the connection mode, when the network card works normally, the network controller can open the electronic switch 112 to conduct the corresponding passage on the SMBus bus 12 when outputting a low level, and close the electronic switch 112 to close the corresponding passage on the SMBus bus 12 when outputting a high level.
In this embodiment, as shown in fig. 2, the network card 1 where the controllable isolation burning system is located further includes a golden finger 15, one end of the SMBus 12 is connected to the golden finger 15, the golden finger 15 is inserted into a card slot corresponding to the test machine 2, so that connection between the MBus bus and the test machine 2 is achieved, and the golden finger 15 is connected to the test machine 2, so that the network card 1 where the controllable isolation burning system is located is more convenient to plug.
In this embodiment, as shown in fig. 2 and 3, the network card 1 where the controllable isolation recording system is located further includes an isolation device 16, where the isolation device 16 is disposed on the second end of the SMBus 12.
In order to solve the above problems, as shown in fig. 2, 4 and 5, the present utility model provides a network card FRU controllable isolation burning system, comprising:
a network card 1 where the controllable isolation burning system is located;
The test machine 2, the test machine 2 includes a control manager 21, and the network card 1 where the controllable isolation burning system is located is connected to the control manager 21 through the SMBus 12.
The network card FRU controllable isolation burning system adopts the NC network controller 14 to write data into the FRU EEPROM memory chip 13, avoids adopting a direct burning mode of the test machine 2, reduces the design difficulty of test software, simultaneously controls the disconnection of the SMBus bus 12 between the test machine 2 and the network card by using the controllable isolation device 11 in the burning process, avoids the interference of the connection of the test machine 2 through the SMBus bus 12 to the burning process, ensures that the NC network controller 14 can reliably write data, and ensures that other testing steps are normally carried out by communicating the SMBus bus 12 between the test machine 2 and the network card through the controllable isolation device 11 after the data writing is completed.
In this embodiment, as shown in fig. 2, fig. 4, and fig. 5, the test board 2 further includes a PCIE slot 22, the SMBus 12 of the control manager 21 is connected to the PCIE slot 22, the network card 1 where the controllable isolated burning system is located is connected to the test board 2 by inserting the PCIE slot 22, and the PCIE slot 22 can be used to more conveniently plug and unplug the network card 1 where the controllable isolated burning system is located.
In order to solve the above problems, the present utility model further provides a network card FRU controllable isolation burning method, and the network card FRU controllable isolation burning system is used, which is characterized in that:
Powering on and starting a network card 1 where the controllable isolation burning system is positioned by using a test machine 2;
Cutting off the SMBus bus 12 between the control manager 21 and the network card by using a controllable isolation device 11;
Controlling the NC network controller 14 to set its SMBus interface to the master mode;
Transmitting the data to be written to the NC network controller 14;
writing data to the FRU EEPROM memory chip 13 through the SMBus channel using the NC network controller 14;
Controlling the NC network controller 14 to set the SMBus interface to the slave mode;
And the SMBus bus 12 between the control manager 21 and the network card is communicated by using the controllable isolation device 11.
The utility model also provides a network card FRU controllable isolation burning method, which uses the network card FRU controllable isolation burning system, so that the design difficulty of test software is reduced, and the interference of the connection of the test machine 2 through the SMBus bus 12 to the burning process is avoided.
More specifically, in this embodiment, when the controllable isolation device 11 uses the NC network controller 14 as the control chip 111, the network card FRU controllable isolation burning method is as follows:
S11: the test machine 2 is utilized to electrify and start the network card 1 where the controllable isolation burning system is located, the NC network controller 14 loads firmware completely, and outputs low level, so that the electronic switch 112 of the controllable isolation device 11 is always in a conducting state;
S12: the NC network controller 14 is controlled to output high level to the grid electrode of the electronic switch 112, the electronic switch 112 is turned off, and the SMBus bus 12 between the control manager 21 and the network card is cut off;
S13: controlling the NC network controller 14 to set its SMBus interface to the master mode;
s14: transmitting the data to be written to the NC network controller 14;
s15: writing data to the FRU EEPROM memory chip 13 through the SMBus channel using the NC network controller 14;
s16: control NC network controller 14 the network controller sets the SMBus interface to slave mode;
S17: the NC network controller 14 is controlled to output a low level, the electronic switch 112 is turned on, the SMBus bus 12 between the control manager 21 and the network card is connected, and the NC network controller 14 is kept outputting a low level to the electronic switch 112 at all times.
More specifically, in this embodiment, when the controllable isolation device 11 uses a CPLD as the control chip 111, the network card FRU controllable isolation burning method is as follows:
S21: the test machine 2 is utilized to electrify and start the network card 1 where the controllable isolation burning system is located, the CPLD logic loading is completed, and the CPLD always outputs high level to the electronic switch 112, so that the electronic switch 112 of the controllable isolation device 11 is always in a conducting state;
S22: controlling the CPLD to enable the CPLD to output low level to the grid electrode of the electronic switch 112, turning off the electronic switch 112, and cutting off the SMBus bus 12 between the control manager 21 and the network card;
S23: controlling the NC network controller 14 to set its SMBus interface to the master mode;
s24: transmitting the data to be written to the NC network controller 14;
S25: writing data to the FRU EEPROM memory chip 13 through the SMBus channel by the NC network controller 14;
s26: control NC network controller 14 the network controller sets the SMBus interface to slave mode;
S27: the CPLD is controlled to output a high level to the gate of the electronic switch 112, the electronic switch 112 is turned on, the SMBus bus 12 between the control manager 21 and the network card is connected, and the CPLD is kept to always output a high level to the electronic switch 112.
In the embodiment of the present utility model, the control manager 21 is a processor with data processing capability, and the method disclosed in the embodiment of the present utility model may be applied to the processor or implemented by the processor. The processor may be an integrated circuit chip with signal processing capability, and in this embodiment, the control manager 21 may be a baseboard management controller BMC (Baseboard Management Controller) or a south bridge chip. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The Processor may be a general purpose Processor, a digital signal Processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present utility model. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the accessory optimization method provided by the embodiment of the utility model can be directly embodied as the execution completion of the hardware decoding processor or the execution completion of the hardware and software module combination execution in the decoding processor. The software modules may be located in a storage medium having memory and a processor reading information from the memory and performing the steps of the method in combination with hardware.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by computer program related hardware. The aforementioned computer program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
In the embodiments provided herein, the memory may include read-only memory, random-access memory, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, U-disk, removable hard disk, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. In addition, any connection is properly termed a computer-readable medium. For example, if the instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable and data storage media do not include connections, carrier waves, signals, or other transitory media, but are intended to be directed to non-transitory, tangible storage media. Disk and disc, as used herein, includes compact disc, CD, laser disc, optical disc, digital versatile disc, DVD, floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
In summary, the network card FRU controllable isolation burning system of the utility model reduces the design difficulty of test software by adopting the NC network controller 14 to write data into the FRU EEPROM memory chip 13, and the set control isolation device avoids the interference of the connection of the test machine 2 through the SMBus 12 to the burning process, ensures that the NC network controller 14 can reliably write data, and solves the problem that the network card is difficult to realize by using the management controller to burn data corresponding to the test software in the testing process and bus conflict is easy to occur by using the network controller to burn data. Therefore, the utility model effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present utility model and its effectiveness, and are not intended to limit the utility model. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the utility model. Accordingly, it is intended that all equivalent modifications and variations of the utility model be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.