CN101098524B - Method for dual-mode mobile terminal to implement intermodule software continuous download - Google Patents

Method for dual-mode mobile terminal to implement intermodule software continuous download Download PDF

Info

Publication number
CN101098524B
CN101098524B CN200610090758A CN200610090758A CN101098524B CN 101098524 B CN101098524 B CN 101098524B CN 200610090758 A CN200610090758 A CN 200610090758A CN 200610090758 A CN200610090758 A CN 200610090758A CN 101098524 B CN101098524 B CN 101098524B
Authority
CN
China
Prior art keywords
control module
download
downloading
program
slave
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
Application number
CN200610090758A
Other languages
Chinese (zh)
Other versions
CN101098524A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN200610090758A priority Critical patent/CN101098524B/en
Publication of CN101098524A publication Critical patent/CN101098524A/en
Application granted granted Critical
Publication of CN101098524B publication Critical patent/CN101098524B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention disclose a method for realizing software continuous download between dual-mode mobile terminal application modules, which only need one download interface group to realize the software continuous download between dual-mode mobile terminal application modules of multiple chip application, wherein the module and a download port of PC are connected with an analogue switch between, the module comprises a main control module and an inactive control module. The method comprises that (a), PC downloads a download guiding program to the main control module and operates the program, (b), PC sends a handshaking signal containing the download mission information to the terminal, and the download guiding program according to the signal recognizes the needed download missions, to switch download channel and start download process. The invention can use the main control module to actively complete the conversion from the inactive control module to the download mission, via the control of the main control module on the inactive control module and the download channels.

Description

