Electronic device

By setting the first and second connectors and switch modules on the casing of portable electronic devices, external programmers can upgrade chips without disassembling the casing, solving the problem of difficult upgrades caused by the compact internal structure of portable electronic devices, and improving the simplicity of operation and portability of the device.

CN121965178APending Publication Date: 2026-05-01SHENZHEN CARKU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN CARKU TECH CO LTD
Filing Date
2024-10-22
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The compact internal structure of portable electronic devices makes chip upgrades difficult, inefficient, and prone to damage.

Method used

An external programmer is used to connect to the chip through the first and second connectors on the electronic device casing. The program is programmed using a switch module, avoiding the need to disassemble the casing.

Benefits of technology

It simplifies chip upgrade operations, reduces equipment damage, saves parts, and improves portability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121965178A_ABST
    Figure CN121965178A_ABST
Patent Text Reader

Abstract

The invention discloses electronic equipment. The electronic equipment comprises a shell, a first connector, a second connector, a chip and a switch module. Wherein the first connector and the second connector are arranged on the shell. The chip is arranged in the shell. And the switch module is connected among the first connector, the second connector and the chip. And the switch module is configured to communicate the second connector with the chip based on a signal accessed by the first connector so as to allow an external burner to burn a program to the chip through the second connector. When the chip of the portable electronic equipment needs to be upgraded, the external programmer is connected with the first connector and the second connector, programming of the chip can be achieved, a shell of the electronic equipment does not need to be disassembled, operation is simpler, the electronic equipment is not prone to damage, additional connectors do not need to be added, and the cost is reduced. Parts of the electronic equipment can be saved, the size of the electronic equipment can be controlled, and the portability of the electronic equipment can be better improved.
Need to check novelty before this filing date? Find Prior Art

Description

electronic devices Technical Field

[0001] This application relates to the field of electronic circuit technology, and more specifically, to an electronic device. Background Technology

[0002] In related technologies, portable electronic devices are designed to be as compact as possible to minimize their size and facilitate portability. However, when an electronic device's chip needs upgrading, the casing must be disassembled to remove it. Yet, the compact internal structure of these devices makes disassembling and removing the chip difficult, inefficient, and prone to damaging the components. Summary of the Invention

[0003] This application provides an electronic device.

[0004] The electronic device provided in this application includes a housing, a first connector, a second connector, a chip, and a switch module. The first connector and the second connector are disposed on the housing. The chip is disposed within the housing. The switch module is connected between the first connector, the second connector, and the chip. The switch module is configured to connect the second connector and the chip based on a signal received by the first connector, allowing an external programmer to program the chip via the second connector.

[0005] In the electronic device provided in this application embodiment, unused pins on the first and second connectors can be used to connect to an external programmer. When the chip of the portable electronic device needs to be upgraded, the external programmer can be connected to the first and second connectors to program the chip without disassembling the electronic device's casing, making the operation simpler, less prone to damage, and eliminating the need for additional connectors. This saves on electronic device components, controls the size of the electronic device, and further improves its portability.

[0006] In some embodiments, the second connector includes a programming data terminal. The programming data terminal is connected to the chip via the switching module, which is configured to connect the programming data terminal and the chip based on a signal received by the first connector, allowing an external programmer to program the chip via the programming data terminal.

[0007] In some implementations, the first connector includes a programming enable terminal, and the switching module is configured to connect the second connector to the chip or disconnect the second connector from the chip based on an enable signal received from the programming enable terminal.

[0008] In some embodiments, the electronic device includes at least two of the chips, the first connector includes a gating terminal, and the switching module is configured to selectively connect the second connector to either of the chips based on a gating signal accessed through the gating terminal.

[0009] In some embodiments, the chip includes a first chip and a second chip, the second connector includes a programming data terminal, and the switch module includes a first connection terminal, a second connection terminal, and a third connection terminal. The first connection terminal is connected to the programming data terminal, the second connection terminal is connected to the first chip, and the third connection terminal is connected to the second chip. The switch module is configured to connect the first connection terminal and the second connection terminal, or connect the first connection terminal and the third connection terminal, based on a gating signal received at the gating terminal, to allow the external programmer to program the first chip or the second chip via the programming data terminal.

[0010] In some embodiments, the first connector includes a programming enable terminal, and the switching module includes a power supply terminal. The programming enable terminal is configured to supply power to the power supply terminal based on an access enable signal. When the programming enable terminal supplies power to the power supply terminal, the switching module is configured to connect the first connection terminal to the second connection terminal, or connect the first connection terminal to the third connection terminal.

