Chip burning method, system and equipment

By introducing order information verification and register status verification mechanisms into the chip programming system, the problem of firmware to be programmed being tampered with or incorrectly selected while stored in the host computer is solved, improving the reliability and security of chip programming and enhancing traceability and visibility.

CN121785622APending Publication Date: 2026-04-03SHENZHEN LONTIUM SEMICON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In the current chip programming process, the firmware to be programmed stored in the host computer may be tampered with or selected incorrectly, which reduces the reliability of the programming results.

Method used

By introducing a host computer into the chip programming system to generate and send the firmware to be programmed and the current order information, the main control unit in the encoder receives and executes the programming operation, and verifies the target programming firmware and order information in the target chip with the firmware to be programmed and the current order information in the main control unit to generate the programming result, and displays the programming progress and result through the display unit.

Benefits of technology

It improves the reliability and security of the chip programming process, avoids the decrease in reliability caused by the tampering or incorrect selection of the firmware stored in the host computer, and enhances the traceability and operational visibility of chip programming batches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121785622A_ABST
    Figure CN121785622A_ABST
Patent Text Reader

Abstract

The invention discloses a chip burning method, system and equipment, applied to a chip burning system, the chip burning system comprises an upper computer and an encoder, the encoder comprises a main control unit and a display unit, the method comprises the following steps: the upper computer generates and sends firmware to be burnt and current order information to the encoder, the current order information comprises a current order number and a current serial number; based on the to-be-burnt firmware and the current order information received by the main control unit, performing burning operation on the target chip to obtain target burnt firmware and target order information in the target chip; the target burning firmware and the target order information in the target chip are respectively verified with the firmware to be burnt and the current order information in the main control unit, and a burning result is generated; and displaying the burning result based on a display unit. In this way, the reliability and safety of the target chip in the burning process can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic information technology, and in particular to a chip programming method, system and device. Background Technology

[0002] As electronic products continue to evolve towards intelligence and integration, various chips are widely used in consumer electronics, industrial control, communication equipment, and automotive electronics. Chip programming, as a crucial manufacturing step involving writing firmware into the chip's storage unit, directly determines whether the chip's functions can be correctly configured and executed. It is an important step in chip production, system debugging, and product delivery.

[0003] Existing technologies typically rely on a CH341 conversion chip to translate host computer instructions into I2C instructions, sequentially performing programming and reading operations on the target chip, with the firmware to be programmed stored in the host computer. After programming the target chip is complete, the programmed firmware is read and compared with the firmware to be programmed stored in the host computer to confirm the programming result. However, existing technologies can only verify the consistency between the programmed firmware on the target chip and the firmware to be programmed stored in the host computer. Since the firmware to be programmed is stored in the host computer, it is susceptible to tampering or incorrect selection, which may reduce the reliability of the programming result. Summary of the Invention

[0004] This application provides a chip programming method, system, and device that can effectively improve the reliability and security of the target chip programming process.

[0005] In a first aspect, embodiments of this application provide a chip programming method applied to a chip programming system, the chip programming system including a host computer and an encoder, the encoder including a main control unit and a display unit, the method including:

[0006] The host computer generates and sends the firmware to be burned and the current order information to the encoder, wherein the current order information includes the current order number and the current sequence number;

[0007] Based on the firmware to be programmed and the current order information received by the main control unit, a programming operation is performed on the target chip to obtain the target programming firmware and target order information in the target chip; the target programming firmware and target order information in the target chip are verified with the firmware to be programmed and the current order information in the main control unit respectively to generate a programming result; the programming result is displayed based on the display unit.

[0008] In one feasible implementation, before performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, the method further includes:

[0009] The main control unit reads historical order information from the target chip, the historical order information including historical order number and historical sequence number;

[0010] The current order number and current sequence number in the current order information are matched and verified with the historical order number and historical sequence number in the historical order information to obtain the matching and verification result.

[0011] One feasible implementation, wherein the step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes:

[0012] If the matching verification result shows that the current order number is inconsistent with the historical order number, but the current sequence number is consistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the current order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

[0013] One feasible implementation, wherein the step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes:

[0014] If the matching verification result is that the current order number is inconsistent with the historical order number and the current sequence number is inconsistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the current order information received by the main control unit, so as to obtain the target programmed firmware and target order information in the target chip.

[0015] One feasible implementation, wherein the step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes:

[0016] If the matching verification result shows that the current order number is consistent with the historical order number, but the current sequence number is inconsistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the historical order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

[0017] One feasible implementation, wherein the step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes:

[0018] If the matching verification result shows that the current order number is consistent with the historical order number and the current sequence number is consistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the historical order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

[0019] One feasible implementation includes verifying the target firmware and target order information in the target chip against the firmware to be programmed and current order information in the main control unit, respectively, to generate a programming result, comprising:

[0020] Read the data already burned into the target chip to obtain the target firmware and target order information;

[0021] The target firmware and target order information in the target chip are verified against the firmware to be programmed and order information in the main control unit to generate a programming result.

[0022] In one possible implementation, the display unit is used to display the programming progress of the target chip.

[0023] Secondly, embodiments of this application provide a chip programming system, including a host computer and an encoder, wherein the encoder includes a main control unit and a display unit;

[0024] The host computer is used to generate and send the firmware to be burned and the current order information to the encoder. The current order information includes the current order number and the current sequence number.

[0025] The encoder and the main control unit are used to receive the firmware to be programmed and the current order information, perform a programming operation on the target chip, and obtain the target programming firmware and target order information in the target chip; the main control unit is used to verify the target programming firmware and target order information in the target chip with the firmware to be programmed and the current order information in the main control unit, respectively, and generate a programming result; the display unit is used to display the programming result.

[0026] Thirdly, embodiments of this application provide an electronic device, the device including: a processor, a memory, and a system bus;

[0027] The processor and the memory are connected via the system bus;

[0028] The memory is used to store a program, the program including instructions, which, when executed by the processor, cause the processor to perform any of the implementation steps of the chip programming method described above.

[0029] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0030] This application provides a chip programming method, system, and device, applied to a chip programming system. The chip programming system includes a host computer and an encoder, with the encoder comprising a main control unit and a display unit. First, the host computer generates and sends the firmware to be programmed and current order information to the encoder. The current order information includes the current order number and the current serial number. Then, based on the firmware to be programmed and the current order information received by the main control unit in the encoder, a programming operation is performed on the target chip to obtain the target programmed firmware and target order information in the target chip. Next, the target programmed firmware and target order information in the target chip are verified against the firmware to be programmed and the current order information in the main control unit, respectively, to generate a programming result, which is then displayed on the display unit in the encoder.

[0031] As can be seen, this application generates and sends the firmware to be programmed and the current order information to the encoder via a host computer. The main control unit in the encoder receives this information and performs the programming operation on the target chip. It then verifies the target firmware and order information in the target chip against the firmware to be programmed and the current order information stored in the main control unit, thereby effectively improving the reliability and security of the target chip programming process. Simultaneously, programming the current order information to the target chip improves the traceability of the programming batch, and the programming progress and results are displayed in real time by the display unit in the encoder, enhancing operational visibility. Therefore, compared to existing technologies, this application effectively avoids the problem of decreased programming reliability caused by tampering or incorrect selection of the firmware to be programmed stored in the host computer, significantly improving the reliability of target chip programming. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of a chip programming structure provided in an embodiment of this application;

[0033] Figure 2 A schematic diagram of a chip programming process provided in an embodiment of this application;

[0034] Figure 3 This is a hardware connection diagram of a chip programming system provided in an embodiment of this application;

[0035] Figure 4 A flowchart illustrating a chip programming method provided in this application embodiment;

[0036] Figure 5 This is a schematic diagram of the overall framework of a chip programming method provided in an embodiment of this application;

[0037] Figure 6This is a schematic diagram of a chip programming system provided in an embodiment of this application. Detailed Implementation

