Automatic program burning system, method and equipment and storage medium

By designing an automated program burning system that supports multi-chip simultaneous burning, the problems of low burning efficiency and error prone in the existing technology are solved, and an efficient and accurate burning process is achieved, and the needs of large-scale production are met.

CN120144141APending Publication Date: 2025-06-13GUANGZHOU SENYANG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510207059.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The existing program burning equipment is inefficient and prone to errors, and cannot meet the needs of multi-chip burning at the same time.

Method used

Design a program automatic recording system, including a main control unit, storage unit, recording interface unit, display unit, indicator light unit and verification unit, supports multiple target boards to simultaneously record programs, and reduce human operations through automated processes.

Benefits of technology

The automatic burning function is realized, which improves the burning efficiency and accuracy, reduces the possibility of human misoperation, supports the demand for large-scale production, and ensures that the burning program is correct through secondary verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120144141A_ABST
    Figure CN120144141A_ABST
Patent Text Reader

Abstract

The invention relates to an automatic program burning system, method and device and a storage medium, and aims to solve the problems that a traditional burning device is low in efficiency and prone to making mistakes and cannot meet the requirement for simultaneous burning of multiple chips, the system comprises a main control unit, a storage unit, a burning interface unit, a display unit, an indicator light unit and a verification unit, in the burning process, a program is synchronized to a plurality of target CPUs and FPGAs from a storage unit through an SPI bus, simultaneous burning of multiple target board cards is supported, an indicator light unit indicates the burning state through different colors, a verification unit can conduct secondary verification to ensure the burning accuracy, and the invention further provides equipment, a storage medium and an automatic burning method. The burning efficiency and reliability are obviously improved, and manual operation errors are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of device program burning, and more specifically, to an automatic program burning system, method, device, and storage medium. Background Art

[0002] In a digital inkjet printer system, each FPGA and CPU needs to undergo program burning processing. Existing program burning devices usually rely on a computer and a manufacturer's burner, and the burning is carried out by manually operating the burning software. This burning method has many problems. First of all, generally, burners are one-to-one burned, and the burning efficiency is extremely low. In large-scale production or equipment maintenance, a large amount of time and labor costs are required. Secondly, manual operation is prone to misoperation, such as selecting the wrong program file, connection error, etc., which may lead to burning the wrong program and affect the normal operation of the device. In addition, the traditional burning method lacks an effective post-burning verification mechanism, making it difficult to ensure that the burned program is completely correct, increasing the difficulty of device debugging and fault troubleshooting.

[0003] Therefore, the existing technology burning devices have low efficiency and are prone to errors, and cannot meet the need for simultaneous burning of multiple chips. Summary of the Invention

[0004] In order to overcome the problems of low efficiency and easy error of the existing technology burning devices and the inability to meet the need for simultaneous burning of multiple chips, the present invention designs an automatic program burning system, method, device, and storage medium, which can effectively solve the above technical problems.

[0005] To solve the above technical problems, the technical solution of the present invention is as follows:

[0006] An automatic program burning system, comprising:

[0007] A main control unit, including an FPGA main control chip and a CPU main control chip, for controlling the program burning process;

[0008] A storage unit, including a Flash program storage chip, for storing the burning program;

[0009] A burning interface unit, for connecting the CPUs and FPGA burning ports of multiple target boards, which is provided with a plurality of independent burning channels. The burning channels include independent CPU burning ports and FPGA burning ports for connecting the corresponding burning ports of a target board to be burned. This unit can simultaneously connect the corresponding burning ports of multiple target boards to be burned and support simultaneous program burning of multiple target boards;

[0010] A display unit, for displaying the version information, error message, success or failure information of program burning, and the number of burning times;

[0011] An indicator unit for indicating the program burning status;

[0012] A verification unit is provided with a reset button for triggering the automatic burning process and performing secondary burning in case of burning failure.

[0013] The model of the FPGA main control chip is LFXP2-17E6QN208C, and the model of the CPU main control chip is LPC1778FBD144.

[0014] The models of the FPGA main control chip and the CPU main control chip in the burning channel are the same.

[0015] The model of the Flash program storage chip is W25Q64JVZEIQ.

[0016] The CPU main control chip is connected to the Flash program storage chip through the SPI bus for synchronously transmitting the program stored in the Flash program storage chip to multiple target CPUs.

[0017] The indicator unit includes:

[0018] A blue indicator light for indicating successful burning;

[0019] A yellow indicator light for indicating that burning is in progress;

[0020] A red indicator light for indicating burning failure.

[0021] The burning channel includes two reset buttons.

[0022] A method for automatic program burning includes the following steps:

[0023] Pre-burn the FPGA program and the CPU program to be burned into the Flash program storage chip;

[0024] After the system is powered on, the CPU main control chip synchronously transmits the program in the Flash storage chip to multiple target CPUs through the SPI bus;

[0025] Multiple target CPUs respectively synchronously store the program information to be burned into their respective corresponding Flash chips;

[0026] Connect the CPU burning port and the FPGA burning port of the target board to be burned to the corresponding burning ports of the system respectively, and press the reset button to enter the automatic burning state;

[0027] During the burning process, the yellow indicator light is on, indicating that burning is in progress; the blue indicator light is on, indicating successful burning; the red indicator light is on, indicating burning failure;

[0028] If the programming fails, press the reset button again to perform secondary programming.

[0029] After the program is programmed, the CPU performs secondary verification on the program version. After the verification passes, the programming success information is displayed on the display unit.

[0030] A device includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the above-mentioned program automatic programming method.

[0031] A storage medium stores a computer program. When the computer program is executed by a processor, it implements the steps of the above-mentioned program automatic programming method.

[0032] Compared with the prior art, the beneficial effects of the present invention are as follows: The program automatic programming system and method of the present invention realize the automatic programming function. The operator only needs to connect the programming interface and press the reset button, and the program can be automatically programmed into the storage chip of the CPU or FPGA without manual operation of the computer device for programming, effectively avoiding the inefficiency of manual operation, improving the programming efficiency. The system supports programming the CPUs and FPGAs of multiple systems simultaneously, and the number of programming interfaces can be expanded according to requirements. Compared with the one-to-one programming method, it improves the programming efficiency and meets the needs of mass production. Since there is no need for manual operation of the programming software, the possibility of human error is reduced, the risk of programming incorrect programs is lowered, and the accuracy and reliability of programming are improved. After the programming is completed, the system will perform secondary program version verification to further ensure that the programmed program is correct and error-free, guaranteeing the subsequent normal operation of the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only exemplary, and for those of ordinary skill in the art, without creative efforts, other implementation drawings can be obtained according to the provided drawings.

[0034] Figure 1 It is a structural diagram of a program automatic programming system;

[0035] Figure 2 It is a step diagram of a program automatic programming method;

[0036] Figure 3 It is an architecture diagram of a multi-channel program automatic programming system. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0037] The accompanying drawings are only for illustrative purposes and should not be construed as limiting the patent;

[0038] To better illustrate this embodiment, some components in the accompanying drawings are omitted, enlarged or reduced, and do not represent the dimensions of the actual product;

[0039] For those skilled in the art, it is understandable that some well-known structures and their descriptions in the accompanying drawings may be omitted.

[0040] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0041] Embodiment 1

[0042] A program automatic burning system, please refer to Figures 1-3 , including:

[0043] The main control unit, including an FPGA main control chip and a CPU main control chip, is used to control the burning process of the program;

[0044] The storage unit, including a Flash program storage chip, is used to store the burning program;

[0045] The burning interface unit is used to connect the CPUs and FPGA burning ports of multiple target boards. It is provided with multiple independent burning channels, and the burning channels include independent CPU burning ports and FPGA burning ports, which are used to connect the corresponding burning ports of a target board to be burned. This unit can simultaneously connect the corresponding burning ports of multiple target boards to be burned and support simultaneous program burning of multiple target boards;

[0046] The display unit is used to display the version information, error messages, burning success or failure information, and the number of burning times of the program burning;

[0047] The indicator light unit is used to indicate the program burning status;

[0048] The verification unit is provided with a reset button, which is used to trigger the automatic burning process and perform secondary burning when the burning fails.

[0049] The model of the FPGA main control chip is LFXP2-17E6QN208C, and the model of the CPU main control chip is LPC1778FBD144.

[0050] The models of the FPGA main control chip and the CPU main control chip in the burning channel are the same.

[0051] The model of the Flash program storage chip is W25Q64JVZEIQ.