[0011] In some embodiments, the switching module includes a first diode connected in reverse between the power supply terminal and the power supply of the electronic device, or the switching module includes a second diode connected in reverse between the first connection terminal and the ground electrode.

[0012] In some embodiments, the switch module includes at least two first connection terminals, and the second connector includes at least two programming data terminals, with each first connection terminal connected to a corresponding programming data terminal. When the switch module is configured to connect the first connection terminal and the second connection terminal, the second connection terminal is connected to the corresponding programming data terminal via at least two of the first connection terminals, allowing the external programmer to program the first chip via the corresponding programming data terminal. When the switch module is configured to connect the first connection terminal and the third connection terminal, the third connection terminal is connected to the corresponding programming data terminal via at least two of the first connection terminals, allowing the external programmer to program the second chip via the corresponding programming data terminal.

[0013] In some embodiments, the switching module includes a first switching unit and a second switching unit. The first switching unit is connected to the corresponding programming data terminal via a first connection terminal, and the second switching unit is connected to the corresponding programming data terminal via a first connection terminal. Under the control of the selection signal, the first switching unit selects to connect a first connection terminal to the corresponding second connection terminal, and the second switching unit connects a first connection terminal to the corresponding second connection terminal; or the first switching unit selects to connect a first connection terminal to the corresponding third connection terminal, and the second switching unit connects a first connection terminal to the corresponding third connection terminal.

[0014] In some implementations, the first connector and / or the second connector includes a Type-C connector.

[0015] In some embodiments, the electronic device includes a battery disposed within the housing, and a first connector is connected to the battery to allow the battery to be charged and discharged through the first connector, or a second connector is connected to the battery to allow the battery to be charged and discharged through the second connector, or both the first connector and the second connector are connected to the battery to allow the battery to be charged and discharged through the first connector and / or the second connector.

[0016] In some embodiments, the electronic device further includes a third connector configured to connect to an external load, including at least one of a starter motor and a vehicle battery. The battery is connected to the third connector to allow the battery to charge the external load through the third connector.

[0017] The electronic device provided in this application includes a housing, a first connector, a second connector, a chip, and a switch module. The first connector and the second connector are disposed on the housing. The chip is disposed within the housing. The switch module is connected between the first connector, the second connector, and the chip. The switch module is configured to connect the second connector and the chip based on a signal received by the first connector, allowing an external programmer to program the chip via the second connector.

[0018] In the electronic device provided in this application embodiment, unused pins on the first and second connectors can be used to connect to an external programmer. When the chip of the portable electronic device needs to be upgraded, the external programmer can be connected to the first and second connectors to program the chip without disassembling the electronic device's casing, making the operation simpler, less prone to damage, and eliminating the need for additional connectors. This saves on electronic device components, controls the size of the electronic device, and further improves its portability.

[0019] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0020] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein:

[0021] Figure 1 is a schematic diagram of an electronic device according to some embodiments of this application;

[0022] Figure 2 is a schematic diagram of the first connector according to certain embodiments of this application;

[0023] Figure 3 is a schematic diagram of the second connector according to certain embodiments of this application;

[0024] Figure 4 is a circuit diagram of a switching module according to some embodiments of this application;

[0025] Figure 5 is a circuit diagram of a switching module according to some embodiments of this application;

[0026] Figure 6 is a circuit diagram of a chip according to some embodiments of this application;

[0027] Figure 7 is a schematic diagram of an electronic device according to some embodiments of this application;

[0028] Figure 8 is a schematic diagram of a charging protocol chip according to some embodiments of this application;

[0029] Figure 9 is a schematic diagram of an electronic device according to some embodiments of this application.

[0030] Reference numerals: Electronic device 100, External programmer 200, Housing 10, First connector 20, Second connector 30, Chip 40, First chip 41, Second chip 42, Switch module 50, Programming enable terminal 21, Select terminal 22, Programming data terminal 31, First connection terminal 51, Second connection terminal 52, Third connection terminal 53, Power supply terminal 54, Controlled terminal 55, First switch unit 56, Second switch unit 57, First diode 61, Second diode 62, Battery 70, First protocol chip 71, Second protocol chip 72, Third connector 80. Detailed Implementation