[0038] As mentioned earlier, Figure 1 This is a schematic diagram of a chip programming structure provided in an embodiment of this application, combined with... Figure 1 It is known that the host computer instructions are usually converted into I2C instructions based on the CH341 conversion chip. The host computer acts as the control terminal and stores the firmware to be burned. The host computer establishes communication with the CH341 conversion chip through the USB 2.0 interface. The CH341 conversion chip completes the conversion from USB protocol to I2C protocol, and then transmits the instructions to the target chip through the I2C bus, thereby performing the burning operation on the target chip in sequence.

[0039] Figure 2 This diagram illustrates a chip programming process according to an embodiment of this application. After receiving the start programming command, the host computer configures the target chip to programming mode via the CH341 conversion chip. Subsequently, the host computer controls the CH341 conversion chip to send an erase command to the target chip, performing a data erase operation on the target chip's storage area. After data erasure, the host computer transmits the firmware to be programmed to the target chip via the CH341 conversion chip to complete the firmware programming. After programming is complete, the firmware already programmed in the target chip is read and compared with the firmware to be programmed stored in the host computer to confirm the programming result (programming successful or programming failed). Finally, the host computer displays the programming result on its operation interface.

[0040] Therefore, existing technologies can only verify the consistency between the firmware already burned into the target chip and the firmware to be burned stored in the host computer. However, the firmware to be burned is stored in the host computer and may be tampered with or selected incorrectly, which may reduce the reliability of the burning results.

[0041] This application proposes a chip programming method, system, and apparatus, applied to a chip programming system. The chip programming system includes a host computer and an encoder, with the encoder comprising a main control unit and a display unit. First, the host computer generates and sends the firmware to be programmed and current order information to the encoder. The current order information includes the current order number and the current serial number. Then, based on the firmware to be programmed and the current order information received by the main control unit in the encoder, a programming operation is performed on the target chip to obtain the target programmed firmware and target order information in the target chip. Next, the target programmed firmware and target order information in the target chip are verified against the firmware to be programmed and the current order information in the main control unit, respectively, generating a programming result, which is then displayed on the display unit in the encoder.

[0042] As can be seen, this application generates and sends the firmware to be programmed and the current order information to the encoder via a host computer. The main control unit in the encoder receives this information and performs the programming operation on the target chip. It then verifies the target firmware and order information in the target chip against the firmware to be programmed and the current order information stored in the main control unit, thereby effectively improving the reliability and security of the target chip programming process. Simultaneously, programming the current order information to the target chip improves the traceability of the programming batch, and the programming progress and results are displayed in real time by the display unit in the encoder, enhancing operational visibility. Therefore, compared to existing technologies, this application effectively avoids the problem of decreased programming reliability caused by tampering or incorrect selection of the firmware to be programmed stored in the host computer, significantly improving the reliability of target chip programming.

[0043] It should be noted that the embodiments of this application do not limit the subject performing the chip programming method. For example, the chip programming method of this application embodiment can be applied to information processing devices such as servers or terminal devices. The server can be a standalone server, a cluster server, or a cloud server. The terminal device can be an electronic device such as a smartphone, computer, personal digital assistant (PDA), or tablet computer.

[0044] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0045] The chip programming method provided in this application is applied to a chip programming system, which includes a host computer and an encoder, and the encoder includes a main control unit and a display unit. Specifically, Figure 3 This is a hardware connection diagram of a chip programming system provided in an embodiment of this application. Figure 3 It can be seen that the host computer establishes a communication connection with the programmer through the USB 2.0 interface, and one encoder can connect to a maximum of 4 chips to be programmed at the same time, namely chip 1, chip 2, chip 3 and chip 4.

[0046] It should be noted that the host computer specifies the target chip to be programmed and transfers the firmware to be programmed to the programmer for storage, thus preventing the host computer from tampering with the firmware. Next, the programmer, through the main control chip and using the I2C bus, programs the firmware into the target chip. After programming is complete, the final programming result will be displayed on the programmer's display unit.

[0047] Figure 4 This is a flowchart illustrating a chip programming method provided in an embodiment of this application. (In conjunction with...) Figure 4 As shown, it may include steps S101-S102.

[0048] S101: The host computer generates and sends the firmware to be burned and the current order information to the encoder. The current order information includes the current order number and the current serial number.

