CN103219042B - Circuit and the memory circuitry of burning program is realized by USB interface - Google Patents
Circuit and the memory circuitry of burning program is realized by USB interface Download PDFInfo
- Publication number
- CN103219042B CN103219042B CN201310141942.7A CN201310141942A CN103219042B CN 103219042 B CN103219042 B CN 103219042B CN 201310141942 A CN201310141942 A CN 201310141942A CN 103219042 B CN103219042 B CN 103219042B
- Authority
- CN
- China
- Prior art keywords
- usb interface
- burning program
- circuit
- resistance
- switching tube
- 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.)
- Active
Links
Landscapes
- Power Sources (AREA)
Abstract
The invention discloses a kind of circuit being realized burning program by USB interface, including USB interface, diode D1, switching tube Q1, the first resistance R1, the second resistance R2, the 3rd resistance R3, power input and programming signal outfan, described programming signal outfan is for being connected to the burning program control signal end of memory chip.Invention additionally discloses a kind of memory chip, including memory chip and the above-mentioned circuit being realized burning program by USB interface;The programming signal outfan of the described circuit being realized burning program by USB interface and the burning program control signal end of described memory chip are connected.The hardware circuit that the present invention is mainly built by a switching tube and a diode, control the state of the burning program control signal end of memory chip, make external equipment can use common USB interface, memory chip is carried out sky sheet software upgrading, reduce product cost, and easy to operate.
Description
Technical field
The present invention relates to electronic circuit technology field, particularly relate to one and realize burning program by USB interface
Circuit and memory circuitry.
Background technology
Along with the fast development of information technology, electronic product becomes increasingly complex, and the requirement to hardware is more and more higher.
At present, electronic product generally uses the internal memory of up to a hundred million, and the biggest NAND FLASH stores data,
To meet the demand of user.
NAND FLASH is the one of flash internal memory, and its non-linear macroelement pattern of internal employing, is solid
The realization of state Large Copacity internal memory provides cheap effective solution.But, NAND FLASH is can not
It is installed to again on pcb board after directly completing burning program by cd-rom recorder.In plant produced, typically
Be all NAND FLASH chip is assembled on pcb board after, then by NAND FLASH chip
Peripheral Micro USB interface be installed and coordinate special OTG (abbreviation of On-The-Go) line, make NAND
The USB_ID foot shorted to earth of FLASH chip realizes program upgrading.
As it is shown in figure 1, Micro USB interface has more an ID foot than common USB interface, this ID foot
It is connected to the USB_ID foot of NAND FLASH chip.When USB_ID foot is low level ' 0 ', NAND
FLASH chip is from being defaulted as main equipment, and this main equipment reads data from external from equipment.Work as USB_ID
When foot is suspended state, NAND FLASH chip is from being defaulted as from equipment, and external main equipment can write number
According to being somebody's turn to do from equipment.
As in figure 2 it is shown, the interface of OTG wire rod is more special, it includes A end interface and B end interface, A
The ID foot of end interface is that short circuit connects GND, and the ID foot of B end interface is unsettled.Equipment 1 He
The Micro USB interface that equipment 2 is each equipped with, after equipment 1 and equipment 2 are coupled together by OTG line,
The ID foot of the equipment 2 that A end interface connects is pulled low, and is in low level ' 0 '.The equipment that B end interface connects
The ID foot of 1 is unsettled, is in high level ' 1 '.So the equipment 2 being connected to A end interface is defaulted as main
Equipment, and the equipment 1 connecting B end interface is defaulted as from equipment.
When external equipment (such as computer) is connected to NAND FLASH chip by special OTG line
In Micro USB interface, owing to the ID foot of this OTG line links together with GND foot short circuit, because of
4th foot (ID foot) of this Micro USB interface is connected with the 5th foot (GND foot), now NAND FLASH
The signal of the USB_ID foot of chip is low level ' 0 ', and NAND FLASH chip is defaulted as main equipment certainly,
Can from external equipment (such as computer) read-write program, thus complete burning program.
But, above-mentioned by Micro USB interface and special OTG line to NAND FLASH burning
The method of program, user can not directly use common USB interface that NAND FLASH is carried out software liter
Level, needs additionally to buy special Micro USB adaptor, adds the use cost of user.And,
NAND FLASH chip can not carry out burning program as from equipment, is not easy to user to NAND FLASH
Carry out program upgrading.
Summary of the invention
The embodiment of the present invention proposes a kind of circuit and memory circuitry being realized burning program by USB interface,
Easy to operate, and cost can be reduced.
The embodiment of the present invention provide a kind of circuit being realized burning program by USB interface, including USB interface,
Diode D1, switching tube Q1, the first resistance R1, the second resistance R2, the 3rd resistance R3, power supply input
End, power management chip and programming signal outfan;Described power management chip includes power output end;
One end of described first resistance R1 and described power input connect, another of described first resistance R1
End ground connection;One end of described 3rd resistance R3 and described programming signal outfan connect, described 3rd resistance
The other end ground connection of R3;
First end of described switching tube Q1 and the supply pin of described USB interface connect;Described switching tube Q1
The second end and described second resistance R2 one end connect, the other end of described second resistance R2 and described burning
Record signal output part connects;The control end of described switching tube Q1 and described power input connect;
The positive pole of described diode D1 and described power input connect, the negative pole of described diode D1 and institute
The power end stating USB interface connects;
Described power output end and described power input connect;Described power management chip is used for controlling described
Power output end output voltage or not output voltage.
The embodiment of the present invention also provides for a kind of memory circuitry, including memory chip, and above-mentioned passing through
USB interface realizes the circuit of burning program;The burning of the described circuit being realized burning program by USB interface
The burning program control signal end of record signal output part and described memory chip connects.
The circuit and the memory circuitry that are realized burning program by USB interface that the embodiment of the present invention provides, main
The hardware circuit to be built by a switching tube and a diode, the program controlling memory chip is burnt
The state of record control signal end so that external equipment (such as computer) can use common USB interface,
Realize memory chip is carried out sky sheet software upgrading, without using special USB cable or adaptor,
Not only reduce product cost, also enhance the versatility between distinct device, make the data between equipment hand over
Change convenient.Additionally, memory chip can be worked as from equipment, it is also possible to work as main equipment, it is simple to external set
Information is carried out mutual between standby and memory chip.
Accompanying drawing explanation
Fig. 1 is the structural representation of the Micro USB interface of prior art;
Fig. 2 is the structural representation that in prior art, two equipment is connected by OTG line;
Fig. 3 is the structural representation of the circuit being realized burning program by USB interface that the present invention provides;
Fig. 4 is the power management chip in the circuit being realized burning program by USB interface that the present invention provides
Structural representation;
Fig. 5 is an application scenarios of the circuit being realized burning program by USB interface that the present invention provides
Schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
See Fig. 3, be the structural representation of the circuit being realized burning program by USB interface that the present invention provides
Figure.
The embodiment of the present invention provide a kind of circuit being realized burning program by USB interface, including USB interface,
Diode D1, switching tube Q1, the first resistance R1, the second resistance R2, the 3rd resistance R3, power supply input
End (USB_5V as shown in Figure 3) and programming signal outfan (Ctrl as shown in Figure 3).The most such as
Under:
One end of first resistance R1 and power input connect, the other end ground connection of the first resistance R1;3rd
One end of resistance R3 and programming signal outfan connect, the other end ground connection of the 3rd resistance R3.
The supply pin (of first end of switching tube Q1 and USB interface (stand CN1 as shown in Figure 3)
1 foot, POWER) connect;Second end of switching tube Q1 and one end of the second resistance R2 connect, the second electricity
The other end and the programming signal outfan of resistance R2 connect;The control end of switching tube Q1 and power input connect.
The positive pole of diode D1 and power input connect, the negative pole of diode D1 and the power supply of USB interface
End connects.
In an optional embodiment, above-mentioned realize the circuit of burning program by USB interface and also wrap
Include the first electric capacity C1;One end of described first electric capacity C1 and the supply pin of described USB interface connect, described
The other end ground connection of the first electric capacity C1.
In another optional embodiment, above-mentioned realizes the circuit of burning program also by USB interface
Including the second electric capacity C2;One end ground connection of described second electric capacity C2, the other end of described second electric capacity C2 and
Second end of described switching tube Q1 connects.
Preferably, above-mentioned switching tube Q1 is that (full name is PMOS: positive channel Metal Oxide
Semiconductor);The source S that first end is PMOS of switching tube Q1, the second of switching tube Q1
End is the drain D of PMOS, and the end that controls of switching tube Q1 is the grid G of PMOS.
It should be noted that when specifically applying, above-mentioned switching tube Q1 can also use other kinds of
Metal-oxide-semiconductor or audion.
The circuit being realized burning program by USB interface that above-described embodiment provides, it is also possible to farther include
Power management chip.
See Fig. 4, be the power supply pipe in the circuit being realized burning program by USB interface that provides of the present invention
The structural representation of reason chip.Described power management chip includes power output end, described power output end and
Above-mentioned power input connects.I.e. terminal USB_5V shown in Fig. 4, with the terminal USB_5V shown in Fig. 3
Connect.Described power management chip is used for controlling described power output end output voltage or not output voltage.
What the embodiment of the present invention provided realize the circuit of burning program by USB interface can be as an independence
Device, or the peripheral circuit as memory chip, for realizing the burning program of memory chip.Tool
When body is implemented, the programming signal outfan Ctrl company of the described circuit being realized burning program by USB interface
Receive the burning program control signal end USB_ID of memory chip.
When needs carry out burning program to memory chip, it is the most defeated that power management chip controls power output end
Go out voltage;When memory chip completes burning program, power management chip controls power output end output electricity
Pressure (such as 5V voltage).
Above-mentioned memory chip can be NAND FLASH chip, or other kinds of chip.
See Fig. 5, be an application of the circuit being realized burning program by USB interface that the present invention provides
The schematic diagram of scene.The embodiment of the present invention, only as a example by NAND FLASH chip, is provided by the present embodiment
The operation principle of the circuit realizing burning program by USB interface is described in detail.
The circuit being realized burning program by USB interface that the embodiment of the present invention provides, is reduced to such as Fig. 5 institute
The circuit 502 shown.External equipment 501 (such as computer) is connected to the USB of circuit 502 by USB cable
On interface, the programming signal outfan of circuit 502 is connected to the burning program of NAND FLASH chip 503
Control signal end USB_ID.
When, after system electrification, power management chip controls power output end not output voltage, now PMOS
Q1 is in the conduction state, and terminal VBUS obtains what the USB port offer from external equipment 501 came
5V voltage.When terminal VBUS has had 5V voltage, carried out by the second resistance R2 and the 3rd resistance R3
After dividing potential drop, the USB_ID signal pins of NAND FLASH chip 503 is in the state of high level ' 1 '.
NAND FLASH chip 503 is from being defaulted as from equipment (Device), and external equipment 501 is main equipment
(Host).External equipment 501 with in burning program to NAND FLASH chip 503, thus can complete
The program of NAND FLASH chip 503 is upgraded.
After NAND FLASH chip completes program upgrading, power management chip controls power output end output
5V voltage, now PMOS Q1 is in cut-off state, and the voltage of terminal VBUS is 0V.NAND
The USB_ID signal pins of FLASH chip 503 is drop-down by the 3rd resistance R3, this USB_ID signal pins
It is in low level ' 0 ' state.NAND FLASH chip 503 is from being defaulted as main equipment (Host), external
Equipment 501 is from equipment (Device).External equipment 501 can be carried out by NAND FLASH chip 503
Reading and writing data.
The embodiment of the present invention also provides for a kind of memory circuitry, including memory chip, and above-described embodiment
The circuit being realized burning program by USB interface provided.Above-mentioned realizes burning program by USB interface
The programming signal outfan of circuit and the burning program control signal end of described memory chip connect.
In one embodiment, described memory chip is NAND FLASH chip.
When needs carry out burning program to described memory chip, described power management chip controls described electricity
Source output terminal not output voltage;When described memory chip completes burning program, described power management chip
Control described power output end output voltage.
The circuit and the memory circuitry that are realized burning program by USB interface that the embodiment of the present invention provides, main
The hardware circuit to be built by a switching tube and a diode, the program controlling memory chip is burnt
The state of record control signal end so that external equipment (such as computer) can use common USB interface,
Realize memory chip is carried out sky sheet software upgrading, without using special USB cable or adaptor,
Not only reduce product cost, also enhance the versatility between distinct device, make the data between equipment hand over
Change convenient.Additionally, memory chip can be worked as from equipment, it is also possible to work as main equipment, it is simple to external set
Information is carried out mutual between standby and memory chip.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, this
A little improvements and modifications are also considered as protection scope of the present invention.
Claims (7)
1. the circuit being realized burning program by USB interface, it is characterised in that include USB interface,
Diode D1, switching tube Q1, the first resistance R1, the second resistance R2, the 3rd resistance R3, power supply input
End, power management chip and programming signal outfan;Described power management chip includes power output end;
One end of described first resistance R1 and described power input connect, another of described first resistance R1
End ground connection;One end of described 3rd resistance R3 and described programming signal outfan connect, described 3rd resistance
The other end ground connection of R3;
First end of described switching tube Q1 and the supply pin of described USB interface connect;Described switching tube Q1
The second end and described second resistance R2 one end connect, the other end of described second resistance R2 and described burning
Record signal output part connects;The control end of described switching tube Q1 and described power input connect;
The positive pole of described diode D1 and described power input connect, the negative pole of described diode D1 and institute
The power end stating USB interface connects;
Described power output end and described power input connect;Described power management chip is used for controlling described
Power output end output voltage or not output voltage.
2. the circuit being realized burning program by USB interface as claimed in claim 1, it is characterised in that
Described circuit also includes the first electric capacity C1;
One end of described first electric capacity C1 and the supply pin of described USB interface connect, described first electric capacity C1
Other end ground connection.
3. the circuit being realized burning program by USB interface as claimed in claim 1, it is characterised in that
Described circuit also includes the second electric capacity C2;
One end ground connection of described second electric capacity C2, the other end of described second electric capacity C2 and described switching tube Q1
Second end connect.
4. the circuit being realized burning program by USB interface as described in any one of claims 1 to 3,
It is characterized in that, described switching tube Q1 is PMOS;First end of described switching tube Q1 is PMOS
The source electrode of pipe, the drain electrode that the second end is PMOS of described switching tube Q1, the control of described switching tube Q1
End is the grid of PMOS.
5. a memory circuitry, it is characterised in that include memory chip, and such as Claims 1 to 4
The circuit being realized burning program by USB interface described in any one;
The programming signal outfan of the described circuit being realized burning program by USB interface and described memorizer
The burning program control signal end of chip connects.
6. memory circuitry as claimed in claim 5, it is characterised in that described memory chip is NAND
FLASH chip.
7. the memory circuitry as described in claim 5 or 6, it is characterised in that when needs are to described storage
When device chip carries out burning program, described power management chip controls described power output end not output voltage;
When described memory chip completes burning program, described power management chip controls the output of described power supply
End output voltage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310141942.7A CN103219042B (en) | 2013-04-23 | 2013-04-23 | Circuit and the memory circuitry of burning program is realized by USB interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310141942.7A CN103219042B (en) | 2013-04-23 | 2013-04-23 | Circuit and the memory circuitry of burning program is realized by USB interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103219042A CN103219042A (en) | 2013-07-24 |
CN103219042B true CN103219042B (en) | 2016-08-24 |
Family
ID=48816751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310141942.7A Active CN103219042B (en) | 2013-04-23 | 2013-04-23 | Circuit and the memory circuitry of burning program is realized by USB interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103219042B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103813207B (en) * | 2014-02-27 | 2017-01-04 | 联想(北京)有限公司 | A kind of information processing method, update device and upgrade card |
TWI547952B (en) * | 2014-10-07 | 2016-09-01 | 新唐科技股份有限公司 | Controlling device, controlled device, and operating method |
CN106354684A (en) * | 2016-10-13 | 2017-01-25 | 福建星海通信科技有限公司 | PX2 chip-based universal serial bus (USB) On-The-Go (OTG) function switching circuit |
CN106849263B (en) * | 2017-03-23 | 2023-06-09 | 深圳市乐迪高科技有限公司 | Power supply equipment, power supply system and power supply method |
CN107145370B (en) * | 2017-05-02 | 2020-12-04 | 贵州航天电子科技有限公司 | FLASH memory online burning device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316314A (en) * | 2007-05-29 | 2008-12-03 | 青岛海信电器股份有限公司 | Method and interface for upgrading flash through USB interface for digital LCD TV |
CN201336697Y (en) * | 2009-01-16 | 2009-10-28 | 青岛海信电器股份有限公司 | Software upgrading circuit based on USB interface and television set with same |
JP2010282574A (en) * | 2009-06-08 | 2010-12-16 | Funai Electric Co Ltd | Electronic apparatus |
CN102185972A (en) * | 2011-04-25 | 2011-09-14 | 惠州Tcl移动通信有限公司 | Novel mobile terminal software upgrading system and method as well as mobile terminal |
-
2013
- 2013-04-23 CN CN201310141942.7A patent/CN103219042B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316314A (en) * | 2007-05-29 | 2008-12-03 | 青岛海信电器股份有限公司 | Method and interface for upgrading flash through USB interface for digital LCD TV |
CN201336697Y (en) * | 2009-01-16 | 2009-10-28 | 青岛海信电器股份有限公司 | Software upgrading circuit based on USB interface and television set with same |
JP2010282574A (en) * | 2009-06-08 | 2010-12-16 | Funai Electric Co Ltd | Electronic apparatus |
CN102185972A (en) * | 2011-04-25 | 2011-09-14 | 惠州Tcl移动通信有限公司 | Novel mobile terminal software upgrading system and method as well as mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103219042A (en) | 2013-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102750252B (en) | USB/UART interface multiplexing circuit and use the electronic equipment of this circuit | |
CN103219042B (en) | Circuit and the memory circuitry of burning program is realized by USB interface | |
CN102064582B (en) | Terminal capable of supplying power for outside | |
CN104239240A (en) | Electronic device with universal serial bus (USB) interface with integration function | |
CN204030194U (en) | A kind of Multifunctional data line | |
CN203250312U (en) | Extensible common core processing daughter board with interferences | |
CN104678197A (en) | Test circuit | |
CN106569572B (en) | Mainboard and computerized control system with the mainboard | |
CN204885732U (en) | Take USB of external equipment protection circuit | |
CN203643893U (en) | Terminal equipment | |
CN103473208A (en) | Transmission system | |
CN202257555U (en) | USB (Universal Serial Bus) terminal | |
CN103092300A (en) | Internal storage power supply control circuit | |
CN105119118B (en) | A kind of USB charging wires | |
CN206042020U (en) | Debugger | |
CN204904834U (en) | MSATA changes type -C's switching device and circuit for solid state hard drives | |
CN104111851B (en) | Embedded system switches starter | |
CN207625305U (en) | A kind of charging of mobile devices device | |
CN203480844U (en) | Battery chip recording device | |
CN101566979B (en) | USB plug with privacy function | |
CN202143049U (en) | General purpose input output (GPIO) isolating circuit | |
CN206401560U (en) | A kind of miniature PCB USB connectors | |
CN104917512A (en) | Multifunctional USB interface circuit and conversion wire material | |
CN203673831U (en) | EEPROM on-line burning circuit and conditioner | |
CN204206154U (en) | The gate circuit conversion equipment of a kind of universal serial port and ISO7816 agreement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |