Low-cost MCU multi-channel parallel burning method

By using the combination of upper computer, main control chip and machine module in the MCU multi-channel parallel recorder, the problems of abnormal communication and errors in the single-main control method are solved, and low-cost multi-channel parallel recorder are realized, ensuring the accuracy and stability of the burning process.

CN119668633APending Publication Date: 2025-03-21WUXI I CORE ELECTRONICS
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411747737.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The existing multi-channel parallel burner with single master control method can easily lead to communication abnormalities, selection errors and other problems in the first-come and first-test mode of the automatic burning tester, and is costly.

Method used

A low-cost MCU multi-channel parallel burning method is adopted. By configuring the burning channel and voltage information of the upper computer, the main control chip receives and processes data and signals, and the machine module communicates with the main control chip to realize the burning process of the parallel measurement mode and the first come first measurement mode.

Benefits of technology

In the first-come-first-test mode of the automatic burning tester, ensure that the start signal of each station is responded, avoiding the burning operation of the station that does not receive the start signal, ensuring the accuracy and stability of the burning process, and reducing hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668633A_ABST
    Figure CN119668633A_ABST
Patent Text Reader

Abstract

The invention relates to a low-cost MCU (Microprogrammed Control Unit) multi-channel parallel burning method, which can be used for effectively solving the problems of abnormal communication, wrong sorting and the like caused by the conflict between a first-arrival first-test mode of a test machine and a burner parallel-test burning mode when a burner communicates with an automatic burning test machine in a single main control mode. Comprising an upper computer, a main control chip and a machine module, wherein the upper computer is used for configuring a burning channel and burning voltage information, and the main control chip is used for receiving target burning data and configuration information sent by the upper computer, sending a burning time sequence to a target IC, receiving and processing data and processing keys and interrupt signals; the machine module needs to communicate with the main control chip, sends starting and ending signals to the main control chip and receives a burning result and a burning ending signal; the upper computer is used for configuring a burning channel for the burner; a user can select a channel to enable burning in an upper computer interface and download the channel to the device; after the burner receives the configuration information, a burning channel initial value is set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a MCU chip burning technology, in particular to a low-cost MCU multi-channel parallel burning method. Background Art

[0002] In the manufacturing process of modern electronic products, a programmer is one of the indispensable tools. A programmer is a device used to write programs or data to storage media.

[0003] To improve production efficiency during high-volume programming, an automatic programming tester is often used to communicate with the programmer, enabling automated programming and sorting. Communication between the programmer and the automatic tester is achieved through specific interfaces and signals. The automatic tester controls the programming process through the programmer's IO port. The tester monitors the programming status corresponding to the IO signal and determines the programming results.

[0004] Existing automatic burning testers include single-station, dual-station, four-station, eight-station, sixteen-station, etc. To improve production efficiency, electronic manufacturers usually use at least a dual-station automatic burning tester to communicate with the burner.

[0005] Traditional single-channel programmers are inefficient when handling large numbers of identical or similar programming tasks, making them inefficient for large-scale production. A one-to-many programmer significantly improves production efficiency, reduces costs, and ensures data consistency by programming data to multiple target devices simultaneously.

[0006] Existing multi-channel programmers are usually implemented in a one-master-multiple-slave mode, or by using multiple IO ports of a single master to send programming timings in parallel.

[0007] One master and multiple slaves, that is, one master control board controls multiple slave boards. The master control board is only used to send programming instructions and receive programming status signals, and the actual programming is completed by the slave boards.

[0008] Use a single master controller for parallel programming, that is, use only one controller to simultaneously program multiple target chips through multiple physical interfaces (JTAG, SWD, UART, SPI, IIC or IO analog IIC, etc.).

[0009] Figure 1 The multi-channel programming device shown uses a main control board to communicate with multiple programming modules through the controller area network CAN. Each programming module performs programming independently without interfering with each other, so the device can achieve complete parallel programming.

[0010] Figure 2This is a one-to-many electronic cigarette programmer programming method that uses a master control chip to connect to multiple target chips through multiple RS232 interfaces to achieve multi-channel parallel programming.

[0011] From the above method, it can be seen that the one-master-multiple-slave method has a complex structure and is relatively complex to design and implement. It is necessary to consider multiple aspects such as signal synchronization, channel configuration, data processing and storage, and anti-interference performance, and the cost is relatively high.

[0012] As mentioned above Figure 1 The device uses a master control board to communicate with multiple programming modules via a controller area network (CAN). Each programming module performs programming independently and without interfering with each other, thus enabling fully parallel programming. The one-master-multiple-slave approach is complex in structure and relatively complicated in design and implementation, requiring consideration of signal synchronization, channel configuration, data processing and storage, anti-interference performance, and other aspects, resulting in high costs. A disadvantage of this device is that each individual programming module requires a CAN-enabled master control board, as well as a power supply module and data storage module. This results in high hardware costs and complex data processing and storage logic.

[0013] The single-master control method has a simple structure and low cost. However, in the actual production process, when the burner communicates with the automatic burn tester, because the burner uses a parallel burning mode, and when the working mode of the automatic burn tester is a first-come, first-test mode (the start signals of each station are not synchronized), it is easy to cause incorrect burning, resulting in chip sorting errors or causing the tester to stop working due to abnormal communication. If the target chip is a disposable chip, it is easy to cause large losses.

[0014] like Figure 2 The one-to-many e-cigarette programmer shown uses a single master control chip to connect to multiple target chips via multiple RS232 interfaces, enabling multi-channel parallel programming. A disadvantage of this device is that, because it uses a single MCU for control, signals from multiple RS232 interfaces must be sent and received simultaneously to achieve fully parallel programming. If the target chips differ, this can easily lead to data readback asynchrony, causing the programmer to freeze. Furthermore, if one IC fails, causing a short circuit or other issues, it can easily affect other channels.

[0015] Therefore, how to solve the problems of abnormal communication and sorting errors of the programmer in single-master control mode is a technical problem that needs to be solved. Summary of the Invention

[0016] The technical problem to be solved by the present invention overcomes the existing defects and provides a low-cost MCU multi-channel parallel burning method, which can effectively solve the problems of communication abnormality, sorting error, etc. caused by the conflict between the first-come-first-test mode of the tester and the parallel burning mode of the burner when the burner communicates with the automatic burning tester in a single master control mode.

[0017] To solve the above technical problems, the present invention provides the following technical solutions: a low-cost MCU multi-channel parallel programming method, comprising a host computer, a main control chip, and a machine module; wherein the host computer is used to configure the programming channel and programming voltage information, and the main control chip is used to receive the target programming data and configuration information sent by the host computer, send the programming timing for the target IC, receive and process data, and handle key and interrupt signals; the machine module needs to communicate with the main control chip, send start and end signals to the main control chip, and receive programming results and programming end signals;

[0018] The host computer is used to configure the programming channel for the programmer; the user can select the channel to enable programming in the host computer interface and download it to the device;

[0019] After receiving the configuration information, the programmer will set the initial value of a programming channel. During the firmware execution, the program will determine the final programming channel based on the start signal sent by the device. The firmware workflow is as follows:

[0020] The machine module's working modes include parallel testing mode and first-come-first-test mode;

[0021] Parallel test mode, that is, multiple channels send start signals to the programmer at the same time;

[0022] First come first tested mode, that is, each channel sends a start signal separately, and each channel completes the burning when it receives the end signal. The burning of each channel is not synchronized.

[0023] During the programming process, the start signal of each channel is received and marked through interruption. After the programming is completed, the next programming is completed according to the marked information.

[0024] Preferably, the main control chip is cks32f103 containing multiple groups of IO.

