CN100589078C - Multi-core terminal firmware upgrading method - Google Patents

Multi-core terminal firmware upgrading method Download PDF

Info

Publication number
CN100589078C
CN100589078C CN200710143037A CN200710143037A CN100589078C CN 100589078 C CN100589078 C CN 100589078C CN 200710143037 A CN200710143037 A CN 200710143037A CN 200710143037 A CN200710143037 A CN 200710143037A CN 100589078 C CN100589078 C CN 100589078C
Authority
CN
China
Prior art keywords
firmware
firmware upgrade
process chip
upgraded
service routine
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
CN200710143037A
Other languages
Chinese (zh)
Other versions
CN101105756A (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 CN200710143037A priority Critical patent/CN100589078C/en
Publication of CN101105756A publication Critical patent/CN101105756A/en
Application granted granted Critical
Publication of CN100589078C publication Critical patent/CN100589078C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a firmware upgrading method of multi-core terminals and relates to the upgrading technology of firmware, which is brought forward for solving the present complexity of the firmware upgrading. The technical proposal to resolve the problems is as follows: provide at least one processor chip with firmware upgrading service programs and connect the processor chips without firmware upgrading service programs with the processor chips that are equipped with firmware upgrading service programs. Firstly, when the upgrading service program receives the firmware upgrading orders,close all the processes except the upgrading service program in the processor chip that the upgrading service program is located in. Secondly, judge whether the firmware to be upgraded is located in the processor chip that the upgrading service program is located in: if so, analyze and cache the received firmware upgrading data packet and write the firmware upgrading data into the storage area ofthe present firmware to be upgraded; otherwise, send the firmware upgrading data packet to the processor chip that the firmware to be upgraded is located in and the processor chip analyzes and cachesthe firmware upgrading data packet and writes the firmware upgrading data into the storage area of the firmware to be upgraded. The invention is easy to realize and the firmware upgrading efficiency is high.

Description

The firmware upgrade method of multi-core terminal
Technical field
The present invention relates to the firmware upgrade technology, relate in particular to the firmware upgrade method in a kind of multi-core terminal.
Background technology
Universal day by day along with intelligent terminal, people are also more and more strong to the pursuit of intelligent terminal multi-service and processing speed.With the personal computer PC is example, and its processing speed promptly can be doubled every year, and famous " Moore's Law " that Here it is based on the high throughput of PC, could be supported more numerous and diverse business.Several years ago, the main means that improve the intelligent terminal processing speed are to improve the dominant frequency of process chip, and the frequency of current process chip is up to about 3.5G, but the dominant frequency of process chip is impossible infinitely to promote, based on this reason, the intelligent terminal of polycaryon processor arises at the historic moment.
Requirement to intelligent terminal is should support multi-service and can save cost again at present, and therefore, general intelligent terminal will be selected the process chip of difference in functionality for use.As everyone knows, the different process chip of function can not be produced by a manufacturer, its model, the inevitable difference of upgrade method.Like this, the software version of multinuclear intelligent terminal process chip is upgraded just become more thorny thing.The upgrade method of tradition multinuclear intelligent terminal process chip is to upgrade one by one at single chip software version, generally need multinuclear intelligent terminal dismounting back is operated by the professional, speed is than slow and complicated operation like this, have a strong impact on technical support after sale, damaged user's vital interests.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of firmware upgrade method of multi-core terminal, to realize the upgrading to any process chip in the multi-core terminal easily.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of firmware upgrade method of multi-core terminal, on the process chip or comprise the firmware upgrade service routine is installed at least one process chip of main control process chip, the process chip of firmware upgrade service routine is not installed and installs between the process chip of firmware upgrade service routine and be provided with communication port, this method comprises:
When the upgrade service program on process chip of the upgrade service program on A, the main control process chip or unique installation upgrade service program receives the firmware upgrade instruction, close all processes except that the upgrade service program in the process chip of upgrade service program place;
B, judge according to firmware upgrade instruction whether firmware to be upgraded is arranged in upgrade service program place process chip, buffer memory receives the firmware upgrade packet if then resolve also, the firmware upgrade data of buffer memory is write the firmware storage areas to be upgraded of upgrade service program place microarray biochip; Then the firmware upgrade packet is forwarded to firmware to be upgraded place process chip if not by communication port, described process chip is resolved and buffer memory receives the firmware upgrade packet, the firmware upgrade data of buffer memory are write described firmware storage areas to be upgraded, finish firmware upgrade.
Wherein, also comprise after the step B:
Described firmware upgrade service routine judges that according to receiving firmware upgrade information whether current upgrading is successful, returns step B when unsuccessful.
Wherein, the firmware upgrade data write firmware storage areas to be upgraded among the step B, comprising:
Judge and whether comprise non-volatile internal storage data in the firmware upgrade data, when comprising, duplicate described non-volatile internal storage data, after treating that the firmware upgrade data write firmware storage areas to be upgraded, copy data is write in the respective regions of register of firmware to be upgraded place process chip.
Wherein, the communication port that is provided with between the process chip that the firmware upgrade service routine is not installed and the process chip that the firmware upgrade service routine is installed comprises at least: the passage of the passage that serial ports is connected, USB interface connection.
Wherein, the firmware upgrade service routine is installed at least one process chip, is comprised:
The firmware upgrade service routine is installed on the main control process chip.
Wherein, the process chip of installation firmware upgrade service routine is provided with the external interface that at least one is communicated by letter with described firmware upgrade service routine.
Wherein, described interface is serial ports, network interface or USB interface.
Wherein, described firmware storage areas is non-volatile register.
The present invention is by installing the firmware upgrade service routine in the process chip in multi-core terminal, and set up other process chip and the communication port of the process chip of firmware upgrade service routine has been installed, and on the process chip that the firmware upgrade service routine has been installed, external communication interface is set, make the firmware upgrade service routine can receive outside upgrade and firmware upgrade procedure, can finish upgrading firmware in all process chip in the multi-core terminal.The present invention realizes simply, firmware upgrade efficient is higher.
Description of drawings
Fig. 1 is the process flow diagram of the firmware upgrade method of multi-core terminal of the present invention.
Embodiment
Core concept of the present invention is: in multi-core terminal, though be a plurality of process chip coexistences, a main control process chip generally can be set to respectively coordinating and managing from process chip, the major function of main control process chip is coordinated management, and supports the realization of concrete function from process chip.The present invention can install the firmware upgrade service routine and the external interface of communicating by letter with described firmware upgrade service routine is set on the main control process chip; The firmware upgrade service routine judges whether firmware to be upgraded is positioned at described firmware upgrade service routine place process chip after receiving outside upgrade, if then resolve and buffer memory firmware upgrade packet, and realizes the upgrading of firmware; Then directly with the process chip of firmware upgrade packet transparent transmission, finish the upgrading of corresponding firmware after described process chip parsing and the buffer memory firmware upgrade data if not to firmware to be upgraded place.The present invention realizes simply, the efficient of upgrading is higher, and cost is low.Describe the present invention below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of the firmware upgrade method of multi-core terminal of the present invention, and as shown in Figure 1, the firmware upgrade method of multi-core terminal of the present invention may further comprise the steps:
Step 101: the firmware upgrade service routine is installed at least one process chip, is provided with communication port between the process chip that the firmware upgrade service routine is not installed and the process chip of installation firmware upgrade service routine.Among the present invention, the firmware upgrade service routine is installed on the main control process chip of multi-core terminal and gets final product, and on the main control process chip, the external communication interface of communicating by letter with the firmware upgrade service routine is set.It also is optimum solution that the firmware upgrade service routine is arranged at the main control process chip, because all establish communication port in main control process chip and the multi-core terminal between other the process chip, after the firmware upgrade service routine in the main control process chip receives firmware upgrade procedure, can transmit by the firmware in other process chip firmware updatings or the main control process chip of directly upgrading according to the particular location of firmware to be upgraded.Certainly, the firmware upgrade service routine also can be installed in simultaneously multi-core terminal on process chip, need to be provided with the external interface that communicates with the firmware upgrade service routine on the process chip equally.If what the firmware upgrade service routine had been installed is not provided with communication port from process chip and other from process chip, then by himself external interface only scalable himself.If a certain have communication port with all the other process chip from process chip, then the firmware upgrade service routine only is installed in this and also can on process chip.
External communication interface of the present invention can be serial ports, network interface or USB interface etc.
The firmware upgrade service routine is specifically designed to firmware upgrade, and it can receive outside firmware upgrade instruction by the external communication interface on the process chip, resolves upgrade, receives the firmware upgrade procedure packet, resolves the firmware upgrade procedure packet, the transparent transmission firmware upgrade procedure, firmware upgrade procedure is forwarded to other process chip, stores with the information of other process chip communication channels, carries out the mutual etc. of firmware upgrade information with other process chip.Other firmware stores in firmware upgrade service routine and the process chip can not be triggered during not to firmware upgrade together, are equivalent to firmware in the process chip.After process chip powered on, service routine started, and is equivalent to a server end, waits for that outside upgrade software is equivalent to the connection request of client, if having request then to connect upgrades, if then do not wait for always.The wait process takies very little internal memory, does not influence other processes and carries out.It will be appreciated by those skilled in the art that the firmware upgrade service routine is easy to realize.
Step 102: when the firmware upgrade service routine receives the firmware upgrade instruction, close all processes except that the firmware upgrade service routine in the process chip of firmware upgrade service routine place.When multi-core terminal is carried out firmware upgrade, generally can be chosen in multi-core terminal does not have professional the time, for guaranteeing the efficient of upgrading, when firmware upgrade service routine of the present invention receives upgrade, whether will judge has other processes in operation in the current process chip, if have and then close it, only surplus firmware upgrade service routine operation.The purpose that the present invention closes other processes is in order to improve the efficient of firmware upgrade.
Step 103: the firmware upgrade service routine judges that whether firmware to be upgraded is arranged in upgrade service program place process chip, then enters step 105 if not.
Step 104: the firmware upgrade service routine is directly resolved and the firmware upgrade packet of external transmission that buffer memory receives, with the write direct firmware storage areas to be upgraded of current process chip of institute's buffer memory firmware upgrade data.Determining of firmware storage areas to be upgraded is next definite according to the firmware upgrade instruction equally: the firmware upgrade service routine instructs to determine the storage area of firmware to be upgraded according to the firmware upgrade of resolving, directly wipe this storage area data, and this storage area is arrived in the firmware updating program copy.
Step 105: the firmware upgrade packet transparent transmission that the external transmission that received is come by communication port is to firmware to be upgraded place process chip, by the firmware upgrade packet that described process chip is resolved and buffer memory received, the firmware upgrade data of institute's buffer memory are write described firmware storage areas to be upgraded.
Among the present invention, the firmware upgrade data in the step 104,105 are the upgrade data of whole firmware or the upgrade data of one of them data module.If the upgrade data of data module, only the data module of replacing corresponding firmware with these data module data gets final product.
In the step 104 of the present invention, 105, before wiping the data of firmware storage areas to be upgraded, also comprise: judge whether comprise non-volatile internal storage data in the firmware upgrade data, need promptly to judge whether the non-volatile internal storage data of upgrading, when comprising non-volatile internal storage data, back up these non-volatile internal storage datas, after treating that the firmware upgrade data write firmware storage areas to be upgraded, Backup Data is write the respective regions of the register of firmware to be upgraded place process chip.
Step 106: the firmware upgrade service routine judges that according to received firmware upgrade information whether current upgrading is successful, returns step 103 when unsuccessful.
Among the present invention, firmware upgrade success or not object information will return the firmware upgrade service routine, fail if the firmware upgrade data write in the firmware storage areas to be upgraded, and then the firmware upgrade service routine will be indicated this firmware of upgrading again.
Step 107: finish to work as pre-treatment.
Among the present invention, the communication port that is provided with between the process chip that the firmware upgrade service routine is not installed and the process chip that the firmware upgrade service routine is installed is: the passage of the passage that serial ports is connected, USB interface connection.Described firmware storage areas is the Flash memory block.
Multi-core terminal of the present invention can be computing machine, wireless access box, residential gateway, portable terminal such as multinuclear intelligent terminals such as mobile phone or personal digital assistant.The present invention realizes simply, the efficient of upgrading is higher, and cost is low.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (8)

1, a kind of firmware upgrade method of multi-core terminal, it is characterized in that, a process chip or comprise the firmware upgrade service routine is installed at least one process chip of main control process chip, the process chip of firmware upgrade service routine is not installed and installs between the process chip of firmware upgrade service routine and be provided with communication port, this method comprises:
When the upgrade service program on process chip of the upgrade service program on A, the main control process chip or unique installation upgrade service program receives the firmware upgrade instruction, close all processes except that the upgrade service program in the process chip of upgrade service program place;
B, judge according to firmware upgrade instruction whether firmware to be upgraded is arranged in upgrade service program place process chip, buffer memory receives the firmware upgrade packet if then resolve also, the firmware upgrade data of buffer memory is write the firmware storage areas to be upgraded of upgrade service program place chip; Then the firmware upgrade packet is forwarded to firmware to be upgraded place process chip if not by communication port, described process chip is resolved and buffer memory receives the firmware upgrade packet, the firmware upgrade data of buffer memory are write described firmware storage areas to be upgraded, finish firmware upgrade.
2, the firmware upgrade method of multi-core terminal according to claim 1 is characterized in that, also comprises after the step B:
Described firmware upgrade service routine judges that according to receiving firmware upgrade information whether current upgrading is successful, returns step B when unsuccessful.
3, the firmware upgrade method of multi-core terminal according to claim 1 and 2 is characterized in that, the firmware upgrade data write firmware storage areas to be upgraded among the step B, comprising:
Judge and whether comprise non-volatile internal storage data in the firmware upgrade data, when comprising, duplicate described non-volatile internal storage data, after treating that the firmware upgrade data write firmware storage areas to be upgraded, copy data is write in the respective regions of register of firmware to be upgraded place process chip.
4, the firmware upgrade method of multi-core terminal according to claim 3, it is characterized in that the communication port that is provided with between the process chip that the firmware upgrade service routine is not installed and the process chip that the firmware upgrade service routine is installed comprises at least: the passage of the passage that serial ports is connected, USB interface connection.
5, the firmware upgrade method of multi-core terminal according to claim 4 is characterized in that, the firmware upgrade service routine is installed at least one process chip, comprising:
The firmware upgrade service routine is installed on the main control process chip.
6, the firmware upgrade method of multi-core terminal according to claim 5 is characterized in that, the process chip that the firmware upgrade service routine is installed is provided with the external interface that at least one is communicated by letter with described firmware upgrade service routine.
7, the firmware upgrade method of multi-core terminal according to claim 6 is characterized in that, described interface is serial ports, network interface or USB interface.
8, the firmware upgrade method of multi-core terminal according to claim 6 is characterized in that, described firmware storage areas is non-volatile register.
CN200710143037A 2007-08-21 2007-08-21 Multi-core terminal firmware upgrading method Expired - Fee Related CN100589078C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710143037A CN100589078C (en) 2007-08-21 2007-08-21 Multi-core terminal firmware upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710143037A CN100589078C (en) 2007-08-21 2007-08-21 Multi-core terminal firmware upgrading method

Publications (2)

Publication Number Publication Date
CN101105756A CN101105756A (en) 2008-01-16
CN100589078C true CN100589078C (en) 2010-02-10

Family

ID=38999662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710143037A Expired - Fee Related CN100589078C (en) 2007-08-21 2007-08-21 Multi-core terminal firmware upgrading method

Country Status (1)

Country Link
CN (1) CN100589078C (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815282A (en) * 2009-02-20 2010-08-25 中兴通讯股份有限公司 Method and device for upgrading multimedia broadcast firmware in terminal
CN101593119B (en) * 2009-05-26 2013-07-03 中兴通讯股份有限公司 Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN101662390B (en) * 2009-09-24 2012-10-10 中兴通讯股份有限公司 Upgrade protecting method and device thereof
CN101697128A (en) * 2009-10-10 2010-04-21 中兴通讯股份有限公司 Version upgrading method and device
CN102655025B (en) * 2011-03-04 2015-12-09 安凯(广州)微电子技术有限公司 The System and method for of burning baseband chip under a kind of dual chip scheme
CN102890636A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Firmware upgrade method and system under Android system
CN102436390B (en) * 2012-01-09 2015-06-03 北京华为数字技术有限公司 Method and equipment for upgrading software of multi-core processor
CN104484200B (en) * 2014-12-09 2018-05-25 小米科技有限责任公司 The method and device upgraded to firmware
CN104503786B (en) 2014-12-15 2020-10-16 小米科技有限责任公司 Firmware refreshing method and device
CN104899064A (en) * 2015-06-03 2015-09-09 成都天奥信息科技有限公司 Remote intelligent upgrading method for dual multi-core DSPs (Digital Signal Processor) of pulse pressure navigation radar
CN105183503B (en) * 2015-08-12 2018-10-12 浪潮(北京)电子信息产业有限公司 A kind of security upgrading method and device of security software
CN105487875B (en) * 2015-12-18 2019-08-27 杭州士兰微电子股份有限公司 Control method, control device and its processor system of program storage
CN106293824A (en) * 2016-08-04 2017-01-04 青岛海信电器股份有限公司 A kind of from the method and device processing chip upgrade
CN106293822A (en) * 2016-08-04 2017-01-04 青岛海信电器股份有限公司 A kind of from the method and device processing chip upgrade
CN107391170B (en) * 2017-06-14 2021-01-22 深圳市共进电子股份有限公司 Upgrading method and device supporting multiple schemes and computer equipment
CN107329784B (en) * 2017-06-27 2021-01-05 广东美的暖通设备有限公司 Firmware upgrading method and distributed multi-layer system
CN108845811B (en) * 2018-05-30 2021-12-03 武汉高仕达电气有限公司 Dual-core DSP firmware upgrading method and system based on CAN bus
CN109104308B (en) * 2018-08-01 2021-11-09 宁波三星智能电气有限公司 Route management method and upgrading system based on electric power terminal upgrading
CN112579114A (en) * 2019-09-27 2021-03-30 阿里巴巴集团控股有限公司 Program upgrading method and device for Internet of things equipment and Internet of things equipment
CN111158725B (en) * 2019-12-30 2024-01-23 上海达梦数据库有限公司 Program upgrading method, device, terminal and storage medium
CN111984288B (en) * 2020-07-29 2024-04-16 深圳市拔超科技股份有限公司 Remote electronic system upgrading device and method based on MCU and FPGA
CN114430448A (en) * 2020-10-29 2022-05-03 西安诺瓦星云科技股份有限公司 Correction data transmission method, device and system and display control device
CN113204364A (en) * 2021-05-28 2021-08-03 广州众诺电子技术有限公司 Chip firmware upgrading method and device, electronic equipment and storage medium
CN113596818B (en) * 2021-08-11 2023-06-09 浙江水晶光电科技股份有限公司 Method, system and computer readable storage medium for upgrading over-the-air technology
CN113672271A (en) * 2021-08-24 2021-11-19 天津津航计算技术研究所 Domestic FPGA remote upgrading system and method

Also Published As

Publication number Publication date
CN101105756A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
CN100589078C (en) Multi-core terminal firmware upgrading method
CN107911421B (en) Method, apparatus, and computer storage medium for configuring cross-network communications in a blockchain
CN102209098B (en) Smart card remote detection method and system
CN1398093A (en) Wireless data communication method and device for data processing system
KR20120096858A (en) Remote wakeup of application processor of mobile device
CN101673209A (en) Method for updating program of multiple single chip microcomputers
CN103294509A (en) Multi-serial equipment driving process for VxWorks operating system
CN103164244A (en) Firmware system long-distance updating methods based on unified extensible firmware interface
CN102609222A (en) Flash memory control method based on command descriptors
CN102118436A (en) Method and system for achieving a remot control help session on a computing device
CN108512747A (en) The plug-in management method and home gateway of home gateway, communication system
CN101896896A (en) Efficient interrupt message definition
CN103200199A (en) Out of band (OOB) data collection system
CN102388357A (en) Method and system for accessing memory device
CN104601617A (en) Peripheral access processing method and device in virtual desktop system
CN106452835B (en) The method and device thereof that the terminal software of particular hardware configuration updates
US9465599B2 (en) Method, device and system for installing terminal software
CN113010470A (en) Edge node remote control system, method, device and storage medium
CN102394920B (en) A kind of method of shared computer network, mobile terminal and computer
CN101178656A (en) Board software paralleling download method
CN104793998B (en) Terminal system resource management method and device
CN104348583A (en) Information processing method and electronic equipment
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit
CN205281471U (en) Printing terminal and system
CN111294413A (en) Method, device and readable medium for determining Internet Protocol (IP) address

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: 20100210

Termination date: 20170821

CF01 Termination of patent right due to non-payment of annual fee