CN104714915A - Electronic device for loading firmware through general sequence bus socket and firmware loading method thereof - Google Patents

Electronic device for loading firmware through general sequence bus socket and firmware loading method thereof Download PDF

Info

Publication number
CN104714915A
CN104714915A CN201310694825.3A CN201310694825A CN104714915A CN 104714915 A CN104714915 A CN 104714915A CN 201310694825 A CN201310694825 A CN 201310694825A CN 104714915 A CN104714915 A CN 104714915A
Authority
CN
China
Prior art keywords
pin
chip
electronic installation
data transmission
serial bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310694825.3A
Other languages
Chinese (zh)
Inventor
陈羿光
施佑谚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Primax Electronics Ltd
Original Assignee
Primax Electronics Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Primax Electronics Ltd filed Critical Primax Electronics Ltd
Priority to CN201310694825.3A priority Critical patent/CN104714915A/en
Publication of CN104714915A publication Critical patent/CN104714915A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides an electronic device for loading firmware through a general sequence bus socket and a firmware loading method thereof. The electronic device comprises the general sequence bus socket, a functional chip and a switch element. The switch element is connected to a bus data transmission pin of the general sequence bus socket and a chip data transmission pin of the functional chip. When high-level voltage is provided for a recognition pin of the general sequence bus socket, the switch element is started, and the bus data transmission pin is electrically connected to the chip data transmission pin, so that firmware data can be transmitted into the functional chip through the general sequence bus socket. The electronic device can be used as a charging interface and can be used as an interface for loading and updating the firmware.

Description

