CN116541026A - Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium - Google Patents

Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium Download PDF

Info

Publication number
CN116541026A
CN116541026A CN202310369441.8A CN202310369441A CN116541026A CN 116541026 A CN116541026 A CN 116541026A CN 202310369441 A CN202310369441 A CN 202310369441A CN 116541026 A CN116541026 A CN 116541026A
Authority
CN
China
Prior art keywords
burning
file
manufacturer
chip
information
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.)
Pending
Application number
CN202310369441.8A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310369441.8A priority Critical patent/CN116541026A/en
Publication of CN116541026A publication Critical patent/CN116541026A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention belongs to the technical field of chip burning, and particularly provides a burning method, a device, equipment and a medium of a bit stream of a self-adaptive chip manufacturer, wherein the method comprises the following steps: loading a burning file; acquiring corresponding part codes and manufacturer information according to the burning file; transmitting the command of the received burning file to a burning controller; receiving part codes and manufacturer information in a chip, which are returned by the burning controller and read in response to the received instruction; matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information; and transmitting the successfully matched burning file to a burning controller, so that the burning controller burns the chip according to the burning flow of the corresponding manufacturer. Through self-adaptation to manufacturers, the burning files of a plurality of chip manufacturers are uploaded in advance, and when burning is needed, corresponding burning files are automatically selected according to analyzed manufacturers to carry out burning, so that the accuracy and the automation rate are further improved, and the burning efficiency is improved.