[0049] In this embodiment, the host computer generates and sends the firmware to be programmed and current order information to the encoder. The current order information includes at least the current order number, the current sequence number, and the communication version number. Specifically, the host computer generates the firmware to be programmed based on actual production needs and simultaneously generates the current order information corresponding to the firmware. The current order number uniquely identifies the current production batch, the current sequence number identifies the programming order corresponding to the current order number, and the communication version number identifies the communication protocol version adapted to the firmware to be programmed.

[0050] Based on this, the host computer transmits the firmware to be burned and the current order information to the programmer via the USB 2.0 interface. The programmer receives and stores the information, thus providing a basis for firmware verification and order information traceability during the subsequent burning process.

[0051] S102: Based on the firmware to be programmed and the current order information received by the main control unit, perform a programming operation on the target chip to obtain the target programming firmware and target order information in the target chip; verify the target programming firmware and target order information in the target chip with the firmware to be programmed and the current order information in the main control unit respectively to generate a programming result; display the programming result based on the display unit.

[0052] In this embodiment, firstly, the main control unit in the encoder reads historical order information from the target chip. This historical order information includes historical order numbers and historical sequence numbers. Next, the main control unit performs a matching verification between the current order number and current sequence number in the current order information and the historical order number and historical sequence number in the historical order information to obtain a matching verification result.

[0053] Specifically, if the matching verification result shows that the current order number is inconsistent with the historical order number, but the current sequence number is consistent with the historical sequence number, or if the matching verification result shows that the current order number is inconsistent with the historical order number, but the current sequence number is inconsistent with the historical sequence number, it means that the target chip has not yet completed the programming task corresponding to the current order information, or there is a programming task in the target chip that does not match the current order information. In this case, when the main control unit passes the register status verification of the target chip, the main control unit performs a programming operation on the target chip based on the received firmware to be programmed and the current order information. After the programming operation is completed, the target chip stores the target programming firmware and the target order information.

[0054] If the matching verification result is that the current order number is consistent with the historical order number, but the current sequence number is inconsistent with the historical sequence number, or if the matching verification result is that the current order number is consistent with the historical order number, and the current sequence number is consistent with the historical sequence number, then the target chip is programmed based on the firmware to be programmed and the historical order information received by the main control unit, and the target programmed firmware and target order information in the target chip are obtained.

[0055] Subsequently, the main control unit reads the burned data from the target chip to obtain the target burned firmware and target order information. The target burned firmware and target order information are then compared with the firmware to be burned and the current order information stored in the main control unit to generate the corresponding burning result.

[0056] It should be noted that the display unit in the encoder displays the burning progress and results of the target chip, so that operators can intuitively grasp the burning status.

[0057] As described in steps S101-S102 above, this application provides a chip programming method, system, and device, applied to a chip programming system. The chip programming system includes a host computer and an encoder, with the encoder comprising a main control unit and a display unit. First, the host computer generates and sends the firmware to be programmed and current order information to the encoder. The current order information includes the current order number and the current sequence number. Then, based on the firmware to be programmed and the current order information received by the main control unit in the encoder, a programming operation is performed on the target chip to obtain the target programming firmware and target order information in the target chip. Next, the target programming firmware and target order information in the target chip are verified against the firmware to be programmed and the current order information in the main control unit, respectively, to generate a programming result, which is then displayed on the display unit in the encoder.

[0058] As can be seen, this application generates and sends the firmware to be programmed and the current order information to the encoder via a host computer. The main control unit in the encoder receives this information and performs the programming operation on the target chip. It then verifies the target firmware and order information in the target chip against the firmware to be programmed and the current order information stored in the main control unit, thereby effectively improving the reliability and security of the target chip programming process. Simultaneously, programming the current order information to the target chip improves the traceability of the programming batch, and the programming progress and results are displayed in real time by the display unit in the encoder, enhancing operational visibility. Therefore, compared to existing technologies, this application effectively avoids the problem of decreased programming reliability caused by tampering or incorrect selection of the firmware to be programmed stored in the host computer, significantly improving the reliability of target chip programming.

