CN1481184A - Method for updating flash memory in mobile phone - Google Patents

Method for updating flash memory in mobile phone Download PDF

Info

Publication number
CN1481184A
CN1481184A CNA021318549A CN02131854A CN1481184A CN 1481184 A CN1481184 A CN 1481184A CN A021318549 A CNA021318549 A CN A021318549A CN 02131854 A CN02131854 A CN 02131854A CN 1481184 A CN1481184 A CN 1481184A
Authority
CN
China
Prior art keywords
mobile phone
flash memory
program code
transmission
receiving terminal
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
CNA021318549A
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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CNA021318549A priority Critical patent/CN1481184A/en
Publication of CN1481184A publication Critical patent/CN1481184A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The method transfers data to second mobile phone by using first mobile phone. The first mobile phone includes flash memory, which stores a program code for transmission end, a program code for receiving end and a program code for an application. The second mobile phone includes a second flash memory and a random memory (RAM). The method includes following steps: through transmission line, transferring program code for receiving end stored in the first flash memory to RAM in the second mobile phone; then, transferring program code for an application to the second flash memory. Thus, one mobile phone can update flash memory in another mobile phone with high efficiency.

Description

Upgrade the method for the flash memory of mobile phone
Technical field
The present invention relates to a kind of method of flash memory of more new cell-phone, more particularly, relate to the method that a kind of use one mobile phone directly upgrades the flash memory of another mobile phone.
Background technology
The development rapidly of radio communication has in recent years made mobile phone become indispensable information products.And mobile communication has slowly entered the epoch of the third generation (3G), and the radio communication of the high frequency range of its institute's standard means that mobile phone will no longer just can transmit the means of communication of the matter of the timbre in a low voice sound of low frequency range.The function that high frequency range is derived, except making mobile computer, PDA(Personal Digital Assistant) and notebook use mobile phone to carry out the action of wireless connections internet, even mobile phone itself is also because the prosperity of peripheral technology, development as the high color liquid crystal screen of resolving of small size, low power consuming high performance system chip (system on chip, SOC) promotion, flourish with the non-volatile flash memory of big capacity, the mobile phone that makes begins to have near personal digital assistant, even the function of personal computer.
Therefore, the function of the mobile phone of releasing the at present requirement that exceeded its normal receiving and transmitting signal of simple energy the earliest already.Relatively, what it was emphasized is the function of various sound and light programs, comprises that can show a high color liquid crystal screen of resolving picture, many lively recreation, the extra program that connects communication function such as internet browsing webpage and play various form films, audio.Therefore, this certainly will more need a huge storage area to store needed program code of these functions and data except one of needs are taken into account the embedded central microprocessor of high-effect and low power consuming.
But, thing followed problem is, stored software, program, data more than in the mobile phone, do not have fully under the bug (bugs) at the mobile phone that can't guarantee to have gone on the market, and new function in order back-up system to provide the dealer to increase, or designer's desire on this mobile phone adds new function, and these all are bound to upgrade firmware (firmware) version that is stored in the mobile phone.Also therefore, mobile phone manufacturer, mobile phone distributors or want the user to send back to desire the mobile phone of firmware updating version before the mobile phone shipment, must correspondingly carry out the program code and the data that store in the flash memory are done some change; Or user's mobile phone hinders and stored content in must its flash memory of reprogram for some reason.All above-mentioned actions all are bound to make the flash memory of this mobile phone the action of renewal.
Existing method is that the slot (slot) that utilizes personal computer to pass through the RS-232 transmission line to link a mobile phone carries out data to the flash memory of this mobile phone and transmits and upgrade.Please refer to Fig. 1, Fig. 1 is the schematic diagram of flash memories 16 in the existing personal computer 10 renewal mobile phones 12, and the RS232 transmit port 11 of personal computer 10 is the earpiece holes 13 that are connected to mobile phone 12 via a RS232 transmission line.Because the running voltage of transmit port 11 is 7~9 volts, and the voltage of earpiece holes 13 is 3.7 volts, no matter therefore transmission signals is to reach personal computer 10 from mobile phone 12, or reach mobile phone 12 from personal computer 10, all must carry out corresponding boosting via a transforming circuit 14 earlier, or the action of step-down, reach the other end again.
Before transferring data to mobile phone 12, the operating system that personal computer 10 inside must install function software and function software earlier and are suitable for, and the binary file (bin file) of the flash memory 16 of mobile phone 12 is sent in tendency to develop.And the operator must start and enter the operating system of personal computer 10 earlier, carries out this function software.Because the voltage of transmit port 11 and earpiece holes 13 is different, and the execution speed on both sides also differs, therefore before the synchronous transmission of carrying out two ends, not only to handle through transformation, also must carry out synchronization according to the communication protocol at two ends earlier, just can upgrade the action of flash memory in the mobile phone 12.
After synchronous transmission configured, next the function software of personal computer 10 wanted earlier the receiving terminal program code to be passed in the random asccess memory (RAM) 19 of mobile phone 12, just can enter the stage of transmission flash memory binary file.And when transmission flash memory binary file, personal computer 10 can carry out transfer of data work with (b) step according to following (a):
(a) personal computer 10 can stop the action that transmission proceeds to transfer to mobile phone 12 from the flash memory binary file that before was stored in personal computer 10 in this action; Certainly, if this step (a) first time is performed for this action, then can begin to transmit from the beginning of the flash memory binary file that is stored in personal computer 10.And the data that personal computer 10 is transmitted can be stored in earlier in the mobile phone 12 in the random asccess memory 19 in the buffer 15, can directly not deposit the flash memory 16 of mobile phone 12 in.This stage finishes after the buffer 15 of mobile phone 12 is filled, and continues step (b).
(b) in the middle of the flash memory 16 that this moment, mobile phone 12 can write mobile phone 12 corresponding to the interior address of the flash memory 16 of mobile phone 12 and form according to binary file institute with the fragment binary file of buffer 15.After this step finishes, if the flash memory binary file of personal computer 10 end of transmission is then finished this transmission action; Still there are data to wait to transmit if be stored in the flash memory binary file of personal computer 10, then repeating step (a).
Because employed RS-232 transmission line has the restriction of high bit rate (baud rate) 115200bit/s of standard, this is representing the speed that is equivalent to only have 14.4KByte/s each second, with the flash memory of present mobile phone 12 capacity more than the 3MByte easily, Chuan Shu time only, just need more than 200 seconds at least, and the overall time also must comprise and deposits this binary file in the flash memory 16 required time.
In addition, in the existing method, because the transmit port of personal computer 10, though have two usually as serial port, two port is still shared same frequency range, just 115200bit/s.If on behalf of operating personnel, this want once to finish the action of upgrading two mobile phones 12 with existing method, he can't obtain the efficient of twice.If the action of desiring simultaneously to upgrade several mobile phones with several personal computers 10 then its cost is quite high.In addition, because the action of this renewal is necessary for personal computer 10 and comes master control, this is representing when upgrading a plurality of mobile phone 12, and personal computer 10 will more raise the cost with respect to the highly energy-consuming of mobile phone 12.When also transmitting action owing to the use serial port simultaneously, personal computer 10 resource consumptions are quite huge, 10 runnings that are difficult to carry out other program of personal computer.Therefore, if mobile phone 12 quantity of upgrading more than, with the action that existing method is upgraded, inefficient and expensive is expected.
Summary of the invention
Therefore the objective of the invention is to provide one can directly directly be linked to a kind of method that one second mobile phone upgrades the flash memory of this second mobile phone by a transmission line from one first mobile phone, therefore can reach high-speed transfer, and can take turns to double with each and upgrade mobile phone quantity to increase efficient with the time.
The invention provides a kind of method of use one first mobile phone transmission data to one second mobile phone, this first mobile phone comprises one first flash memory, store a transmission ends program code in it, a receiving terminal program code, and an application code; And this second mobile phone includes one second flash memory, and a random asccess memory.This method comprises the following step: the receiving terminal program code in this first flash memory is sent in the random asccess memory of this second mobile phone; And the application code that this first flash memory is interior is sent to the action of finishing this flash memory of renewal in this second flash memory.
Can also remove to upgrade two mobile phones in addition again according to said method with two above-mentioned mobile phones afterwards, the rest may be inferred, by 1 two, by 2 four, by 4 eight; Take turns twice with each and improve its update efficiency, reach low-cost and high efficiency demand.
Description of drawings
Fig. 1 is the schematic diagram of flash memory in the existing personal computer renewal mobile phone,
Fig. 2 uses the schematic diagram of first mobile phone transmission data to the second mobile phone for the present invention.
Fig. 3 is the schematic diagram of Fig. 2 transmission line.
Fig. 4 is the schematic diagram of flash memory internal reservoir data of the System on Chip/SoC of first mobile phone.
Fig. 5 is the flow chart that first mobile phone upgrades the second mobile phone flash memory.
The symbol description of icon: 10 personal computers, 11 RS-232 transmit pories 12,24,26 mobile phones, 13 earpiece holes, 14 transforming circuits 15,31 buffers 16,30,32 flash memories 20,35 System on Chip/SoCs, 21 boot rom, 22 central microprocessors 19,23 random asccess memory, 33 transmission lines, 36 application codes, 37 transmission ends program codes, 38 receiving terminal program codes, 40,42 data lines, 44 ground wires
Embodiment
Please refer to Fig. 2, Fig. 2 transfers data to the schematic diagram of second mobile phone 26 for the present invention uses first mobile phone 24.First mobile phone 24 and second mobile phone 26 are to insert respectively in separately the earpiece holes 13 with a transmission line 33.First mobile phone 24 comprises a System on Chip/SoC 20, has a central microprocessor 22 and a flash memory 30 in it.There are a boot rom (boot ROM) 21, one transmission ends program code, a receiving terminal program code and an application code in the flash memory 30.Second mobile phone 26 comprises a System on Chip/SoC 35, has a central microprocessor 22, one random asccess memory 23 and a flash memory 32 in it.Random asccess memory 23 includes a buffer 31, has a boot rom 21 and an application code in the flash memory 32.
System on Chip/SoC 20,35 is the core of mobile phone, and it has been responsible for the work such as executive program, digital communications data processing after the whole system.Central microprocessor 22 guides the address of next record instruction according to program counter (program counter), address to this guide is taken out central microprocessor 22 to the next record instruction, decodes, carries out and write back actions such as (writeback) or storage access again.
Random asccess memory 23 is to be used for being used by the application code of second mobile phone 26 in flash memory 32.Second mobile phone 26 can be when the operator carries out this application code, indication also arranges data necessary to deposit in the middle of the random asccess memory 23, utilizing random asccess memory 23 characteristic faster, and then the speed of faster procedure central microprocessor 22 instruction fetch when carrying out.
Boot rom 21 in the flash memory 30,32 is when being used in the mobile phone start, carries out the execution pattern after every initialization action, the test of every intraware and selection start are finished.The boot rom 21 of flash memory 30,32 also can be built in the outside of System on Chip/SoC 20, comes control system start process operation with data wire again.
Please refer to Fig. 3, Fig. 3 is the schematic diagram of Fig. 2 transmission line 33.Transmission line 33 is twisted-pair feeder structures, it includes one first data wire 40 and is used for data are reached second mobile phone 26 by first mobile phone 24, one second data wire 42 is used for data are reached first mobile phone 24 by second mobile phone 26, and a ground wire 44 is connected between first mobile phone 24 and second mobile phone 26.
Please refer to Fig. 4, Fig. 4 is the schematic diagram of flash memory 30 internal reservoir data of the System on Chip/SoC 20 of first mobile phone 24.Flash memory 30 includes a boot rom 21, an application code 36, a transmission ends program code 37 and a receiving terminal program code 38.Application code 36 stored contents include operation-interface and Games Software and other the basic operation sequence that the user contacts.The purpose of transmission ends program code 37 is the functions that will replace personal computer in the prior art, the communication protocol of transmission data between operation-interface, first mobile phone 24 and second mobile phone 26 when transmission ends program code 37 includes first mobile phone 24 and enters downloading mode, writes the flash memory 32 of second mobile phone 26 and the driver of controlling other computer hardware.Receiving terminal program code 38 include second mobile phone 26 enter download after, accept required corresponding program code and interface from first mobile phone, 24 data.First mobile phone 24 can be used for the binary file in its flash memory 30 is downloaded in the flash memory 32 of second mobile phone 26, so it possesses application code 36, transmission ends program code 37 and receiving terminal program code 38.Second mobile phone 26 is the binary files that are used for receiving first mobile phone 24, so it only need receive the receiving terminal program code 38 that is transmitted by first mobile phone 24 before the binary file that reception first mobile phone 24 transmits.Yet, first mobile phone 24 also can reach transmission ends program code 37 second mobile phone 26 in the lump, in the case, second mobile phone 26 is before the supply of material, manufacturer can select only that application code and boot rom 21 is open to consumer's use, and remaining transmission ends program code and receiving terminal program code are then forbidden (disabled).
First mobile phone 24 is after start, the operator can import password and enable (enable) transmission ends program code 37 on first mobile phone 24, can make first mobile phone 24 enter downloading mode, and operate the action of transmission data by the operation-interface that transmission ends program code 37 is shown on the LCD screen 17.This moment first, mobile phone 24 can send a signal by 33 pairs second mobile phones of transmission line 26, prepared second mobile phone 26 and entered the work of upgrading its flash memory 32.And second mobile phone 26 is after start, can be introduced into the program that the boot rom 21 of second mobile phone 26 is started shooting, and detect whether to have simultaneously and inform that second mobile phone 26 promptly will enter downloading mode from the signal of first mobile phone 24.If detect this signal, second mobile phone 26 promptly enters downloading mode; If do not detect this signal, second mobile phone 26 will execute remaining normal boot-strap program, and enters in the general modfel.If second mobile phone 26 detects signal smoothly and enters downloading mode, transmission ends program code 37 in first mobile phone 24 can pass the receiving terminal program code 38 that is stored in first mobile phone 24 in the middle of the random asccess memory 23 of second mobile phone 26 earlier by transmission line 33 together with program one of in the boot rom 21 in second mobile phone 26.After second mobile phone 26 successfully received receiving terminal program code 38, the central microprocessor 22 of second mobile phone 26 can begin to carry out the receiving terminal program code 38 that is stored in the random asccess memory 23.At this moment, first mobile phone 24 and second mobile phone 26 begin to carry out action that first flash memory 30 is covered second flash memory 32.First mobile phone 24 can be with data and the application code 36 in the whole flash memory 30, mode with binary file is passed through transmission line 33, transfer in the middle of second mobile phone 26, till flash memory 32 is covered by the data of flash memory 30 fully.And because in the present invention, transmission line 33 two ends voltage of signals unanimities needn't be passed through and be handled, and the execution speed at two ends is also all consistent, and therefore the speed of transmission can use the clock pulse that operates near mobile phone to transmit.In the present embodiment, be that ten sixths of guarding with mobile phone operation clock pulse carry out during transmission, clock pulse with central microprocessor 22 running of mobile phone in the present embodiment 24,26 is that 13MHz calculates, we can obtain the baud rate of 812500bit/s easily, the transmission rate that just is about 100kbyte/s is carried out, and this can taper to the time of transmission more than 8 times.Certainly, this speed is still the space that increases substantially.
Please refer to Fig. 5, Fig. 5 is the flow chart that first mobile phone 24 upgrades second mobile phone, 26 flash memories 32.When two mobile phones 24,26 enter downloading mode separately, can carry out transfer of data work according to the following step:
Step 50: first mobile phone 24 is in this renewal, can be from before stopping the action that transmission proceeds to transfer to second mobile phone 26 at flash memory 30; Certainly, if this action then can begin to transmit from the beginning that is stored in flash memory 30 binary files for being performed for the first time.And the data that first mobile phone 24 is transmitted can be stored in the buffer 31 in the random asccess memory 23 in second mobile phone 26 earlier, and can directly not deposit second flash memory 32 in;
Step 52: whether the buffer 31 of checking second mobile phone 26 is filled; If then carry out step 54; If not, then skip to step 50;
Step 54: in the middle of the flash memory 32 that this moment second, mobile phone 26 can deposit the fragment binary file of buffer 31 in second mobile phone 26 corresponding to the interior address of the flash memory 32 of second mobile phone 26 and form according to this binary file institute;
Step 56: the data end of transmission whether that detects the flash memory 30 of first mobile phone 24; If then finish this transmission action; If not, then skip to step 50.
And implement can realize not needing to finish the function of upgrading the mobile phone flash memory by personal computer according to this method.Finished more new element to second mobile phone 26 when first mobile phone 24, these two mobile phones can carry out other two homotype mobile phones are upgraded the action of its flash memory if cooperate two transmission lines again; Method is analogized down according to this, and four first mobile phones 24 can upgrade four second mobile phones 26 again, and reach eight first mobile phones; Reach 2 times of rapid-result long renewal speed in theory.And the electric power that mobile phone consumed is far smaller than the power consumption of personal computer more than 200 watts, and one to two mobile phone of renewal that personal computer once can only be at a slow speed.Compared with prior art, this technology can be because high transfer rate, upgrades mobile phone flash memory number in the time of with theory unlimited system and reaches high efficiency, and reach low-cost with comparatively low power consumption.
The above only is the preferred embodiments of the present invention, and all similar variation and modifications of being done according to claim scope of the present invention should belong to the covering scope of patent of the present invention.

Claims (9)

1. method of using one first mobile phone transmission data to, second mobile phone, this first mobile phone comprises one first flash memory, store a transmission ends program code in it, one receiving terminal program code, an and application code, this second mobile phone includes one second flash memory, and a random asccess memory (RAM), and this method includes the following step:
(a) the receiving terminal program code in this first flash memory is sent in the random asccess memory of this second mobile phone; And
(b) application code in this first flash memory is sent in this second flash memory.
2. the method for claim 1, in its step (b), this transmission ends program code and this receiving terminal program code in this first flash memory also can be sent in this second flash memory.
3. the method for claim 1, wherein this first mobile phone is via a transmission line this receiving terminal program code and this application code to be transferred to this second mobile phone.
4. method as claimed in claim 3, wherein this first mobile phone and this second mobile phone respectively comprise a slot, are used for connecting this transmission line.
5. method as claimed in claim 4, wherein this slot is an earpiece holes.
6. the method for claim 1, wherein this second mobile phone comprises a read-only memory (ROM) in addition, is used for storing a start-up routine sign indicating number (boot code), is used for carrying out the boot program of this second mobile phone.
7. method as claimed in claim 6, wherein there is an option program sign indicating number in this read-only memory in addition, be used for when boot program is carried out, select to carry out this start-up routine sign indicating number or enter a download program, so that receiving terminal program code in this first flash memory and application code are downloaded in this second mobile phone.
8. the method for claim 1 wherein has a start-up routine sign indicating number in this second flash memory, is used for carrying out the boot program of this second mobile phone.
9. method as claimed in claim 8, wherein there is an option program sign indicating number in addition in this second flash memory, be used for when boot program is carried out, select to carry out this start-up routine sign indicating number or enter a download program, so that receiving terminal program code in this first flash memory and application code are downloaded in this second mobile phone.
CNA021318549A 2002-09-06 2002-09-06 Method for updating flash memory in mobile phone Pending CN1481184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA021318549A CN1481184A (en) 2002-09-06 2002-09-06 Method for updating flash memory in mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA021318549A CN1481184A (en) 2002-09-06 2002-09-06 Method for updating flash memory in mobile phone