[0031] The embodiments of this application are described in detail below. These embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0032] In related technologies, portable electronic devices are designed to be as compact as possible to minimize their size and facilitate portability. However, when an electronic device's chip needs upgrading, the casing must be disassembled to remove it. Yet, the compact internal structure of these devices makes disassembling and removing the chip difficult, inefficient, and prone to damaging the components.

[0033] To address the aforementioned technical problems, this application provides an electronic device (as shown in Figures 1 to 9).

[0034] Referring to FIG1, the electronic device 100 provided in this embodiment may include a housing 10, a first connector 20, a second connector 30, a chip 40, and a switch module 50. The first connector 20 and the second connector 30 are disposed on the housing 10. The chip 40 is disposed within the housing 10. The switch module 50 connects the first connector 20 and the second connector 30 to the chip 40. The switch module 50 is configured to connect the second connector 30 and the chip 40 based on a signal received through the first connector 20, allowing an external programmer 200 to program the chip 40 via the second connector 30.

[0035] In the electronic device 100 provided in this application embodiment, the unused pins on the first connector 20 and the second connector 30 can be used to connect to an external programmer 200. When the chip 40 of the portable electronic device 100 needs to be upgraded, the external programmer 200 can be connected to the first connector 20 and the second connector 30 to realize the programming of the chip 40. It is not necessary to disassemble the casing 10 of the electronic device 100, making the operation simpler, the electronic device 100 less prone to damage, and no additional connectors are needed. This can save the components of the electronic device 100, control the size of the electronic device 100, and further improve the portability of the electronic device 100.

[0036] Specifically, the chip 40 can be a chip 40 inside the electronic device 100, the chip 40 is disposed inside the housing 10 of the electronic device 100, the connector is disposed on the housing 10 of the electronic device 100, and the first connector 20 and the second connector 30 disposed on the housing 10 can be connected to an external programmer 200.

[0037] The switch module 50 is disposed within the housing 10 of the electronic device 100, and is connected between the second connector 30 and the chip 40. When the switch module 50 is off, the connection between the chip 40 and the second connector 30 is broken. When the switch module 50 is on, the chip 40 and the second connector 30 are connected.

[0038] When the external programmer 200 is connected to the first connector 20 and the second connector 30, the unused pins on the first connector 20 and the second connector 30 can be used to connect to the external programmer 200. If the external programmer 200 needs to program the chip 40, the external programmer 200 can provide the corresponding control signal to the switch module 50 through the first connector 20, so that the switch module 50 is turned on, and the chip 40 is connected to the second connector 30. In this way, the external programmer 200 can program the chip 40 through the second connector 30.

[0039] Thus, when the chip 40 of the portable electronic device 100 needs to be upgraded, the external programmer 200 can be connected to the first connector 20 and the second connector 30 to program the chip 40 without disassembling the casing 10 of the electronic device 100. This makes the operation simpler, the electronic device 100 less prone to damage, and eliminates the need for additional connectors. It saves on the components of the electronic device 100, controls its size, and further enhances its portability.

[0040] Referring to FIG2, in some embodiments, the first connector 20 includes a programming enable terminal 21, and the switch module 50 is configured to connect the second connector 30 and the chip 40 or disconnect the second connector 30 and the chip 40 based on an enable signal received from the programming enable terminal 21.

[0041] Specifically, when the first connector 20 is not connected to the external programmer 200, or when the external programmer 200 is not programming the chip 40, the enable signal connected to the programming enable terminal 21 can control the switch module 50 to disconnect, and the second connector 30 will be disconnected from the chip 40. At this time, the programming pins on the second connector 30 can be used as pins for other functions.

[0042] When the first connector 20 is connected to the external programmer 200 and the external programmer 200 needs to program the chip 40, the enable signal connected to the programming enable terminal 21 can control the switch module 50 to be turned on, and the second connector 30 is connected to the chip 40.

[0043] Referring to Figure 3, in some embodiments, the second connector 30 includes a programming data terminal 31. The programming data terminal 31 is connected to the chip 40 via a switch module 50, which is configured to connect the programming data terminal 31 and the chip 40 based on the signal input to the first connector 20, so as to allow an external programmer 200 to program the chip 40 through the programming data terminal 31.

[0044] Specifically, when the second connector 30 is not connected to the external programmer 200, or when the switch module 50 is disconnected, the external programmer 200 does not program the chip 40 through the programming data terminal 31. At this time, the programming data terminal 31 can be used as a pin for other functions.

[0045] When the second connector 30 is connected to the external programmer 200 and the switch module 50 is turned on, the programming data terminal 31 of the second connector 30 can be connected to the chip 40, thereby enabling the external programmer 200 to program the program to be programmed to the chip 40 through the programming data terminal 31.