Method for realizing continuous downloading of software between modules of dual-mode mobile terminal
Technical Field
The invention relates to a method for realizing continuous downloading of two-module independent programs by a dual-mode mobile terminal.
Background
One of the dual mode mobile terminals is based on a single chip scheme, and the other is based on a multi-chip scheme. Based on the double-mode mobile terminal of the single-chip scheme, a single digital baseband (DBB) is easy to download a program of a single Flash; the dual-mode mobile terminal based on the multi-chip scheme has the advantages that the flashes of the two modules are independent, the DBBs of the two modules respectively control downloading software, and the two modules respectively download the flashes of the two modules.
The Flash program download process is generally as follows: firstly, simulating the power supply of a baseband ABB (analog baseband), resetting a DBB, operating a BootLoader (boot code) in the DBB, handshaking with a PC (personal computer), downloading an RAM (random access memory) autonomous Flash programming software into the RAM of the DBB, operating, and controlling Flash to download a program.
The ABB power supply and the DBB reset are usually provided by battery Voltage (VBAT) and charging voltage (VCharge) signals of the mobile terminal, which requires that the VCharge signals need to be connected to ABBs of two modules, and reset signals can be provided respectively when Flash is downloaded. Such a downloading method may cause some disadvantages, such as: one module downloads the program, the other module runs the program, interference may exist between the two modules, and the downloading may fail; the mobile phone end needs to provide two groups of serial ports or two downloading cables; the downloading mode has weak operability, is not intelligent and the like.
The ABB supply and the DBB reset can also be realized by providing a power-on signal, but the above disadvantages also exist.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for realizing continuous downloading of software between modules of a dual-mode mobile terminal, which can realize a multi-chip scheme only by a group of downloading ports.
The basic scheme of the invention is as follows: the multi-chip scheme double-mode mobile terminal is bound to have a main control module and a slave control module, the downloading of the main control module is triggered by signals (such as VBAT and VCharge) of a tail plug end of the double-mode mobile terminal, the power supply, the reset of the slave control module and the switching of downloading channels are completed by the main control module, and the purpose of continuously downloading the software of each module of the double-mode mobile terminal is achieved by matching the method with the control of software.
Based on the above thought, the invention provides a method for realizing software continuous downloading between modules of a dual-mode mobile terminal, wherein an analog switch is also connected between the modules and a PC side downloading port, the modules comprise a master control module and a slave control module, and the method comprises the following steps:
(a) the PC side downloads the downloading bootstrap program to the main control module and operates the downloading bootstrap program;
(b) the PC side sends a handshake signal containing the information of the downloading task to the terminal, the downloading bootstrap program identifies which module or modules should be started to download the task according to the signal, the downloading channel is switched as required, and the downloading thread is started; wherein,
the step (b) further comprises:
(b1) the PC side sends a handshake signal containing the information of the downloading task to the terminal, the downloading bootstrap program identifies which module or modules should be started to download the task according to the signal, if the main control module program is to be downloaded, the step (b2) is executed, otherwise, the step (b3) is executed;
(b2) after the main control module program is downloaded, judging whether the slave control module program needs to be downloaded, if so, continuing to execute the step (b3), otherwise, ending the downloading;
(b2) after the main control module program is downloaded, judging whether the slave control module program needs to be downloaded, if so, continuing to execute the step (b3), otherwise, ending the downloading;
(b3) and starting a downloading thread of the slave control module, simultaneously switching the downloading channel to the downloading channel of the slave control module by the downloading bootstrap program, and starting and finishing the downloading of the slave control module program.
Further, the method can also have the following characteristics: the step (a) further comprises: the PC provides a trigger signal through the download port to enable the analog baseband of the main control module to supply power to the outside, the digital baseband is reset, then the main control module runs the solidified starting code in the digital baseband, handshakes with the PC, receives the download bootstrap program sent by the PC side, stores the download bootstrap program in the random access memory in the digital baseband and runs.
Further, the method can also have the following characteristics: the trigger signal is a battery voltage signal and a charging voltage signal.
Further, the method can also have the following characteristics: the handshake signal specifies the module that is to start the download task, which is one of the following cases: only the main control module program is downloaded, or only the slave control module program is downloaded, or the programs of the main control module and the slave control module are downloaded.
Further, the method can also have the following characteristics: in the step (b3), the downloading thread for starting the slave control module is that the downloading bootstrap program actively sends a request for downloading the slave control module program to the PC side, and the PC side starts the downloading thread for the slave control module after receiving the request.
Further, the method can also have the following characteristics: in the step (b3), the switching the download channel to the download channel of the slave control module is implemented by: the download bootstrap program in the digital baseband internal random access memory of the master control module sets a general input/output port output enable and pulls high or low, and the analog switch switches the download channel to the slave control module under the control of the signal.
Further, the method can also have the following characteristics: in the step (b3), the starting of downloading of the slave control module program further includes: and the downloading bootstrap program simulates the starting signal of the slave control module through a universal input/output port or a universal output port of the digital baseband of the master control module, triggers the analog baseband of the slave control module to supply power to the outside, resets the digital baseband and runs the starting code solidified in the digital baseband of the slave control module.
Further, the method can also have the following characteristics: in the step (b3), the starting of downloading of the slave control module program further includes: and the download bootstrap program simulates a charging voltage signal of the slave control module or a battery voltage and a charging voltage signal through a universal input/output port or a universal output port of the digital baseband of the master control module, triggers the analog baseband of the slave control module to supply power to the outside, resets the digital baseband, and runs a starting code solidified in the digital baseband of the slave control module.
Therefore, the process of switching the downloading task to the slave control module actively completed by the master control module is realized by controlling the slave control module and the downloading channel by the master control module. The software continuous download between modules can be realized in the dual-mode mobile terminal with the multi-chip scheme.
Drawings
Preferred embodiments of the present invention are described below with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of the hardware connections of the method of the present invention;
FIG. 2 is a block flow diagram of a method according to an embodiment of the invention.
Detailed Description
The following is a detailed description of specific embodiments of the process of the present invention:
FIG. 1 is a schematic diagram of the hardware connection of the method of the present invention, as shown in the figure: the device consists of a download port, an analog switch, a master control module and a slave control module.
The download serial port of the download port is connected to the input end of the analog switch, and the download port simultaneously outputs voltage signals to the master control module and the slave control module.
The download serial port of the main control module is connected to one output end of the analog switch and provides a switching signal of the switch for the analog switch. Meanwhile, the master control module also provides a starting signal (or a VCharge signal, or a VBAT signal and a VCharge signal) for the slave control module. If the master control module and the slave control module share the VBAT signal, only the VCharge signal is provided for the slave control module, and if the master control module and the slave control module do not share the VBAT signal, the VBAT signal and the VCharge signal are provided.
And the download serial port of the slave control module is connected to the other output end of the analog switch.
The analog switch switches the serial port of the download port to the download serial ports of the master control module and the slave control module respectively under the control of the switching signal provided by the master control module.
Meanwhile, the RAM autonomous Flash programming software (hereinafter referred to as a downloading bootstrap program) to be downloaded into the RAM of the main control module is modified, so that the operation of the main control module on the FLASH is realized, and the control of the main control module on an analog switch and a slave control module can also be realized. It should be noted that identification of the handshake signals can only be realized by a boot program, and control of the analog switch and the slave control module can also be realized by a PC side, but hardware devices and complicated software codes need to be added.
Fig. 2 is a flow chart of the method of the present embodiment, which includes the following steps:
step 1: the PC side starts a downloading thread of the main control module, downloads the downloading bootstrap program into an RAM of a DBB (database bus) of the main control module and operates the downloading bootstrap program;
it is assumed that GSM (global System for Mobile communication) is the master, and TD-SCDMA (Time Division-synchronization Code Division Multiple Access) is the slave (in other embodiments, TD-SCDMA may be used as the master, and GSM is used as the slave). In this step, the PC first provides a trigger signal (VBAT and VCharge) through the download port to supply power to the master, i.e., the ABB of GSM, and the DBB is reset, then runs the BootLoader program solidified in the GSM DBB, performs handshake with the PC, receives the download bootstrap program sent by the PC side, stores it in the RAM in the GSM DBB, and runs.
Step 2: the PC side sends a specific handshake signal containing the information of the downloading task to the terminal, the downloading bootstrap program identifies which module or modules should be started to download the task according to the signal, if the main control module program is to be downloaded, the step 3 is executed, otherwise, the step 4 is directly executed;
according to the setting of the user on the interface, the PC side sends some specific handshaking information to the download bootstrap program in the RAM in the GSMDBB, and these handshaking signals specify which modules are to be started for downloading tasks. The bootstrap program performs corresponding processing accordingly, and three results can be obtained: only downloading GSM program, only downloading TD-SCDMA program, or downloading two module programs, if there is GSM program to be downloaded, executing step 3, otherwise executing step 4.
And step 3: after downloading the main control module program according to the conventional method, judging whether to download the slave control module program, if so, executing the step 4, otherwise, ending the downloading;
and 4, step 4: starting a downloading thread of the slave control module, and simultaneously switching a downloading channel to the downloading channel of the slave control module by the downloading bootstrap program;
the download guiding program can actively send a request for downloading the slave control module program to the PC side, once the PC side receives the request, the PC side considers that the master control module program is downloaded completely, the GSM download task is immediately stopped, the TD-SCDMA download thread is started, a handshake signal is sent to the terminal through a specified port, namely a download serial port cycle, and a return value is intercepted. Meanwhile, a download bootstrap program in the RAM in the GSM DBB sets output enable of a certain GPIO (general purpose input/output port) and pulls up or pulls down, and the analog switch switches the download serial port of the terminal to the download serial port of the TD-SCDMA under the control of the signal.
And 5: the master control module simulates a starting signal of the BootLoader of the slave control module, starts and finishes program downloading of the slave control module.
After a period of time delay, a downloading bootstrap program in the RAM in the GSMDBB simulates a starting signal (or a VCharge signal or VBAT and VCharge signals) of a TD-SCDMA module through a certain GPIO or GPO (general purpose output) port of a GSM DBB, triggers the TD-SCDMA ABB to supply power externally, resets the DBB, runs a BootLoader program solidified in the TD-SCDMA DBB, and downloads the TD program.
It should be understood that those skilled in the art to which the invention pertains may make corresponding changes or substitutions according to the technical solutions and concepts of the present invention, and all such changes or substitutions shall fall within the protection scope of the appended claims.

Claims (8)

1. A method for realizing software continuous download between modules of a dual-mode mobile terminal, wherein an analog switch is connected between the modules and a PC side download port, the modules comprise a master control module and a slave control module, and the method comprises the following steps:
(a) the PC side downloads the downloading bootstrap program to the main control module and operates the downloading bootstrap program;
(b) the PC side sends a handshake signal containing the information of the downloading task to the terminal, the downloading bootstrap program identifies which module or modules should be started to download the task according to the signal, the downloading channel is switched as required, and the downloading thread is started; wherein,
(b1) the PC side sends a handshake signal containing the information of the downloading task to the terminal, the downloading bootstrap program identifies which module or modules should be started to download the task according to the signal, if the main control module program is to be downloaded, the step (b2) is executed, otherwise, the step (b3) is executed;
(b2) after the main control module program is downloaded, judging whether the slave control module program needs to be downloaded, if so, continuing to execute the step (b3), otherwise, ending the downloading;
(b3) and starting a downloading thread of the slave control module, simultaneously switching the downloading channel to the downloading channel of the slave control module by the downloading bootstrap program, and starting and finishing the downloading of the slave control module program.
2. The method of claim 1, wherein step (a) further comprises: the PC provides a trigger signal through the download port to enable the analog baseband of the main control module to supply power to the outside, the digital baseband is reset, then the main control module runs the solidified starting code in the digital baseband, handshakes with the PC, receives the download bootstrap program sent by the PC side, stores the download bootstrap program in the random access memory in the digital baseband and runs.
3. The method of claim 2, wherein the trigger signal is a battery voltage signal and a charging voltage signal.
4. The method of claim 1, wherein the handshake signals specify a module to initiate a download task, one of: only the main control module program is downloaded, or only the slave control module program is downloaded, or the programs of the main control module and the slave control module are downloaded.
5. The method as claimed in claim 1, wherein in the step (b3), the downloading thread for starting the slave module is initiated by the downloading bootstrap program actively sending a request for downloading the slave module program to the PC side, and the PC side starting the downloading thread for the slave module after receiving the request.
6. The method as claimed in claim 1, wherein in the step (b3), the switching of the download channel to the download channel of the slave control module is performed by: the download bootstrap program in the digital baseband internal random access memory of the master control module sets a general input/output port output enable and pulls high or low, and the analog switch switches the download channel to the slave control module under the control of the signal.
7. The method of claim 1, wherein in step (b3), said initiating the download of the slave module program further comprises: and the downloading bootstrap program simulates the starting signal of the slave control module through a universal input/output port or a universal output port of the digital baseband of the master control module, triggers the analog baseband of the slave control module to supply power to the outside, resets the digital baseband and runs the starting code solidified in the digital baseband of the slave control module.
8. The method of claim 1, wherein in step (b3), said initiating the download of the slave module program further comprises: and the download bootstrap program simulates a charging voltage signal of the slave control module or a battery voltage and a charging voltage signal through a universal input/output port or a universal output port of the digital baseband of the master control module, triggers the analog baseband of the slave control module to supply power to the outside, resets the digital baseband, and runs a starting code solidified in the digital baseband of the slave control module.
CN200610090758A 2006-06-30 2006-06-30 Method for dual-mode mobile terminal to implement intermodule software continuous download Expired - Fee Related CN101098524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610090758A CN101098524B (en) 2006-06-30 2006-06-30 Method for dual-mode mobile terminal to implement intermodule software continuous download

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610090758A CN101098524B (en) 2006-06-30 2006-06-30 Method for dual-mode mobile terminal to implement intermodule software continuous download