Description

Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium
Technical Field
The invention relates to the technical field of chip burning, in particular to a burning method, a device, equipment and a medium of a bit stream of a self-adaptive chip manufacturer.
Background
Currently, with the rapid development of current computing power, the usage of servers is rapidly increasing. The research and development and iterative updating of the server are particularly important, the server industry is in competition, chip devices in the server are influenced by supply or special function requirements, different models or batches of servers can select chip devices of different manufacturers, and different manufacturer burning flows have differences, so that if the chip devices after the patch is burnt, each manufacturer needs to be respectively adapted, and the method is very complicated. For example, if the CPLD device needs to be burned after the patch is completed, the BMC/MCU firmware needs to adapt to each manufacturer separately, that is, when the CPLD needs to be burned, update FW needs to be transmitted to the BMC/MCU through a Web interface or an upper computer; and the BMC/MCU burns the Update FW into the CPLD through the I2C bus according to the burning mode of the corresponding CPLD manufacturer, and completes the burning.
In the burning process, because a link of manufacturer identification does not exist, the burning file is required to be manually ensured to be matched with a chip device manufacturer, and misoperation risks are caused in application scenes of different chip device manufacturers in different batches with the same type. In addition, the burning code in the BMC/MCU firmware is required to be matched with the corresponding chip manufacturer.
Therefore, how to design a method for integrating the programming modes of each manufacturer by a set of code schemes to complete the self-adaptive logic bit stream programming of each chip device manufacturer is a technical problem to be solved by the application.
Disclosure of Invention
In the burning process, because a link of manufacturer identification does not exist, the burning file is required to be matched with a chip device manufacturer, and the problem of misoperation risk exists in application scenes of different chip device manufacturers in the same type and different batches.
In a first aspect, the present invention provides a method for burning a bitstream of a self-adaptive chip manufacturer, including the following steps:
loading a burning file;
acquiring corresponding part codes and manufacturer information according to the burning file;
transmitting the command of the received burning file to a burning controller;
receiving part codes and manufacturer information in a chip, which are returned by the burning controller and read in response to the received instruction;
matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information;
and transmitting the successfully matched burning file to a burning controller, so that the burning controller burns the chip according to the burning flow of the corresponding manufacturer.
Integrating the burning streams of all chip manufacturers; and adding part codes and manufacturer information reserved in the read chip, and analyzing and judging the manufacturer information of the chip. Setting automatic read-back chip manufacturer information and displaying prompts in an interface; and (3) automatically reading back the part codes of the board card, signing the unpacking function of the recorded file, and comparing the part codes of the board card with the part codes of the recorded file after unpacking to confirm that the recorded file can be matched with the chip model.
As a further limitation of the technical scheme of the present invention, the step of loading the burned file includes:
and judging whether the loaded burnt file is a signed file or not.
As a further limitation of the technical scheme of the invention, the step of acquiring the corresponding part code and manufacturer information according to the burning file comprises the following steps:
if the loaded burning file is a signed file, unpacking the signed file to obtain a part code and manufacturer information in the signature;
if the loaded burning file is an unsigned file, the part code and manufacturer information are acquired according to the suffix of the burning file.
As a further limitation of the technical scheme of the invention, the step of matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information comprises the following steps:
if the matching is successful, acquiring a burning file of a corresponding manufacturer according to manufacturer information;
acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; the method comprises the following steps: transmitting the successfully matched burning file to a burning controller;
if the matching fails, outputting and displaying prompt information.
As a further limitation of the technical solution of the present invention, the method further comprises:
after receiving the instruction, the burning controller reads the characteristic information in the chip;
and analyzing the read characteristic information to obtain the part code and manufacturer information in the chip.
As a further limitation of the technical solution of the present invention, after the burning controller receives the instruction, the step of reading the feature information in the chip includes:
the design codes integrate the burning flow of each manufacturer to the burning controller.
As a further limitation of the technical solution of the present invention, the method further comprises:
after the burning controller receives the burning file, the burning process is executed according to the part code and the manufacturer information of the burning file and the burning flow of the corresponding chip model of the corresponding manufacturer.
The situation that the existing burning controller needs to be re-adapted when a chip manufacturer is replaced every time is abandoned, the burning processes of all manufacturers are integrated through codes, the burning controller can complete the support of the burning of the logic bit stream of the chips of all manufacturers only by one set of codes, and the burning files of a plurality of chip manufacturers can be uploaded in advance through self-adaptation of the manufacturers, when the burning is needed, the corresponding burning files are automatically selected according to the analyzed manufacturers to conduct the burning, and the accuracy and the automation rate are further improved, and the burning efficiency is improved.
In a second aspect, the present invention further provides a device for burning a bitstream of a self-adaptive chip manufacturer, which includes a loading module, a file information obtaining module, an instruction issuing module, a matching module, a file transferring module, an instruction receiving and processing module, and a burning module;
the loading module is used for loading the burnt file;
the file information acquisition module is used for acquiring the corresponding part codes and manufacturer information according to the burning file;
the instruction issuing module is used for issuing an instruction of the received burnt file;
the instruction receiving and processing module is used for reading the part code and manufacturer information in the chip after receiving the instruction and returning the read information to the matching module;
the matching module is used for matching the received returned part codes and manufacturer information with the acquired part codes and manufacturer information;
the file transfer module is used for transferring the successfully matched burning file to the burning module;
and the burning module is used for matching the burning flow burning chip of the corresponding manufacturer according to the corresponding part code and manufacturer information after receiving the burning file.
As a further limitation of the technical scheme of the invention, the device also comprises a judging module for judging whether the loaded burnt file is a signed file.
The file information acquisition module is used for unpacking the signed file to acquire part codes and manufacturer information in the signature if the loaded burnt file is the signed file; if the loaded burning file is an unsigned file, the part code and manufacturer information are acquired according to the suffix of the burning file.
As a further limitation of the technical scheme of the invention, the device further comprises a burning file acquisition module for acquiring the burning file of the corresponding manufacturer according to the manufacturer information if the matching is successful; acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; if the matching fails, outputting and displaying prompt information.
As a further limitation of the technical scheme of the invention, the instruction receiving and processing module is also used for reading the characteristic information in the chip after receiving the instruction; and analyzing the read characteristic information to obtain the part code and manufacturer information in the chip.
As a further limitation of the technical scheme of the invention, the device also comprises an integration module for integrating the programming flow of each manufacturer with the design codes for storage.
As a further limitation of the technical scheme of the present invention, the recording module is further configured to execute the recording process according to the part code of the recording file and the manufacturer information matching the recording process corresponding to the chip model corresponding to the manufacturer after receiving the recording file.
The situation that the existing burning controller needs to be re-adapted when a chip manufacturer is replaced every time is abandoned, the burning processes of all manufacturers are integrated through codes, the burning controller can complete the support of the burning of the logic bit stream of the chips of all manufacturers only by one set of codes, and the burning files of a plurality of chip manufacturers can be uploaded in advance through self-adaptation of the manufacturers, when the burning is needed, the corresponding burning files are automatically selected according to the analyzed manufacturers to conduct the burning, and the accuracy and the automation rate are further improved, and the burning efficiency is improved.
In the technical scheme of the invention, the burning controller is BMC or MUC, and the management end is an upper computer provided with a display interface.
In a third aspect, the present invention further provides an electronic device, where the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores computer program instructions executable by the at least one processor to enable the at least one processor to perform the method of burning an adaptive chip vendor bitstream as described in the first aspect.
In a fourth aspect, the present disclosure further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium stores computer instructions, where the computer instructions cause the computer to execute the method for burning the bitstream of the adaptive chip vendor according to the first aspect.
From the above technical scheme, the invention has the following advantages:
integrating the burning streams of all chip manufacturers; and adding part codes and manufacturer information reserved in the read chip, and analyzing and judging the manufacturer information of the chip. Setting automatic read-back chip manufacturer information and displaying prompts in an interface; and (3) automatically reading back the part codes of the board card, signing the unpacking function of the recorded file, and comparing the part codes of the board card with the part codes of the recorded file after unpacking to confirm that the recorded file can be matched with the chip model.
The situation that the existing burning controller needs to be re-adapted when a chip manufacturer is replaced every time is abandoned, the burning processes of all manufacturers are integrated through codes, the burning controller can complete the support of the burning of the logic bit stream of the chips of all manufacturers only by one set of codes, and the burning files of a plurality of chip manufacturers can be uploaded in advance through self-adaptation of the manufacturers, when the burning is needed, the corresponding burning files are automatically selected according to the analyzed manufacturers to conduct the burning, and the accuracy and the automation rate are further improved, and the burning efficiency is improved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
It can be seen that the present invention has outstanding substantial features and significant advances over the prior art, as well as its practical advantages.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention.
Fig. 2 is a schematic flow chart of a method of another embodiment of the invention.
Fig. 3 is a schematic block diagram of an apparatus of one embodiment of the present invention.
Fig. 4 is a schematic architecture diagram of a system provided by one embodiment of the present invention.
Fig. 5 is a block diagram of a system provided in accordance with another embodiment of the present invention.
Detailed Description
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention. In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention. In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that CPLD Complex Programmable Logic Device is a complex programmable logic device.
FW: firmware, firmware.
And the BMC is Baseboard Management Controller and is used for managing the server mainboard.
I2C: inter-Integrated Circut is a serial communication bus of intel design.
MCU: microcontroller Unit, a single chip microcomputer.
PN: part Number, part code.
Fig. 1 is a schematic flow chart of a method for burning an adaptive chip vendor bitstream according to an embodiment of the present invention, including the following steps:
step 11: loading a burning file;
step 12: acquiring corresponding part codes and manufacturer information according to the burning file;
step 13: transmitting the command of the received burning file to a burning controller;
step 14: receiving part codes and manufacturer information in a chip, which are returned by the burning controller and read in response to the received instruction;
step 15: matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information;
step 16: and transmitting the successfully matched burning file to a burning controller, so that the burning controller burns the chip according to the burning flow of the corresponding manufacturer.
Integrating the burning streams of all chip manufacturers; and adding part codes and manufacturer information reserved in the read chip, and analyzing and judging the manufacturer information of the chip. Setting automatic read-back chip manufacturer information and displaying prompts in an interface; and (3) automatically reading back the part codes of the board card, signing the unpacking function of the recorded file, and comparing the part codes of the board card with the part codes of the recorded file after unpacking to confirm that the recorded file can be matched with the chip model.
The embodiment of the invention provides a method for burning a bit stream of a self-adaptive chip manufacturer, which is a method based on a burning system, wherein the system comprises a management end and a burning controller in communication connection with the management end, and the method specifically comprises the following steps:
step 21: the management end loads the burning file;
step 22: acquiring corresponding part codes and manufacturer information according to the burning file;
step 23: transmitting the command of the received burning file to a burning controller;
step 24: the management end receives part codes and manufacturer information in a chip, which are returned by the burning controller and read in response to the received instruction;
step 25: the management end matches the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information;
step 26: the management end transmits the successfully matched burning file to the burning controller, so that the burning controller burns the chip according to the burning flow of the corresponding manufacturer.
Fig. 2 is a schematic flowchart of a method for recording a bitstream of an adaptive chip vendor according to another embodiment of the present invention, where the method is a method based on a recording system, the system includes a host computer and a recording controller in communication with the host computer, and the method includes the following steps:
s1: loading a burning file by the upper computer;
s2: judging whether the loaded burnt file is a signed file or not;
if the loaded burning file is a signed file, executing step S3, and if the loaded burning file is an unsigned file, executing step S4;
s3: unpacking the signed file to obtain the part code and manufacturer information in the signature; executing step S5;
s4: acquiring part codes and manufacturer information according to the suffixes of the burning files; executing step S5;
s5: transmitting the command of the received burning file to a burning controller;
s6: after receiving the instruction, the burning controller reads the characteristic information in the chip;
s7: analyzing the read characteristic information to obtain the part code and manufacturer information in the chip and returning the obtained information to the upper computer;
s8: the upper computer receives part codes and manufacturer information in the chip returned by the burning controller;
s9: matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information;
s10: judging whether the matching is successful or not;
if the matching is successful, executing step S11; if the matching fails, executing step S15;
s11: acquiring a burning file of a corresponding manufacturer according to manufacturer information;
s12: acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; executing step S13;
s13: transmitting the successfully matched burning file to a burning controller;
s14: after the burning controller receives the burning file, the burning process is executed according to the part code and the manufacturer information of the burning file and the burning flow of the corresponding chip model of the corresponding manufacturer. Before executing this step, the design code is required to integrate the programming process of each manufacturer to the programming controller.
S15: and outputting and displaying the prompt information.
Integrating the burning streams of all chip manufacturers; and adding part codes and manufacturer information reserved in the read chip, and analyzing and judging the manufacturer information of the chip. Setting automatic read-back chip manufacturer information and displaying prompts in an interface; and (3) automatically reading back the part codes of the board card, signing the unpacking function of the recorded file, and comparing the part codes of the board card with the part codes of the recorded file after unpacking to confirm that the recorded file can be matched with the chip model.
Specifically, when the chip is a CPLD, the programming controller is a BMC/MCU, and the management end is a Web interface/upper computer. The self-adaptation of the CPLD manufacturer is completed by integrating the programming flow of each manufacturer and completing the self-adaptation of the manufacturer according to the special mechanism in the CPLD programming of different manufacturers, so that the self-adaptation logic bit stream programming of each CPLD manufacturer is completed by using a set of programming control codes in the BMC/MCU. And the decoupling of the BMC/MCU and CPLD manufacturer is realized.
Based on the current hardware architecture, modifying BMC/MCU codes: integrating the burning streams of all CPLD manufacturers; and adding and reading a reserved characteristic value or manufacturer information item in the CPLD, and analyzing and judging the CPLD manufacturer information. Modify Web interface/host code: adding automatic read-back CPLD manufacturer information and adding prompts in an interface; the PN code of the automatic read-back board card is added, the unpacking function of the signature burning file is added, and the burning file can be confirmed to be matched with the CPLD by comparing the PN code of the board card with the PN code of the burning file after unpacking.
The specific process is as follows:
firstly, after loading a burning file on a Web interface/upper computer, the Web interface/upper computer judges whether the burning file is a signed file, and unpacks the signed file to obtain PN codes and manufacturer information in the signature. If the file is an unsigned file, the information of the burning manufacturer and the PN code are judged according to the suffix of the burning file.
And then the Web interface/upper computer reads and transmits the command of the received burning file to the BMC/MCU, and after receiving the command, the BMC/MCU reads PN information and characteristic information or manufacturer information in the CPLD, analyzes the PN information and characteristic information and stores the characteristic information and returns the PN information and the characteristic information to the Web interface/upper computer. And the Web interface/upper computer is matched with the burning file PN and the manufacturer information according to the returned PN and the manufacturer information, the matching result is displayed in the interface, and if the matching result is not matched, the subsequent operation is not allowed.
And finally, the Web interface/upper computer transmits the matched burning file to the BMC/MCU, and the BMC/MCU burns the CPLD according to the burning flow of the corresponding manufacturer.
The situation that the existing BMC/MCU needs to be re-adapted when CPLD manufacturers are replaced each time is abandoned, and the BMC/MCU can complete the support of the CPLD logic bit stream burning of each manufacturer only by integrating codes through integrating the burning processes of each manufacturer, and the burning files of a plurality of CPLD manufacturers can be uploaded in advance through self-adaptation of the manufacturer, when the burning is needed, the corresponding burning files are automatically selected according to the analyzed manufacturer to carry out the burning, so that the accuracy and the automation rate are further improved, and the burning efficiency is improved.
The embodiment of the invention also provides a burning device of the bit stream of the self-adaptive chip manufacturer, which comprises a loading module, a file information acquisition module, an instruction issuing module, a matching module, a file transfer module, an instruction receiving and processing module and a burning module;
the loading module is used for loading the burnt file;
the file information acquisition module is used for acquiring the corresponding part codes and manufacturer information according to the burning file;
the instruction issuing module is used for issuing an instruction of the received burnt file;
the instruction receiving and processing module is used for reading the part code and manufacturer information in the chip after receiving the instruction and returning the read information to the matching module;
the matching module is used for matching the received returned part codes and manufacturer information with the acquired part codes and manufacturer information;
the file transfer module is used for transferring the successfully matched burning file to the burning module;
and the burning module is used for matching the burning flow burning chip of the corresponding manufacturer according to the corresponding part code and manufacturer information after receiving the burning file.
As shown in fig. 3, the embodiment of the invention further provides a burning device of a bitstream of a self-adaptive chip manufacturer, which comprises a loading module, a judging module, a file information obtaining module, an instruction issuing module, a matching module, a burning file obtaining module, a file transferring module, an instruction receiving and processing module and a burning module;
the loading module is used for loading the burnt file;
the judging module is used for judging whether the loaded burnt file is a signed file or not.
The file information acquisition module is used for unpacking the signed file to acquire part codes and manufacturer information in the signature if the loaded burnt file is the signed file; if the loaded burning file is an unsigned file, the part code and manufacturer information are acquired according to the suffix of the burning file.
The instruction issuing module is used for issuing an instruction of the received burnt file;
the instruction receiving and processing module is used for reading the characteristic information in the chip after receiving the instruction; analyzing the read characteristic information to obtain the part code and manufacturer information in the chip and returning the obtained information to the matching module;
the matching module is used for matching the received returned part codes and manufacturer information with the acquired part codes and manufacturer information;
the burning file acquisition module is used for acquiring the burning file of the corresponding manufacturer according to the manufacturer information if the matching is successful; acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; if the matching fails, outputting and displaying prompt information;
the file transfer module is used for transferring the successfully matched burning file to the burning module;
and the burning module is used for matching the burning flow of the corresponding chip model of the corresponding manufacturer according to the part code and manufacturer information of the burning file after receiving the burning file to execute the burning process.
As shown in fig. 4, the technical scheme of the present invention further provides a recording system for a bitstream of a self-adaptive chip manufacturer, which includes a management end and a recording controller connected with the management end; the burning controller is connected with a plurality of chips;
and the management end is used for judging whether the burnt file is a signed file after loading the burnt file, and unpacking the signed file to obtain PN codes and manufacturer information in the signature. If the file is an unsigned file, judging the information of the burning manufacturer and PN codes according to the suffix of the burning file; reading and issuing the received burning file instruction to a burning controller; matching the returned PN and manufacturer information with the burned file PN and manufacturer information, displaying a matching result in an interface, and if the PN and manufacturer information are not matched, not allowing subsequent operation; transmitting the matched burning file to a burning controller;
the burning controller is used for reading PN information and characteristic information or manufacturer information in the chip after receiving the instruction, and returning the PN information and the characteristic information or manufacturer information to the management end after analyzing the PN information and the characteristic information; and after receiving the burning file, burning the chip according to the burning flow of the corresponding manufacturer.
It should be noted that, in the embodiment of the present invention, the management end is connected to the recording controller, the recording controller is connected to the chip for replacing recording, and the number of the chips may be plural.
As shown in fig. 5, the embodiment of the present invention further provides a recording system for a bitstream of a self-adaptive chip manufacturer, which includes a management end and a recording controller connected to the management end; the burning controller is connected with a plurality of chips;
the management end comprises a loading module, a judging module, a file information acquisition module, an instruction issuing module, a matching module, a burnt file acquisition module and a file transfer module;
the burning controller comprises an instruction receiving and processing module and a burning module;
the loading module is used for loading the burnt file;
the judging module is used for judging whether the loaded burnt file is a signed file or not.
The file information acquisition module is used for unpacking the signed file to acquire part codes and manufacturer information in the signature if the loaded burnt file is the signed file; if the loaded burning file is an unsigned file, the part code and manufacturer information are acquired according to the suffix of the burning file.
The instruction issuing module is used for issuing an instruction of the received burnt file;
the instruction receiving and processing module is used for reading the characteristic information in the chip after receiving the instruction; analyzing the read characteristic information to obtain the part code and manufacturer information in the chip and returning the obtained information to the matching module;
the matching module is used for matching the received returned part codes and manufacturer information with the acquired part codes and manufacturer information;
the burning file acquisition module is used for acquiring the burning file of the corresponding manufacturer according to the manufacturer information if the matching is successful; acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; if the matching fails, outputting and displaying prompt information;
the file transfer module is used for transferring the successfully matched burning file to the burning module;
and the burning module is used for matching the burning flow of the corresponding chip model of the corresponding manufacturer according to the part code and manufacturer information of the burning file after receiving the burning file to execute the burning process.
Correspondingly, the management end also comprises an integration module for integrating the programming flow of each manufacturer to the programming controller by the design code. And the burning controller is also used for executing the burning process according to the part code of the burning file and the burning flow matched with the corresponding chip model of the corresponding manufacturer according to the manufacturer information after receiving the burning file.
The embodiment of the invention also provides a burning system of the bit stream of the self-adaptive chip manufacturer, which comprises a management end and a burning controller connected with the management end; the burning controller is BMC/MUC, and the management end is Web interface/upper computer; the chip in the invention is CPLD; the specific burning process is as follows:
after loading the burning file on the Web interface/upper computer, the Web interface/upper computer judges whether the burning file is a signed file, and unpacks the signed file to obtain PN code and manufacturer information in the signature. If the file is an unsigned file, judging the burning manufacturer according to the suffix of the burning file.
And then the Web interface/upper computer reads and transmits the command of the received burning file to the BMC/MCU, and after receiving the command, the BMC/MCU reads PN information and characteristic information or manufacturer information in the CPLD, analyzes the PN information and characteristic information and stores the characteristic information and returns the PN information and the characteristic information to the Web interface/upper computer. And the Web interface/upper computer is matched with the burning file PN and the manufacturer information according to the returned PN and the manufacturer information, the matching result is displayed in the interface, and if the matching result is not matched, the subsequent operation is not allowed.
And finally, the Web interface/upper computer transmits the matched burning file to the BMC/MCU, and the BMC/MCU burns the CPLD according to the burning flow of the corresponding manufacturer.
Based on the current hardware architecture, modifying BMC/MCU codes: integrating the burning streams of all CPLD manufacturers; and adding and reading a reserved characteristic value or manufacturer information item in the CPLD, and analyzing and judging the CPLD manufacturer information. Modify Web interface/host code: adding automatic read-back CPLD manufacturer information and adding prompts in an interface; the PN code of the automatic read-back board card is added, the unpacking function of the signature burning file is added, and the burning file can be confirmed to be matched with the CPLD by comparing the PN code of the board card with the PN code of the burning file after unpacking.
The situation that the existing BMC/MCU needs to be re-adapted when CPLD manufacturers are replaced each time is abandoned, the identification of the CPLD manufacturers is increased through code integration of the burning processes of the manufacturers, the BMC/MCU can complete the support of CPLD logic bit stream burning of the manufacturers only by one set of codes, the CPLD manufacturer can upload burning files of a plurality of CPLD manufacturers in advance through self-adaptation of the manufacturers, and when CPLD burning is needed, corresponding burning files are automatically selected according to the analyzed manufacturers to carry out burning, so that the accuracy and the automation rate are further improved, and the burning efficiency is improved.
The embodiment of the invention also provides electronic equipment, which comprises: the device comprises a processor, a communication interface, a memory and a bus, wherein the processor, the communication interface and the memory are in communication with each other through the bus. The bus may be used for information transfer between the electronic device and the sensor. The processor may call logic instructions in memory to perform the following method: s1: loading a burning file by the upper computer; s2: judging whether the loaded burnt file is a signed file or not; if the loaded burning file is a signed file, executing step S3, and if the loaded burning file is an unsigned file, executing step S4; s3: unpacking the signed file to obtain the part code and manufacturer information in the signature; executing step S5; s4: acquiring part codes and manufacturer information according to the suffixes of the burning files; executing step S5; s5: transmitting the command of the received burning file to a burning controller; s6: after receiving the instruction, the burning controller reads the characteristic information in the chip; s7: analyzing the read characteristic information to obtain the part code and manufacturer information in the chip and returning the obtained information to the upper computer; s8: the upper computer receives part codes and manufacturer information in the chip returned by the burning controller; s9: matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information; s10: judging whether the matching is successful or not; if the matching is successful, executing step S11; if the matching fails, executing step S15; s11: acquiring a burning file of a corresponding manufacturer according to manufacturer information; s12: acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; executing step S13; s13: transmitting the successfully matched burning file to a burning controller; s14: after the burning controller receives the burning file, the burning process is executed according to the part code and the manufacturer information of the burning file and the burning flow of the corresponding chip model of the corresponding manufacturer. S15: and outputting and displaying the prompt information.
Further, the logic instructions in the memory described above may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Embodiments of the present invention provide a non-transitory computer readable storage medium storing computer instructions that cause a computer to perform the methods provided by the method embodiments described above, for example, including: s1: loading a burning file by the upper computer; s2: judging whether the loaded burnt file is a signed file or not; if the loaded burning file is a signed file, executing step S3, and if the loaded burning file is an unsigned file, executing step S4; s3: unpacking the signed file to obtain the part code and manufacturer information in the signature; executing step S5; s4: acquiring part codes and manufacturer information according to the suffixes of the burning files; executing step S5; s5: transmitting the command of the received burning file to a burning controller; s6: after receiving the instruction, the burning controller reads the characteristic information in the chip; s7: analyzing the read characteristic information to obtain the part code and manufacturer information in the chip and returning the obtained information to the upper computer; s8: the upper computer receives part codes and manufacturer information in the chip returned by the burning controller;
s9: matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information; s10: judging whether the matching is successful or not; if the matching is successful, executing step S11; if the matching fails, executing step S15; s11: acquiring a burning file of a corresponding manufacturer according to manufacturer information; s12: acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; executing step S13; s13: transmitting the successfully matched burning file to a burning controller; s14: after the burning controller receives the burning file, the burning process is executed according to the part code and the manufacturer information of the burning file and the burning flow of the corresponding chip model of the corresponding manufacturer. S15: and outputting and displaying the prompt information.
The method, apparatus, device, and medium for burning an adaptive chip vendor bitstream of the present invention are elements and algorithm steps of each example described in connection with the embodiments disclosed herein, and can be implemented in electronic hardware, computer software, or a combination of both, and to clearly illustrate the interchangeability of hardware and software, each example's composition and steps have been generally described in terms of functionality in the foregoing description. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The burning method of the bit stream of the self-adaptive chip manufacturer is characterized by comprising the following steps of:
loading a burning file;
acquiring corresponding part codes and manufacturer information according to the burning file;
transmitting the command of the received burning file to a burning controller;
receiving part codes and manufacturer information in a chip, which are returned by the burning controller and read in response to the received instruction;
matching the received part code and manufacturer information returned by the burning controller with the acquired part code and manufacturer information;
and transmitting the successfully matched burning file to a burning controller, so that the burning controller burns the chip according to the burning flow of the corresponding manufacturer.
2. The method of claim 1, wherein the step of loading the burn file comprises:
and judging whether the loaded burnt file is a signed file or not.
3. The method for burning the bitstream of the adaptive chip vendor according to claim 2, wherein the step of obtaining the corresponding part code and vendor information according to the burning file comprises:
if the loaded burning file is a signed file, unpacking the signed file to obtain a part code and manufacturer information in the signature;
if the loaded burning file is an unsigned file, the part code and manufacturer information are acquired according to the suffix of the burning file.
4. The method for burning the self-adaptive chip vendor bitstream according to claim 3, wherein the step of matching the received part codes and vendor information returned by the burning controller with the acquired part codes and vendor information comprises:
if the matching is successful, acquiring a burning file of a corresponding manufacturer according to manufacturer information;
acquiring the burning files of the chips with the corresponding model numbers according to the part codes in the acquired burning files of the corresponding manufacturers and displaying the matching results; the method comprises the following steps: transmitting the successfully matched burning file to a burning controller;
if the matching fails, outputting and displaying prompt information.
5. The method of burning an adaptive chip vendor bitstream according to claim 1, further comprising:
after receiving the instruction, the burning controller reads the characteristic information in the chip;
and analyzing the read characteristic information to obtain the part code and manufacturer information in the chip.
6. The method of claim 5, wherein the step of reading the feature information in the chip after the recording controller receives the command comprises:
the design codes integrate the burning flow of each manufacturer to the burning controller.
7. The method of burning an adaptive chip vendor bitstream according to claim 6, further comprising:
after the burning controller receives the burning file, the burning process is executed according to the part code and the manufacturer information of the burning file and the burning flow of the corresponding chip model of the corresponding manufacturer.
8. The burning device of the bit stream of the self-adaptive chip manufacturer is characterized by comprising a loading module, a file information acquisition module, an instruction issuing module, a matching module, a file transfer module, an instruction receiving and processing module and a burning module;
the loading module is used for loading the burnt file;
the file information acquisition module is used for acquiring the corresponding part codes and manufacturer information according to the burning file;
the instruction issuing module is used for issuing an instruction of the received burnt file;
the instruction receiving and processing module is used for reading the part code and manufacturer information in the chip after receiving the instruction and returning the read information to the matching module;
the matching module is used for matching the received returned part codes and manufacturer information with the acquired part codes and manufacturer information;
the file transfer module is used for transferring the successfully matched burning file to the burning module;
and the burning module is used for matching the burning flow burning chip of the corresponding manufacturer according to the corresponding part code and manufacturer information after receiving the burning file.
9. An electronic device, the electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores computer program instructions executable by at least one processor to enable the at least one processor to perform the method of burning an adaptive chip vendor bitstream according to any one of claims 1 to 7.
10. A non-transitory computer readable storage medium storing computer instructions that cause the computer to perform the method of burning an adaptive chip vendor bitstream according to any one of claims 1 to 7.
CN202310369441.8A 2023-04-07 2023-04-07 Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium Pending CN116541026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310369441.8A CN116541026A (en) 2023-04-07 2023-04-07 Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310369441.8A CN116541026A (en) 2023-04-07 2023-04-07 Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116541026A true CN116541026A (en) 2023-08-04

