CN103219042A - Circuit capable of realizing program burning through USB interface and memory circuit - Google Patents

Circuit capable of realizing program burning through USB interface and memory circuit Download PDF

Info

Publication number
CN103219042A
CN103219042A CN2013101419427A CN201310141942A CN103219042A CN 103219042 A CN103219042 A CN 103219042A CN 2013101419427 A CN2013101419427 A CN 2013101419427A CN 201310141942 A CN201310141942 A CN 201310141942A CN 103219042 A CN103219042 A CN 103219042A
Authority
CN
China
Prior art keywords
usb interface
circuit
burning
burning program
resistance
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.)
Granted
Application number
CN2013101419427A
Other languages
Chinese (zh)
Other versions
CN103219042B (en
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201310141942.7A priority Critical patent/CN103219042B/en
Publication of CN103219042A publication Critical patent/CN103219042A/en
Application granted granted Critical
Publication of CN103219042B publication Critical patent/CN103219042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses a circuit capable of realizing program burning through a USB interface. The circuit comprises the USB interface, a diode D1, a switch tube Q1, a first resistor R1, a second resistor R2, a third resistor R3, a power input end and a burning signal output end, wherein the burning signal output end is connected to a program burning control signal end of a memory chip. The invention further discloses a memory chip comprising a memory chip body and the circuit capable of realizing the program burning through the USB interface; the burning signal output end of the circuit capable of realizing the program burning through the USB interface is connected with the program burning control signal end of the memory chip. A hardware circuit composed of the switch tube and the diode is used for controlling the state of the program burning control signal end of the memory chip so that an external device is capable of using the normal UBS interface, the empty chip software upgrade is performed on the memory chip, the product cost is lowered, and the operation is convenient.

Description

Realize the circuit and the memory circuitry of burning program by USB interface
Technical field
The present invention relates to the electronic circuit technology field, relate in particular to a kind of circuit and memory circuitry of realizing burning program by USB interface.
Background technology
Along with the fast development of infotech, electronic product becomes increasingly complex, and is more and more higher to the requirement of hardware.At present, electronic product generally uses up to a hundred million internal memory, even bigger NAND FLASH stores data, to satisfy user's demand.
NAND FLASH is a kind of of flash internal memory, and it is inner to adopt non-linear macroelement pattern, for the realization of solid-state large-capacity internal memory provides cheap effective solution.But NAND FLASH is installed on the pcb board after can not directly finishing burning program by cd-rom recorder again.In plant produced, generally all be after being assembled to NAND FLASH chip on the pcb board, again by the Micro USB interface being installed in the periphery of NAND FLASH chip and cooperating the abbreviation of special-purpose OTG(On-The-Go) line, make the USB_ID pin shorted to earth of NAND FLASH chip realize program upgrade.
As shown in Figure 1, the Micro USB interface has more an ID pin than common USB interface, and this ID pin is connected to the USB_ID pin of NAND FLASH chip.When the USB_ID pin was low level ' 0 ', NAND FLASH chip was from being defaulted as main equipment, and this main equipment is reading of data from external slave unit.When the USB_ID pin was suspended state, NAND FLASH chip was from being defaulted as slave unit, and external main equipment can write data to this slave unit.
As shown in Figure 2, the interface of OTG wire rod is more special, and it comprises A end interface and B end interface, and the ID pin of A end interface is that short circuit connects GND, and the ID pin of B end interface is unsettled.The Micro USB interface that equipment 1 and equipment 2 all dispose, after equipment 1 and equipment 2 coupled together by the OTG line, the ID pin of the equipment 2 that the A end interface connects was dragged down, and is in low level ' 0 '.The ID pin of the equipment 1 that the B end interface connects is unsettled, is in high level ' 1 '.Be defaulted as main equipment so be connected to the equipment 2 of A end interface, and the equipment 1 of connection B end interface is defaulted as slave unit.
When the OTG line of external equipment (as computer) by special use is connected on the Micro USB interface of NAND FLASH chip, because the ID pin of this OTG line links together with the short circuit of GND pin, therefore the 4th pin (ID pin) of Micro USB interface is connected with the 5th pin (GND pin), the signal of the USB_ID pin of NAND FLASH chip is a low level ' 0 ' at this moment, NAND FLASH chip is from being defaulted as main equipment, can be from external equipment (as computer) read-write program, thereby finish burning program.
Yet, the above-mentioned OTG line that passes through Micro USB interface and special use is to the method for NAND FLASH burning program, the user can not directly use the common USB interface that NAND FLASH is carried out software upgrading, needs to buy in addition special-purpose Micro USB adapter, has increased user's use cost.And NAND FLASH chip can not be used as slave unit and come burning program, is not easy to the user NAND FLASH is carried out program upgrade.
Summary of the invention
The embodiment of the invention proposes a kind of circuit and memory circuitry by USB interface realization burning program, and is easy to operate, and can reduce cost.
The embodiment of the invention provides a kind of circuit by USB interface realization burning program, comprises USB interface, diode D1, switching tube Q1, first resistance R 1, second resistance R 2, the 3rd resistance R 3, power input and burning signal output part;
One end of described first resistance R 1 is connected with described power input, the other end ground connection of described first resistance R 1; One end of described the 3rd resistance R 3 is connected with described burning signal output part, the other end ground connection of described the 3rd resistance R 3;
First end of described switching tube Q1 and the supply pin of described USB interface are connected; Second end of described switching tube Q1 is connected with an end of described second resistance R 2, and the other end of described second resistance R 2 is connected with described burning signal output part; The control end of described switching tube Q1 is connected with described power input;
The positive pole of described diode D1 is connected with described power input, and the negative pole of described diode D1 is connected with the power end of described USB interface.
Further, described circuit also comprises power management chip; Described power management chip comprises power output end, and described power output end is connected with described power input; Described power management chip is used to control described power output end output voltage or output voltage not.
The embodiment of the invention also provides a kind of memory circuitry, comprises memory chip, and the above-mentioned circuit that passes through USB interface realization burning program; The burning signal output part of the described circuit of realizing burning program by USB interface and the burning program control signal end of described memory chip are connected.
The circuit and the memory circuitry that pass through USB interface realization burning program that the embodiment of the invention provides, main by a switching tube and the hardware circuit that diode is built, come the state of the burning program control signal end of control store chip, make external equipment (for example computer) can use the common USB interface, realization is carried out the software upgrading of sky sheet to memory chip, and do not need to use special-purpose USB cable or adapter, not only reduced cost of products, also strengthened the versatility between the distinct device, made the exchanges data between the equipment convenient.In addition, memory chip can be worked as slave unit, also can work as main equipment, is convenient to carry out between external equipment and the memory chip information interaction.
Description of drawings
Fig. 1 is the structural representation of the Micro USB interface of prior art;
Fig. 2 is two structural representations that equipment connects by the OTG line in the prior art;
Fig. 3 is a structural representation of realizing the circuit of burning program by USB interface provided by the invention;
Fig. 4 is the structural representation by the power management chip in the circuit of USB interface realization burning program provided by the invention;
Fig. 5 is the synoptic diagram of an application scenarios of the circuit of realizing burning program by USB interface provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Referring to Fig. 3, be the structural representation of realizing the circuit of burning program by USB interface provided by the invention.
The embodiment of the invention provides a kind of circuit by USB interface realization burning program, comprises USB interface, diode D1, switching tube Q1, first resistance R 1, second resistance R 2, the 3rd resistance R 3, power input (USB_5V as shown in Figure 3) and burning signal output part (Ctrl as shown in Figure 3).Specific as follows:
One end of first resistance R 1 is connected with power input, the other end ground connection of first resistance R 1; One end of the 3rd resistance R 3 is connected with the burning signal output part, the other end ground connection of the 3rd resistance R 3.
(the 1st pin POWER) connects the supply pin of first end of switching tube Q1 and USB interface (stand CN1 as shown in Figure 3); Second end of switching tube Q1 is connected with an end of second resistance R 2, and the other end of second resistance R 2 is connected with the burning signal output part; The control end of switching tube Q1 is connected with power input.
The positive pole of diode D1 is connected with power input, and the negative pole of diode D1 is connected with the power end of USB interface.
In an optional embodiment, the above-mentioned circuit that passes through USB interface realization burning program also comprises first capacitor C 1; One end of described first capacitor C 1 and the supply pin of described USB interface are connected, the other end ground connection of described first capacitor C 1.
In another optional embodiment, the above-mentioned circuit that passes through USB interface realization burning program also comprises second capacitor C 2; One end ground connection of described second capacitor C 2, second end of the other end of described second capacitor C 2 and described switching tube Q1 is connected.
Preferably, above-mentioned switching tube Q1 is that (full name is the PMOS pipe: positive channel Metal Oxide Semiconductor); First end of switching tube Q1 is the source S of PMOS pipe, and second end of switching tube Q1 is the drain D of PMOS pipe, and the control end of switching tube Q1 is the grid G of PMOS pipe.
Need to prove that when concrete the application, above-mentioned switching tube Q1 can also adopt the metal-oxide-semiconductor or the triode of other types.
The circuit that passes through USB interface realization burning program that the foregoing description provides can further include power management chip.
Referring to Fig. 4, be the structural representation by the power management chip in the circuit of USB interface realization burning program provided by the invention.Described power management chip comprises power output end, and described power output end is connected with above-mentioned power input.Be terminal USB_5V shown in Figure 4, be connected with terminal USB_5V shown in Figure 3.Described power management chip is used to control described power output end output voltage or output voltage not.
The circuit that passes through USB interface realization burning program that the embodiment of the invention provides can perhaps as the peripheral circuit of memory chip, be used to realize the burning program of memory chip as an individual devices.During concrete enforcement, describedly realize that by USB interface the burning signal output part Ctrl of the circuit of burning program is connected to the burning program control signal end USB_ID of memory chip.
When needs carried out burning program to memory chip, power management chip control power output end is output voltage not; When memory chip is finished burning program, power management chip control power output end output voltage (for example 5V voltage).
Above-mentioned memory chip can be a NAND FLASH chip, or the chip of other types.
Referring to Fig. 5, be the synoptic diagram of an application scenarios of the circuit of realizing burning program by USB interface provided by the invention.Present embodiment is an example with NAND FLASH chip only, and the principle of work that USB interface realizes the circuit of burning program of passing through that the embodiment of the invention is provided is elaborated.
The circuit that passes through USB interface realization burning program that the embodiment of the invention provides is reduced to circuit 502 as shown in Figure 5.External equipment 501(such as computer) be connected on the USB interface of circuit 502 by the USB cable, the burning signal output part of circuit 502 is connected to the burning program control signal end USB_ID of NAND FLASH chip 503.
After system powered on, power management chip control power output end is output voltage not, and this moment, PMOS pipe Q1 was in conducting state, and the 5V voltage that provides from the USB port of external equipment 501 has been provided terminal VBUS.When terminal VBUS has had 5V voltage, carry out dividing potential drop by second resistance R 2 and the 3rd resistance R 3 after, 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 slave unit (Device), and external equipment 501 is main equipment (Host).External equipment 501 can burning program in NAND FLASH chip 503, thereby finish program upgrade to NAND FLASH chip 503.
After NAND FLASH chip is finished program upgrade, power management chip control power output end output 5V voltage, this moment, PMOS pipe Q1 was in cut-off state, and the voltage of terminal VBUS is 0V.The USB_ID signal pins of NAND FLASH chip 503 is drop-down by the 3rd resistance R 3, and this USB_ID signal pins is in low level ' 0 ' state.NAND FLASH chip 503 is from being defaulted as main equipment (Host), and external equipment 501 is slave unit (Device).NAND FLASH chip 503 can carry out reading and writing data to external equipment 501.
 
The embodiment of the invention also provides a kind of memory circuitry, comprises memory chip, and the foregoing description provide pass through the circuit that USB interface realizes burning program.The burning signal output part of the above-mentioned circuit that passes through USB interface realization burning program and the burning program control signal end of described memory chip are connected.
In one embodiment, described memory chip is a NAND FLASH chip.
When needs carried out burning program to described memory chip, described power management chip was controlled not output voltage of described power output end; When described memory chip was finished burning program, described power management chip was controlled described power output end output voltage.
The circuit and the memory circuitry that pass through USB interface realization burning program that the embodiment of the invention provides, main by a switching tube and the hardware circuit that diode is built, come the state of the burning program control signal end of control store chip, make external equipment (for example computer) can use the common USB interface, realization is carried out the software upgrading of sky sheet to memory chip, and do not need to use special-purpose USB cable or adapter, not only reduced cost of products, also strengthened the versatility between the distinct device, made the exchanges data between the equipment convenient.In addition, memory chip can be worked as slave unit, also can work as main equipment, is convenient to carry out between external equipment and the memory chip information interaction.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.

Claims (8)

1. the circuit by USB interface realization burning program is characterized in that, comprises USB interface, diode D1, switching tube Q1, first resistance R 1, second resistance R 2, the 3rd resistance R 3, power input and burning signal output part;
One end of described first resistance R 1 is connected with described power input, the other end ground connection of described first resistance R 1; One end of described the 3rd resistance R 3 is connected with described burning signal output part, the other end ground connection of described the 3rd resistance R 3;
First end of described switching tube Q1 and the supply pin of described USB interface are connected; Second end of described switching tube Q1 is connected with an end of described second resistance R 2, and the other end of described second resistance R 2 is connected with described burning signal output part; The control end of described switching tube Q1 is connected with described power input;
The positive pole of described diode D1 is connected with described power input, and the negative pole of described diode D1 is connected with the power end of described USB interface.
2. the circuit by USB interface realization burning program as claimed in claim 1 is characterized in that described circuit also comprises first capacitor C 1;
One end of described first capacitor C 1 and the supply pin of described USB interface are connected, the other end ground connection of described first capacitor C 1.
3. the circuit by USB interface realization burning program as claimed in claim 1 is characterized in that described circuit also comprises second capacitor C 2;
One end ground connection of described second capacitor C 2, second end of the other end of described second capacitor C 2 and described switching tube Q1 is connected.
4. as each described circuit of claim 1 to 3, it is characterized in that described switching tube Q1 is the PMOS pipe by USB interface realization burning program; First end of described switching tube Q1 is the source electrode of PMOS pipe, and second end of described switching tube Q1 is the drain electrode of PMOS pipe, and the control end of described switching tube Q1 is the grid of PMOS pipe.
5. the circuit by USB interface realization burning program as claimed in claim 4 is characterized in that described circuit also comprises power management chip; Described power management chip comprises power output end, and described power output end is connected with described power input; Described power management chip is used to control described power output end output voltage or output voltage not.
6. a memory circuitry is characterized in that, comprises memory chip, and as each described circuit of realizing burning program by USB interface of claim 1~5;
The burning signal output part of the described circuit of realizing burning program by USB interface and the burning program control signal end of described memory chip are connected.
7. the circuit by USB interface realization burning program as claimed in claim 6 is characterized in that described memory chip is a NAND FLASH chip.
8. as claim 6 or 7 described circuit, it is characterized in that when needs carried out burning program to described memory chip, described power management chip was controlled not output voltage of described power output end by USB interface realization burning program;
When described memory chip was finished burning program, described power management chip was controlled described power output end output voltage.
CN201310141942.7A 2013-04-23 2013-04-23 Circuit and the memory circuitry of burning program is realized by USB interface Active CN103219042B (en)

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 true CN103219042A (en) 2013-07-24
CN103219042B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813207A (en) * 2014-02-27 2014-05-21 联想(北京)有限公司 Information processing method, upgrade device and upgrade card
CN106201933A (en) * 2014-10-07 2016-12-07 新唐科技股份有限公司 Control device, controlled device and operation method
CN106354684A (en) * 2016-10-13 2017-01-25 福建星海通信科技有限公司 PX2 chip-based universal serial bus (USB) On-The-Go (OTG) function switching circuit
CN106849263A (en) * 2017-03-23 2017-06-13 深圳市乐迪高科技有限公司 A kind of power supply unit, electric power system, method of supplying power to
CN107145370A (en) * 2017-05-02 2017-09-08 贵州航天电子科技有限公司 A kind of FLASH memory online burning device

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813207A (en) * 2014-02-27 2014-05-21 联想(北京)有限公司 Information processing method, upgrade device and upgrade card
CN103813207B (en) * 2014-02-27 2017-01-04 联想(北京)有限公司 A kind of information processing method, update device and upgrade card
CN106201933A (en) * 2014-10-07 2016-12-07 新唐科技股份有限公司 Control device, controlled device and operation method
CN106201933B (en) * 2014-10-07 2019-03-22 新唐科技股份有限公司 control device, controlled device and operation method
CN106354684A (en) * 2016-10-13 2017-01-25 福建星海通信科技有限公司 PX2 chip-based universal serial bus (USB) On-The-Go (OTG) function switching circuit
CN106849263A (en) * 2017-03-23 2017-06-13 深圳市乐迪高科技有限公司 A kind of power supply unit, electric power system, method of supplying power to
CN106849263B (en) * 2017-03-23 2023-06-09 深圳市乐迪高科技有限公司 Power supply equipment, power supply system and power supply method
CN107145370A (en) * 2017-05-02 2017-09-08 贵州航天电子科技有限公司 A kind of FLASH memory online burning device

Also Published As

Publication number Publication date
CN103219042B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN106571657B (en) Terminal, converter, and connection conversion system and method
CN102064582B (en) Terminal capable of supplying power for outside
CN111090605B (en) USB-to-UART circuit for MCU software upgrade
CN103219042A (en) Circuit capable of realizing program burning through USB interface and memory circuit
CN102750252A (en) Circuit capable of reusing universal serial bus (USB)/ universal asynchronous receiver/ transmitter (UART) interfaces and electronic device using same
CN104239240A (en) Electronic device with universal serial bus (USB) interface with integration function
CN102662898A (en) Host-slave compatibility method, device and system for USB (universal serial bus) device
CN103561369A (en) Usb interface circuit and electronic equipment
CN104200843A (en) Flash memory burner, burning system and burning method
WO2017063459A1 (en) Usb control apparatus and device
US20130162298A1 (en) Identifying circuit
US9207697B2 (en) Control chip and connection module utilizing the same
CN101957802A (en) USB device with driving program
CN108170623A (en) A kind of USB switching circuits and switching system
CN103092300A (en) Internal storage power supply control circuit
CN204116550U (en) A kind of PMU proving installation
CN102567270A (en) USB (universal serial bus)-to-I2C (inter-integrated circuit) adapter
CN104111851B (en) Embedded system switches starter
CN204256730U (en) There is the FPGA configuration circuit of power-down protection
CN103500585A (en) Control circuit for controlling single programmable memory and control method of control circuit
CN204480237U (en) A kind of connector, universal serial bus device and intelligent terminal
KR100660606B1 (en) USB Memory Device Combined with Charging and Data Link
CN206224462U (en) USB OTG function switching circuits based on PX2 chips
CN206460453U (en) The evidence obtaining read-only interface circuit of all-in-one and evidence obtaining machine
CN204558021U (en) Bluetooth technology is adopted to connect the USB flash disk of computing machine

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