Burning circuit and burning circuit board of MCU (Microprogrammed Control Unit) and burning system of household product

By using a unidirectional conduction circuit to control the power supply status in the MCU programming circuit, the target MCU is ensured to be free from interference from other MCUs during the programming process, thus solving the programming failure problem when multiple MCUs share the bus and improving the programming success rate and reliability.

CN223624600UActive Publication Date: 2025-12-02FOSHAN SHUNDE MIDEA ELECTRICAL HEATING APPLIANCES MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423225620.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-12-02
Estimated Expiration
2034-12-25

AI Technical Summary

Technical Problem

When multiple MCUs share the same bus for communication, the programming operation may fail due to interference. Existing technologies cannot effectively solve the problems of data conflict and noise.

Method used

A unidirectional conduction circuit (such as MOSFET, diode, etc.) is used to control the power supply status of each MCU, ensuring that only the target MCU receives power during the programming process. The programmer controls the conduction and disconnection of the unidirectional conduction circuit to prevent interference from other MCUs.

Benefits of technology

It improves the interference problem when multiple MCUs share the same bus for communication, increases the success rate and reliability of programming, and reduces the risk of programming failure due to interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223624600U_ABST
    Figure CN223624600U_ABST
Patent Text Reader

Abstract

The utility model discloses a burning circuit and a burning circuit board of an MCU (Microprogrammed Control Unit) and a burning system of a household product, and relates to the technical field of burning. The burning circuit of the MCU is used for burning at least two MCUs at the same time; the MCU comprises a burning pin, a communication pin and a power supply end, and the burning pin and the communication pin of the MCU are connected with the burner through the same communication line; the burning circuit of the MCU comprises a power input end used for providing power supply voltage for the MCU and at least two one-way conduction circuits, the input end of each one-way conduction circuit is connected with the power input end, and the output end of each one-way conduction circuit is electrically connected with the power supply end of each MCU in a one-to-one correspondence mode. And the one-way conduction circuit is used for conducting / disconnecting an electric connection path between the power supply input end and the power supply end of the target MCU. The utility model aims to solve the problem that when a plurality of MCUs share the same bus for communication, the burning operation of one MCU is interfered, so that the reliability of the burning operation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of programming technology, and in particular to a programming circuit for an MCU, a programming circuit board, and a programming system for home products. Background Technology

[0002] When programming multiple microcontroller units (such as MCUs) on the same circuit board, and multiple MCUs share the same bus for communication, the programming pins and communication pins share the same set of pins. While this design simplifies hardware connections, when programming one MCU, since all MCUs are connected to the same bus, other active MCUs may send communication signals on the same bus while the target MCU is receiving data from the external programmer. This interference can lead to data conflicts or noise, causing the programming process to fail. Utility Model Content

[0003] The main purpose of this utility model is to provide a programming circuit, programming circuit board and programming system for MCUs and home products, which aims to improve the interference problem faced when programming one of the MCUs when multiple MCUs share the same bus for communication, thereby improving the reliability of the programming operation.

[0004] To achieve the above objectives, this utility model proposes a programming circuit for MCUs, used for simultaneously programming at least two MCUs; the MCU includes programming pins, communication pins, and a power supply terminal, and the programming pins and communication pins of the MCU are all connected to the programmer via the same communication line; the programming circuit for the MCU includes:

[0005] The power input terminal is used to provide power supply voltage to the MCU.

[0006] At least two unidirectional conduction circuits, the input terminal of each unidirectional conduction circuit is connected to the power input terminal, and the output terminal of each unidirectional conduction circuit is electrically connected to the power supply terminal of each MCU in a corresponding manner.

[0007] The unidirectional conduction circuit is used to connect / disconnect the electrical connection between the power input terminal and the power supply terminal of the target MCU.

[0008] In one embodiment, the unidirectional conduction circuit includes:

[0009] The switching transistor has its input terminal electrically connected to the power input terminal, its output terminal electrically connected to the power supply terminal of the MCU, and its output terminal also electrically connected to the control port of the programmer.

[0010] The switching transistor is used to turn on / off the electrical connection between the power input terminal and the power supply terminal of the target MCU according to the signal from the programmer control port.

[0011] In one embodiment, the switching transistor includes a diode.

[0012] In one embodiment, the MCU programming circuit further includes:

[0013] An interface component is provided, with one side connected to a programmer and the other side including multiple power supply control pins and multiple programming control pins. Each power supply control pin is connected to the output terminal of each unidirectional conduction circuit, and each programming control pin is electrically connected to the programming pins and communication pins of multiple MCUs.

[0014] In one embodiment, the interface component includes a socket.

[0015] In one embodiment, the MCU programming circuit further includes:

[0016] Multiple first current limiting circuits are provided, one end of each current limiting circuit is connected to the programming pin of the MCU, and the other end of each current limiting circuit is connected to the communication line.

[0017] Multiple second current limiting circuits are provided, with one end of each current limiting circuit connected to the communication pin of the MCU and the other end of each current limiting circuit connected to the power input terminal.

[0018] The first current limiting circuit is used to limit the current of the programming pin to within a first preset current threshold; the second current limiting circuit is used to limit the current of the communication pin to within a second preset current threshold.

[0019] In one embodiment, the first current limiting circuit includes at least one current limiting resistor, and the second current limiting circuit includes at least one current limiting resistor.

[0020] This utility model proposes a programming circuit board for an MCU, the programming circuit board including the MCU programming circuit described above, one end of the programming circuit being connected to the programmer, and the other end being connected to at least two MCUs, for simultaneously programming the MCUs.

[0021] In one embodiment, the programming circuit board is further provided with a programming bus and a communication bus. The programming bus is used for the programmer to connect with the programming pin bus of each of the MCUs, and the communication bus is used for the programmer to connect with the communication pin bus of each of the MCUs.

[0022] This utility model proposes a programming system for home products, used to program at least two MCUs on home products; the programming system includes the programming circuit board described above, and a programmer.

[0023] This invention proposes a programming circuit for MCUs, used to program at least two MCUs simultaneously. Each MCU includes programming pins, communication pins, and a power supply terminal. The programming pins and communication pins of the MCU are connected to a programmer via the same communication line. The programming circuit includes a power input terminal for providing power to the MCU and at least two unidirectional conduction circuits. The input terminal of each unidirectional conduction circuit is connected to the power input terminal, and the output terminal of each unidirectional conduction circuit is electrically connected to the power supply terminal of each MCU. The unidirectional conduction circuit is used to connect / disconnect the electrical connection between the power input terminal and the power supply terminal of the target MCU.

[0024] In practical applications, the power supply status of each MCU is controlled by a unidirectional conduction circuit (such as MOSFETs, diodes, etc.), ensuring that only the target MCU receives power and is active on the communication bus during the programming process. This improves the communication activity and signal interference problems caused by other MCUs not being powered off. Thus, this application can improve the interference problem faced when programming one MCU while multiple MCUs share the same bus for communication, reducing the risk of programming failure due to interference and improving the success rate and reliability of programming. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0026] Figure 1 This is a schematic diagram of a module of an embodiment of the MCU programming circuit of this utility model;

[0027] Figure 2 This is a schematic diagram of another embodiment of the MCU programming circuit of this utility model;

[0028] Figure 3 This is a schematic diagram of another embodiment of the MCU programming circuit of this utility model;

[0029] Figure 4 This is a schematic diagram of another embodiment of the MCU programming circuit of this utility model;

[0030] Figure 5 This is a detailed circuit diagram of one embodiment of the MCU programming circuit of this utility model.

[0031] Explanation of icon numbers:

[0032] 10. Power input terminal; 20. One-way conduction circuit; 30. First current limiting circuit; 40. Second current limiting circuit; 21. Switching transistor.

[0033] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0034] 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.

[0035] Furthermore, in this utility model, descriptions involving "first," "second," etc., are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this utility model.

[0036] When programming multiple microcontroller units (such as MCUs) on the same circuit board, and multiple MCUs share the same bus for communication, the programming pins and communication pins share the same set of pins. While this design simplifies hardware connections, when programming one MCU, since all MCUs are connected to the same bus, other active MCUs may send communication signals on the same bus while the target MCU is receiving data from the external programmer. This interference can lead to data conflicts or noise, causing the programming process to fail.

[0037] Therefore, refer to Figure 1 This utility model proposes a programming circuit for MCUs, used to program at least two MCUs simultaneously; the MCU includes programming pins, communication pins, and a power supply terminal, and the programming pins and communication pins of the MCU are all connected to the programmer via the same communication line; the programming circuit of the MCU includes:

[0038] Power input terminal 10 is used to provide power supply voltage to the MCU;

[0039] At least two unidirectional conduction circuits 20, the input terminal of each unidirectional conduction circuit 20 is connected to the power input terminal 10, and the output terminal of each unidirectional conduction circuit 20 is electrically connected to the power supply terminal of each MCU.

[0040] The unidirectional conduction circuit 20 is used to connect / disconnect the electrical connection between the power input terminal 10 and the power supply terminal of the target MCU.

[0041] In this embodiment, the unidirectional conduction circuit 20 can be implemented using switching devices such as a switching transistor 21, a rectifier bridge, a relay, or a contactor.

[0042] It should be noted that the MCU includes a power supply terminal, programming pins, and communication pins. The programming pins and communication pins share the same set of physical pins, achieving pin multiplexing. Since all MCUs share the same communication bus for communication, this pin can be used for normal communication operations via the communication bus to exchange data with other devices, and can also receive data from the programmer in programming mode. (Reference) Figure 1 Pin 1 and pin 3 of the MCU are the programming pin and the communication pin, respectively, and pin 2 of the MCU is the power supply pin.

[0043] In this embodiment, the programmer needs to first determine the target MCU to be programmed. Optionally, the programmer is electrically connected to a controller. The user can pre-store a control program for programming information in the controller. The programming information includes, but is not limited to, programming data and programming order. The controller executes the control program and outputs corresponding control signals to the programmer so that the programmer can determine the target MCU to be programmed. Optionally, the programming operation of the MCU can be manually triggered by the user. For example, the operator can indicate which MCU should be programmed by the programmer through a button or switch. That is, the programmer determines the target MCU to be programmed based on the received trigger signal. When the programmer determines the target MCU to be programmed, it controls the unidirectional conduction circuit 20 electrically connected to the power supply terminal of the target MCU to conduct, so as to realize the electrical connection between the power input terminal 10 and the power supply terminal of the target MCU. At the same time, it controls other unidirectional conduction circuits 20 to disconnect the electrical connection between the power input terminal 10 and the power supply terminal of other MCUs. When the unidirectional conduction circuit 20 corresponding to the target MCU is turned on, the target MCU will receive power supply voltage from the power input terminal 10 and enter the working state. Other MCUs, because their corresponding unidirectional conduction circuits 20 are not turned on, will not receive power supply voltage and therefore remain inactive, not participating in any communication activities on the bus. In this way, the programmer sends programming data to the target MCU through the shared communication line, and the target MCU receives this programming data and writes it into its internal memory. During this period, since other MCUs are not powered, they will not interfere with communication on the bus.

[0044] Understandably, after the programming operation of the target MCU is completed, the programmer can control the unidirectional conduction circuit 20 corresponding to the target MCU to turn off, thereby disconnecting its power supply path. It can also control the unidirectional conduction circuit 20 corresponding to the next target MCU to conduct the electrical connection between the power input terminal 10 and the next target MCU, thus completing the programming of all MCUs.

[0045] In practical applications, the power supply status of each MCU is controlled by a unidirectional conduction circuit 20 (such as a MOSFET or diode), ensuring that only the target MCU receives power and is active on the communication bus during the programming process. This improves the communication activity and signal interference problems caused by other MCUs not being powered off. Thus, this application can improve the interference problem faced when programming one MCU while multiple MCUs share the same bus for communication, reducing the risk of programming failure due to interference and improving the success rate and reliability of programming.

[0046] In one embodiment, reference Figure 2 The unidirectional conduction circuit 20 includes:

[0047] The switching transistor 21 has its input terminal electrically connected to the power input terminal 10, its output terminal electrically connected to the power supply terminal of the MCU, and its output terminal also electrically connected to the control port of the programmer.

[0048] The switching transistor 21 is used to turn on / off the electrical connection between the power input terminal 10 and the power supply terminal of the target MCU according to the signal from the programmer control port.

[0049] In this embodiment, the switching transistor 21 can be implemented using a diode, MOSFET, or the like.

[0050] Optionally, the switching transistor 21 includes a diode.

[0051] refer to Figure 5 VCCA is the power input terminal 10. U1, U2, and U3 are the MCUs. D1, D2, and D3 are diodes. ISP-SDA and ISP-SCK are the MCU programming pins. TXD and RXD are the MCU communication pins. ISP-SDA is used to receive programming data, ISP-SCK is used to provide a synchronization clock signal, TXD is used to send data via the communication bus, and RXD is used to receive data transmitted via the communication bus. U2 and U3 multiplex the programming and communication pins; that is, TXD1 / TDI can both send data and provide a clock signal, and RXD1 / TCK can both receive programming data transmitted by the programmer via the communication line and receive communication data sent by devices or controllers communicating with the current MCU. The anodes of multiple diodes are electrically connected to the power input terminal 10, and the cathodes of multiple diodes are connected one-to-one to the power supply terminals of multiple MCUs. The cathodes of multiple diodes are electrically connected to the programmer.

[0052] Based on the above embodiments, when the programmer determines the target MCU to be programmed, it controls the diode electrically connected to the power supply terminal of the target MCU to conduct, thereby establishing an electrical connection between the power input terminal 10 and the target MCU's power supply terminal and providing power supply voltage to the target MCU. Simultaneously, it controls other diodes to be turned off, disconnecting the power supply terminal 10 from the power supply terminals of other MCUs. When the diode corresponding to the target MCU is turned on, the target MCU receives power supply voltage from the power input terminal 10 and enters the working state. Other MCUs, because their corresponding diodes remain in the off state, do not receive power supply voltage and therefore remain inactive, not participating in any communication activities on the bus. In this way, the programmer sends programming data to the target MCU through a shared communication line, and the target MCU receives this programming data and writes it into its internal memory. During this period, since other MCUs are not powered, they do not interfere with communication on the bus.

[0053] It's important to note that a diode is a unidirectional conductor; it allows current to flow from the anode to the cathode but blocks reverse current. A diode conducts when the voltage difference across it reaches a certain threshold (approximately 0.7V for a silicon diode); otherwise, it is off. To power the target MCU, the programmer or controller pulls the cathode of the diode corresponding to the target MCU's power supply terminal down to a low level (e.g., ground), ensuring the voltage difference between the power input terminal 10 and the power supply terminal is greater than the diode's forward voltage. This ensures the voltage difference across the diode is sufficient to allow it to conduct, enabling current to flow from the power input terminal 10 through the diode to the target MCU's power supply terminal. For other MCUs that do not require programming, the programmer or controller pulls the cathode of their corresponding diode up to a high level (e.g., higher than the voltage at the power input terminal 10). In this case, there is not enough voltage difference across the diode to overcome its forward voltage, so these diodes remain off, preventing current flow and thus preventing other MCUs from receiving power.

[0054] In practical applications, by controlling the on and off states of the diodes, it is ensured that only the target MCU receives power during each programming session, while other MCUs remain inactive, thus mitigating communication interference. The multiplexing design of the MCU's communication and programming pins reduces the number of physical connections.

[0055] In one embodiment of this application, reference is made to Figure 3 The MCU programming circuit also includes:

[0056] An interface component is provided, with one side connected to the programmer and the other side including multiple power supply control pins and multiple programming control pins. Each power supply control pin is connected to the output terminal of each unidirectional conduction circuit 20, and each programming control pin is electrically connected to the programming pins and communication pins of multiple MCUs.

[0057] The interface component includes a socket.

[0058] In this embodiment, the power supply control pin is used to control the on / off state of the unidirectional conduction circuit 20, ensuring that only the target MCU receives power. The programming control pin is connected to the MCU's programming pins (ISP-SDA, ISP-SCK) and communication pins (TXD, RXD) for transmitting programming data and synchronization clock signals. Based on the above embodiment, when the programmer determines the target MCU to be programmed, it outputs a corresponding control command and sends it to the target MCU's power supply terminal via the interface component's power supply control pin. This pulls the target MCU's power supply terminal low (e.g., grounded), turning on the corresponding unidirectional conduction circuit 20 and allowing current to flow from the power input terminal 10 to the target MCU's power supply terminal. For other MCUs, the interface component pulls their corresponding power supply terminals high (e.g., higher than the voltage of the power input terminal 10), keeping the corresponding unidirectional conduction circuit 20 off, preventing current flow, and preventing other MCUs from receiving power. Once the target MCU receives power and enters operating mode, the programmer sends programming instructions and data to the target MCU via the programming control pins of the interface component and shared communication lines (such as ISP-SDA and ISP-SCK). The target MCU receives this data and writes it into its internal memory. During this period, since other MCUs are not powered, they will not participate in any communication activities on the bus.

[0059] refer to Figure 5 J is a socket. The first pin (1), second pin (2), and third pin (3) of the socket are connected to the power supply terminals VCC of the three MCUs and the cathodes of the diodes, respectively. The fourth pin (4) and fifth pin (5) of the socket are programming control pins, which are electrically connected to the programming pins of the MCUs via communication lines. The sixth pin (6) of the socket is a ground pin, which is connected to the ground pins of multiple MCUs. Taking the programming of U1 as an example, the specific explanation is as follows. The programmer pulls the level of the first pin (1) of the interface component J low to turn on D1, so that U1 receives the power supply voltage and maintains normal operation to receive the programming data sent by the programmer via the fifth pin (5) and complete the programming process. At the same time, the programmer pulls the level of the second pin (2) and third pin (3) of the interface component J high to turn on the diodes D2 and D3. Since U2 and U3 cannot receive the power supply voltage, they will not participate in any communication activities on the bus, which improves the interference problem that may exist when programming U1, thereby realizing the reliability of programming U1.

[0060] The above settings ensure that only the target MCU is active on the bus during each programming session, protecting the integrity and security of data transmission. Strict power management and communication control reduce the risk of data loss or corruption due to misoperation. Specifically, the power control pin of the socket ensures that only the target MCU receives power during each programming session, while other MCUs remain inactive. This improves potential communication interference, simplifies hardware connections, and reduces wiring complexity.

[0061] In another embodiment, reference Figure 4 The MCU programming circuit also includes:

[0062] Multiple first current limiting circuits 30, one end of each current limiting circuit is connected to the programming pin of the MCU, and the other end of each current limiting circuit is connected to the communication line;

[0063] Multiple second current limiting circuits 40 are provided, with one end of each current limiting circuit connected to the communication pin of the MCU and the other end of each current limiting circuit connected to the power input terminal 10.

[0064] The first current limiting circuit 30 is used to limit the current of the programming pin to within a first preset current threshold; the second current limiting circuit 40 is used to limit the current of the communication pin to within a second preset current threshold.

