CN109901851B - Firmware burning system and method - Google Patents
Firmware burning system and method Download PDFInfo
- Publication number
- CN109901851B CN109901851B CN201910150757.1A CN201910150757A CN109901851B CN 109901851 B CN109901851 B CN 109901851B CN 201910150757 A CN201910150757 A CN 201910150757A CN 109901851 B CN109901851 B CN 109901851B
- Authority
- CN
- China
- Prior art keywords
- burning
- computer
- bottom plate
- burned
- chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a firmware burning system and a firmware burning method, wherein the system comprises a burning bottom plate, a burning computer and a server, wherein a human-computer interaction module is arranged on the burning bottom plate, the burning bottom plate is used for installing and connecting a chip to be burned, and displaying the burning state of the chip to be burned through the human-computer interaction module, the server is used for reading original firmware corresponding to the chip to be burned after receiving a burning request signal sent by the burning computer, generating a digital certificate corresponding to the original firmware, then sending the original firmware and the digital certificate to the burning computer, and the burning computer is used for combining the original firmware and the digital certificate into a file to be burned, sending the file to be burned to the burning bottom plate, and driving the burning bottom plate to burn the received file to be burned to the chip to be burned. The invention can avoid the risk of data leakage in the burning process of the chip firmware and ensure the information safety. The invention is widely applied to the technical field of firmware burning.
Description
Technical Field
The invention relates to the technical field of firmware burning, in particular to a firmware burning system and a firmware burning method.
Background
Security chips are increasingly used in products such as automobiles and mobile phones with car networking functions, and related firmware and digital certificates need to be burned into the chips during the production of such chips. The security chip generally plays a role in authentication and the like in links such as security verification and the like, and has great importance on information security. However, in the existing burning technology, data such as firmware, digital certificates and the like are generated in advance and stored in burning equipment, so that the data such as the firmware, the digital certificates and the like face a great risk of leakage. Once data such as firmware and digital certificates are leaked out, the same security chip may be copied by lawbreakers, so that information security faces a significant threat.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a firmware burning system and method.
On one hand, the embodiment of the invention comprises a firmware burning system, which comprises a burning bottom plate, a burning computer and a server, wherein the burning bottom plate is connected with the server through the burning computer, and a human-computer interaction module is arranged on the burning bottom plate;
the burning bottom plate is used for mounting and connecting a chip to be burnt and displaying the burning state of the chip to be burnt through the man-machine interaction module;
the server is used for reading the original firmware corresponding to the chip to be burned after receiving a burning request signal sent by the burning computer, generating a digital certificate corresponding to the original firmware, and then sending the original firmware and the digital certificate to the burning computer;
the burning computer is used for combining the original firmware and the digital certificate into a file to be burnt, sending the file to be burnt to the burning bottom plate, and driving the burning bottom plate to burn the received file to be burnt to the chip to be burnt.
Further, the server sends the original firmware and the digital certificate to the burning computer after executing an authentication program and passing the authentication.
Further, the authentication procedure specifically includes the steps of:
reading the ID of the burning bottom plate and the ID of the burning computer;
identifying the sending time of the burning request signal;
identifying the positions of the burning baseplate and the burning computer;
and when the ID of the burning bottom plate, the ID of the burning computer, the sending time of the burning request signal and the positions of the burning bottom plate and the burning computer are all checked to be consistent with the corresponding preset task parameters, judging that the certification is passed.
Further, the burning computer is also used for executing the following initialization steps after the computer is started up:
reading the set task parameters; the task parameters comprise the ID of a burning bottom plate to be used, the serial number of a chip to be burned and the time period to be burned;
detecting and verifying the burning bottom plate and the chip to be burned installed on the burning bottom plate according to the task parameters, and setting the burning bottom plate to be in a ready state when the detection and verification are passed;
and the request server sends the burning permission information and enters a ready state when receiving the burning permission information.
Furthermore, the burning bottom plate also detects a burning start signal, a burning stop signal and a burning reset signal in real time through a man-machine interaction module; starting a process of burning the received file to be burned to the chip to be burned when the burning start signal is detected; when the recording stopping signal is detected, the process of recording the received file to be recorded to the chip to be recorded is stopped; and when the recording reset signal is detected, the process of recording the received file to be recorded to the chip to be recorded is stopped and reset.
Further, the original firmware is sent to the burning computer in a data stream mode.
Further, the original firmware and the digital certificate are sent to the burn computer through different channels.
Further, in the process that the burning bottom plate burns the received file to be burnt to the chip to be burnt, the burning computer also generates burning condition information in real time and feeds the burning condition information back to the server.
Further, the burning condition information includes a burning progress and a burning failure rate.
On the other hand, the embodiment of the invention also discloses a firmware burning method, which comprises the following steps:
after receiving the burning request signal, reading original firmware corresponding to the chip to be burned, and generating a digital certificate corresponding to the original firmware;
combining the original firmware and the digital certificate into a file to be burned;
burning a file to be burnt to a chip to be burnt;
and displaying the burning state of the chip to be burned in real time.
The invention has the beneficial effects that: by arranging the burning bottom plate, the burning computer and the server, the burning bottom plate executes the burning function, the burning computer executes the local control function, and the server executes the functions of remote control, authentication and generation of the original firmware and the digital certificate; because the original firmware and the digital certificate are not stored in the burning bottom plate and the burning computer, the original firmware and the digital certificate are not leaked even if the burning bottom plate and the burning computer are stolen, and a user can use other equipment for replacing work; the server executes the authentication program of the burning bottom plate and the burning computer, so that the leakage risk caused by illegal replacement and tampering of the burning bottom plate and the burning computer is avoided; because the burning baseplate, the burning computer and the server are connected by the Internet, a user can access the server by using different burning baseboards and burning computers, so that the user can flexibly select a production site.
Drawings
FIG. 1 is a block diagram of a firmware burning system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a firmware burning method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a firmware burning system according to an embodiment of the present invention.
Detailed Description
The embodiment comprises a firmware burning system, and referring to fig. 1, the firmware burning system comprises a burning bottom plate, a burning computer and a server, wherein the burning bottom plate is connected with the server through the burning computer, and a human-computer interaction module is arranged on the burning bottom plate;
the burning bottom plate is used for mounting and connecting a chip to be burnt and displaying the burning state of the chip to be burnt through the man-machine interaction module;
the server is used for reading the original firmware corresponding to the chip to be burned after receiving a burning request signal sent by the burning computer, generating a digital certificate corresponding to the original firmware, and then sending the original firmware and the digital certificate to the burning computer;
the burning computer is used for combining the original firmware and the digital certificate into a file to be burnt, sending the file to be burnt to the burning bottom plate, and driving the burning bottom plate to burn the received file to be burnt to the chip to be burnt.
In the embodiment, the chip to be burned is an STM32 series single chip microcomputer, and the series single chip microcomputer is widely applied to chip products such as car networking safety chips.
The burning base plate comprises a communication circuit, a burning circuit and a driving circuit. The communication circuit is connected to the burning computer, so that the burning bottom plate can communicate with the burning computer, and preferably the communication circuit can run a USB protocol, namely the communication circuit is connected with the burning computer through a USB interface. The programming circuit comprises a plurality of chip holders used for mounting the STM32 single chip microcomputer and corresponding transcoding circuits, the programming circuit can convert data received by the communication circuit into corresponding timing pulses, and accordingly the data are programmed into the STM32 single chip microcomputer, and preferably the programming circuit is connected with the STM32 single chip microcomputer through an SWD interface. The driving circuit comprises a necessary power supply circuit, a necessary clock circuit and the like, so that the STM32 single chip microcomputer can normally operate. The burning bottom plate also comprises a clamp for fixing at least one STM32 single chip microcomputer, so that one burning bottom plate can be installed and connected with at least one STM32 single chip microcomputer.
Preferably, the burning base plate can be further provided with a button, a display screen, an indicator light and other human-computer interaction modules, so that a user can operate the burning base plate through the human-computer interaction modules and obtain the burning state through the human-computer interaction modules. For example, the text information is displayed through a display screen to inform the current burning progress and normal state of a worker; the burning error is indicated by the fact that the red indicating lamp is normally on, the burning is indicated by the fact that the blue indicating lamp is normally on, and the burning is indicated by the fact that the green indicating lamp is normally on.
The burning computer can be a personal computer or a minimum module with a control function. When the burn-in computer is the minimum module, the burn-in computer may be integrated with the burn-in backplane into an integrated device, and at this time, the burn-in backplane in this embodiment refers to a portion of the integrated device having a burn-in function, and the burn-in computer in this embodiment refers to a portion of the integrated device having a control function. Preferably, the burn computer runs an ST-LINK Utility program that enables the burn computer to have the function of controlling the burn chassis.
In this embodiment, the burning base plate and the burning computer are installed at a local end, and accordingly, the server is installed at a remote end, that is, the burning base plate and the burning computer are installed in an environment such as a production line, and the server is installed at a cloud end. The server and the burning computer can be connected through a public internet or an internal private network.
In this embodiment, the chip to be burned is mounted on the burning backplane, and the user sends a burning command to the burning backplane by turning on the power supply, pressing the start button, and the like. The burning computer generates a burning request signal after detecting that the burning bottom plate is triggered by the burning instruction, and reads the serial number solidified in the chip to be burned through the burning bottom plate, wherein the serial number is written into the chip to be burned in the production process of the chip to be burned. The burning computer sends the serial number and the burning request signal to the server, and preferably, the serial number itself read by the burning bottom plate can be used as the burning request signal.
In this embodiment, the server sends the original firmware and the digital certificate to the burn computer after executing the authentication program and passing the authentication. Before the server reads the original firmware corresponding to the chip to be burned, generates the digital certificate corresponding to the original firmware and sends the original firmware and the digital certificate to the burning computer, an authentication program is executed, and the execution result of the authentication program comprises authentication passing and authentication failing. And when the execution result of the authentication program is that the authentication is passed, reading the original firmware corresponding to the chip to be burned, generating a digital certificate corresponding to the original firmware, sending the original firmware and the digital certificate to the burning computer, and the like.
The authentication procedure is an authentication process, namely, whether the burning baseplate and the burning computer are legal equipment is judged. And when the burning bottom plate and the burning computer pass the authentication, the server executes the subsequent steps, otherwise, the server refuses to execute the subsequent steps. The server can be further set, so that when the burning bottom plate and the burning computer pass the authentication and are in a legal production period, the server executes the subsequent steps, otherwise, the server refuses to execute the subsequent steps.
When the burning bottom plate and the burning computer pass the authentication, the model of the chip to be burned is judged by methods of table look-up and the like according to the received serial number, and then the corresponding original firmware is searched, wherein the original firmware is a binary file to be burned into the chip to be burned. The server searches for corresponding data according to the serial number and generates a corresponding digital certificate, the process is related to the used digital certificate algorithm and the setting of a manufacturer, and the embodiment does not relate to the improvement of the digital certificate generation method.
Because a plurality of chips to be burned can be installed on the burning bottom plate, namely the burning bottom plate can simultaneously carry out the burning process of the chips to be burned, the original firmware sent by the server and the digital certificate have a one-to-one correspondence relationship. The server sends the original firmware and the corresponding digital certificate to the burning computer, so that the burning computer can control the corresponding chip holder on the burning bottom plate to burn the chip to be burned which is installed on the chip holder.
The burning computer executes a merging process of the original firmware and the corresponding digital certificate, and the merging process can be realized by splicing binary data, so that the spliced data is used as a file to be burnt; or corresponding algorithm processing can be carried out on the binary data of the original firmware and the corresponding digital certificate, and the obtained processing result is used as a file to be burned.
In this embodiment, the server in the burning system may be connected to a plurality of burning computers, each of the burning computers may be connected to a plurality of burning boards, and the burning boards may be connected to different chips to be burned respectively.
The system is provided with a burning bottom plate, a burning computer and a server, wherein the burning bottom plate executes a burning function, the burning computer executes a local control function, and the server executes remote control, authentication and original firmware and digital certificate generation functions; because the original firmware and the digital certificate are not stored in the burning bottom plate and the burning computer, the original firmware and the digital certificate cannot be leaked even if the burning bottom plate and the burning computer are stolen, and a user can use other equipment for replacing work; the server executes the authentication program of the burning bottom plate and the burning computer, so that the leakage risk caused by illegal replacement and tampering of the burning bottom plate and the burning computer is avoided; because the burning baseplate, the burning computer and the server are connected by the Internet, a user can access the server by using different burning baseboards and burning computers, so that the user can flexibly select a production site.
Further preferably, the authentication procedure specifically includes the following steps:
reading the ID of the burning bottom plate and the ID of the burning computer;
identifying the sending time of the burning request signal;
identifying the positions of the burning baseplate and the burning computer;
and when the ID of the burning bottom plate, the ID of the burning computer, the sending time of the burning request signal and the positions of the burning bottom plate and the burning computer are all checked to be consistent with the corresponding preset task parameters, judging that the certification is passed.
In the embodiment, the server identifies the ID of the burning baseplate from the communication data with the burning baseplate through a hardware identification algorithm, and identifies the ID of the burning computer from the communication data with the burning computer; the server identifies the sending time of the burning request signal through clock comparison; and the server identifies the geographic position or the network position of the burning baseplate and the burning computer through an IP address identification algorithm.
In this embodiment, the server stores preset task parameters, where the task parameters record information of a burning backplane allowed to be used by the burning task to be executed, a burning computer allowed to be used, an allowed burning time period, an allowed place of origin, and the like. The recording bottom plate allowed to be used specifically comprises a series of recording bottom plate ID white lists, namely the certification is judged to pass only when the white lists have IDs consistent with the read recording bottom plate IDs; the allowed burning computer specifically comprises a series of burning computer ID white lists, namely, the certification is judged to pass only when the white lists have IDs consistent with the read burning computer IDs; the allowed burning time period comprises a series of time period white lists, namely the certification is judged to pass when the sending time of the burning request signal is identified to be in the time period listed on the white lists; the allowed production place comprises a series of geographical position white lists, namely the certification is judged to be passed only when the geographical positions which are consistent with the positions of the identified burning bottom plate and the burning computer exist on the white lists.
Further preferably, the burn-in computer is further configured to perform the following initialization steps after booting:
reading the set task parameters; the task parameters comprise the ID of a burning bottom plate to be used, the serial number of a chip to be burned and the time period to be burned;
detecting and verifying the burning bottom plate and the chip to be burned installed on the burning bottom plate according to the task parameters, and setting the burning bottom plate to be in a ready state when the detection and verification are passed;
and the request server sends the burning permission information and enters a ready state when receiving the burning permission information.
The task parameters are set by workers in charge of burning, the task parameters can be stored on the burning bottom board, the burning computer or the server, and when the task parameters are stored on the burning bottom board or the server, the burning computer communicates with the burning bottom board or the server to read the task parameters to the burning computer. The task parameters are indexes related to the current burning task, and comprise the ID of a burning bottom plate to be used by the current task, the serial number of a chip to be burned, the time period to be burned and the like.
The ID of the burning bottom plate to be used is used for distinguishing the model number and the serial number of the burning bottom plate, so that when a burning computer is connected with a plurality of burning bottom plates for production line, the burning bottom plates can be accurately distinguished, and the appointed burning bottom plate is driven to carry out burning; the serial number of the chip to be burned is the information which is solidified in the chip to be burned and can not be tampered, and the serial number can be used for distinguishing a plurality of different chips. The time period to be burned can refer to the time period of the start time of the burning task, the time period of the end time of the burning task, the time period of the whole process of the burning task and the like.
Detecting and verifying the burning bottom plate, the chip to be burned installed on the burning bottom plate and the chip to be burned installed on the burning bottom plate according to the task parameters, which specifically comprises the following steps:
detecting whether a burning bottom plate corresponding to the ID of the burning bottom plate to be used in the task parameters exists or not;
when the corresponding burning bottom plate exists, detecting whether the chip to be burned is installed on the burning bottom plate or not, and driving the burning bottom plate to verify the chip to be burned;
when the chip to be burned is installed and the chip to be burned is normally checked, detecting whether the serial number of the chip to be burned corresponds to the serial number of the chip to be burned in the task parameters;
when the serial number of the chip to be burned corresponds to the serial number of the chip to be burned in the task parameters, detecting whether the time period set in the task parameters by the burning bottom plate to be burned is in an idle state;
and when the burning bottom plate is in an idle state in the time period to be burned, setting the burning bottom plate to be in a ready state, so that the burning bottom plate can receive the file to be burned and burn at any time.
If the burning bottom plate and the chip to be burned installed on the burning bottom plate do not pass the detection and verification, the burning bottom plate cannot be set to be in a ready state, namely the burning bottom plate cannot be operated and used, the chip to be burned cannot be burned, and the safety of burning work is guaranteed.
The burn computer also communicates with the server to request the server to send burn permission information, which may be a confirmation instruction. After the burning computer receives the burning permission information, the burning computer enters a ready state.
If the server does not send the burning permission information to the burning computer, the burning computer cannot be set to be in the ready state, namely, the burning computer cannot be operated and used, and cannot drive the burning bottom plate to burn the chip to be burned, so that the safety of burning work is guaranteed.
Further as a preferred embodiment, the burning baseboard detects a burning start signal, a burning stop signal and a burning reset signal in real time through the man-machine interaction module; starting a process of burning the received file to be burned to the chip to be burned when the burning start signal is detected; when the recording stopping signal is detected, the process of recording the received file to be recorded to the chip to be recorded is stopped; and when the recording reset signal is detected, the process of recording the received file to be recorded to the chip to be recorded is stopped and reset.
The man-machine interaction module can be internally provided with start, stop and reset buttons, and the burning bottom plate detects the triggering of the start, stop and reset buttons in real time. When the worker does not press the 'start' button, the process of burning the received file to be burned to the chip to be burned is not started for the moment, namely, even if the burning bottom plate receives the file to be burned, the file to be burned is not burned to the chip to be burned; after the worker presses the 'start' button, the burning bottom plate starts the process of burning the received file to be burnt to the chip to be burnt, namely, the file to be burnt is burnt to the chip to be burnt. After the worker presses the 'stop' button, the process of burning the received file to be burned to the chip to be burned is stopped, namely, if the burning bottom plate is in the process of burning the received file to be burned to the chip to be burned, the process is stopped. After pressing the reset button, the worker stops the process of burning the received file to be burned to the chip to be burned and resets, namely stops the process of burning the received file to be burned to the chip to be burned, resets the working state of the burning bottom plate and reenters the ready state.
Further in a preferred embodiment, the original firmware is transmitted to the burn-in computer in a data stream.
The server sends the binary data contained in the original firmware to the burning computer in a data stream mode, so that the original firmware can be prevented from being intercepted or tampered in the transmission process.
Further preferably, the original firmware and the digital certificate are sent to the burn computer through different channels. In this embodiment, the server and the burning computer may be connected through a plurality of different internet dedicated lines, or may be connected in a wired or wireless manner. The server can send the original firmware to the burning computer through one of the internet special lines and send the digital certificate to the burning computer through the other internet special line. The server can also send the original firmware to the burning computer in a wired mode and send the digital certificate to the burning computer in a wireless mode. By using different channels to send the original firmware and the digital certificate respectively, the risk that the original firmware and the digital certificate are simultaneously intercepted or tampered can be reduced. In this embodiment, the original firmware and the digital certificate cannot be separately burned into the chip to be burned, and the burning process of the chip to be burned can be executed only after the file to be burned is obtained by combining the burning computers, so that the original firmware and the digital certificate are respectively transmitted by using different channels, thereby preventing illegal copying of the chip by lawbreakers.
Further, as a preferred embodiment, in the process of burning the received file to be burned to the chip to be burned by the burning bottom board, the burning computer also generates burning condition information in real time and feeds the burning condition information back to the server. The generation process and the feedback process of the burning situation information can be executed by using an ST-LINK usability program of a burning computer.
In this embodiment, the burning status information includes a burning progress and a burning failure rate. The burning progress refers to the ratio of the data volume which is burnt into the chip to be burnt to the total data volume of the file to be burnt in the process that the burning bottom plate burns the received file to be burnt into the chip to be burnt. The burning failure rate refers to the ratio of the number of chips to be burned which fail in burning to the total number of chips to be burned in one burning task. The server or the burning computer can be set, so that an error can be reported when the burning progress corresponding to a certain burning bottom plate does not reach a preset value for a long time, and an error can be reported when the burning failure rate corresponding to a certain burning bottom plate reaches the preset value, so that a worker is reminded to overhaul the burning system.
The embodiment further includes a firmware burning method, referring to fig. 2, including the following steps:
s1, after receiving a burning request signal, reading an original firmware corresponding to a chip to be burned, and generating a digital certificate corresponding to the original firmware;
s2, combining the original firmware and the digital certificate into a file to be burned;
s3, burning the file to be burnt to a chip to be burnt;
and S4, displaying the burning state of the chip to be burned in real time.
The firmware burning method in the present embodiment can be executed by the firmware burning system shown in fig. 1. Specifically, in step S1, the server reads the corresponding original firmware according to the serial number, generates the corresponding digital certificate according to the serial number, and then sends the original firmware and the digital certificate to the burn computer; s2, combining the original firmware and the digital certificate into a file to be burnt by the burning computer, and sending the file to be burnt to a burning bottom plate; s3, under the drive of a burning computer, burning the received file to be burnt to a chip to be burnt by a burning bottom plate; in step S4, the burning backplane displays the burning status of the chip to be burned in real time through the human-computer interaction module.
Further as a preferred embodiment, the server also executes an authentication program before executing step S1. The authentication program is executed aiming at the burning bottom plate and the burning computer, and the authentication program specifically comprises the following steps:
s201, reading the ID of the burning bottom plate and the ID of the burning computer;
s202, identifying the sending time of the burning request signal;
s203, identifying the positions of the burning bottom plate and the burning computer;
and S204, when the ID of the burning bottom plate, the ID of the burning computer, the sending time of the burning request signal and the positions of the burning bottom plate and the burning computer are all checked to be consistent with the corresponding preset task parameters, judging that the certification is passed.
The above steps S201-S204 are performed in the server.
Further as a preferred embodiment, the method further comprises the steps of:
s5, generating burning condition information in real time in the process of burning the received file to be burnt to the chip to be burnt;
and S6, feeding back the burning situation information.
In step S5, the burn computer generates burn condition information in real time, where the burn condition information includes a burn schedule and a burn failure rate. Step S6 is executed to feed the burning situation information back to the server.
The steps of the firmware burning method in this embodiment can be executed by using the burning backplane, the burning computer and the server in the firmware burning system in this embodiment, respectively. The firmware burning method in the embodiment has the corresponding functions and beneficial effects of the firmware burning system.
The working flow principle of the firmware burning system of the invention refers to fig. 3. The whole work flow can be divided into a preparation stage and a burning stage, and the preparation stage and the burning stage are respectively formed by executing corresponding steps on a burning bottom plate, a burning computer and a server according to a certain time sequence.
In the preparation stage, the burning computer communicates with the burning bottom plate after receiving the starting instruction, and the following steps are executed to initialize the burning bottom plate and initialize the burning bottom plate per se:
reading the set task parameters; the task parameters comprise the ID of a burning bottom plate to be used, the serial number of a chip to be burned and the time period to be burned;
detecting and verifying the burning bottom plate and the chip to be burned installed on the burning bottom plate according to the task parameters, and setting the burning bottom plate to be in a ready state when the detection and verification are passed;
and the request server sends the burning permission information and enters a ready state when receiving the burning permission information.
After the burning bottom plate is initialized, a trigger signal sent by a worker is detected in real time through the man-machine interaction module, a burning command is sent after the trigger signal is detected, and the burning computer generates a burning request signal according to the burning command. After receiving the burning request signal, the server executes the following authentication procedures on the burning bottom plate and the burning computer:
reading the ID of the burning bottom plate and the ID of the burning computer;
identifying the sending time of the burning request signal;
identifying the positions of the burning baseplate and the burning computer;
and when the ID of the burning bottom plate, the ID of the burning computer, the sending time of the burning request signal and the positions of the burning bottom plate and the burning computer are all checked to be consistent with the corresponding preset task parameters, judging that the certification is passed.
And starting a burning stage after the authentication program passes.
In the burning stage, after the server receives a burning request signal sent by the burning computer, the server generates and sends the original firmware and the digital certificate to the burning computer, the burning computer combines the received original firmware and the received digital certificate into a file to be burned, and the file to be burned is burned into the chip to be burned by the burning bottom plate. And in the process of burning the file to be burned to the chip to be burned by the burning bottom plate, the burning computer generates burning condition information and feeds the burning condition information back to the server and the burning bottom plate. The server monitors the burning condition, for example, when the burning progress corresponding to a certain burning bottom plate does not reach a preset value for a long time, the server reports an error, and when the burning failure rate corresponding to a certain burning bottom plate reaches the preset value, the server reports an error and reminds a worker to overhaul the burning system; the burning bottom plate shows the burning condition through the man-machine interaction module, for example, when the burning progress corresponding to a certain burning bottom plate does not reach a preset value for a long time, the red indicating lamp is driven to flicker, and when the burning failure rate corresponding to a certain burning bottom plate reaches the preset value, the red indicating lamp is driven to be normally on, so that a worker is reminded to overhaul the burning system.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A firmware burning system is characterized by comprising a burning bottom plate, a burning computer and a server, wherein the burning bottom plate is connected with the server through the burning computer, and a human-computer interaction module is arranged on the burning bottom plate;
the burning bottom plate is used for mounting and connecting the chip to be burnt and displaying the burning state of the chip to be burnt through the man-machine interaction module;
the server is used for reading the original firmware corresponding to the chip to be burned after receiving a burning request signal sent by the burning computer, generating a digital certificate corresponding to the original firmware, and then sending the original firmware and the digital certificate to the burning computer;
the burning computer is used for combining the original firmware and the digital certificate into a file to be burnt, sending the file to be burnt to the burning bottom plate, and driving the burning bottom plate to burn the received file to be burnt to the chip to be burnt;
the server sends the original firmware and the digital certificate to the burning computer after executing an authentication program and passing the authentication;
the authentication procedure specifically comprises the following steps:
reading the ID of the burning bottom plate and the ID of the burning computer;
identifying the sending time of the burning request signal;
identifying the positions of the burning baseplate and the burning computer;
and when the ID of the burning bottom plate, the ID of the burning computer, the sending time of the burning request signal and the positions of the burning bottom plate and the burning computer are all checked to be consistent with the corresponding preset task parameters, judging that the certification is passed.
2. The system of claim 1, wherein the burning computer is further configured to perform the following initialization steps after booting:
reading set task parameters; the task parameters comprise the ID of a burning bottom plate to be used, the serial number of a chip to be burned and the time period to be burned;
detecting and verifying the burning bottom plate and the chip to be burned installed on the burning bottom plate according to the task parameters, and setting the burning bottom plate to be in a ready state when the detection and verification are passed;
and the request server sends the burning permission information and enters a ready state when receiving the burning permission information.
3. The firmware burning system of claim 1, wherein the burning backplane further detects a burning start signal, a burning stop signal and a burning reset signal in real time via the human-computer interaction module; starting a process of burning the received file to be burned to the chip to be burned when the burning start signal is detected; when the recording stopping signal is detected, the process of recording the received file to be recorded to the chip to be recorded is stopped; and when the recording reset signal is detected, the process of recording the received file to be recorded to the chip to be recorded is stopped and reset.
4. The system of claim 1, wherein the original firmware is sent to the burning computer in a data stream.
5. The system of claim 1, wherein the original firmware and the digital certificate are sent to the burn computer through different channels.
6. The system of claim 1, wherein the burning computer further generates burning status information in real time and feeds the burning status information back to the server during the burning process of the burning backplane to burn the received file to be burned to the chip to be burned.
7. The system of claim 6, wherein the burning status information includes a burning progress and a burning failure rate.
8. A firmware burning method is characterized by comprising the following steps:
after receiving a burning request signal, reading original firmware corresponding to a chip to be burned, and generating a digital certificate corresponding to the original firmware;
after an authentication program is executed and the authentication is passed, combining the original firmware and the digital certificate into a file to be burned;
burning a file to be burnt to a chip to be burnt;
displaying the burning state of the chip to be burned in real time;
the authentication procedure specifically comprises the following steps:
reading the ID of the burning bottom plate and the ID of the burning computer;
identifying the sending time of the burning request signal;
identifying the positions of the burning baseplate and the burning computer;
and when the ID of the burning bottom plate, the ID of the burning computer, the sending time of the burning request signal and the positions of the burning bottom plate and the burning computer are all checked to be consistent with the corresponding preset task parameters, judging that the certification is passed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910150757.1A CN109901851B (en) | 2019-02-28 | 2019-02-28 | Firmware burning system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910150757.1A CN109901851B (en) | 2019-02-28 | 2019-02-28 | Firmware burning system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109901851A CN109901851A (en) | 2019-06-18 |
CN109901851B true CN109901851B (en) | 2022-07-12 |
Family
ID=66945745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910150757.1A Active CN109901851B (en) | 2019-02-28 | 2019-02-28 | Firmware burning system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109901851B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110531991B (en) * | 2019-08-08 | 2023-09-05 | 惠州市蓝微电子有限公司 | Method and system for realizing universal burning platform |
CN111475178B (en) * | 2020-06-23 | 2020-09-18 | 翱捷科技(上海)有限公司 | Embedded system firmware programming progress calculation method and system |
CN111913725B (en) * | 2020-07-31 | 2022-09-20 | 昆山国显光电有限公司 | Burning device and burning method |
CN112055090B (en) * | 2020-09-11 | 2023-08-29 | 上海庆科信息技术有限公司 | Module burning authorization tracking system, module burning method and device |
CN112034807B (en) * | 2020-09-11 | 2022-08-30 | 上海庆科信息技术有限公司 | Module burning authorization tracking system, module burning method and device |
CN112034806B (en) * | 2020-09-11 | 2022-08-30 | 上海庆科信息技术有限公司 | Module burning authorization tracking system, module burning method and device |
CN112034808B (en) * | 2020-09-11 | 2022-08-30 | 上海庆科信息技术有限公司 | Module burning authorization tracking system, module burning information adjusting method and device |
CN112445501A (en) * | 2020-12-01 | 2021-03-05 | 深圳市启明云端科技有限公司 | Data burning method and device and computer readable storage medium |
CN113326051B (en) * | 2021-06-06 | 2023-11-24 | 深圳市昂科技术有限公司 | Chip serial number burning device and method |
CN113254034A (en) * | 2021-06-07 | 2021-08-13 | 深圳市蔚来芯科技有限公司 | Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof |
CN114489695A (en) * | 2021-12-30 | 2022-05-13 | 嘉兴威伏半导体有限公司 | Safe chip burning method and system |
CN114397525B (en) * | 2022-01-12 | 2022-09-20 | 深圳市百泰实业股份有限公司 | Universal intelligent automatic test equipment for PCBA |
CN115544464A (en) * | 2022-12-06 | 2022-12-30 | 深圳市航顺芯片技术研发有限公司 | Firmware burning method, device and system for micro-control chip and storage medium |
CN116755727B (en) * | 2023-08-21 | 2023-11-03 | 湖南博匠信息科技有限公司 | Intelligent upgrading method and system for firmware of embedded device |
CN117193809B (en) * | 2023-09-21 | 2024-07-05 | 苏州恒琪信息科技有限公司 | Chip burning method and device and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294496A (en) * | 2012-02-29 | 2013-09-11 | 新唐科技股份有限公司 | Burning system |
CN103559099A (en) * | 2013-10-31 | 2014-02-05 | 惠州市蓝微电子有限公司 | Chip burning checking method |
CN104166565A (en) * | 2014-08-11 | 2014-11-26 | 成都瑞博慧窗信息技术有限公司 | Intelligent display terminal firmware updating method |
US9626513B1 (en) * | 2007-04-24 | 2017-04-18 | Marvell International Ltd. | Trusted modular firmware update using digital certificate |
CN106909423A (en) * | 2017-02-28 | 2017-06-30 | 美的智慧家居科技有限公司 | The upgrade method of safety chip, device, terminal and safety chip |
CN106909421A (en) * | 2017-02-22 | 2017-06-30 | 福建魔方电子科技有限公司 | A kind of safe financial POS machine firmware upgrade method |
CN108279918A (en) * | 2018-01-16 | 2018-07-13 | 深圳市太美亚电子科技有限公司 | A kind of firmware burning method, system and terminal based on USB |
CN109274488A (en) * | 2018-09-04 | 2019-01-25 | 广州众诺电子技术有限公司 | Integrated circuit burning program method, storage medium and system |
-
2019
- 2019-02-28 CN CN201910150757.1A patent/CN109901851B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9626513B1 (en) * | 2007-04-24 | 2017-04-18 | Marvell International Ltd. | Trusted modular firmware update using digital certificate |
CN103294496A (en) * | 2012-02-29 | 2013-09-11 | 新唐科技股份有限公司 | Burning system |
CN103559099A (en) * | 2013-10-31 | 2014-02-05 | 惠州市蓝微电子有限公司 | Chip burning checking method |
CN104166565A (en) * | 2014-08-11 | 2014-11-26 | 成都瑞博慧窗信息技术有限公司 | Intelligent display terminal firmware updating method |
CN106909421A (en) * | 2017-02-22 | 2017-06-30 | 福建魔方电子科技有限公司 | A kind of safe financial POS machine firmware upgrade method |
CN106909423A (en) * | 2017-02-28 | 2017-06-30 | 美的智慧家居科技有限公司 | The upgrade method of safety chip, device, terminal and safety chip |
CN108279918A (en) * | 2018-01-16 | 2018-07-13 | 深圳市太美亚电子科技有限公司 | A kind of firmware burning method, system and terminal based on USB |
CN109274488A (en) * | 2018-09-04 | 2019-01-25 | 广州众诺电子技术有限公司 | Integrated circuit burning program method, storage medium and system |
Non-Patent Citations (1)
Title |
---|
Fs88x6系列加密芯片烧录器的设计与实现;徐元哲;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110115(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109901851A (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109901851B (en) | Firmware burning system and method | |
KR101357900B1 (en) | Network cable and infra-structure intelligent management system and method thereof | |
TWI235589B (en) | Test system for portable electronic apparatus and test method thereof | |
WO2017133691A1 (en) | Intelligent device networking method and apparatus | |
US20170041139A1 (en) | Burning method and burning system | |
CN103149526B (en) | PCBA board test macro and method | |
US20090234942A1 (en) | Apparatus, system, and method for testing embedded device | |
CN105722081A (en) | Intelligent device networking method and device | |
CN101437173A (en) | Instrument for detecting flat-plate television failure and detection method thereof | |
CN109818742B (en) | Equipment debugging method, device and storage medium | |
CN103186392B (en) | Computer system | |
CN103067550B (en) | Mobile phone test tool detection method | |
CN108762175A (en) | A kind of monitoring method and system of SMT production processes | |
CN102323886B (en) | Method for writing special information into terminal, device and system | |
WO2019080003A1 (en) | Method for testing a chip, test platform, and test system | |
CN114499851B (en) | Method for realizing safe filling of root keys based on end cloud integration | |
CN107547639B (en) | Centralized operation and maintenance hosting system of power distribution room | |
CN116074492A (en) | Method, system, equipment and medium for testing infrared function of set top box | |
CN113672246B (en) | Optical module upgrading device, system and method | |
CN105836564B (en) | The binding method and device of elevator hardware | |
CN109522170B (en) | Front shell display module detection device and system | |
CN112083312A (en) | Hardware testing method and system for master control PCBA (printed circuit board assembly) of VR (virtual reality) film watching equipment | |
CN112825099A (en) | Display module management method, device and system | |
CN102665095B (en) | Method and system for locating random on-off failure of television | |
CN211787056U (en) | Automatic burning device for chip custom information |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |