An oner micro-based mass production burner
By combining a multi-channel serial port module and a crystal oscillator calibration module, efficient batch programming and crystal oscillator calibration of Onray Microelectronics chips are achieved, solving the problems of low efficiency and inability to calibrate online in existing technologies, improving production efficiency and reducing hardware costs.
Patent Information
- Application Number
- CN202521968315.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-12
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2035-09-12
AI Technical Summary
The existing mass production programmers for Onray Microelectronics chips only support one-to-one programming, which is inefficient and cannot perform crystal oscillator calibration, thus affecting production efficiency.
Design a mass production programmer based on Onray Microelectronics. It uses a multi-channel serial port module to convert USB data into 8-channel serial port data, and combines it with a crystal oscillator calibration module to realize one-to-eight programming and crystal oscillator calibration. The crystal oscillator is calibrated to the accurate value through BLE interactive data.
It improves programming efficiency, enables batch programming and crystal oscillator calibration to be performed simultaneously, simplifies the operation process, and reduces hardware costs.
Smart Images

Figure CN224682641U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of programmer technology, specifically a mass-production programmer based on Onray Microelectronics. Background Technology
[0002] Currently, Onsemi Microelectronics provides a one-to-one offline programmer for mass production. The firmware to be programmed is pre-loaded and saved to an SD card via a PC. The one-to-one offline programmer then reads the firmware from the SD card and, using an ISP (In-Service Module) method, programs the firmware into the Onsemi Microelectronics chip.
[0003] The existing programmer only supports one-to-one programming, meaning one offline programmer can only program one Onsray Micro chip at a time, resulting in low mass production efficiency. If the production line needs batch programming, multiple offline programmers need to be purchased. Furthermore, since it can only perform offline programming, updating the firmware on the production line requires first updating the information on the SD card and then updating the offline programmer, a cumbersome process that leads to low production efficiency. Additionally, the offline programmer cannot perform crystal oscillator calibration. According to Onsray Micro's chip design principles, a 32MHz high-speed crystal oscillator needs to be calibrated during production. However, with the current offline programmer, the Onsray Micro chip must first be calibrated online using a crystal calibrator before proceeding to the offline programming step, a step-by-step process that ultimately impacts production efficiency. Utility Model Content
[0004] This invention provides a mass production programmer based on Onray Microelectronics, which has the advantages of one-to-many programming and high efficiency, and solves the problem mentioned in the background art that only supports one-to-one programming.
[0005] This utility model provides the following technical solution: a mass production programmer based on Onray Microelectronics, comprising:
[0006] Power supply VCC;
[0007] A multi-channel serial port module, comprising a chip U1, a ground pin GND, pin XI, pin XO, a reset pin RESET, a configuration pin CFG, a serial communication transmit pin TXx and a receive pin RXx, and several serial output ports UART;
[0008] Several of the aforementioned serial output UARTs output external interfaces through the serial communication transmit pin TXx and receive pin RXx;
[0009] The multi-channel serial port module is used to convert one USB data stream into eight serial port data streams.
[0010] The crystal oscillator calibration module includes a low-frequency crystal oscillator X3, output pins OC3 and OC4, capacitors C21 and C22, a high-frequency crystal oscillator X2, a Tri-state GND pin, a power output VDD, a ferrite magnet L4, a filter C32 and C33, an OUT pin, an OC2 pin, a resistor R27, and a capacitor C34.
[0011] The two ends of the low-frequency crystal oscillator X3 are connected to the output pins OC3 and OC4 respectively, and are connected to ground through capacitors C21 and C22 to form a parallel resonant circuit.
[0012] The two ends of the high-frequency crystal oscillator X2 are respectively connected to the input and output pins of the crystal oscillator module, and the Tri-state GND pin is connected to ground.
[0013] As an optional solution for the mass production programmer based on Onsemi of this utility model, the power supply VCC is grounded through decoupling capacitors C13-C20 to provide a stable 5V power supply for chip U1.
[0014] The chip U1 has pins XI and XO connected to the two ends of an 8MHz crystal oscillator X1, and C12 and C13 are connected between XI and XO and ground respectively.
[0015] The reset pin RESET is connected to the power supply VCC via an RC circuit;
[0016] The configuration pin CFG is connected to the power supply VCC and the ground pin GND via a pull-up resistor or a pull-down resistor.
[0017] As an optional solution for the mass production programmer based on Onray Microelectronics described in this utility model, the power output VDD pin is connected to VCC through a filter circuit composed of ferrite magnet L4 and filters C32 and C33.
[0018] The pin OUT is connected to the pin OC2, and the buffer circuit composed of resistor R27 and capacitor C34 outputs a 24MHz clock signal.
[0019] As an optional solution for the mass production programmer based on Onray Microelectronics described in this utility model, it further includes a power supply module, which includes a DC power input terminal DC1, a Schottky diode D38, capacitors C26, C29, and C30, a linear regulator U28, capacitors C24, C32, U28, a linear regulator U59, a resistor R25, a resistor R26, and capacitors C23 and C25.
[0020] The positive terminal of the DC power input terminal DC1 is connected to the anode of the Schottky diode D38, and the negative terminal of the DC power input terminal DC1 is grounded.
[0021] The cathode of the Schottky diode D38 is connected to one end of capacitors C26, C29 and C30, and the other end of the Schottky diode D38 is grounded.
[0022] The positive terminals of capacitors C26, C29, and C30 are connected together to form a stable power supply.
[0023] As an optional solution for the mass production programmer based on Onsemi of this utility model, the VIN pin of the linear regulator U28 is connected to the power supply, the GND pin is grounded, and the VOUT pin provides a 3.3V voltage.
[0024] The capacitors C24 and C32 are respectively connected between the VIN pin, VOUT pin, and ground of the linear regulator U28;
[0025] The VIN pin of the linear regulator U59 is connected to the power supply, and the ADJ pin of the linear regulator U59 is connected to ground and the VOUT pin through resistors R25 and R26. The VOUT pin provides an adjustable 5.5V voltage.
[0026] The capacitors C23 and C25 are connected between the VIN pin, VOUT pin, and ground of the linear regulator U59, respectively.
[0027] As an optional solution for the mass production programmer based on Onsemi of this utility model, the calibration chip of the crystal oscillator calibration module is a 24M active crystal oscillator chip.
[0028] The RF section of the crystal oscillator calibration module is an Ignion ceramic antenna.
[0029] As an optional solution for the mass production programmer based on Onsemi of this utility model, the Ch_A channel of the chip U1 is connected to the calibration chip of the crystal oscillator calibration module to simplify the number of external interfaces.
[0030] This utility model has the following beneficial effects:
[0031] 1. This mass production programmer based on Onray Microelectronics, through the cooperation of a multi-channel serial port module and chip U1, converts one USB data provided by the USB Type-C interface into eight serial port data, realizing a one-to-eight function for programming, thereby improving programming efficiency.
[0032] 2. This mass production programmer based on Onray Microelectronics, through the cooperation of the crystal oscillator calibration module and chip U1, utilizes the stable and accurate crystal oscillator source within the crystal oscillator calibration module and uses BLE interactive data to calibrate the crystal oscillator of the chip to be calibrated to an accurate value, thereby ensuring the stability and accuracy of the crystal oscillator. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the circuit structure of the U1 chip of this utility model.
[0034] Figure 2 This is a schematic diagram of the circuit structure of the power interface of this utility model.
[0035] Figure 3 This is a schematic diagram of the circuit structure of the USB interface of this utility model.
[0036] Figure 4 This is a schematic diagram of the overall process operation of this utility model. Detailed Implementation
[0037] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0038] Example 1
[0039] Please see Figures 1-4 One type of mass-produced programmer based on OnSemi includes:
[0040] Power supply VCC;
[0041] The multi-channel serial port module includes chip U1, ground pin GND, pin XI, pin XO, reset pin RESET, configuration pin CFG, serial communication transmit pin TXx and receive pin RXx, and several serial output ports UART;
[0042] Several UART output ports are connected in series and output to external interfaces through the transmit pin TXx and receive pin RXx of serial communication.
[0043] The multi-channel serial port module is used to convert one USB data channel into eight serial port data channels. Through the cooperation of the multi-channel serial port module and the chip U1, one USB data channel provided by the USB type-c interface is converted into eight serial port data channels, realizing the one-to-eight function of burning, thereby improving the burning efficiency.
[0044] The crystal oscillator calibration module includes a low-frequency crystal oscillator X3, output pins OC3 and OC4, capacitors C21 and C22, a high-frequency crystal oscillator X2, a Tri-state GND pin, a power output VDD, a ferrite magnet L4, a filter C32 and C33, an OUT pin, an OC2 pin, a resistor R27, and a capacitor C34.
[0045] The two ends of the low-frequency crystal oscillator X3 are connected to the output pins OC3 and OC4 respectively, and are also connected to ground through capacitors C21 and C22 to form a parallel resonant circuit.
[0046] The two ends of the high-frequency crystal oscillator X2 are connected to the input and output pins of the crystal oscillator module, respectively. The Tri-state GND pin is connected to ground. Through the cooperation of the crystal oscillator calibration module and the chip U1, the stable and accurate crystal oscillator source in the crystal oscillator calibration module is used to calibrate the chip crystal oscillator to be calibrated to an accurate value using BLE interactive data, so as to ensure the stability and accuracy of the crystal oscillator.
[0047] The power supply VCC is grounded through decoupling capacitors C13-C20, providing a stable 5V power supply to chip U1.
[0048] Pins XI and XO of chip U1 are connected to the two ends of 8MHz crystal oscillator X1, and C12 and C13 are connected between XI and XO and ground respectively;
[0049] The reset pin RESET is connected to the power supply VCC via an RC circuit;
[0050] The configuration pin CFG is connected to the power supply VCC and the ground pin GND via a pull-up resistor or a pull-down resistor.
[0051] The power output VDD pin is connected to VCC through a filter circuit consisting of ferrite magnet L4 and filters C32 and C33.
[0052] Pin OUT is connected to pin OC2, and the buffer circuit composed of resistor R27 and capacitor C34 outputs a 24MHz clock signal;
[0053] It also includes a power supply module, which includes a DC power input terminal DC1, a Schottky diode D38, capacitors C26, C29, and C30, a linear regulator U28, capacitors C24, C32, U28, a linear regulator U59, a resistor R25, a resistor R26, and capacitors C23 and C25.
[0054] The positive terminal of the DC power input terminal DC1 is connected to the anode of the Schottky diode D38, and the negative terminal of the DC power input terminal DC1 is grounded.
[0055] The cathode of Schottky diode D38 is connected to one end of capacitors C26, C29 and C30, and the other end of Schottky diode D38 is grounded;
[0056] The positive terminals of capacitors C26, C29, and C30 are connected together to form a stable power supply.
[0057] The VIN pin of the linear regulator U28 is connected to the power supply, the GND pin is grounded, and the VOUT pin provides a 3.3V voltage.
[0058] Capacitors C24 and C32 are connected between the VIN pin, VOUT pin, and ground of the linear regulator U28, respectively.
[0059] The VIN pin of the linear regulator U59 is connected to the power supply, and the ADJ pin of the linear regulator U59 is connected to ground and the VOUT pin through resistors R25 and R26. The VOUT pin provides an adjustable 5.5V voltage.
[0060] Capacitors C23 and C25 are connected between the VIN pin, VOUT pin, and ground of the linear regulator U59, respectively.
[0061] The power interface supports two power supply modes: 9V DC power supply and USB Type-C interface power supply.
[0062] The DC power supply section uses two LDOs to step down the voltage to 5V and 3.3V to power the relevant functional chips;
[0063] The USB Type-C interface can be directly connected to a PC's USB port, providing a 5V voltage and data exchange functionality.
[0064] Due to the design principles of Onray Microelectronics chips, no matching capacitor is placed for the 32MHz high-speed crystal oscillator. This necessitates an additional crystal oscillator calibration process during production to ensure the normal operation and good performance of the Onray Microelectronics chips. The principle of crystal oscillator calibration is to use a stable and accurate crystal oscillator source, employing BLE interactive data, to calibrate the crystal oscillator of the chip to be calibrated to an accurate value.
[0065] It should be noted that the calibration chip of the crystal oscillator calibration module is a 24M active crystal oscillator chip, and the RF section of the crystal oscillator calibration module is an Ignion ceramic antenna.
[0066] Furthermore, the Ch_A channel of chip U1 is connected to the calibration chip of the crystal oscillator calibration module to simplify the number of external interfaces.
[0067] The programmer connects to the PC via a USB interface. The crystal oscillator calibration module and the chip to be programmed are connected to the programmer via a serial port. First, the 1-to-8 programmer needs to be connected to the PC via a Type-C interface. Open the PC's device manager, and you can see that 8 ports have been identified, namely Ch_A-Ch_H. Open the host computer software, load the corresponding crystal oscillator calibration code firmware, check the crystal oscillator calibration, and select the port of the crystal oscillator calibration module in the dongle port, which is the Ch_A port in this programmer.
[0068] In terms of hardware design, this programmer directly connects the Ch_A channel of the CH348L serial port chip to the calibration chip of the crystal oscillator calibration module, simplifying the number of external interfaces. After all configurations are complete, clicking the "Batch Download" button will enable batch firmware burning, while simultaneously calibrating the crystal oscillators individually. The calibration values and firmware burning results will be printed in the log window. This log can be used for analysis later if production burning information needs to be traced and tracked.
[0069] ;
[0070] This example can program up to 7 chips simultaneously. Based on test results, firmware programming can be performed concurrently, with programming time varying depending on the firmware size; here, we use 8 seconds as an example. Crystal oscillator calibration is performed sequentially using a polling method, with each chip taking approximately 2-3 seconds on average. Therefore, the total programming time for 7 chips is 8 seconds + 3 seconds * 7 = 29 seconds, or approximately 30 seconds to complete the crystal oscillator calibration and programming for all 7 chips. The hardware cost requires only one in-line programmer.
[0071] Existing technical solutions first require an offline programmer to burn the crystal oscillator calibration firmware into the chip one-to-one, and then a crystal oscillator to calibrate the chip crystals sequentially. The time consumed is difficult to estimate directly. In terms of hardware costs, it requires 7 offline programmers + 7 SD memory cards + 1 crystal oscillator, which far exceeds the hardware costs of the solution of this invention.
[0072] It should 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 process, method, article, or apparatus.
[0073] The above description is only a preferred embodiment of the present utility model. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present utility model, and these improvements and modifications should also be considered within the protection scope of the present utility model.
Claims
1. A mass-production programmer based on OnSemi Microelectronics, characterized in that, include: Power supply VCC; A multi-channel serial port module, comprising a chip U1, a ground pin GND, pin XI, pin XO, a reset pin RESET, a configuration pin CFG, a serial communication transmit pin TXx and a receive pin RXx, and several serial output ports UART; Several of the aforementioned serial output UARTs output external interfaces through the serial communication transmit pin TXx and receive pin RXx; The multi-channel serial port module is used to convert one USB data stream into eight serial port data streams. The crystal oscillator calibration module includes a low-frequency crystal oscillator X3, output pins OC3 and OC4, capacitors C21 and C22, a high-frequency crystal oscillator X2, a Tri-state GND pin, a power output VDD, a ferrite magnet L4, a filter C32 and C33, an OUT pin, an OC2 pin, a resistor R27, and a capacitor C34. The two ends of the low-frequency crystal oscillator X3 are connected to the output pins OC3 and OC4 respectively, and are connected to ground through capacitors C21 and C22 to form a parallel resonant circuit. The two ends of the high-frequency crystal oscillator X2 are respectively connected to the input and output pins of the crystal oscillator module, and the Tri-state GND pin is connected to ground.
2. The mass production programmer based on OnSemi Microelectronics according to claim 1, characterized in that: The power supply VCC is grounded through decoupling capacitors C13-C20, providing a stable 5V power supply to chip U1. The chip U1 has pins XI and XO connected to the two ends of an 8MHz crystal oscillator X1, and C12 and C13 are connected between XI and XO and ground respectively. The reset pin RESET is connected to the power supply VCC via an RC circuit; The configuration pin CFG is connected to the power supply VCC and the ground pin GND via a pull-up resistor or a pull-down resistor.
3. The mass production programmer based on OnSemi Microelectronics according to claim 2, characterized in that: The power output VDD pin is connected to VCC through a filter circuit consisting of ferrite magnet L4 and filters C32 and C33. The pin OUT is connected to the pin OC2, and the buffer circuit composed of resistor R27 and capacitor C34 outputs a 24MHz clock signal.
4. The mass production programmer based on OnSemi Microelectronics according to claim 3, characterized in that: It also includes a power supply module, which includes a DC power input terminal DC1, a Schottky diode D38, capacitors C26, C29, and C30, a linear regulator U28, capacitors C24, C32, U28, a linear regulator U59, a resistor R25, a resistor R26, and capacitors C23 and C25. The positive terminal of the DC power input terminal DC1 is connected to the anode of the Schottky diode D38, and the negative terminal of the DC power input terminal DC1 is grounded. The cathode of the Schottky diode D38 is connected to one end of capacitors C26, C29 and C30, and the other end of the Schottky diode D38 is grounded. The positive terminals of capacitors C26, C29, and C30 are connected together to form a stable power supply.
5. The mass production programmer based on Onsemi according to claim 4, characterized in that: The VIN pin of the linear regulator U28 is connected to the power supply, the GND pin is grounded, and the VOUT pin provides a 3.3V voltage. The capacitors C24 and C32 are respectively connected between the VIN pin, VOUT pin, and ground of the linear regulator U28; The VIN pin of the linear regulator U59 is connected to the power supply, and the ADJ pin of the linear regulator U59 is connected to ground and the VOUT pin through resistors R25 and R26. The VOUT pin provides an adjustable 5.5V voltage. The capacitors C23 and C25 are connected between the VIN pin, VOUT pin, and ground of the linear regulator U59, respectively.
6. The mass production programmer based on OnSemi Microelectronics according to claim 5, characterized in that: The calibration chip of the crystal oscillator calibration module is a 24M active crystal oscillator chip; The RF section of the crystal oscillator calibration module is an Ignion ceramic antenna.
7. The mass production programmer based on OnSemi Microelectronics according to claim 6, characterized in that: The Ch_A channel of the chip U1 is connected to the calibration chip of the crystal oscillator calibration module to simplify the number of external interfaces.