CN100505084C - Software updating method for electronic product with FLASH - Google Patents
Software updating method for electronic product with FLASH Download PDFInfo
- Publication number
- CN100505084C CN100505084C CNB2007100751180A CN200710075118A CN100505084C CN 100505084 C CN100505084 C CN 100505084C CN B2007100751180 A CNB2007100751180 A CN B2007100751180A CN 200710075118 A CN200710075118 A CN 200710075118A CN 100505084 C CN100505084 C CN 100505084C
- Authority
- CN
- China
- Prior art keywords
- flash
- write
- resistance
- pin
- electronic product
- 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
Images
Abstract
This invention discloses an electronic product with FLASH and its software upgrading method, in which, said electronic product includes a FLASH chip, a first resistor and a second resistor, and the write protection port of the FLASH chip is connected to the earth via the first resistor and connected with one end of the second resistor, when upgrading the chip, the other end of the second resistor is connected with a high voltage to offer the write protection port of the chip a high level by division of the two resistors.
Description
Technical field
The present invention relates to electronic applications, relate in particular in the electronic applications and be with the electronic product of FLASH to carry out write-protected technology some.
Background technology
Along with development of electronic technology, increasing electronic product has appearred, as digital camera, MP3, mobile USB flash disk, one of them the most major technology be to be applied to FLASH technology, i.e. flash memory technology.
In MP3 player, digital camera and other mobile entertainment electronic product, flash memory (Flash Memory) is a kind of technology as store digital music and photograph, and flash memory is a kind of nonvolatile semiconductor product, even power interruption also can storage data.
Because what the Write-protection method of the serial or parallel FLASH storer of existing electronic equipment generally adopted is I/O mouth control Write-protect notch, or with hardware approach fixedly Write-protect notch be a kind of state, these two kinds of methods all have its merits and demerits.
Wherein, adopt the method for software I/O mouth control Write-protect notch to be meant: Write-protect notch can be done the control of read-write FLASH mouth by software approach; advantage: can do this write-protected variation at any time; shortcoming is: because chip I/O mouth powers up work and cuts off the power supply moment at CPU; because software can't be controlled this I/O mouth at this two states; thereby make the Write-protect notch of FLASH be in indeterminate state in the work that powers up easily with the moment of cutting off the power supply, the program of FLASH the inside often has the possibility of losing.
The method of fixed in hardware I/O mouth is meant and is switch of I/O mouth specialized designs, though the fixing state of I/O mouth of this method, FLASH can obliterated data, and the I/O mouth can not random variation, and the software upgrading of product and debugging all can not change.
Therefore, if can design a kind of FLASH of having electronic product, the write-protect function of its FLASH can be done this write-protected variation at any time, and the program of FLASH the inside is lost, and will be good design.
Summary of the invention
In view of this, the present invention's purpose is to provide a kind of method for upgrading software of the FLASH of having electronic product, can be in keeping the electronic product operate as normal FLASH the situation of I/O level equalization under, in carrying out software upgrading and debugging work, can become I/O mouth level state again, thereby it is in stable condition to reach the I/O mouth, be difficult for obliterated data, and complete machine is upgraded and debugging is convenient.
A kind of electronic product with FLASH; wherein: this electronic product comprises FLASH chip, first resistance, second resistance; wherein; the Write-protect notch of FLASH chip is by first resistance eutral grounding; and the Write-protect notch of FLASH chip also joins with an end of second resistance, when carrying out the FLASH chip upgrade; another termination one high voltage of second resistance, the dividing potential drop by first resistance and second resistance is given high level of Write-protect notch of FLASH chip.
Another termination high voltage of described second resistance is 5V.
The 11st pin of the VGA terminal J3 of another termination PC of described second resistance.
The VSS pin ground connection of described FLASH chip.
A kind of method for upgrading software of the electronic product with FLASH, wherein, this method comprises:
With the Write-protect notch of the FLASH chip of electronic product by first resistance eutral grounding;
When carrying out the FLASH chip upgrade, the Write-protect notch of FLASH chip connects high voltage by second resistance, a high level is provided for the Write-protect notch of FLASH chip by the dividing potential drop of first resistance and second resistance, makes the FLASH chip be in the state of can writing.
The Write-protect notch of described FLASH chip connects high voltage by second resistance and is specially: the Write-protect notch of described FLASH chip connects the 11st pin of the VGA terminal J3 of PC by second resistance.
Described high voltage is 5V.
Described when carrying out the FLASH chip upgrade, upgrading tool is inserted the VGA terminal J3 of PC, the Write-protect notch of FLASH chip connects the high voltage of the 11st pin of the VGA terminal J3 of PC by second resistance.
Compared with prior art; because the Write-protect notch of the FLASH chip of electronic product of the present invention is by first resistance eutral grounding; and; the Write-protect notch of FLASH chip also joins with an end of second resistance; the level of this moment is owing to be ground connection; electronic product power on and power down in, the level of this grounding pin changes and does not have the possibility that overcharges and fluctuate, so electronic product switch machine transient change can not influence the Write-protect notch of FLASH chip.When carrying out the FLASH chip upgrade; another termination one high voltage of second resistance; give high level of Write-protect notch of FLASH chip by the dividing potential drop of first resistance and second resistance; because ground connection is by first resistance eutral grounding; but give high level of Write-protect notch of FLASH chip by the dividing potential drop of first resistance and second resistance; this moment, the Write-protect notch level still can be put high level; just can be toward FLASH chip the inside write data; thereby finish software upgrading, so just do not need electronic equipment is opened upgrading.
Description of drawings
Fig. 1 is the logical schematic of the electronic product of better embodiment of the present invention;
Fig. 2 is the circuit theory diagrams of the electronic product of better embodiment of the present invention.
Embodiment
For the purpose, technical scheme, the advantage that make the present invention is clearer and more definite, clear, the present invention's technical scheme is described in further detail below in conjunction with embodiment, accompanying drawing.
As shown in Figure 1, a kind of electronic product logical schematic for preferred embodiment of the present invention, this electronic product comprises FLASH chip 20, FLASH chip 20 by TX, RX, enable control and mouthful link to each other with software upgrade tool 10, wherein, software upgrade tool 10 can be independent circuit board, and handheld device etc. have the electronic equipment of software installation, upgrade function.
The write-protect mode of this electronic product is with Write-protect notch ground connection by resistance; the Write-protect notch of serial or parallel FLASH chip 20 is put low level; the level of this moment is owing to be ground connection; electronic product power on and power down in; the level variation of this grounding pin does not have the possibility that overcharges and fluctuate; so electronic product switch machine transient change can not influence the Write-protect notch of FLASH chip 20, electronic product switch machine transient change can not influence the Write-protect notch of FLASH chip 20.
When carrying out the upgrading of FLASH chip 20; because need put high level this moment with the Write-protect notch of FLASH chip 20; in upgrading tool 10, add one and enable the control mouth; upgrading tool 10 is by the pin of a signal terminal; the Write-protect notch of FLASH chip 20 is set to high level; for example software upgrade tool 10 is to upgrade by the VGA plug of PC; then can connect the 5V DC voltage the 11st pin in the upgrading VGA socket (this pin is empty pin in the definition of standard VGA socket); when plugging the VGA upgrading tool; because ground connection is by a resistance eutral grounding; but owing to be bigger resistance; when connecing the 5V DC voltage, this moment, the Write-protect notch level still can be put high level, just can be toward FLASH the inside write data; thereby finish software upgrading, so just do not need electronic product is opened upgrading.
As shown in Figure 2, be the circuit theory diagrams of the electronic product of better embodiment of the present invention, this electronic product comprises FLASH U6, resistance R 202, R562, R205, capacitor C 168, wire jumper socket J119, exclusion RP8, RP9.Wherein, a termination wire jumper socket J119 pin 2 of resistance R 202 and also connect+3.3V voltage the pin 3 (WP# pin) of another termination FLASH U6, the pin 1 of wire jumper socket J119; Resistance R 562 1 termination FLASHEN, the pin 1 of another termination wire jumper socket J119, the pin 3 of FLASH U6; The pin 1 of resistance R 205 1 termination wire jumper socket J119, the pin 3 of FLASH U6, connect the pin 4 (VSS pin) of FLASH U6 at other end ground connection; The pin 6 of FLASH U6 (SCK pin), pin 5 (SI pin), 1 (CE# pin), pin 2 (SO pin) run in respectively and hinder the pin 1,2,3,4 of RP9; The pin 7 of FLASH U6 (HOLD# pin), pin 8 (VDD pin) joins and meets capacitor C 1 and voltage+3.3V simultaneously; The other end ground connection of capacitor C 168; The pin 1,2,3,4 of exclusion RP8 connects and draws voltage+3.3V, the pin 5,6,7,8 of the exclusion RP8 other end connects the pin 8,7,6,5 of exclusion RP9 respectively, and the pin 5,6,7,8 of exclusion RP8 also meets SPI_CK, SPI_DI, SPI_CZ, SPI_DO respectively simultaneously.
This electronic product passes through the enable control pin of the 11st pin (according to the VGA plug definition of PC, its 11st pin is empty, enable control pin so this pin can be done) of the VGA terminal J3 (common computer PC socket) of PC as upgrading tool.
When FLASH U6 chip during without software upgrading; electronic product is in the middle of normal use work; FLASH U6 chip for this electronic product; be that pin 3 Write-protect notch of wishing chip FLASH U6 are set to low level; at this moment FLASH U6 is in the write-protect state; so in the present embodiment with resistance R 205 ground connection; at this moment pin 3 ground connection to the FLASH U6 of electronic product are low level; this moment, electronic product was a normal operating conditions; owing to be ground connection; it not can owing to power on and power down change; so it is a kind of steady state (SS); no matter this electronic product switch machine; this pin does not have fluctuation; the switching on and shutting down indeterminate state that can bring when also just having avoided by software I/O mouth control write-protect may (because electronic product is when startup and shutdown, power on and the space of power down because the CPU of electronic product has one, CPU I/O mouth at this moment be a kind of indeterminate state).
When needs are done software upgrading with upgrading tool to complete machine; when upgrading tool inserts the VGA terminal J3 of PC signal; the 11st pin by VGA is given a 5V DC level; this moment, resistance R 562 was given high level of FLASH U6 with the R205 dividing potential drop; (it is to write state that mouthful the 3rd a pin high level is protected in the write-protect of FLASH U6 to FLASH U6 with regard to being in the state of can writing like this; low level is the write-protect state); after finishing upgrade job; upgrading tool is pulled out from the PC socket; the Write-protect notch of FLASH is again a low level, and at this moment FLASH U6 just has been in the write-protect state.
Though the present invention is described with reference to current better embodiment; but those skilled in the art will be appreciated that; above-mentioned better embodiment only is used for illustrating the present invention; be not to be used for limiting protection scope of the present invention; any within the spirit and principles in the present invention scope; any modification of being done, equivalence replacement, improvement etc. all should be included within the scope of the present invention.
Claims (4)
1. the method for upgrading software with the electronic product of FLASH is characterized in that, this method comprises:
With the Write-protect notch of the FLASH chip of electronic product by first resistance eutral grounding;
When carrying out the FLASH chip upgrade, the Write-protect notch of FLASH chip connects high voltage by second resistance, a high level is provided for the Write-protect notch of FLASH chip by the dividing potential drop of first resistance and second resistance, makes the FLASH chip be in the state of can writing.
2. the method for claim 1, it is characterized in that: the Write-protect notch of described FLASH chip connects high voltage by second resistance and is specially: the Write-protect notch of described FLASH chip connects the 11st pin of the VGA terminal J3 of PC by second resistance.
3. the method for claim 1, it is characterized in that: described high voltage is 5V.
4. the method for claim 1 is characterized in that: described when carrying out the FLASH chip upgrade, upgrading tool is inserted the VGA terminal J3 of PC, and the Write-protect notch of FLASH chip connects the high voltage of the 11st pin of the VGA terminal J3 of PC by second resistance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100751180A CN100505084C (en) | 2007-06-18 | 2007-06-18 | Software updating method for electronic product with FLASH |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100751180A CN100505084C (en) | 2007-06-18 | 2007-06-18 | Software updating method for electronic product with FLASH |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101089991A CN101089991A (en) | 2007-12-19 |
CN100505084C true CN100505084C (en) | 2009-06-24 |
Family
ID=38943293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007100751180A Active CN100505084C (en) | 2007-06-18 | 2007-06-18 | Software updating method for electronic product with FLASH |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100505084C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI451424B (en) * | 2009-04-17 | 2014-09-01 | Mstar Semiconductor Inc | Protecting circuit and power supply system for flash memory |
CN101951434B (en) * | 2010-08-31 | 2015-08-12 | 上海闻泰电子科技有限公司 | The guard method of the disposable data of a kind of mobile phone |
CN106971108A (en) * | 2017-03-20 | 2017-07-21 | 郑州云海信息技术有限公司 | A kind of system and method for online updating BIOS ROM write-protects |
-
2007
- 2007-06-18 CN CNB2007100751180A patent/CN100505084C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101089991A (en) | 2007-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050182858A1 (en) | Portable memory device with multiple I/O interfaces | |
US6813668B2 (en) | Multi-functional electronic card capable of detecting removable cards | |
EP2040174B1 (en) | Card-type peripheral device | |
CN112074996A (en) | Overvoltage protection for universal serial bus type-C (USB-C) connector systems | |
US8514604B2 (en) | Monitoring system for monitoring serial advanced technology attachment dual in-line memory module | |
JP3056989B2 (en) | Information processing device | |
CN101867169B (en) | It is applied to the protection circuit of flash memory | |
US20100125689A1 (en) | Electronic apparatus capable of receiving different types of memory cards | |
US20140281139A1 (en) | Dual-interface flash drive | |
CN112042093A (en) | Dynamic VCONN switching in dual-supply C-line cable applications | |
CN100505084C (en) | Software updating method for electronic product with FLASH | |
CN103219042B (en) | Circuit and the memory circuitry of burning program is realized by USB interface | |
US7805599B2 (en) | Expansion device for BIOS chip | |
US7818554B2 (en) | Expansion device for BIOS chip | |
CN201044182Y (en) | Electric product with FLASH | |
US8406069B2 (en) | Data writing method and writing device for an electronic erasable read only dynamic memory | |
US20120179858A1 (en) | Memory device | |
CN209929634U (en) | Multifunctional data line | |
CN102750232A (en) | Electronic equipment system and storage device | |
US20130262847A1 (en) | Switching circuit for basic input output system | |
US8909821B2 (en) | Slim-line connector for serial ATA interface that is mounted on expansion bay of computer includes detection signals which indicate connection status and type of device | |
CN211698931U (en) | Vehicle-mounted concentrator circuit | |
KR101432398B1 (en) | Method for announcing a memory configuration | |
CN211827265U (en) | PCIE-SD card conversion circuit and terminal equipment | |
CN219938601U (en) | Mainboard and terminal equipment compatible with flash memory chips of different standards |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210628 Address after: 518000 zhaochi Innovation Industrial Park, No.1, LiLang Road, xialilang community, Nanwan street, Longgang District, Shenzhen City, Guangdong Province Patentee after: Shenzhen zhaochi multimedia Co.,Ltd. Address before: Futian District Shenzhen City, Guangdong province 518000 CaiTian Road No. 3069 Xinghe Century Towers 3101 Patentee before: SHENZHEN MTC Co.,Ltd. |
|
TR01 | Transfer of patent right |