[0052] The CPU main control chip is connected to the Flash program storage chip through the SPI bus, and is used to synchronously transfer the programs stored in the Flash program storage chip to multiple target CPUs.

[0053] The indicator unit includes:

[0054] A blue indicator light for indicating successful burning;

[0055] A yellow indicator light for indicating that the burning is in progress;

[0056] A red indicator light for indicating burning failure.

[0057] The burning channel contains two reset buttons.

[0058] In a digital inkjet printer production factory, to improve production efficiency, the program automatic burning system of the present invention is introduced. The main control unit of the system selects the FPGA main control chip of model LFXP2-17E6QN208C and the CPU main control chip of model LPC1778FBD144. The Flash program storage chip of the storage unit adopts W25Q64JVZEIQ, and its storage capacity is 64 Mbit, which can meet the storage requirements of a large number of burning programs. The burning interface unit is provided with 4 independent burning channels, and each channel is equipped with an independent CPU burning port and an FPGA burning port, and can be connected to 4 printer control boards to be burned simultaneously.

[0059] The display unit uses a liquid crystal display screen, which is connected to the CPU main control chip of the main control unit through the SPI interface. It can clearly display the version number of the burning program, such as "V1.2.3". When an error occurs during the burning process, the screen will display an error message, such as "Program checksum error". After the burning is completed, the burning result and the number of burning times will be displayed. If the burning is successful, it will display "Burning successful, this is the 5th burning". The indicator unit is installed at a prominent position on the system shell. The blue, yellow and red indicator lights are respectively used to indicate the successful, in-progress and failed states of burning. The reset button of the verification unit is designed as a mechanical button with clear tactile feedback and is connected to the GPIO pin of the CPU main control chip.

[0060] In actual use, technicians first burn the FPGA program and CPU program adapted to the digital inkjet printer into the Flash program storage chip through a professional programmer. When the printer control board on the production line is transferred to the burning station, the operator connects the CPU burning port and FPGA burning port of the board to the corresponding interfaces of the burning interface unit respectively, presses the reset button, and the burning process starts automatically. The yellow indicator light comes on, and the display unit updates the burning progress information in real time. If the burning process is successful, the blue indicator light comes on, and the display unit shows that the burning is successful; if a fault occurs, the red indicator light comes on, and the display unit reports an error. After the operator troubleshoots the problem according to the error message, presses the reset button again for secondary burning. After the burning is completed, the CPU performs a secondary verification on the program version to ensure that the burning is accurate and error-free. The whole process is efficient and stable, greatly improving the production efficiency.

[0061] Embodiment 2

[0062] A method for automatic program burning, please refer to Figures 1-3 , including the following steps:

[0063] Pre-burn the FPGA program and CPU program to be burned into the Flash program storage chip;

[0064] After the system is powered on, the CPU main control chip synchronously transfers the program in the Flash storage chip to multiple target CPUs through the SPI bus;

[0065] Multiple target CPUs respectively synchronously store the program information to be burned into their respective corresponding Flash chips;

[0066] Connect the CPU burning port and FPGA burning port of the target board to be burned to the corresponding burning ports of the system respectively, press the reset button, and enter the automatic burning state;

[0067] During the burning process, the yellow indicator light comes on, indicating that the burning is in progress; the blue indicator light comes on, indicating that the burning is successful; the red indicator light comes on, indicating that the burning fails;

[0068] If the burning fails, press the reset button again for secondary burning;

[0069] After the program burning is completed, the CPU performs a secondary verification on the program version. After the verification passes, the display unit shows the successful burning information.

[0070] A device includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it performs the steps of the above-mentioned program automatic burning method.

[0071] A storage medium has a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned program automatic burning method are implemented.

[0072] In a specific implementation, when applying the program automatic burning method of the present invention to burn programs for a batch of industrial controllers, first, a technician uses a professional burning tool to burn the FPGA program and CPU program adapted to the industrial controller into a Flash program storage chip of model W25Q64JVZEIQ.

[0073] Power on the burning system. The CPU main control chip (model LPC1778FBD144) establishes communication with the Flash program storage chip through the SPI bus. Under the synchronization of the clock signal, the CPU main control chip sequentially reads out the program data stored in the Flash chip byte by byte and synchronously transmits it to multiple target CPUs. These target CPUs respectively correspond to different industrial controller boards. After each target CPU receives the program data, it synchronously stores it into the corresponding Flash chip on its own board.