[0059] Furthermore, for ease of understanding, the embodiments of this application can also be described from the perspective of the overall framework by referring to the accompanying drawings.

[0060] Figure 5 This is a schematic diagram of the overall framework of a chip programming method provided in an embodiment of this application, combined with... Figure 5 As shown, firstly, the host computer stores the firmware to be burned and the current order information into the programmer. Then, the programmer performs an integrity check on the stored firmware to be burned to confirm that the firmware to be burned is in a burnable state. After the check is passed, the programmer receives the start burning command and enters the burning process.

[0061] After entering the programming process, the programmer first reads the historical order information from the target chip, and performs a matching verification based on the historical order information and the current order information, as well as verifies the state of the registers in the target chip, to determine whether the target chip meets the current programming conditions.

[0062] If the target chip is verified to be normal, the programmer configures the target chip for programming and performs an erase operation based on the erase command to clear the historical firmware data and historical order information from the target chip. Next, the programmer programs the firmware to be programmed into the target chip and also programs the current order information, thus completing the programming operation of the target chip.

[0063] After the programming operation is complete, the programmer can read the programmed data from the target chip to obtain the target firmware and order information. It then verifies the target firmware and order information, and further verifies the register status of the target chip to confirm the correctness and completeness of the programming. Finally, the programmer generates the programming result based on the verification results.

[0064] Therefore, this application effectively constrains and manages the target chip programming process by introducing an order information verification mechanism and a register status verification mechanism during the chip programming process, and by programming the firmware to be programmed and the current order information together into the target chip. Specifically, by programming the current order information, the target chip can be prevented from being programmed repeatedly or incorrectly. At the same time, since the current order information is programmed into the target chip, the programming process of the target chip can be traced based on this current order information.

[0065] Furthermore, verifying the register states of the target chip can determine whether the chip is functioning correctly before and after programming, thereby further improving the reliability of the programming process. For example, if the provided firmware to be programmed contains errors, causing the target chip to fail to complete normal initialization after programming, or if only partial programming operations are required on the target chip, but the original firmware in the target chip is abnormal and cannot meet the operating conditions for some programming operations, the abnormality can be identified in a timely manner and the programming process can be terminated by verifying the register states.

[0066] Furthermore, Figure 6 This is a schematic diagram of a chip programming system provided in an embodiment of this application, combined with... Figure 6 As shown, the chip programming system provided in this application embodiment includes a host computer and an encoder, wherein the encoder includes a main control unit and a display unit;

[0067] The host computer is used to generate and send the firmware to be burned and the current order information to the encoder. The current order information includes the current order number and the current sequence number.

[0068] The encoder and the main control unit are used to receive the firmware to be programmed and the current order information, perform a programming operation on the target chip, and obtain the target programming firmware and target order information in the target chip; the main control unit is used to verify the target programming firmware and target order information in the target chip with the firmware to be programmed and the current order information in the main control unit, respectively, and generate a programming result; the display unit is used to display the programming result.

[0069] Optionally, the encoder is further configured to:

[0070] The main control unit reads historical order information from the target chip, the historical order information including historical order number and historical sequence number;

[0071] The current order number and current sequence number in the current order information are matched and verified with the historical order number and historical sequence number in the historical order information to obtain the matching and verification result.

[0072] Optionally, the encoder is specifically used for:

[0073] If the matching verification result shows that the current order number is inconsistent with the historical order number, but the current sequence number is consistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the current order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

[0074] Optionally, the encoder is specifically used for:

[0075] If the matching verification result is that the current order number is inconsistent with the historical order number and the current sequence number is inconsistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the current order information received by the main control unit, so as to obtain the target programmed firmware and target order information in the target chip.

[0076] Optionally, the encoder is specifically used for:

[0077] If the matching verification result shows that the current order number is consistent with the historical order number, but the current sequence number is inconsistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the historical order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

[0078] Optionally, the encoder is specifically used for:

[0079] If the matching verification result shows that the current order number is consistent with the historical order number and the current sequence number is consistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the historical order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

[0080] Optionally, the encoder is specifically used for:

[0081] Read the data already burned into the target chip to obtain the target firmware and target order information;

[0082] The target firmware and target order information in the target chip are verified against the firmware to be programmed and order information in the main control unit to generate a programming result.

[0083] Optionally, the display unit is used to display the programming progress of the target chip.

[0084] Furthermore, embodiments of this application also provide an electronic device, including: a processor, a memory, and a system bus;

[0085] The processor and the memory are connected via the system bus;

[0086] The memory is used to store one or more programs, the one or more programs including instructions, which, when executed by the processor, cause the processor to perform any of the implementation steps of the chip programming method described above.

[0087] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application. It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on describing the differences from other embodiments. The same or similar parts between the various embodiments can be referred to mutually.

[0088] The system disclosed in the embodiments is described in a relatively simple manner because it corresponds to the method disclosed in the embodiments. For relevant details, please refer to the method section.

[0089] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0090] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A chip programming method, characterized in that, The method is applied to a chip programming system, the chip programming system including a host computer and an encoder, the encoder including a main control unit and a display unit, and includes: The host computer generates and sends the firmware to be burned and the current order information to the encoder, wherein the current order information includes the current order number and the current sequence number; Based on the firmware to be programmed and the current order information received by the main control unit, a programming operation is performed on the target chip to obtain the target programming firmware and target order information in the target chip; the target programming firmware and target order information in the target chip are verified with the firmware to be programmed and the current order information in the main control unit respectively to generate a programming result; the programming result is displayed based on the display unit.

2. The method according to claim 1, characterized in that, Before performing the programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, the method further includes: The main control unit reads historical order information from the target chip, the historical order information including historical order number and historical sequence number; The current order number and current sequence number in the current order information are matched and verified with the historical order number and historical sequence number in the historical order information to obtain the matching and verification result.

3. The method according to claim 2, characterized in that, The step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes: If the matching verification result shows that the current order number is inconsistent with the historical order number, but the current sequence number is consistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the current order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

4. The method according to claim 2, characterized in that, The step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes: If the matching verification result is that the current order number is inconsistent with the historical order number and the current sequence number is inconsistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the current order information received by the main control unit, so as to obtain the target programmed firmware and target order information in the target chip.

5. The method according to claim 2, characterized in that, The step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes: If the matching verification result shows that the current order number is consistent with the historical order number, but the current sequence number is inconsistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the historical order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

6. The method according to claim 2, characterized in that, The step of performing a programming operation on the target chip based on the firmware to be programmed and the current order information received by the main control unit, to obtain the target programming firmware and target order information in the target chip, includes: If the matching verification result shows that the current order number is consistent with the historical order number and the current sequence number is consistent with the historical sequence number, the target chip is programmed based on the firmware to be programmed and the historical order information received by the main control unit, thereby obtaining the target programmed firmware and target order information in the target chip.

7. The method according to claim 1, characterized in that, The step of verifying the target firmware and target order information in the target chip with the firmware to be programmed and the current order information in the main control unit to generate a programming result includes: Read the data already burned into the target chip to obtain the target firmware and target order information; The target firmware and target order information in the target chip are verified against the firmware to be programmed and order information in the main control unit to generate a programming result.

8. The method according to claim 1, characterized in that, The display unit is used to display the programming progress of the target chip.

9. A chip programming system, characterized in that, It includes a host computer and an encoder, wherein the encoder includes a main control unit and a display unit; The host computer is used to generate and send the firmware to be burned and the current order information to the encoder. The current order information includes the current order number and the current sequence number. The encoder and the main control unit are used to receive the firmware to be programmed and the current order information, perform a programming operation on the target chip, and obtain the target programmed firmware and target order information in the target chip. The main control unit is used to verify the target firmware and target order information in the target chip with the firmware to be programmed and the current order information in the main control unit, respectively, and generate a programming result; The display unit is used to display the burning results.

10. An electronic device, characterized in that, The device includes: a processor, a memory, and a system bus; The processor and the memory are connected via the system bus; The memory is used to store a program, the program including instructions, which, when executed by the processor, cause the processor to perform the steps of the chip programming method of claim 1.