Publications (2)

Publication Number Publication Date
CN101098524A CN101098524A (en) 2008-01-02
CN101098524B true CN101098524B (en) 2010-05-12

Family

ID=39011973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610090758A Expired - Fee Related CN101098524B (en) 2006-06-30 2006-06-30 Method for dual-mode mobile terminal to implement intermodule software continuous download

Country Status (1)

Country Link
CN (1) CN101098524B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237650B (en) * 2008-02-26 2011-01-05 中兴通讯股份有限公司 A method for upgrading dual-mode mobile phone via multiplexing serial port
CN102467478A (en) * 2010-11-18 2012-05-23 西安龙飞软件有限公司 Rapid software downloading method for dual-mode handset
CN102075914A (en) * 2010-12-29 2011-05-25 上海华勤通讯技术有限公司 Method for upgrading dual-mode mobile phone
CN102316109A (en) * 2011-09-14 2012-01-11 中兴通讯股份有限公司 Multimode terminal online video realization method, device and multimode terminal
CN102333129B (en) * 2011-10-31 2016-01-13 宇龙计算机通信科技(深圳)有限公司 The data download method of double-mode double-standby mobile terminal and system
CN106919524B (en) * 2015-12-25 2021-02-02 大唐半导体设计有限公司 Downloading method and device
CN110366265A (en) * 2018-03-26 2019-10-22 江苏嘉则信息技术有限公司 A kind of method for down loading and device
CN112181506B (en) * 2020-09-29 2024-04-19 美唐科技(江苏)有限公司 Software downloading system based on double 1860 system terminals and downloading method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547698A (en) * 2001-03-30 2004-11-17 ��˹��ŵ�� Downloading application software to mobile terminal
WO2005043911A1 (en) * 2003-11-04 2005-05-12 Electronics And Telecommunications Research Institute Apparatus and method for receiving data broadcasting service to support connection with mobile networks
CN1700790A (en) * 2004-05-21 2005-11-23 西门子移动通讯公司 Software download method with session mobility support in mobile communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547698A (en) * 2001-03-30 2004-11-17 ��˹��ŵ�� Downloading application software to mobile terminal
WO2005043911A1 (en) * 2003-11-04 2005-05-12 Electronics And Telecommunications Research Institute Apparatus and method for receiving data broadcasting service to support connection with mobile networks
CN1700790A (en) * 2004-05-21 2005-11-23 西门子移动通讯公司 Software download method with session mobility support in mobile communication system

