CN100476727C - Method for quickly changing hand-set fixer using USB interface - Google Patents
Method for quickly changing hand-set fixer using USB interface Download PDFInfo
- Publication number
- CN100476727C CN100476727C CNB2005100298666A CN200510029866A CN100476727C CN 100476727 C CN100476727 C CN 100476727C CN B2005100298666 A CNB2005100298666 A CN B2005100298666A CN 200510029866 A CN200510029866 A CN 200510029866A CN 100476727 C CN100476727 C CN 100476727C
- Authority
- CN
- China
- Prior art keywords
- module
- usb
- flash memory
- enter
- usb interface
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
This invention discloses a cell phone firmware updating method by using USB interface. It includes the following steps: startup code was executed to scan the COM port; it will enter the basic startup module if no certain byte serial was detected in certain time; the module would scan the keyboard, it will enter the USB download model if certain key combination was detected, otherwise, it will enter normal startup model if overtime occurs; in USB download model, dictation and data from PC are accepted by the flash load module and read in user code to flash memorizer. This invention could increase data transmission speed in cell phone and reduce the cost.
Description
Technical field
The present invention relates to a kind of method of quickly changing hand-set fixer, relate in particular to the method for a kind of USB of utilization (Universal Serial Bus, USB (universal serial bus)) interface quickly changing hand-set fixer.
Background technology
At present, mostly the user is to utilize serial to upgrade mobile phone firmware, and there are many drawbacks in this method:
Since the restriction of serial communication self, the highest 961200bps of data rate of mobile phone and personal computer.Yet the USB1.1 standard of generally using has reached 12Mbps now, and 2.0 standards are up to 480Mbps.Obviously, the speed of serial communication is slow more than USB.Present mobile phone more and more develops towards the multimedia direction, and data volume sharply rises, and the speed of serial communication obviously is difficult to satisfy production line and client's user demand.Based on the USB flash disk function, also need to provide serial (serial) and USB two data lines during shipment, increase cost.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method of utilizing the USB interface quickly changing hand-set fixer, and the data rate that overcomes mobile phone becomes increasingly abundant in the prior art function and mobile phone is subjected to the contradiction between the serial communication restriction.
For solving the problems of the technologies described above, the present invention adopts following technical scheme.
A kind of method of utilizing the USB interface quickly changing hand-set fixer, it comprises the following steps:
(1) during mobile phone power-on, base band is carried out start-up code scanning COM port, if do not detect specific sync byte sequence in preset time, just enters the basis and starts module;
(2) described basis start module can keyboard scan, if detect the Macintosh of appointing, just call flash memory load-on module initialization USB controller, set up the bridge joint of USB controller and base band, enter the USB downloading mode, if overtime then enter the normal boot-strap pattern;
(3) in the USB downloading mode, the flash memory load-on module can be accepted the instruction and data of personal computer end, and writes personal code work in flash memory.
The present invention utilizes the method for USB interface quickly changing hand-set fixer, because USB interface has replaced serial communication, the data rate of mobile phone further improves, and has also improved Production Line efficient.In addition, upgrade mobile phone firmware, the client must be provided two data lines, and only need provide a USB line to get final product after using USB, provide cost savings with serial.
Description of drawings
Fig. 1 is the schematic diagram that the present invention utilizes the method for USB interface quickly changing hand-set fixer.
Fig. 2 is the program flow diagram that the present invention utilizes the method for USB interface quickly changing hand-set fixer.
Embodiment
The present invention is further detailed explanation below in conjunction with accompanying drawing and embodiment.
As shown in Figure 1, usually during mobile phone power-on, base band (baseband) can be carried out start-up code (bootcode) scanning COM port (com port), if in preset time, detect specific sync byte (sync byte) sequence, then enter the serial downloading mode, otherwise enter the normal boot-strap pattern.In order to realize the download function of USB, preliminary imagination can be revised the function that start-up code possesses guiding USB controller (USB controller).Because start-up code is solidificated in the chip and can't revises,, insert one section self-defining basis in personal code work (normal code) the module front of normal boot-strap and start (basic-boot) module so look for another way.This module meeting keyboard scan if detect the Macintosh of appointing, just calls flash memory and loads (flash loader) module initialization USB controller, sets up the bridge joint of USB controller and base band, enters the USB downloading mode.If it is overtime then enter common power on mode.In the USB downloading mode, the flash memory load-on module is accepted the instruction and data of personal computer (PC) end, and writes personal code work (normalcode) in flash memory (flash).
The method of utilizing the USB interface quickly changing hand-set fixer of the present invention needs to finish (see figure 2) by two stages.In the phase one, for realizing the USB download function of mobile phone, need in advance the code of basis startup module and flash memory load-on module to be burnt in the flash memory (flash) by normal serial downloading mode at factory's end, because these codes are smaller, the utmost point short time can finish.When upgrading mobile phone firmware later on, only walk the subordinate phase flow process, after basis startup module and quickflashing carrier module are burnt in the flash memory, can not be updated again, production line or client in subordinate phase, when utilizing the USB interface quickly changing hand-set fixer, only can upgrade the personal code work in the flash memory at every turn.
Claims (1)
1, a kind of method of utilizing the USB interface quickly changing hand-set fixer is characterized in that, after in advance the basis being started module and flash memory load-on module and being loaded into flash memory, comprises the following steps:
(1) during mobile phone power-on, base band is carried out start-up code scanning COM port, if do not detect specific sync byte sequence in preset time, just enters the basis and starts module;
(2) described basis start module can keyboard scan, if detect the Macintosh of appointing, just call flash memory load-on module initialization USB controller, set up the bridge joint of USB controller and base band, enter the USB downloading mode, if overtime then enter the normal boot-strap pattern;
(3) in the USB downloading mode, the flash memory load-on module can be accepted the instruction and data of personal computer end, and writes personal code work in flash memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100298666A CN100476727C (en) | 2005-09-22 | 2005-09-22 | Method for quickly changing hand-set fixer using USB interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100298666A CN100476727C (en) | 2005-09-22 | 2005-09-22 | Method for quickly changing hand-set fixer using USB interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1936837A CN1936837A (en) | 2007-03-28 |
CN100476727C true CN100476727C (en) | 2009-04-08 |
Family
ID=37954352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100298666A Expired - Fee Related CN100476727C (en) | 2005-09-22 | 2005-09-22 | Method for quickly changing hand-set fixer using USB interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100476727C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408847B (en) * | 2008-11-27 | 2011-05-11 | 成都市华为赛门铁克科技有限公司 | Method, system and apparatus for loading firmware |
CN101556568A (en) * | 2009-05-11 | 2009-10-14 | 中兴通讯股份有限公司 | Method for controlling data transmission function of universal serial bus port and terminal equipment |
CN109669707A (en) * | 2018-12-25 | 2019-04-23 | 上海创功通讯技术有限公司 | A kind of CPU replacing options, device, electronic equipment and readable storage medium storing program for executing |
-
2005
- 2005-09-22 CN CNB2005100298666A patent/CN100476727C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1936837A (en) | 2007-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101350990B (en) | Method for updating CP of intelligent mobile phone | |
CN100371898C (en) | Automatic loading method for movable terminal software | |
EP2857965A1 (en) | Method and device for generating firmware over-the-air upgrade package | |
CN102609274B (en) | A kind of quick startup optimization method of system and television set | |
CN102375753A (en) | Mobile terminal application presetting method and mobile terminal | |
CN100476727C (en) | Method for quickly changing hand-set fixer using USB interface | |
CN103761129A (en) | Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer | |
CN101980159B (en) | Updating device and updating method for firmware of U disk | |
CN101247585B (en) | Program downloading method of intelligent mobile phone wireless communication module based on AP structure | |
CN102394967A (en) | Unified PC (Personnel Computer) management method transparent to mobile terminal user | |
CN101753672B (en) | System and method for rapidly repairing wireless terminal | |
CN105138365A (en) | Upgrading method and device for interface converter | |
CN101556568A (en) | Method for controlling data transmission function of universal serial bus port and terminal equipment | |
CN105094911A (en) | One-key upgrading method and tool of wireless communication module | |
EP1056006B1 (en) | Method for loading user interface software | |
CN1186724C (en) | Method of making bluetooth USB adaptor having man-machine interaction function | |
CN101083817A (en) | Method for replacing dynamically character base module of mobile station | |
KR101281183B1 (en) | terminal system having a boot lazy loading function of the wireless internet platform module and controlling method for the same | |
KR20070094167A (en) | Method and apparatus for starting multiple operating system using external memory in a mobile station | |
CN107636632B (en) | Method and system for identifying liquid crystals of different manufacturers | |
CN101169715A (en) | Control adding method | |
CN101998691A (en) | Method, system and device for data transmission | |
CN102082904B (en) | Method for driving mobile phone camera | |
KR100731919B1 (en) | Mobile update device of external device by using mobile phone | |
CN112783438B (en) | Memory using method of functional mobile phone and related products |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090408 Termination date: 20200922 |
|
CF01 | Termination of patent right due to non-payment of annual fee |