[0046] In some implementations, the first connector 20 and / or the second connector 30 include a Type-C connector.

[0047] Specifically, the first connector 20 may include a Type-C connector, and the programming data terminal 31 may be an unused pin on the Type-C connector. The second connector 30 may also be a Type-C connector, and the programming enable terminal 21 may be an unused pin on the Type-C connector.

[0048] The Type-C connector is a common connector in electronic devices 100. Most Type-C connectors in electronic devices 100 do not have all their pins functional, resulting in a high rate of idle pins. Programming the remaining unused pins of the Type-C interface can increase pin utilization.

[0049] Taking Figures 2 and 3 as examples, the first connector 20 may include connector TYPE-C1, and the second connector 30 may include TYPE-C2. The programming enable terminal 21 may be the V+5 pin of connector TYPE-C1, and the programming data terminal 31 may be the C_ICPDA pin and C_ICPCK pin of connector TYPE-C2. The C_ICPDA pin and C_ICPCK pin of connector TYPE-C2 can be connected through the switch module 50 chip 40.

[0050] When the first connector 20 and the second connector 30 are connected to the external programmer 200, the external programmer 200 can provide a programming enable signal through the V+5 pin of connector TYPE-C1, and the C_ICPDA pin and C_ICPCK pin of connector TYPE-C2 can start receiving the program from the external programmer 200 and programming the program to chip 40.

[0051] The programming enable signal can be a voltage signal or a current signal provided by the external programmer 200. For example, during the programming process of the external programmer 200, the external programmer 200 first provides a 5V voltage signal to the V+5 pin of connector TYPE-C1. After the V+5 pin of connector TYPE-C1 receives the 5V voltage signal, the C_ICPDA pin and C_ICPCK pin of connector TYPE-C2 begin to receive the program from the external programmer 200.

[0052] After the V+5 pin of connector TYPE-C1 receives a 5V voltage signal, the first connector 20 and the second connector 30 will not be used as connectors for other functional pins, which can prevent the external programmer 200 from being interfered with during the programming process.

[0053] If the programming enable pin 21 is not connected to the programming enable signal, the programming data pin 31 can be used as a pin for other functions. If the V+5 pin of connector TYPE-C1 does not receive a 5V voltage signal, the C_ICPDA pin and C_ICPCK pin of connector TYPE-C2 can be used as pins for other functions.

[0054] Referring to FIG2, in some embodiments, the electronic device 100 includes at least two chips 40, the first connector 20 includes a gating terminal 22, and the switch module 50 is configured to select to connect the second connector 30 to either chip 40 based on a gating signal accessed by the gating terminal 22.

[0055] Referring to Figure 5, the switch module 50 can selectively connect the external programmer 200 to any one of the chips 40 of the electronic device 100, allowing the external programmer 200 to sequentially program multiple chips 40. Thus, when a chip 40 of the portable electronic device 100 needs upgrading, the switch module 50 can enable the external programmer 200 to program each chip 40 without disassembling the casing 10 of the electronic device 100. This simplifies operation, reduces the risk of damage to the electronic device 100, further saves on the components of the electronic device 100, controls its size, and improves its portability.

[0056] Specifically, the electronic device 100 may include multiple chips 40. The switch module 50 may be a single-pole multi-throw switch. When the external programmer 200 is connected to the connector, the external programmer 200 can provide a gating signal through the gating terminal 22 to control the single-pole multi-throw switch to enable any one of the chips 40 to be connected to the programming data terminal 31, so that the external programmer 200 can program any one of the chips 40 through the programming data terminal 31.

[0057] Referring to FIG6, in some embodiments of this application, the chip 40 of the electronic device 100 may include a first chip 41 and a second chip 42. The first chip 41 may be the main control chip of the microprocessor (CPU) controlling the electronic device 100. The first chip 41 integrates various control current and functional circuits of the electronic device 100, and can uniformly coordinate and manage the hardware of the electronic device 100 and control the various functions of the electronic device 100.

[0058] The second chip 42 can be a battery management system (BMS) chip, which includes functions such as battery monitoring, battery protection, and charge / discharge control. The second chip 42 can monitor parameters such as battery voltage, current, temperature, and state of charge in real time. This monitoring data provides a detailed understanding of the battery, helps determine its operating status and health condition, and ensures safe battery operation by implementing various protection mechanisms, such as disconnecting the battery's charge / discharge circuit, adjusting current limits, or triggering alarms.

[0059] The strobe terminal 22 can be the IN pin of the connector TYPE-C1. The external programmer 200 can control the switch module 50 to select between connecting the first chip 41 and the programming data terminal 31 or connecting the second chip 42 and the programming connection terminal by providing a strobe signal to the IN pin.

[0060] For example, when the external programmer 200 provides a high-level strobe signal, the switch module 50 connects the first chip 41 and the programming data terminal 31, allowing the external programmer 200 to program the first chip 41. When the external programmer 200 provides a low-level strobe signal, the switch module 50 connects the second chip 42 and the programming data terminal 31, allowing the external programmer 200 to program the second chip 42.

[0061] In some embodiments of this application, connector TYPE-C1 and connector TYPE-C2 can be connectors whose signals do not interfere with each other. When the external programmer 200 is programming, the signals connected to the V+5 pin and the IN pin will not affect the signals connected to the C_ICPDA pin and the C_ICPCK pin, which can improve the anti-interference capability of the external programmer 200 during programming.

[0062] Referring to Figures 4 and 5, in some embodiments, the second connector 30 includes a programming data terminal 31, and the switch module 50 includes a first connection terminal 51, a second connection terminal 52, and a third connection terminal 53. The first connection terminal 51 is connected to the programming data terminal 31, the second connection terminal 52 is connected to the first chip 41, and the third connection terminal 53 is connected to the second chip 42. The switch module 50 is configured to connect the first connection terminal 51 and the second connection terminal 52, or connect the first connection terminal 51 and the third connection terminal 53, based on a gating signal received at the gating terminal 22, so as to allow an external programmer 200 to program the first chip 41 or the second chip 42 through the programming data terminal 31.

[0063] Taking Figure 4 as an example, the switch module 50 may include a COM pin, an IN pin, a NO pin, and an NC pin. The first connection terminal 51 may be the COM pin, the second connection terminal 52 may be the NO pin, and the third connection terminal 53 may be the NC pin. The V+ pin of the switch module 50 can connect to the strobe signal provided by connector TYPE-C1, the COM pin can connect to the programming data terminal 31 of connector TYPE-C2, the NO pin can connect to the first chip 41, and the NC pin can connect to the second chip 42. The switch module 50 can connect the COM pin and the NO pin, or connect the COM pin and the NC pin, according to the received strobe signal, so that the programming data terminal 31 is connected to the first chip 41, or the programming data terminal 31 is connected to the second chip 42, allowing the external programmer 200 to program the first chip 41 or the second chip 42 through the programming data terminal 31.

[0064] Referring to Figure 2, in some embodiments, the first connector 20 includes a programming enable terminal 21, and the switch module 50 includes a power supply terminal 54. The programming enable terminal 21 is configured to supply power to the power supply terminal 54 based on an access enable signal. When the programming enable terminal 21 supplies power to the power supply terminal 54, the switch module 50 is configured to connect the first connection terminal 51 to the second connection terminal 52, or connect the first connection terminal 51 to the third connection terminal 53.

[0065] Specifically, the power supply side may also include the V+ pins of chip U4 and chip U5, and the V+ pin of switch module 50 can be connected to the V+5 pin of connector TYPE-C1.

[0066] When the first connector 20 is not connected to the external programmer 200, or when the external programmer 200 is not programming the chip, the V+5 pin of the connector TYPE-C1 does not provide the corresponding power supply voltage to the V+ pins of the chips U4 and U5. The chips U4 and U5 can disconnect the connection between the COM pin and the NO pin, and disconnect the connection between the COM pin and the NC pin.

[0067] The switch module also includes a controlled terminal 55, which may include the IN pins of chips U4 and U5. When the first connector 20 is connected to an external programmer 200, and the external programmer 200 needs to program the chips, the V+5 pin of connector TYPE-C1 can provide the corresponding power supply voltage to the V+ pins of chips U4 and U5. At this time, chips U4 and U5 can connect the COM pin and the NO pin, or connect the COM pin and the NC pin, according to the strobe signal connected to the controlled terminal 55.

[0068] Referring to FIG5, in some embodiments, the switch module 50 includes a first diode 61, which is reverse-connected between the power supply terminal 54 and the power supply of the electronic device 100, or the switch module 50 includes a second diode 62, which is reverse-connected between the first connection terminal 51 and the ground electrode.