Family

ID=87447964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310369441.8A Pending CN116541026A (en) 2023-04-07 2023-04-07 Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116541026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117148801A (en) * 2023-10-27 2023-12-01 浙江禾川科技股份有限公司 Controller adaptation method, device, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117148801A (en) * 2023-10-27 2023-12-01 浙江禾川科技股份有限公司 Controller adaptation method, device, electronic equipment and medium
CN117148801B (en) * 2023-10-27 2024-02-02 浙江禾川科技股份有限公司 Controller adaptation method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN102662697B (en) Software upgrading method and device
US20120303940A1 (en) System, method and program product to manage firmware on a system board
CN110209419A (en) A kind of CAN bus based DSP embedded device updating method and device
CN110597523A (en) Board card firmware burning method, device and system, board card and terminal equipment
CN112463689B (en) OCP card hot plug device, method and computer readable storage medium
CN109976767B (en) Software burning method and device
CN114003538B (en) Identification method of intelligent network card and intelligent network card
CN110045968B (en) STM32 cross-singlechip program burning method
CN116541026A (en) Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium
CN101620580B (en) Computer system and control method of the same
CN107818032A (en) A kind of mainboard, information Method of printing, system, device and storage medium
CN110515635A (en) Mainboard VR firmware upgrade method, device, server and readable storage medium storing program for executing
CN104133743A (en) Method and device for burning file into EMMC (Embedded MultiMedia Card)
CN117076214A (en) Method, system, terminal and medium for detecting dial fool-proof of hard disk backboard of server
CN107908418B (en) Method for upgrading logic program of fiber channel node card and fiber channel bus equipment
CN114116337A (en) Hard disk test method, system, terminal and storage medium based on PCIE link configuration
CN112231159B (en) Memory installation position testing method, system, terminal and storage medium
CN113050969A (en) Display parameter updating method, driving chip and display device
CN101989219B (en) Hardware fault detection debugging code information output method, device and system
CN111399871A (en) System updating method, device, equipment and medium for HBA card
CN106548311B (en) Inventory management setting system
CN113869108B (en) Method and related device for identifying equipment connected with hard disk backboard
CN113064617B (en) Method, system and storage medium for updating SMBIOS information
CN109508270B (en) BIOS register checking and testing method and device
CN114826489B (en) Link error correction method, system, storage medium and equipment

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