[0074] The operator accurately connects the CPU burning port and FPGA burning port of the industrial controller board to be burned to the corresponding burning ports of the burning system according to the interface identification, and then presses the reset button on the burning channel. The burning system enters the automatic burning state. During the burning process, the yellow indicator light in the indicator unit inside the burning system lights up, indicating that the burning is in progress. The burning system accurately writes the program data into the FPGA and CPU storage areas of the industrial controller through the SPI bus and other communication protocols.

[0075] If an abnormality occurs during the burning process, such as communication interruption, data verification error, etc., the burning system will immediately stop burning, and the red indicator light will light up. After the operator checks the connection line and confirms the integrity of the program data, presses the reset button again, and the system starts burning again. When the burning is successfully completed, the blue indicator light lights up. Finally, the CPU performs a secondary verification on the program version burned into the industrial controller, compares the key feature information of the program with the pre-stored standard verification value. If the verification passes, the display unit of the burning system displays "Burning successful, program version verification passed", and the operator can perform the next assembly and test on the burned industrial controller, ensuring the accuracy and stability of the industrial controller program burning.

[0076] The same or similar reference numerals correspond to the same or similar components;

[0077] The terms describing the positional relationship in the drawings are only for illustrative purposes and should not be construed as a limitation of this patent;

[0078] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, rather than limitations on the implementation manners of the present invention. For those of ordinary skill in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to enumerate all implementation manners here. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the claims of the present invention.

Claims

1. A program automatic burning system, characterized in that: include: The main control unit, including the FPGA main control chip and the CPU main control chip, is used to control the program burning process; A storage unit, including a Flash program storage chip, for storing a burning program; A burning interface unit is used to connect the CPU and FPGA burning ports of multiple target boards. It is provided with multiple independent burning channels, and the burning channels include independent CPU burning ports and FPGA burning ports, which are used to connect to the corresponding burning ports of a target board to be burned. The unit can be connected to the corresponding burning ports of multiple target boards to be burned at the same time, and supports program burning of multiple target boards at the same time; A display unit, used to display the version information, error information, burning success or failure information and burning times of the program burning; Indicator light unit, used to indicate the program burning status; The verification unit is provided with a reset button for triggering the automatic burning process and performing secondary burning when the burning fails.

2. The automatic program burning system according to claim 1, characterized in that: The FPGA main control chip model is LFXP2-17E6QN208C, and the CPU main control chip model is LPC1778FBD144.

3. The automatic program burning system according to claim 2, characterized in that: The FPGA main control chip and the CPU main control chip of the burning channel are of the same model.

4. The automatic program burning system according to claim 1, characterized in that: The model of the Flash program storage chip is W25Q64JVZEIQ.

5. The automatic program burning system according to claim 1, characterized in that: The CPU main control chip is connected to the Flash program storage chip via an SPI bus, and is used for synchronously transmitting the program stored in the Flash program storage chip to multiple target CPUs.

6. The automatic program burning system according to claim 1, characterized in that: The indicator light unit comprises: The blue indicator light indicates that the burning is successful; Yellow indicator light, used to indicate that burning is in progress; The red indicator light indicates that the burning failed.

7. The automatic program burning system according to claim 1, characterized in that: The burning channel includes two reset buttons.

8. A method for automatically burning a program, for implementing the automatic burning a program system as claimed in any one of claims 1 to 7, characterized in that: The following steps are involved: Pre-burn the FPGA program and CPU program that need to be burned into the Flash program storage chip; After the system is powered on, the CPU main control chip synchronously transmits the program in the Flash storage chip to multiple target CPUs through the SPI bus; Multiple target CPUs synchronously store the program information to be burned into their corresponding Flash chips respectively; Connect the CPU burning port and FPGA burning port of the target board to be burned to the corresponding burning port of the system respectively, press the reset button to enter the automatic burning state; During the burning process, the yellow indicator light is on, indicating that the burning is in progress; the blue indicator light is on, indicating that the burning is successful; the red indicator light is on, indicating that the burning fails; If the burning fails, press the reset button again to burn again; After the program is burned, the CPU performs a second verification on the program version. If the verification passes, the display unit will display the successful burning information.

9. A device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the program automatic burning method according to claim 8 when executed by the processor.

10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the program automatic burning method according to claim 8 are implemented.