[0069] Specifically, the first diode 61 can be diode D1, and the voltage source of electronic device 100 can provide a +5V voltage. Diode D1 can be connected in reverse between power supply terminal 54 and the voltage source of electronic device 100. Since diode D1 is reverse-biased and cut off, electronic device 100 is prevented from supplying power to the V+ pins of chip U4 and chip U5.

[0070] The second diode 62 can act as a Zener diode, stabilizing the voltage at the COM pins of chips U4 and U5 against the reverse voltage of the second diode 62. The COM pins of chips U4 and U5 are used to connect the program to be programmed into the chips; stabilizing the voltage at the COM pins of chips U4 and U5 improves program stability.

[0071] The second diode 62 can be either diode ESD1 or diode ESD2. Diode ESD1 is connected in reverse between the COM pin of chip U4 and ground, and diode ESD2 is connected in reverse between the COM pin of chip U5 and ground. Because diodes ESD1 and ESD2 are reverse-biased and cut off, the COM pins of chip U4 and U5 cannot be grounded to form a circuit.

[0072] After diodes ESD1 and ESD2 are broken down, they can act as Zener diodes, stabilizing the voltage at the COM pin of chip U4 and the COM pin of chip U5 against the reverse voltage of the second diode 62.

[0073] In some embodiments of this application, the second diode 62 may be an electrostatic discharge diode, which can release static electricity and provide electrostatic protection for electronic devices within the electronic device 100.

[0074] In some embodiments, the switch module 50 includes at least two first connection terminals 51, and the second connector 30 includes at least two programming data terminals 31, each first connection terminal 51 being connected to a corresponding programming data terminal 31. When the switch module 50 is configured to connect the first connection terminal 51 and the second connection terminal 52, the second connection terminal 52 is connected to the corresponding programming data terminal 31 through at least two first connection terminals 51, allowing an external programmer 200 to program the first chip 41 through the corresponding programming data terminal 31. When the switch module 50 is configured to connect the first connection terminal 51 and the third connection terminal 53, the third connection terminal 53 is connected to the corresponding programming data terminal 31 through at least two first connection terminals 51, allowing an external programmer 200 to program the second chip 42 through the corresponding programming data terminal 31.

[0075] Specifically, taking Figure 3 as an example, the C_ICPDA pin and the C_ICPCK pin can be two programming data terminals 31 of the second connector 30.

[0076] Taking Figure 4 as an example, the switch module 50 may include two COM pins, a NO pin, and an NC pin. One COM pin can be connected to the C_ICPDA pin, and the other COM pin can be connected to the C_ICPCK pin.

[0077] Taking Figure 6 as an example, the MAIN_ICPDA and MAIN_ICPCK pins can be signal terminals of the first chip 41, and the BMS_ICPDA and BMS_ICPCK pins can be signal terminals of the second chip 42. One NO pin can be connected to the MAIN_ICPDA pin, and the other NO pin can be connected to the MAIN_ICPCK pin. One NC pin can be connected to the BMS_ICPDA pin, and the other NC pin can be connected to the BMS_ICPCK pin.

[0078] With the COM pin and NO pin connected, the external programmer 200 can program the MAIN_ICPDA pin through the C_ICPDA pin and program the MAIN_ICPCK pin through the C_ICPCK pin, thus enabling the external programmer 200 to program the first chip 41.

[0079] With the COM pin and NC pin connected, the external programmer 200 can program the program to the BMS_ICPDA pin via the C_ICPDA pin and program the program to the BMS_ICPCK pin via the C_ICPCK pin, thus enabling the external programmer 200 to program the program to the second chip 42.

[0080] Referring to Figures 5 and 6, in some embodiments, the switch module 50 includes a first switch unit 56 and a second switch unit 57. The first switch unit 56 is connected to a corresponding programming data terminal 31 via a first connection terminal 51, and the second switch unit 57 is also connected to the corresponding programming data terminal 31 via a first connection terminal 51. Under the control of a selection signal, the first switch unit 56 selects to connect a first connection terminal 51 to a corresponding second connection terminal 52, and the second switch unit 57 connects a first connection terminal 51 to a corresponding second connection terminal 52; or the first switch unit 56 selects to connect a first connection terminal 51 to a corresponding third connection terminal 53, and the second switch unit 57 connects a first connection terminal 51 to a corresponding third connection terminal 53.

[0081] Specifically, the first switching unit 56 can be chip U4, and the second switching unit 57 can be chip U5. Chip U4 can be connected to the C_ICPDA pin via the COM pin, the MAIN_ICPDA pin via the NO pin, and the BMS_ICPDA pin via the NC pin. Chip U5 can be connected to the C_ICPCK pin via the COM pin, the MAIN_ICPCK pin via the NO pin, and the BMS_ICPCK pin via the NC pin.

[0082] When the IN pin is connected to the first voltage level, chip U4 can connect to the C_ICPDA pin and the MAIN_ICPDA pin, and chip U5 can connect to the C_ICPCK pin and the MAIN_ICPCK pin. When the IN pin is connected to the second voltage level, chip U4 can connect to the C_ICPDA pin and the BMS_ICPDA pin, and chip U5 can connect to the C_ICPCK pin and the BMS_ICPCK pin.

[0083] The first voltage level can be high and the second voltage level can be low, or the first voltage level can be low and the second voltage level can be high.

[0084] Referring to FIG7, the electronic device 100 includes a battery 70 disposed within a housing 10. A first connector 20 is connected to the battery 70 to allow the battery 70 to be charged and discharged through the first connector 20, or a second connector 30 is connected to the battery 70 to allow the battery 70 to be charged and discharged through the second connector 30, or both the first connector 20 and the second connector 30 are connected to the battery 70 to allow the battery 70 to be charged and discharged through the first connector 20 and / or the second connector 30.

[0085] Specifically, the battery 70 can be an internal power source for the electronic device 100. The battery 70 can be a lithium battery or other rechargeable batteries. Both the battery 70 and the chip are housed within the casing 10 of the electronic device 100. The first connector 20 and the second connector 30 are disposed on the casing 10 of the electronic device 100. The first connector 20 and the second connector 30 disposed on the casing 10 can be connected to other devices. The other devices connected to the first connector 20 and the second connector 30 can be electrical appliances, chargers, or external programmers 200.

[0086] The first connector 20 and the second connector 30 can serve as connectors for charging and discharging the battery 70. That is, the battery 70 can be charged and discharged externally through the first connector 20, and the battery 70 can be charged and discharged externally through the second connector 30. When the connector is connected to a power device, the battery 70, located inside the housing 10, can communicate with the power device located outside the housing 10 through the connector, and the battery 70 discharges to the power device. When the connector is connected to a charger, the charger located outside the housing 10 can communicate with the battery 70 located inside the housing 10 through the connector, and the charger charges the battery 70.

[0087] Both the first connector 20 and the second connector 30 can serve as bidirectional charging and discharging interfaces for the battery 70. The first protocol chip 71 can control the charging and discharging power of the battery 70 to the first connector 20, and the second protocol chip 72 can control the charging and discharging power of the battery 70 to the second connector 30, thereby enabling fast charging of the battery 70.

[0088] Specifically, taking Figure 8 as an example, the first protocol chip 71 can be chip U7, and the second protocol chip 72 can be chip U8. The first protocol chip 71 and the second protocol chip 72 can support multiple charging and discharging protocols, such as PD (Power Delivery) protocol, QC (Quick Charge) protocol, Huawei fast charging protocol, and Samsung fast charging protocol. The first protocol chip 71 and the second chip 72 can control the charging and discharging power of the battery 70 to achieve fast charging of the battery 70.

[0089] For example, the first protocol chip 71 and the second protocol chip 72 can be chips that support the PD protocol. The PD protocol enables standardized communication between USB interface devices and supports DC power communication for fast charging. When the battery 70 charges and discharges through the first connector 20, the first protocol chip 71 obtains the charging and discharging request and determines the charging and discharging current and voltage of the battery 70 based on the charging and discharging request and the charging and discharging algorithm built into the first protocol chip 71, thereby realizing fast charging of the battery 70.

[0090] Referring to FIG9, in some embodiments, the electronic device 100 further includes a third connector 80 configured to connect to an external load, including at least one of a starter motor and a vehicle battery. The battery 70 is connected to the third connector 80 to allow the battery 70 to charge the external load through the third connector 80.

[0091] The electrical energy of electronic device 100 can be used to start the car. When the starting device and the car battery lack sufficient power, the car cannot start normally. The connector can be connected to the car battery or the starting device. The battery 70 of electronic device 100 can output electrical energy to the car battery or the starting device through the connector, enabling the car to start normally. In this way, electronic device 100 can serve as a starting power source for the car, reducing the footprint of in-vehicle equipment and making it more convenient to use and carry.

[0092] In the description of this specification, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with an embodiment or example that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, without contradiction, those skilled in the art can combine and integrate different embodiments or examples described in this specification, as well as features of different embodiments or examples.