Publications (1)

Publication Number Publication Date
CN1481184A true CN1481184A (en) 2004-03-10

Family

ID=34145049

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA021318549A Pending CN1481184A (en) 2002-09-06 2002-09-06 Method for updating flash memory in mobile phone

Country Status (1)

Country Link
CN (1) CN1481184A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100422929C (en) * 2004-04-02 2008-10-01 乐金电子(中国)研究开发中心有限公司 Downloading and renewing method of hand-set

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100422929C (en) * 2004-04-02 2008-10-01 乐金电子(中国)研究开发中心有限公司 Downloading and renewing method of hand-set

Similar Documents

Publication Publication Date Title
CN101110039B (en) Terminal unit self-installing and self-starting system and method thereof
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
CN107465539A (en) The upgrade-system of the upgrade method of firmware, terminal and firmware
CN101211265A (en) Terminal embedded type system software update method and apparatus
CN1932778A (en) Method for conducting virtual space management to NAND FLASH memory
CN101008898A (en) Update and repair method of intellectualized equipment and system thereof
CN102819457A (en) Method and device for playing multi-media files during start-up period
CN102955723A (en) Automatic hardware testing method and system
KR20100088210A (en) Apparatus and method for downloadin contents using movinand in portable terminal
CN106201588A (en) The method for upgrading software of terminal and terminal
CN102075710B (en) Starting operation method for television and television
CN102346677A (en) Method for upgrading field programmable gate array (FPGA) program
CN102262555B (en) Method and device for loading different versions of JAVA three-party library
CN1863353A (en) System and method for customizing mobilephone resource file
CN102520961A (en) Off-chip online programmable SOC (system on a chip) and control method for same
CN100465891C (en) Method for renewing hand-held device operation function through insert-and-use storage device
CN101102562A (en) A method for PHS mobile compatibility to NOR FLASH
US7047283B1 (en) Apparatus and method of upgrading program of firmware board
CN108874422B (en) Software online upgrading method for refrigerator electric control board, refrigerator electric control board and refrigerator
CN102375749B (en) Method for quickly downloading and updating firmware by using I2C (Inter-Integrated Circuit) bus
CN1677346A (en) Programmable device program update method and board card capable of updating program
CN1928821A (en) Online updating method for electronic appliances
CN113031999A (en) Method, device and equipment for controlling firmware upgrade of server component and storage medium
CN101882110A (en) Method for downloading data and terminal equipment
CN1481184A (en) Method for updating flash memory in mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
C20 Patent right or utility model deemed to be abandoned or is abandoned