[0025] Preferably, after receiving the configuration information, the programmer will set an initial value of a programming channel; during the execution of the firmware, the programmer will determine the channel to be programmed according to the start signal sent by the machine.

[0026] Beneficial effects of the present invention: The low-cost MCU multi-channel parallel burning method of the present invention can ensure that the start signal of each workstation is responded to when the working mode of the automatic burning tester is the first-come-first-test mode, and during the burning process, the workstation that has not received the start signal will not perform the burning operation; each channel is equipped with a power supply module, which can ensure that during the burning process, no interference is caused to the workstation that has not selected a channel or has not received a start signal from the host computer. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of the architecture of an existing multi-channel programming device;

[0028] Figure 2 This is a schematic diagram of an existing one-to-many electronic cigarette burner;

[0029] Figure 3 It is a schematic diagram of the architecture of the present invention;

[0030] Figure 4 It is the workflow diagram of the present invention. DETAILED DESCRIPTION

[0031] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0032] like Figure 3 As shown, the overall structure of the device is as follows Figure 1 As shown. This device includes a host computer, a main control chip, and a machine module. The host computer module is used to configure information such as the programming channel and programming voltage. The main control chip is used to receive target programming data and configuration information from the host computer, send programming timing to the target IC, receive and process data, and handle signals such as keystrokes and interrupts. The machine module needs to communicate with the main control chip, sending start and end signals to the main control chip and receiving signals such as programming results and completion. This solution uses the cks32f103 as the main controller, providing multiple IO groups for multiple programming interfaces. The firmware controls the high and low bits of the data register to achieve timing transmission.

[0033] This device is equipped with a host computer. This host computer is used to configure the programming channels for the programmer. Users can select the channels to enable programming in the host computer interface and download them to this device.

[0034] After receiving the configuration information, the programmer will set the initial value of a programming channel. During the execution of the firmware, the program will determine the final programming channel based on the start signal sent by the machine. The firmware workflow is as follows: Figure 2 shown.

[0035] The above are preferred embodiments of the present invention. Those skilled in the art to which the present invention belongs can also change and modify the above embodiments. Therefore, the present invention is not limited to the above specific embodiments. Any obvious improvements, replacements or modifications made by those skilled in the art on the basis of the present invention fall within the scope of protection of the present invention.

Claims

1. A low-cost MCU multi-channel parallel burning method, characterized in that: It includes a host computer, a main control chip and a machine module; the host computer is used to configure the burning channel and the burning voltage information, the main control chip is used to receive the target burning data and configuration information sent by the host computer, send the burning timing for the target IC, receive and process data, and process key and interrupt signals; the machine module needs to communicate with the main control chip, send start and end signals to the main control chip, and receive burning results and burning end signals; The host computer is used to configure the burning channel for the burner; the user can select the channel to enable burning in the host computer interface and download it to this device; After receiving the configuration information, the programmer will set an initial value for the programming channel. During the firmware execution, the programmer will determine the final programming channel based on the start signal sent by the machine. The firmware workflow is as follows: The working modes of the machine module include parallel test mode and first-come-first-test mode; Parallel test mode, that is, multiple channels send start signals to the programmer at the same time; First come first tested mode, that is, each channel sends a start signal separately, and each channel ends the programming once it receives the end signal. The programming of each channel is not synchronized. During the programming process, the start signal of each channel is received and marked through interruption. After the programming is completed, the next programming is completed according to the marked information.

2. The low-cost MCU multi-channel parallel burning method as claimed in claim 1, characterized in that: The main control chip is cks32f103 containing multiple groups of IO.

3. The low-cost MCU multi-channel parallel burning method as claimed in claim 1, characterized in that: After receiving the configuration information, the programmer will set an initial value for the programming channel. During the firmware execution, the programmer will determine the final programming channel based on the start signal sent by the machine.

Citation Information

Cited By

  • Real-time dynamic calibration method and system in PCM chip burning process

    CN120848905A

  • A data processing method for integrated circuit programming

    CN122795405A