CN102541582A - Optimization method for firmware updating based on high-pass baseband chip - Google Patents
Optimization method for firmware updating based on high-pass baseband chip Download PDFInfo
- Publication number
- CN102541582A CN102541582A CN2010106190976A CN201010619097A CN102541582A CN 102541582 A CN102541582 A CN 102541582A CN 2010106190976 A CN2010106190976 A CN 2010106190976A CN 201010619097 A CN201010619097 A CN 201010619097A CN 102541582 A CN102541582 A CN 102541582A
- Authority
- CN
- China
- Prior art keywords
- baseband chip
- firmware
- optimization method
- firmware update
- ram
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an optimization method for firmware updating based on a high-pass baseband chip, in order to solve the problems of low efficiency and poor stability of the high-pass original firmware updating method. The method comprises the following steps of: stage 1, receiving a firmware file from a PC (Personal Computer) end through a high-speed USB (Universal Serial Bus) and storing in an RAM (Random Access Memory); and stage 2, downloading the firmware file in the RAM into a flash so as to fulfill the aim of high-speed firmware updating. By newly establishing a new download process and canceling the concept of packet in a download program, the speed of updating firmware can be greatly increased. Meanwhile, by changing a data transmission mode and an error mechanism, the stability of firmware updating and correctness for transmitted data are improved.
Description
Technical field
The present invention relates to the optimization of the firmware update of baseband chip, can improve firmware burning speed more than 5 times.Related in particular in process of production, improved based on the efficient of the Software Production burning of the 3G mobile of high pass baseband chip and 3G wireless Internet card.
Background technology
The high pass baseband chip is mainly used in the 3G wireless Internet card, in the telecom terminal products such as 3G mobile, especially high-end intelligent machine.The required firmware of normal operation of baseband chip comprises the program that makes the baseband chip normal operation, to the reception configuration of network signal, basic note, phone, data, services, and the interface that offers application program of mobile phone.
Based on the 3G mobile of high pass baseband chip, the end product of 3G wireless Internet card need be with the firmware burning of baseband chip in flash when plant produced.The process of downloading burning need be by the control that downloads, and the efficient that therefore downloads directly influences the efficient of plant produced and the quality of product.Also need downloading when unique user carries out firmware update simultaneously by baseband chip.Qualcomm provides by the QPST software of PC end control and required the downloading of specific baseband chip operation, as the instrument of firmware update.
The original firmware update flow process of high pass is divided two parts: at first being QPST moves baseband chip among the RAM that required downloading burn into baseband chip (general 1~2 second); To be QPST split into the packet of maximum 1K with firmware file for next, sends downloading of baseband chip to through USB; Downloading of baseband chip advanced flash with the packet that splits burning successively, if make a mistake then stop immediately, if transmission is normal, after the bag result of QPST as received basis microarray strip, will continue the fractionation firmware until end of transmission.(data of 10M need 100 seconds)
The maximum time resource consumption of the method is to be that round-robin has carried out the transmission of 1K packet; And on the market based on the firmware of the 3G mobile of high pass baseband chip at least more than 50M even more; Therefore adopt the method speed of this firmware update slow; Be merely about 100k/s, in case and make mistakes then cause system in case of system halt, stability of data transmission is not high.
Summary of the invention
Deficiency to prior art; The object of the present invention is to provide optimization method based on the firmware update of high pass baseband chip; Can improve speed of download more than 5 times, be very easy to research and development and DIY user's use, reduce production time and the cost of factory in the firmware update link.
Based on the optimization method of the firmware update of high pass baseband chip, described content of the present invention has comprised the Control Software of PC end, is used for replacing the QPST instrument, and the required two parts that download of baseband chip operation.
The optimization method of firmware update comprises three parts:
1, the Control Software of described PC end is moved required newly downloaded program with baseband chip and is burnt in the storer of baseband chip general 1~2 second of time.
2, the Control Software of described PC end sends firmware file to the newly downloaded program of baseband chip through USB; Newly downloaded program only leaves packet among the internal memory RAM in.The data of 10M need about 1 second.
3, the Control Software of described PC end is sent " transmission OK " and is ordered to baseband chip, baseband chip download with the firmware data of depositing among the internal memory RAM through CRC check after, be burned onto flash by downloading of baseband chip.The 10M data need 12 seconds.
The invention has the beneficial effects as follows: improve the speed of firmware update, the cost that saves time is greatly increased work efficiency; Replacing error handling processing mechanism with the validity of CRC raising data transmission, improves the stability of chip.
Description of drawings
Fig. 1 is original method software flow synoptic diagram;
Fig. 2 is the software flow synoptic diagram of optimization method of the present invention.
Embodiment
How further specify the present invention below in conjunction with accompanying drawing realizes:
Like accompanying drawing 1, shown in 2: the Control Software of PC end at first reads firmware file, whole file is calculated the CRC check sign indicating number of 2 bytes.
The baseband chip operation downloads and switches to new firmware update pattern, applies for a big internal memory; The decoding of the bag of cancellation PC end forward data.Represent that just next bag no longer is a HDLC protocol data bag.The file size of the firmware of noting that transmits and crc check code, and the start address of depositing in flash, and return an ACK; After the Control Software of PC end obtains ACK then, directly whole firmware image is sent to baseband chip, baseband chip receives firmware data, deposits in the internal memory.
After baseband chip received 0x21 order, 2 byte crc check codes according to the storage of first order carried out the crc verification to the firmware among the RAM, and verification OK then advances flash with the whole firmware burning among the RAM.If verification not through return the Control Software of fail to PC end, PC end Control Software is responsible for transmitting firmware again to RAM.
Claims (5)
1. based on the optimization method of the firmware update of high pass baseband chip, it is characterized in that: the optimization method step of described firmware update comprises:
1), the Control Software of PC end is moved required newly downloaded program with baseband chip and is burnt in the storer of baseband chip;
2), the Control Software of PC end sends firmware file to the newly downloaded program of baseband chip through USB; Newly downloaded program only leaves packet among the internal memory RAM in;
3), the Control Software of PC end is sent " transmission OK " orders to baseband chip, baseband chip download with the firmware data of depositing among the internal memory RAM through CRC check after, be burned onto flash by downloading of baseband chip;
2. the optimization method of the firmware update based on the high pass baseband chip according to claim 1 is characterized in that: described newly downloaded program burns into general 1~2 second of the time in the storer of baseband chip.
3. the optimization method of the firmware update based on the high pass baseband chip according to claim 1, it is characterized in that: described newly downloaded program only leaves packet among the internal memory RAM in, and the data of 10M need about 1 second.
4. the optimization method of the firmware update based on the high pass baseband chip according to claim 1, it is characterized in that: the newly downloaded program of described baseband chip is burned onto flash with packet, and the 10M data need 12 seconds.
5. the optimization method of the firmware update based on the high pass baseband chip according to claim 1 is characterized in that: describedly rebulid new download flow process according to 3 steps, the notion of cancellation bag; Through high speed USB, receive firmware file from the PC termination, and be stored among the RAM; The firmware file among the RAM, download among the flash; Guarantee the transmission correctness of data with CRC.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106190976A CN102541582A (en) | 2010-12-30 | 2010-12-30 | Optimization method for firmware updating based on high-pass baseband chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106190976A CN102541582A (en) | 2010-12-30 | 2010-12-30 | Optimization method for firmware updating based on high-pass baseband chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102541582A true CN102541582A (en) | 2012-07-04 |
Family
ID=46348553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106190976A Pending CN102541582A (en) | 2010-12-30 | 2010-12-30 | Optimization method for firmware updating based on high-pass baseband chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102541582A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838612A (en) * | 2014-03-31 | 2014-06-04 | 广州视睿电子科技有限公司 | Device, method and system for burning firmware in factory |
CN104978253A (en) * | 2015-06-24 | 2015-10-14 | 合肥格易集成电路有限公司 | Target file checking method and apparatus |
CN105677434A (en) * | 2016-03-18 | 2016-06-15 | 格科微电子(上海)有限公司 | OTP (One Time Programmable) memory burn method for image sensor |
CN105988887A (en) * | 2015-01-31 | 2016-10-05 | 深圳市硅格半导体有限公司 | Memory card data processing system and memory card data processing method |
CN106155725A (en) * | 2015-04-16 | 2016-11-23 | 联想(上海)信息技术有限公司 | Encryption chip firmware update, device and electronic equipment |
CN109669705A (en) * | 2018-12-19 | 2019-04-23 | 四川虹美智能科技有限公司 | A kind of method and system of programming firmware |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101046749A (en) * | 2006-03-31 | 2007-10-03 | 联想(北京)有限公司 | Chip firmware updating method |
CN101355434A (en) * | 2007-07-24 | 2009-01-28 | 中兴通讯股份有限公司 | Method and apparatus for upgrading software of multimedia remote terminal |
CN101667133A (en) * | 2009-09-30 | 2010-03-10 | 威盛电子股份有限公司 | Method for updating firmware and chip updating firmware by using same |
-
2010
- 2010-12-30 CN CN2010106190976A patent/CN102541582A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101046749A (en) * | 2006-03-31 | 2007-10-03 | 联想(北京)有限公司 | Chip firmware updating method |
CN101355434A (en) * | 2007-07-24 | 2009-01-28 | 中兴通讯股份有限公司 | Method and apparatus for upgrading software of multimedia remote terminal |
CN101667133A (en) * | 2009-09-30 | 2010-03-10 | 威盛电子股份有限公司 | Method for updating firmware and chip updating firmware by using same |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838612A (en) * | 2014-03-31 | 2014-06-04 | 广州视睿电子科技有限公司 | Device, method and system for burning firmware in factory |
CN103838612B (en) * | 2014-03-31 | 2018-05-22 | 广州视睿电子科技有限公司 | Device, method and system for burning firmware in factory |
CN105988887A (en) * | 2015-01-31 | 2016-10-05 | 深圳市硅格半导体有限公司 | Memory card data processing system and memory card data processing method |
CN106155725A (en) * | 2015-04-16 | 2016-11-23 | 联想(上海)信息技术有限公司 | Encryption chip firmware update, device and electronic equipment |
CN104978253A (en) * | 2015-06-24 | 2015-10-14 | 合肥格易集成电路有限公司 | Target file checking method and apparatus |
CN104978253B (en) * | 2015-06-24 | 2018-02-09 | 合肥格易集成电路有限公司 | A kind of method and apparatus of file destination verification |
CN105677434A (en) * | 2016-03-18 | 2016-06-15 | 格科微电子(上海)有限公司 | OTP (One Time Programmable) memory burn method for image sensor |
CN109669705A (en) * | 2018-12-19 | 2019-04-23 | 四川虹美智能科技有限公司 | A kind of method and system of programming firmware |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102541582A (en) | Optimization method for firmware updating based on high-pass baseband chip | |
CN103279371B (en) | A kind of many methods from the upgrading of machine program on-line synchronous of dcs | |
CN103118198B (en) | The firmware upgrade method of mobile terminal and system | |
CN102033944A (en) | Mobile terminal-based web page display system and method | |
CN1988535A (en) | Synchronous method, system for file storage and customer terminal | |
CN103973421A (en) | File transmitting method and device | |
CN113031990B (en) | Broadcasting upgrading method, system, equipment and storage medium of street lamp terminal | |
CN104123245A (en) | Method and system for realizing peripheral device compatibility | |
CN104469501A (en) | Set top box automatic set-up method based on serial communication protocol | |
CN104683452A (en) | Data downloading method, server and multi-system mobile terminal | |
CN111953520A (en) | Method, apparatus, device and medium for implementing group control through group virtual device | |
CN103838587A (en) | Control system remote upgrading method and device based on GPRS | |
CN114416135A (en) | Internet of things cloud platform remote terminal upgrading system and method | |
CN109302456A (en) | A kind of document transmission method and device based on aerial downloading OTA technology | |
EP1598739A4 (en) | Native compile method, native compile preprocessing method, computer program, and server | |
CN109788034B (en) | Configuration method for gateway access equipment, electronic equipment and storage medium | |
CN202094943U (en) | GPRS vehicle-mounted communication system having FTP remote wireless upgrade function | |
CN109889368B (en) | GPRS remote upgrading method based on STM32 controller | |
CN101951642A (en) | Method and device for regulating download speed of mobile terminal | |
CN102196411A (en) | Mobile communication terminal and communication software upgrading method | |
CN111858160B (en) | IeMMC method and system convenient for cloud mobile phone access | |
CN103906007A (en) | Multimedia-message forwarding method and device | |
CN110187891B (en) | Program development method and system for multi-core programmable controller | |
CN102891888B (en) | Data access method and related equipment and system | |
CN101296448A (en) | Terminal software upgrading method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120704 |