General serial bus socket is used to carry out electronic installation and the firmware loading method thereof of firmware loading
Technical field
The present invention relates to a kind of electronic installation, particularly relate to a kind of electronic installation and the firmware loading method thereof that use universal serial bus (USB) socket to carry out firmware loading.
Background technology
Along with the development of information, portable electron device is more and more universal, and there is huge multi-media processing function due to computer system, therefore many portable electron devices can directly be connected with computer system, to carry out the action of every data transmission, wherein, universal serial bus (USB) interface is one of connecting interface the most often used between portable electron device and computer system, reason is, universal sequential bus interface has the multiple advantages such as plug and play, hot plug (hot plug), data rate be fast.
Moreover, universal sequential bus interface also has the function of transmission current, therefore computer system can provide electric energy to give portable electron device, make portable electron device can obtain the upper required electric energy of running, or to the action that the battery in portable electron device charges.Special instruction, the universal sequential bus interface of portion portable electronic installation is only designed to accept external power supply, and does not possess the function of carrying out data transmission with computer system.
In detail, refer to Fig. 1, it is the known block diagram that can carry out the electronic installation of data transmission with computer system.Electronic installation 1A comprises General serial bus socket 11A, functional chip 12A, charging chip 13 and is connected to the battery 14 of charging chip 13, and in functional chip 12A, there is firmware, be used for performing specific function, such as when electronic installation 1A is a carry-on hard disc, functional chip 12A is then responsible for performing data transmission, data store and the action of data extraction; Again, functional chip 12A has first device identification pin 123 and the second device identification pin 124, and General serial bus socket 11A has power pin 111, D-pin 112, D+ pin 113, ID pin 114 and source, ground pin 115; Wherein, source, the ground pin 115 of General serial bus socket 11A is in order to ground connection, the power pin 111 of General serial bus socket 11A is connected to charging chip 13, D-pin 112 and the D+ pin 113 of General serial bus socket 11A are connected to first device identification pin 123 and the second device identification pin 124 of functional chip 12A, ID pin 114 is suitable situation suspension joint or ground connection then, such as when General serial bus socket 11A is for belonging to OTG (On-The-Go) specification, ID pin 114 ground connection, otherwise ID pin 114 suspension joint.
Moreover, when electronic installation 1A is connected to computer system 2 by universal serial bus 3, also namely when the plug 31,32 at universal serial bus 3 two ends is plugged in the General serial bus socket 21 of the General serial bus socket 11A of electronic installation 1A and computer system 2 respectively, the electric current that computer system 2 provides can transfer to charging chip 13 after the power pin 111 sequentially via universal serial bus 3, General serial bus socket 11A, and then can charge to battery 14; In general, when universal sequential bus interface is USB2.0 interface, computer system 2 can provide the electric current of electronic installation 1A about 500 milliampere (mA), and when universal sequential bus interface is USB3.0 interface, computer system 2 can provide the electric current of electronic installation 1A about 900 milliampere (mA).
Simultaneously, computer system 2 can export an inquiry message S2 and transfer to functional chip 12A after sequentially via the D-pin 112 of universal serial bus 3, General serial bus socket 11A and the first device identification pin 123 of functional chip 12A, and functional chip 12A then can export the return information S1 that corresponds to inquiry message S2 and after the D+ pin 113 and universal serial bus 3 of the second device identification pin 124 sequentially via functional chip 12A, General serial bus socket 11A, transfer to computer system 2; Wherein, by the communication program between above-mentioned computer system 2 and functional chip 12A, computer system 2 can the specification of identification electronic installation 1A, as high speed electronics 1A or low-velocity electron device 1A etc., with so carry out follow-up data transmission operation.
Refer to Fig. 2, it is the known block diagram not possessing the electronic installation carrying out data-transformation facility with computer system.The 1B of electronic installation shown in Fig. 2 is roughly similar to that shown in Figure 1, namely no longer repeated at this, and difference is, the D+ pin 113 of General serial bus socket 11B is a floating with D-pin 112, and functional chip 12B does not have first device identification pin and the second device identification pin; Therefore the 1B of electronic installation shown in Fig. 2 is only a kind of electronic installation 1B accepting computer system 2 by its General serial bus socket 11B and power, but do not possess the function of carrying out data transmission with computer system 2.
The firmware of the known electronic installation of following explanation is loaded into mode.Refer to Fig. 3, it is the firmware loading schematic diagram of known electronic installation.The 1C of electronic installation shown in Fig. 3 is roughly similar to Fig. 1 and that shown in Figure 2, namely no longer repeated, and difference is at this, and functional chip 12C also comprises one first chip data transmission pin 121 and one second chip data transmission pin 122, in general, the first chip data transmission pin 121 and the second chip data transmission pin 122 belong to an inter-integrated circuit (Inter-Integrated Circuit, I 2c) pin of interface, as the first chip data transmission pin 121 and the second chip data transmission pin 122 are respectively serial data (SDA) pin and serial clock pulse (SCL) pin, or be that the first chip data transmission pin 121 and the second chip data transmission pin 122 belong to a universal asynchronous transmitting-receiving transmission (Universal Asynchronous Receiver/Transmitter, UART) pin of interface, receive pin (Rx) as the first chip data transmission pin 121 and the second chip data transmission pin 122 are respectively and launch pin (Tx).
Wherein, when electronic installation 1C research staff for firmware is inputed to functional chip 12C or for upgrading the firmware in functional chip 12C time, by wire 41, the external jig plate 4 storing firmware is connected to first chip data transmission pin 121 and the second chip data transmission pin 122 of functional chip 12C, thus, the firmware in external jig plate 4 just can transmit in entered function chip 12C.But the program that above-mentioned firmware is loaded into is quite loaded down with trivial details, also needs to be welded between functional chip 12C and external jig plate by wire 41 especially, the research staff for research and development end is real is inconvenience.In addition, if development company develops the firmware compared with new edition after electronic installation 1C commercialization, the user bought also cannot upgrade firmware to electronic installation 1C voluntarily.
Therefore known electronic installation has the space of improvement.
Summary of the invention
For prior art Problems existing, fundamental purpose of the present invention is providing a kind of electronic installation and the firmware loading method thereof that use universal serial bus (USB) socket to carry out firmware loading, to simplify the program that firmware to be loaded into electronic installation by research staff and user.
In a preferred embodiment, the invention provides a kind of electronic installation using universal serial bus (USB) socket to carry out firmware loading, comprising:
One General serial bus socket, comprises an identification pin and one first bus data transfer pin;
One functional chip, in order to perform a function, and comprises one first chip data transmission pin; And
One first on-off element, is connected between this identification pin, this first bus data transfer pin and this first chip data transmission pin;
Wherein, when the voltage of this identification pin is a low level voltage, this first on-off element is closed condition, in order to make the separated of this first bus data transfer pin and this first chip data transmission pin; And when the voltage of this identification pin is a high level voltage, this first on-off element is triggered unlatching, in order to make conducting between this first bus data transfer pin and this first chip data transmission pin.
In a preferred embodiment, the present invention also provides a kind of firmware loading method of electronic installation, input in a functional chip of an electronic installation in order to make a firmware data, and this electronic installation comprises a universal serial bus (USB) socket, wherein the firmware loading method of this electronic installation comprises:
A () provides a high level voltage to give one of this General serial bus socket and identifies pin, in order to open one first on-off element be connected between one first bus data transfer pin of this General serial bus socket and one first chip data transmission pin of this functional chip, to make conducting between this first bus data transfer pin and this first chip data transmission pin; And
B () makes the transmission after sequentially via this first bus data transfer pin and this first chip data transmission pin of this firmware data enter this functional chip.
Beneficial effect of the present invention is, firmware, as long as the socket electronic installation that carries out firmware loading is connected by external jig plate universal serial bus being made electronic installation and deposit firmware, just can be inputed to the functional chip of electronic installation or upgrade the firmware in functional chip by use universal serial bus (USB) of the present invention; To the first bus data transfer pin of electronic installation, the second bus data transfer pin, identify that the circuit connecting relation between pin and functional chip is designed, and make the General serial bus socket of electronic installation not only can be used to as charging interface, also can be used as carry out firmware be loaded into upgrade interface; Utilize and identify that the height of voltage level of pin to be used as judging between the first bus data transfer pin and the first chip data transmission pin of functional chip the foundation of whether conducting, and as the foundation of whether conducting between the second bus data transfer pin and the second chip data transmission pin of functional chip.
Accompanying drawing explanation
Fig. 1: be the known block diagram that can carry out the electronic installation of data transmission with computer system.
Fig. 2: be the known block diagram not possessing the electronic installation carrying out data-transformation facility with computer system.
Fig. 3: for the firmware of known electronic installation is loaded into schematic diagram.
Fig. 4: for the present invention uses General serial bus socket to carry out the block diagram of the electronic installation of firmware loading.
Fig. 5: for electronic installation shown in Fig. 4 is connected to the schematic diagram of power supply device.
Fig. 6: the firmware for electronic installation shown in Fig. 4 is loaded into the partial circuit schematic diagram of circuit.
Fig. 7: the firmware for electronic installation shown in Fig. 4 is loaded into another part circuit diagram of circuit.
Fig. 8: for the firmware loading method of electronic installation of the present invention is in the method flow diagram of a preferred embodiment.
Fig. 9: the schematic diagram for method shown in application drawing 8 firmware being loaded into the functional chip of electronic installation.
Figure 10: for the firmware loading method of electronic installation of the present invention is in the method flow diagram of another preferred embodiment.
Wherein, description of reference numerals is as follows:
1A electronic installation 1B electronic installation
1C electronic installation 2 computer system
The external jig plate of 3 universal serial bus 4
5 electronic installation 6 power supply devices
The external jig plate of 7 universal serial bus 8
11A General serial bus socket 11B General serial bus socket
12A functional chip 12B functional chip
12C functional chip 13 charging chip
14 battery 21 General serial bus sockets
The plug of plug 32 universal serial bus of 31 universal serial bus
41 wire 51 General serial bus sockets
52 functional chip 53 charging chips
54 battery 55 firmwares are loaded into circuit
The plug of 61 General serial bus socket 71 universal serial bus
Plug 81 General serial bus socket of 72 universal serial bus
82 shift knob 111 power pins
112D-pin 113D+ pin
Source, 114ID pin 115 ground pin
121 first chip data transmission pin 122 second chip data transmission pins
123 first device identification pin 124 second device identification pins
511 power pin 512 first bus data transfer pins
513 second bus data transfer pins
514 identify source, pin 515 ground pin
521 first chip data transmission pins
522 second chip data transmission pins
5511 transistor 5512 transistors
5521 transistor 5522 transistors
P1 step P2 step
P step S1 inquiry message
S2 return information S3 firmware data
S4 inquiry message S5 return information
R0 resistance R1 resistance
R2 resistance R3 resistance
R4 resistance R5 resistance
R6 resistance R7 resistance
R8 resistance R9 resistance
Embodiment
Refer to Fig. 4, it is the present invention carries out the electronic installation of firmware loading block diagram by General serial bus socket.Electronic installation 5 comprises General serial bus socket 51, functional chip 52, charging chip 53, the battery 54 being connected to charging chip 53 and the firmware be connected between General serial bus socket 51 and functional chip 52 and is loaded into circuit 55, and in functional chip 52, there is firmware, be used for performing specific function, such as when electronic installation 5 is a wireless charging device, the work of functional chip 52 responsible wireless chargings; Again, functional chip 52 has the first chip data transmission pin 521 and the second chip data transmission pin 522, and General serial bus socket 51 has power pin 511, first bus data transfer pin 512, second bus data transfer pin 513, identifies pin 514 and source, the ground pin 515 in order to ground connection.
In this preferred embodiment, General serial bus socket 51 is a Micro USB socket (micro USB socket), and identify pin 514, first bus data transfer pin 512 and the second bus data transfer pin 513 are respectively ID pin, D-pin and D+ pin, and the first chip data transmission pin 521 and the second chip data transmission pin 522 belong to a universal asynchronous transmitting-receiving transmission (Universal Asynchronous Receiver/Transmitter, UART) pin of interface, receive pin (Rx) as the first chip data transmission pin 521 and the second chip data transmission pin 522 are respectively and launch pin (Tx), but be not limited with above-mentioned, those skilled in the art can carry out the design for change of any equalization according to practical application request, for example, change and be designed to, the first chip data transmission pin 521 and the second chip data transmission pin 522 belong to an inter-integrated circuit (Inter-Integrated Circuit, I 2c) pin of interface, as the first chip data transmission pin 521 and the second chip data transmission pin 522 are respectively serial data (SDA) pin and serial clock pulse (SCL) pin.
Refer to Fig. 5, it is connected to the schematic diagram of power supply device 6 for electronic installation shown in Fig. 4.Have electric power in power supply device 6, as computer system or portable power supply unit etc., but not as limit, and power supply device 6 has General serial bus socket 61; Wherein, when electronic installation 5 is connected to power supply device 6 by universal serial bus line 7, also namely when the plug 71,72 at universal serial bus 7 two ends is plugged in the General serial bus socket 61 of the General serial bus socket 51 of electronic installation 5 and power supply device 6 respectively, the electric current that power supply device 6 provides can transfer to charging chip 53 via the power pin 511 of General serial bus socket 51, and then can charge to battery 54; In general, when universal sequential bus interface is USB2.0 interface, power supply device 6 can provide the electric current of electronic installation 5 about 500 milliampere (mA), and when universal sequential bus interface is USB3.0 interface, power supply device 6 can provide the electric current of electronic installation 5 about 900 milliampere (mA).
Refer to Fig. 6 and Fig. 7, Fig. 6 is the partial circuit schematic diagram of the loading of firmware shown in Fig. 4 circuit, and Fig. 7 is another part circuit diagram of the loading of firmware shown in Fig. 4 circuit.Firmware is loaded into circuit 55 and comprises the first on-off element 551, second switch element 552 and multiple resistance R0 ~ R9, and the first on-off element 551 is connected between identification pin 514, first bus data transfer pin 512, first chip data transmission pin 521 and power pin 511, and second switch element 552 is connected between identification pin 514, second bus data transfer pin 513, second chip data transmission pin 522 and power pin 511; Wherein, when the voltage identifying pin 514 is a low level voltage, first on-off element 551 and second switch element 552 are in closed condition, also namely the first bus data transfer pin 512 and the second bus data transfer pin 513 are all a floating or are a ground state, in order to make the separated of the first bus data transfer pin 512 and the first chip data transmission pin 521, and make the separated of the second bus data transfer pin 513 and the second chip data transmission pin 522; And when the voltage identifying pin 514 is a high level voltage, first on-off element 551 and second switch element 552 are triggered unlatching, in order to make conducting between the first bus data transfer pin 512 and the first chip data transmission pin 521, and make conducting between the second bus data transfer pin 513 and the second chip data transmission pin 522; In this preferred embodiment, the first on-off element 551 is made up of transistor 5511 and transistor 5512, and second switch element 552 is made up of transistor 5521 and transistor 5522, but is not limited with above-mentioned.
The firmware loading method of following explanation electronic installation of the present invention.Refer to Fig. 8, it is that the firmware loading method of electronic installation of the present invention is in the method flow diagram of a preferred embodiment.The firmware loading method of electronic installation comprises:
Step P1: the identification pin 514 that a high level voltage gives General serial bus socket 51 is provided, in order to open the first on-off element 551 and second switch element 552, and then make conducting between the first bus data transfer pin 512 and the first chip data transmission pin 521, and make conducting between the second bus data transfer pin 513 and the second chip data transmission pin 522; And
Step P2: make firmware data transmit entered function chip 52 after sequentially via the first bus data transfer pin 512 and the first chip data transmission pin 521.
In detail, refer to Fig. 9, firmware to be loaded into the schematic diagram of the functional chip of electronic installation by it for method shown in application drawing 8.External jig plate 8 (even an electronic installation) deposits the firmware data needed for electronic installation 5, and there is General serial bus socket 81 and a shift knob 82, when the research staff of electronic installation 5 or user for firmware is inputed to functional chip 52 or for upgrading the firmware in functional chip 52 time, first by the plug 71,72 at universal serial bus 7 two ends is plugged in the General serial bus socket 51 of electronic installation 5 and the General serial bus socket 81 of external jig plate 8 respectively, be connected with external jig plate 8 to make electronic installation 5.
Moreover, research staff or user make external jig plate 8 provide high level voltage by trigger switch button 82, make high level voltage via the identification pin 514 transferring to General serial bus socket 51 after universal serial bus 7, thus, first on-off element 551 and second switch element 552 just can be triggered unlatching, and then make conducting between the first bus data transfer pin 512 and the first chip data transmission pin 521, and make conducting between the second bus data transfer pin 513 and the second chip data transmission pin 522, its step P1 as described in Figure 8, and due to switched between the first bus data transfer pin 512 and the first chip data transmission pin 521, the firmware data S3 that deposits of external jig plate 8 just can after sequentially via universal serial bus 7, first bus data transfer pin 512 and the first chip data transmission pin 521 transmission entered function chip 52, its step P2 as described in Figure 8.
What remark additionally is, because electronic installation 5 shown in Fig. 9 is in the process being loaded into firmware, second bus data transfer pin 513 and the second chip data transmission pin 522 are not all utilized, therefore the step P1 of method shown in Fig. 8 can simplified design be: when the identification pin 514 of General serial bus socket 51 is provided a high level voltage, the first on-off element 551 is only had to be unlocked; Again furthermore, electronic installation 5 shown in Fig. 4 also can simplified design for not comprise second switch element 552, and the second bus data transfer pin 513 is only in floating or ground state, and is not connected with the second chip data transmission pin 522.
Refer to Figure 10, it is that the firmware loading method of electronic installation of the present invention is in the method flow diagram of another preferred embodiment.Method shown in Figure 10 is roughly similar to person described in Fig. 8, is namely no longer repeated at this, and difference is, method shown in Figure 10 also comprises a step P between step P1 and step P2:
The inquiry message S4 that external jig plate 8 is exported is sequentially via transmission entered function chip 52 after universal serial bus 7, first bus data transfer pin 512 and the first chip data transmission pin 521; Wherein, if functional chip 52 has a return information S5 of output and makes this return information S5 in time sequentially transmitting back external jig plate afterwards via the second chip data transmission pin 522, second bus data transfer pin 513 and universal serial bus line 7 after receiving this inquiry message S4, just perform step P2.
According to above explanation, as long as research staff or user are connected by the external jig plate 8 universal serial bus 7 being made electronic installation 5 and deposit firmware, just firmware can be inputed to the functional chip 52 of electronic installation 5 or the firmware in functional chip 52 is upgraded, solving research staff or user in prior art must, first by the complicated procedures of wire bonds between functional chip and external jig plate etc., be also an invention having industry applications in fact.
What will illustrate in addition is, from the explanation of Fig. 2 and Fig. 3 in prior art, the General serial bus socket 11B of electronic installation 1C only for the interface being used as charging, therefore General serial bus socket 11B the first bus data transfer pin 112, second bus data transfer pin 113 and identify pin 114 former be three pins not having function; Be with, the present invention is designed the first bus data transfer pin 512, second bus data transfer pin 513 of electronic installation 5, the circuit connecting relation between identification pin 514 and functional chip 52, and make the General serial bus socket 51 of electronic installation 5 not only can be used to as charging interface, also can be used as carry out firmware be loaded into upgrade interface.
Moreover, from the explanation of Fig. 1 in prior art, when electronic installation 1A is connected to computer system 2 by universal serial bus line 3, computer system 2 can carry out communication program between elder generation and functional chip 12A, with so the specification of identification electronic installation 1A, but because the first bus data transfer pin 512 of the General serial bus socket 51 of electronic installation 5 of the present invention is not the first device identification pin being connected to functional chip 52, and the second bus data transfer pin 513 of General serial bus socket 51 is not the second device identification pin being connected to functional chip 52, or even the functional chip 52 of electronic installation 5 of the present invention does not have first device identification pin and the second device identification pin, therefore when if electronic installation 5 is connected to computer system, first bus data transfer pin 512 of General serial bus socket 51 and the second bus data transfer pin 513 be not in floating or in ground state, then can there is the situation that computer system erroneous judgement electronic installation 5 is " device that can not identify ", and then cause computer system cannot charge to electronic installation 5.
Be with, in order to avoid the generation of said circumstances, the present invention utilizes and identifies that the height of voltage level of pin 514 to be used as judging between the first bus data transfer pin 512 and the first chip data transmission pin 521 of functional chip 52 foundation of whether conducting, and as the foundation of whether conducting between the second bus data transfer pin 513 and the second chip data transmission pin 522 of functional chip 52; That is, when electronic installation 5 is connected to computer system by universal serial bus 7 and charges, because the voltage of the now identification pin 514 of universal serial bus is low level voltage, therefore the first bus data transfer pin 512 of General serial bus socket 51 and the second bus data transfer pin 513 are floating or are ground state, therefore computer system can be charged to electronic installation 5 smoothly; And when electronic installation 5 is connected to external jig plate 8 by universal serial bus 7 and carries out loading firmware action, due to the identification pin 514 that external jig plate 8 can provide high level voltage to give universal serial bus, therefore the first bus data transfer pin 512 can be switched on the first chip data transmission pin 521 of functional chip 52, and the second bus data transfer pin 513 can be switched on the second chip data transmission pin 522 of functional chip 52, the firmware data therefore in external jig plate 8 can transmit entered function chip 52.
The foregoing is only preferred embodiment of the present invention, and be not used to limit claim of the present invention, under therefore all other does not depart from disclosed spirit, the equivalence that completes changes or modifies, and all should be contained in the claim of this case.