[0065] In this embodiment, both the first current limiting circuit 30 and the second current limiting circuit 40 can be implemented using current limiting resistors, MOSFETs, dedicated current limiting chips, etc.

[0066] Optionally, the first current limiting circuit 30 includes at least one current limiting resistor, and the second current limiting circuit 40 includes at least one current limiting resistor.

[0067] refer to Figure 5The two first current-limiting circuits 30 are current-limiting resistors R1 and R2, respectively; the two second current-limiting circuits 40 are current-limiting resistors R3 and R4, respectively. For U1, the first end of R1 is connected to the programming pin ISP-SDA, and the second end of R1 is connected to the communication line, used to limit the current of the programming pin (ISP-SDA) of U1 within a first preset current threshold. Similarly, the first end of R2 is connected to the programming pin ISP-SCK, and the second end of R2 is connected to the communication line, used to limit the current of the programming pin (ISP-SCK) of U1 within a first preset current threshold, ensuring the security of programming data transmission. The first end of resistor R3 is connected to the communication pin TXD of U1 via a communication line, and the second end of R3 is connected to the power input terminal 10 (VCCA). This connection limits the current of the communication pin (TXD) of U1 to within a second preset current threshold. Similarly, the first end of resistor R4 is connected to the communication pin RXD of U1 via a communication line, and the second end of R4 is connected to the power input terminal 10 (VCCA). This connection also limits the current of the communication pin (RXD) of U1 to within a second preset current threshold. The resistance values ​​of R1, R2, R3, and R4 are preset by the R&D personnel. When the resistance values ​​of R1 and R2 are equal, the current of the programming pin can be limited to within a first preset current threshold. When the resistance values ​​of R3 and R4 are unequal, the safe current threshold of the communication pin (RXD) of U1 is not equal to the safe current threshold of the communication pin (TXD), meaning the magnitude of the second preset current threshold depends on the resistance value of the current-limiting resistors.

[0068] It should be noted that the first current limiting circuit 30 and the second current limiting circuit 40 configured for other MCUs are not shown in the diagram. For example, one end of the first current limiting circuit 30 is connected to the programming pin of U2, and the other end is connected to the communication line. One end of the second current limiting circuit 40 is connected to the communication pin of U2, and the other end is connected to the power input terminal 10. When the communication pin and the programming pin are multiplexed pins, only one first current limiting circuit 30 needs to be configured.

[0069] Current-limiting resistors ensure that the current to the programming and communication pins remains within safe limits, preventing hardware damage due to overcurrent and improving the stability and reliability of the programming system. Furthermore, the current-limiting resistors provide protection against excessive current in short-circuit or other abnormal conditions, protecting the MCU and other related devices. This enables safe and reliable programming of the MCU, improving the success rate and reliability of the programming operation.

[0070] This application also proposes a programming circuit board for an MCU, the programming circuit board including the programming circuit of the MCU described in any one of the above claims, one end of the programming circuit being connected to the programmer, and the other end being connected to at least two of the MCUs, for simultaneously programming the MCUs.

[0071] Optionally, the programming circuit board is further provided with a programming bus and a communication bus. The programming bus is used for the programmer to connect with the programming pin bus of each of the MCUs, and the communication bus is used for the programmer to connect with the communication pin bus of each of the MCUs.

[0072] In this embodiment, the programmer is connected to the programming bus via the programming circuit's interface component. Multiple MCUs have their programming pins connected to the programming bus, and the programmer is also connected to the communication bus via the programming circuit's interface component. The communication pins of the multiple MCUs are also connected to the communication bus. When the programming and communication pins of an MCU are multiplexed (i.e., they share the same pin on the MCU), the same communication line can be used for communication / programming. This multiplexing reduces the number of physical pins required. Each MCU only needs one pin to perform programming and communication functions, thus reducing PCB layout complexity. Simultaneously, the interface component (such as a socket) requires fewer pins to connect all MCUs, simplifying connector design complexity.

[0073] Based on the above embodiments, each MCU is electrically connected to the programmer via the programming circuit's interface component and programming bus. When the programmer determines the target MCU to be programmed, it outputs a corresponding control signal to the programming circuit. This causes the programming circuit to control the diode electrically connected to the target MCU's power supply terminal via the interface component's power supply control pin, thus establishing an electrical connection between the power input terminal 10 and the target MCU's power supply terminal, providing power to the target MCU. Simultaneously, the programmer outputs a corresponding control signal to the programming circuit, causing the programming circuit to control other diodes to turn off via the interface component's power supply control pin, disconnecting the power input terminal 10 from the power supply terminals of other MCUs. When the diode corresponding to the target MCU is turned on, the target MCU receives power from the power input terminal 10 and enters the working state. Other MCUs, whose corresponding diodes remain off, do not receive power and therefore remain inactive, not participating in any communication activities on the bus. In this way, the programmer sends programming data to the target MCU via a shared communication line, and the target MCU receives this programming data and writes it into its internal memory. During this period, since other MCUs are not powered, they will not interfere with communication on the bus.

[0074] In practical applications, the programmer controls the power supply status of each MCU by controlling the on / off state of the unidirectional conduction circuit 20 of the programming circuit, and connects to the programming pin bus of the MCU via the programming bus to ensure the correct transmission of programming data. This ensures that only the target MCU receives power and is active on the communication bus during the programming process, completing the programming of the target MCU. This improves the communication activity and signal interference problems caused by other MCUs not being powered off. In other words, this application can improve the interference problem faced when programming one MCU while multiple MCUs share the same bus for communication, reducing the risk of programming failure due to interference and improving the success rate and reliability of programming the MCU using the programming control board.

[0075] It is worth noting that since the programming circuit board of the MCU in this application includes the programming circuit of the MCU described above, the embodiments of the programming circuit board of the MCU in this application include all the technical solutions of all embodiments of the programming circuit of the MCU described above, and the technical effects achieved are exactly the same, so they will not be repeated here.

[0076] This application also proposes a programming system for home products, used to program at least two MCUs on a home product; the programming system includes the programming circuit board described above, and a programmer.

[0077] Understandably, in home appliances, smart multi-burner cooktops (such as induction cooktops and gas cooktops) integrate multiple microcontroller units (MCUs) to implement complex cooking functions and interoperability. To ensure the proper functioning of these devices, reliable firmware flashing is required for each MCU.

[0078] In this embodiment, it is assumed that there are two MCUs (U1 and U2) in a smart multi-burner stove, each responsible for different functional modules: U1 is used to control the firepower adjustment and manage the power output of different burners. U2 is used to control timing and safety protection functions to ensure user safety and normal equipment operation. The two MCUs share the same communication bus for communication, and the programming pins (ISP-SDA, ISP-SCK) and communication pins (TXD, RXD) of each MCU are connected to the same communication line through multiplexed pins. The user can select the target MCU (e.g., U1) to be programmed through the software interface. The programmer sends control commands according to the user input instructions, pulling the power supply control pin (first pin 1) of the target MCU (U1) low to a lower level (e.g., grounded) through the socket, so that the corresponding diode conducts the electrical connection path between the power input terminal 10 and the power supply terminal, allowing U1 to receive power. For other MCUs (U2), the corresponding power supply control pin (second pin 2) is pulled high to a higher level (e.g., higher than the voltage of the power input terminal 10) through the socket, so that the corresponding diode remains in the off state, preventing it from receiving power supply voltage. During the programming process of U1, the programmer sends programming instructions and programming data to the target MCU (U1) via a shared communication line. U1 receives this data via a multiplexed pin and writes it into its internal memory. During this process, since other MCUs (U2) are not powered, they do not participate in any communication on the bus. After programming is complete, the power supply control pin corresponding to the target MCU (U1) is turned off via the socket control, disconnecting its power supply path. If programming is required for the next MCU (such as U2), the above steps are repeated until all specified MCUs have been programmed.