[0093] Furthermore, the term "connection" should be interpreted broadly. For example, it can include fixed connections, detachable connections, or integral connections; it can include direct connections or indirect connections through an intermediate medium; and it can also include internal communication between two elements. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0094] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0095] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0096] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. An electronic device, characterized in that, include: shell; A first connector and a second connector are disposed on the housing; A chip, which is disposed within the housing; A switch module is connected between the first connector and the second connector and the chip. The switch module is configured to connect the second connector and the chip based on a signal received by the first connector, so as to allow an external programmer to program the chip through the second connector.

2. The electronic device according to claim 1, characterized in that, The second connector includes a programming data terminal, which is connected to the chip via the switch module. The switch module is configured to connect the programming data terminal and the chip based on a signal received by the first connector, so as to allow the external programmer to program the chip through the programming data terminal.

3. The electronic device according to claim 1, characterized in that, The first connector includes a programming enable terminal, and the switch module is configured to connect the second connector to the chip or disconnect the second connector from the chip based on an enable signal received from the programming enable terminal.

4. The electronic device according to claim 1, characterized in that, The electronic device includes at least two of the chips, the first connector includes a gating terminal, and the switch module is configured to select and connect the second connector to any one of the chips based on a gating signal accessed through the gating terminal.

5. The electronic device according to claim 4, characterized in that, The chip includes a first chip and a second chip. The second connector includes a programming data terminal. The switch module includes a first connection terminal, a second connection terminal, and a third connection terminal. The first connection terminal is connected to the programming data terminal, the second connection terminal is connected to the first chip, and the third connection terminal is connected to the second chip. The switch module is configured to connect the first connection terminal and the second connection terminal, or connect the first connection terminal and the third connection terminal, based on a gating signal received by the gating terminal, so as to allow the external programmer to program the first chip or the second chip through the programming data terminal.

6. The electronic device according to claim 5, characterized in that, The first connector includes a programming enable terminal, and the switch module includes a power supply terminal. The programming enable terminal is configured to supply power to the power supply terminal based on an access enable signal. When the programming enable terminal supplies power to the power supply terminal, the switch module is configured to connect the first connection terminal to the second connection terminal, or connect the first connection terminal to the third connection terminal.

7. The electronic device according to claim 6, characterized in that, The switching module includes a first diode, which is reverse-connected between the power supply terminal and the power supply of the electronic device, or the switching module includes a second diode, which is reverse-connected between the first connection terminal and the ground electrode.

8. The electronic device according to claim 5, characterized in that, The switch module includes at least two first connection terminals, and the second connector includes at least two programming data terminals. Each first connection terminal is connected to a corresponding programming data terminal. When the switch module is configured to connect the first connection terminal and the second connection terminal, the second connection terminal is connected to the corresponding programming data terminal through at least two first connection terminals, allowing the external programmer to program the first chip through the corresponding programming data terminal. When the switch module is configured to connect the first connection terminal and the third connection terminal, the third connection terminal is connected to the corresponding programming data terminal through at least two first connection terminals, allowing the external programmer to program the second chip through the corresponding programming data terminal.

9. The electronic device according to claim 8, characterized in that, The switching module includes a first switching unit and a second switching unit. The first switching unit is connected to the corresponding programming data terminal through a first connection terminal, and the second switching unit is connected to the corresponding programming data terminal through a first connection terminal. Under the control of the selection signal, the first switching unit selects to connect a first connection terminal to the corresponding second connection terminal, and the second switching unit connects a first connection terminal to the corresponding second connection terminal; or the first switching unit selects to connect a first connection terminal to the corresponding third connection terminal, and the second switching unit connects a first connection terminal to the corresponding third connection terminal.

10. The electronic device according to claim 1, characterized in that, The first connector and / or the second connector include a Type-C connector.

11. The electronic device according to claim 1, characterized in that, The electronic device includes a battery disposed within the housing. A first connector is connected to the battery to allow the battery to be charged and discharged through the first connector, or a second connector is connected to the battery to allow the battery to be charged and discharged through the second connector, or both the first connector and the second connector are connected to the battery to allow the battery to be charged and discharged through the first connector and / or the second connector.

12. The electronic device according to claim 11, characterized in that, The electronic device further includes a third connector configured to connect to an external load, the external load including at least one of a starter motor and a vehicle battery; the battery is connected to the third connector to allow the battery to charge the external load through the third connector.