Claims (19)

1. use General serial bus socket to carry out an electronic installation for firmware loading, comprising:
One General serial bus socket, comprises an identification pin and one first bus data transfer pin;
One functional chip, in order to perform a function, and comprises one first chip data transmission pin; And
One first on-off element, is connected between this identification pin, this first bus data transfer pin and this first chip data transmission pin;
Wherein, when the voltage of this identification pin is a low level voltage, this first on-off element is closed condition, in order to make the separated of this first bus data transfer pin and this first chip data transmission pin; And when the voltage of this identification pin is a high level voltage, this first on-off element is triggered unlatching, in order to make conducting between this first bus data transfer pin and this first chip data transmission pin.
2. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 1, wherein this General serial bus socket and this functional chip also comprise one second bus data transfer pin and one second chip data transmission pin respectively, and this electronic installation also comprises a second switch element is connected between this identification pin, this second bus data transfer pin and this second chip data transmission pin; Wherein, when the voltage of this identification pin is a low level voltage, this second switch element is closed condition, in order to make the separated of this second bus data transfer pin and this second chip data transmission pin; And when the voltage of this identification pin is a high level voltage, this second switch element is triggered unlatching, in order to make conducting between this second bus data transfer pin and this second chip data transmission pin.
3. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 2, wherein this second switch element is made up of at least one transistor.
4. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 2, wherein this first chip data transmission pin and this second chip data transmission pin belong to an inter-integrated circuit interface or belong to a universal asynchronous transmitting-receiving transmission interface.
5. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 2, the inquiry message wherein exported by another electronic installation sequentially transfers to this functional chip via after this first bus data transfer pin and this first chip data transmission pin, and the return information that this functional chip exports sequentially transfers to this another electronic installation via after this second chip data transmission pin and this second bus data transfer pin.
6. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 2, wherein this General serial bus socket is a micro USB socket, and this identification pin, this first bus data transfer pin and this second bus data transfer pin are respectively ID pin, D-pin and D+ pin.
7. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 1, wherein when the voltage of this identification pin is this low level voltage, this first bus data transfer pin is a floating or is a ground state.
8. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 1, wherein this first on-off element is made up of at least one transistor.
9. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 1, the firmware data wherein exported by another electronic installation sequentially transfers to this functional chip via after this first bus data transfer pin and this first chip data transmission pin.
10. the electronic installation using General serial bus socket to carry out firmware loading as claimed in claim 9, wherein this another electronic installation is a computer apparatus or an external jig plate.
11. use General serial bus socket to carry out the electronic installation of firmware loading as claimed in claim 2, also comprise a charging chip and be connected to a battery of this charging chip, and this charging chip is in order to perform a charge function; Wherein, this General serial bus socket also comprises a power pin, and this power pin is connected to this charging chip.
The firmware loading method of 12. 1 kinds of electronic installations, in order to make a firmware data input in a functional chip of an electronic installation, and this electronic installation comprises a General serial bus socket, and wherein the firmware loading method of this electronic installation comprises:
A () provides a high level voltage to give one of this General serial bus socket and identifies pin, in order to open one first on-off element be connected between one first bus data transfer pin of this General serial bus socket and one first chip data transmission pin of this functional chip, to make conducting between this first bus data transfer pin and this first chip data transmission pin; And
B () makes the transmission after sequentially via this first bus data transfer pin and this first chip data transmission pin of this firmware data enter this functional chip.
The firmware loading method of 13. electronic installations as claimed in claim 12, wherein when this identification pin of this General serial bus socket is provided this high level voltage, the second switch element be connected between one second bus data transfer pin of this General serial bus socket and one second chip data transmission pin of this functional chip is triggered unlatching, to make conducting between this second bus data transfer pin and this second chip data transmission pin.
The firmware loading method of 14. electronic installations as claimed in claim 13, wherein this firmware data comes from another electronic installation, and also comprises between this step (a) and this step (b):
The transmission after sequentially via this first bus data transfer pin and this first chip data transmission pin of an inquiry message of this another electronic installation is made to enter this functional chip; Wherein, when making this return information sequentially transfer to this another electronic installation via this second chip data transmission pin and this second bus data transfer pin when the return information that this functional chip exports after receiving this inquiry message, perform step (b).
The firmware loading method of 15. electronic installations as claimed in claim 14, wherein this another electronic installation is a computer apparatus or an external jig plate.
The firmware loading method of 16. electronic installations as claimed in claim 13, wherein this first on-off element and this second switch element are all made up of at least one transistor.
The firmware loading method of 17. electronic installations as claimed in claim 13, wherein this first chip data transmission pin and this second chip data transmission pin belong to an inter-integrated circuit interface or belong to a universal asynchronous transmitting-receiving transmission interface.
The firmware loading method of 18. electronic installations as claimed in claim 13, wherein this General serial bus socket is a micro USB socket, and this identification pin, this first bus data transfer pin and this second bus data transfer pin are respectively ID pin, D-pin and D+ pin.
The firmware loading method of 19. electronic installations as claimed in claim 12, wherein when the voltage of this identification pin is a low level voltage, this first bus data transfer pin is a floating or is a ground state.
CN201310694825.3A 2013-12-16 2013-12-16 Electronic device for loading firmware through general sequence bus socket and firmware loading method thereof Pending CN104714915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310694825.3A CN104714915A (en) 2013-12-16 2013-12-16 Electronic device for loading firmware through general sequence bus socket and firmware loading method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310694825.3A CN104714915A (en) 2013-12-16 2013-12-16 Electronic device for loading firmware through general sequence bus socket and firmware loading method thereof