[0079] In practical applications, by introducing a programming circuit board and programmer, safe and reliable programming of multiple MCUs in a multi-burner stove is achieved. This not only improves the common programming interference problem in systems with multiple MCUs, but also simplifies hardware design and improves operational flexibility.

[0080] It is worth noting that since the programming system for the home products of this application includes the programming circuit board described above, the embodiments of the programming system for the home products of this application include all the technical solutions of all the embodiments of the programming circuit board described above, and the technical effects achieved are exactly the same, so they will not be repeated here.

[0081] The above description is only an optional embodiment of the present utility model and does not limit the patent scope of the present utility model. All equivalent structural transformations made under the inventive concept of the present utility model using the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the scope of the present utility model.

Claims

1. A programming circuit for an MCU, characterized in that, This is used to simultaneously program at least two MCUs; each MCU includes programming pins, communication pins, and a power supply terminal, and both the programming pins and communication pins of the MCU are connected to the programmer via the same communication line; the programming circuit of the MCU includes: The power input terminal is used to provide power supply voltage to the MCU. At least two unidirectional conduction circuits, the input terminal of each unidirectional conduction circuit is connected to the power input terminal, and the output terminal of each unidirectional conduction circuit is electrically connected to the power supply terminal of each MCU in a corresponding manner. The unidirectional conduction circuit is used to connect / disconnect the electrical connection between the power input terminal and the power supply terminal of the target MCU.

2. The MCU programming circuit as described in claim 1, characterized in that, The unidirectional conduction circuit includes: The switching transistor has its input terminal electrically connected to the power input terminal, its output terminal electrically connected to the power supply terminal of the MCU, and its output terminal also electrically connected to the control port of the programmer. The switching transistor is used to turn on / off the electrical connection between the power input terminal and the power supply terminal of the target MCU according to the signal from the programmer control port.

3. The MCU programming circuit as described in claim 2, characterized in that, The switching device includes a diode.

4. The MCU programming circuit as described in claim 1, characterized in that, The MCU programming circuit also includes: An interface component is provided, with one side connected to a programmer and the other side including multiple power supply control pins and multiple programming control pins. Each power supply control pin is connected to the output terminal of each unidirectional conduction circuit, and each programming control pin is electrically connected to the programming pins and communication pins of multiple MCUs.

5. The MCU programming circuit as described in claim 4, characterized in that, The interface component includes a socket.

6. The MCU programming circuit as described in claim 1, characterized in that, The MCU programming circuit also includes: Multiple first current limiting circuits are provided, one end of each current limiting circuit is connected to the programming pin of the MCU, and the other end of each current limiting circuit is connected to the communication line. Multiple second current limiting circuits are provided, with one end of each current limiting circuit connected to the communication pin of the MCU and the other end of each current limiting circuit connected to the power input terminal. The first current limiting circuit is used to limit the current of the programming pin to within a first preset current threshold; the second current limiting circuit is used to limit the current of the communication pin to within a second preset current threshold.

7. The MCU programming circuit as described in claim 6, characterized in that, The first current limiting circuit includes at least one current limiting resistor, and the second current limiting circuit includes at least one current limiting resistor.

8. A programming circuit board for an MCU, characterized in that, The programming circuit board includes a programming circuit for an MCU as described in any one of claims 1 to 7. One end of the programming circuit is connected to the programmer, and the other end is connected to at least two MCUs for simultaneously programming the MCUs.

9. The programming circuit board as described in claim 8, characterized in that, The programming circuit board is also provided with a programming bus and a communication bus. The programming bus is used to connect the programmer to the programming pin bus of each MCU, and the communication bus is used to connect the programmer to the communication pin bus of each MCU.

10. A programming system for a home product, characterized in that, For programming at least two MCUs on a home product; the programming system includes a programming circuit board as described in claim 8 or 9, and a programmer.