Also Published As

Publication number Publication date
CN101098524A (en) 2008-01-02

Similar Documents

Publication Publication Date Title
CN101098524B (en) Method for dual-mode mobile terminal to implement intermodule software continuous download
CN111078606B (en) Analog I2C slave computer, implementation method thereof, terminal device and storage medium
EP3367582A1 (en) Data processing method, charging device and mobile terminal
CN107465227B (en) Electronic equipment and control method thereof
WO2017049548A1 (en) Mobile terminal, power supply adapter, and upgrading method thereof
CN108476060A (en) Method and bimodulus bluetooth equipment for establishing classical bluetooth connection between bimodulus bluetooth equipment
US20220329087A1 (en) Terminal device charging method and apparatus, and storage medium
EP3726925A1 (en) Mobile terminal, power adapter, and upgrade method thereof
CN102621478B (en) Dynamic test device and system of radio-frequency front-end chip
US10841783B2 (en) Method and apparatus for data communication using bluetooth low energy
CN110492575B (en) Quick charging system and method for handheld device and handheld device
CN108536452B (en) Embedded device, system software upgrading method, system and terminal thereof
CN113056033B (en) Bluetooth connection method and device, wearable device and computer-readable storage medium
CN112269086A (en) Charging cable identification method and device, charging cable and readable storage medium
CN104536917B (en) Multifunctional storage-based dynamic configuration circuit applied to FPAA
CN102624967A (en) Method and system for realizing document downloading in mobile terminal
CN101770434B (en) Method and system for switching different function units in PCI device
CN108153626B (en) USB, serial port multiplexing and safety isolation system
CN114237378B (en) Electronic device
WO2013078792A1 (en) Firmware updating method and device for coprocessor of smart terminal
EP2410435B1 (en) Signal transmission device and method
CN204680000U (en) The wireless renovator of a kind of DSP program code
CN201804245U (en) Programmable logic control system and programmable logic control module based on wireless technique
CN106919524B (en) Downloading method and device
CN210629552U (en) Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100512

Termination date: 20170630