Publications (1)

Publication Number Publication Date
CN104714915A true CN104714915A (en) 2015-06-17

Family

ID=53414264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310694825.3A Pending CN104714915A (en) 2013-12-16 2013-12-16 Electronic device for loading firmware through general sequence bus socket and firmware loading method thereof

Country Status (1)

Country Link
CN (1) CN104714915A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293845A (en) * 2016-08-15 2017-01-04 中科创达软件科技(深圳)有限公司 A kind of terminal enters control method and the device of brush machine pattern
CN112310754A (en) * 2019-07-26 2021-02-02 致伸科技股份有限公司 Universal serial bus interface conversion device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1823319A (en) * 2003-08-28 2006-08-23 富士通株式会社 Host apparatus, device, and communication system control method
US20060223486A1 (en) * 2005-04-04 2006-10-05 Freescale Semiconductor, Inc. Method and apparatus for powering and loading software into a battery-less electronic device
CN101937414A (en) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN102143266A (en) * 2011-02-18 2011-08-03 深圳桑菲消费通信有限公司 Method for extending universal serial bus (USB) interface of mobile terminal into serial communication interface
CN102739836A (en) * 2011-04-01 2012-10-17 希姆通信息技术(上海)有限公司 USB-UART (universal asynchronous receiver/transmitter) downloading adapter
CN103019991A (en) * 2012-12-03 2013-04-03 深圳市文鼎创数据科技有限公司 Interface system, switching method, USB key and UART terminal
CN103207850A (en) * 2013-03-14 2013-07-17 昆山五昌新精密电子工业有限公司 External device and transmission system and transmission method of different type device
US20130185462A1 (en) * 2012-01-16 2013-07-18 Renesas Electronics Corporation Usb 3.0 device and control method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1823319A (en) * 2003-08-28 2006-08-23 富士通株式会社 Host apparatus, device, and communication system control method
US20060223486A1 (en) * 2005-04-04 2006-10-05 Freescale Semiconductor, Inc. Method and apparatus for powering and loading software into a battery-less electronic device
CN101937414A (en) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN102143266A (en) * 2011-02-18 2011-08-03 深圳桑菲消费通信有限公司 Method for extending universal serial bus (USB) interface of mobile terminal into serial communication interface
CN102739836A (en) * 2011-04-01 2012-10-17 希姆通信息技术(上海)有限公司 USB-UART (universal asynchronous receiver/transmitter) downloading adapter
US20130185462A1 (en) * 2012-01-16 2013-07-18 Renesas Electronics Corporation Usb 3.0 device and control method thereof
CN103019991A (en) * 2012-12-03 2013-04-03 深圳市文鼎创数据科技有限公司 Interface system, switching method, USB key and UART terminal
CN103207850A (en) * 2013-03-14 2013-07-17 昆山五昌新精密电子工业有限公司 External device and transmission system and transmission method of different type device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293845A (en) * 2016-08-15 2017-01-04 中科创达软件科技(深圳)有限公司 A kind of terminal enters control method and the device of brush machine pattern
CN112310754A (en) * 2019-07-26 2021-02-02 致伸科技股份有限公司 Universal serial bus interface conversion device
CN112310754B (en) * 2019-07-26 2022-06-03 致伸科技股份有限公司 Universal serial bus interface conversion device

Similar Documents

Publication Publication Date Title
CN105226742B (en) Wireless charging device, system and method
CN102055223B (en) USB special charger recognition circuit
CN204243832U (en) A kind of charging and output compatible multiplex roles charging circuit
KR101504104B1 (en) System and method for providing power through a reverse local data transfer connection
CN110829523B (en) Electronic equipment and reverse charging method
WO2013168289A1 (en) Electronic device and control method therefor
CN101355259A (en) Portable communication device and method for charging through discernment of charging cable
CN105630726A (en) Two-channel mobile terminal for reusing USB (Universal Serial Bus) port
CN110100366A (en) Mobile terminal, peripheral equipment and its charging method
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN107643998B (en) System for realizing OTG and charging dual functions based on intelligent module
CN102255346A (en) Portable electronic device
CN106571657A (en) Terminal, converter and connection conversion system and method
US20150169491A1 (en) Electronic device using usb socket to load firmware and firmware loading method thereof
CN104362687A (en) Bidirectional power balance method and device based on USB-OTG
CN106786960A (en) Charge control method, device and terminal
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
CN106340780A (en) Terminal device and control method thereof
CN107658920A (en) OTG and the difunctional system that charges are realized based on external charging
US8266348B2 (en) System and method of communicating with portable devices
CN104915310A (en) Electronic system
CN103116512A (en) Method for upgrading firmware of CPLD (complex programmable logic device)
CN104714915A (en) Electronic device for loading firmware through general sequence bus socket and firmware loading method thereof
CN108268411A (en) The method and mobile terminal of a kind of data transmission
CN106502558A (en) Terminal device and its method of operating and operation device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150617