CN102955710A - Method for upgrading vehicle-mounted terminal firmware based on GPRS (General Packet Radio Service) channel - Google Patents

Method for upgrading vehicle-mounted terminal firmware based on GPRS (General Packet Radio Service) channel Download PDF

Info

Publication number
CN102955710A
CN102955710A CN2012104812907A CN201210481290A CN102955710A CN 102955710 A CN102955710 A CN 102955710A CN 2012104812907 A CN2012104812907 A CN 2012104812907A CN 201210481290 A CN201210481290 A CN 201210481290A CN 102955710 A CN102955710 A CN 102955710A
Authority
CN
China
Prior art keywords
firmware
gprs
vehicle
mounted terminal
channel
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
CN2012104812907A
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.)
Shenzhen Hangsheng Electronic Co Ltd
Original Assignee
Shenzhen Hangsheng Electronic Co Ltd
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 Shenzhen Hangsheng Electronic Co Ltd filed Critical Shenzhen Hangsheng Electronic Co Ltd
Priority to CN2012104812907A priority Critical patent/CN102955710A/en
Publication of CN102955710A publication Critical patent/CN102955710A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for upgrading a vehicle-mounted terminal firmware based on a GPRS (General Packet Radio Service) channel. The method comprises the following steps of: A, starting; B, transmitting the firmware through a GPRS wireless network channel; C, reading and saving the firmware to a spiflash editor; D, judging whether a Flash burner mark meets or not, if yes, entering the step E, and otherwise, entering the step F; E, reading firmware burning from the spiflash editor and clearing away the burning mark; F, skipping to an application code part; and G, ending. The method disclosed by the invention has the beneficial effects that the firmware is directly transmitted and is remotely upgraded through the GPRS wireless network channel; the phenomena that field workers go on the vehicle for disassembling the machine and normal use of the vehicle by a vehicle owner is hindered are avoided; the firmware upgrade on a computer is directly finished by background operators; and a plurality of machines can be simultaneously operated, so that the waste of great labor force and financial resources is avoided.

Description

A kind of car-mounted terminal firmware upgrade method based on the GPRS passage
Technical field
The present invention relates to the car-mounted terminal firmware upgrade method, relate in particular to a kind of car-mounted terminal firmware upgrade method based on the GPRS passage.
Background technology
Traditional vehicle carrier communication equipment is by the staff equipment to be removed from car, and carries notebook and connect firmware updating with data line, perhaps equipment is taken back company and disassembles shell and finish upgrading.
The firmware upgrade method of traditional vehicle carrier communication equipment has following defective:
1. traditional vehicle carrier communication equipment dress just is not easy splitly to get off onboard, not only requires the staff to possess very high assembling level, also will the line construction of every kind of automobile be perfectly clear.
2. allow the car owner stop and the equipment of pulling down uses the very large obstruction of generation normally to the car owner, can allow the car owner produce great complaint, can more allow the car owner complain if the whole process of operating personnel has delayed for a long time.
3. if need the machine quantity of upgrading huge, this will be a huge quantities, can waste huge manpower, financial resources.
Summary of the invention
In order to solve the problems of the prior art, the invention provides a kind of car-mounted terminal firmware upgrade method based on the GPRS passage.
The invention provides a kind of car-mounted terminal firmware upgrade method based on the GPRS passage, may further comprise the steps:
A, beginning;
B, send firmware by the GPRS wireless tunnel;
C, read and be saved in spi flash programmable device;
Whether D, Flash burning sign satisfy, if satisfy, then enter step e, if do not satisfy, then enter step F;
E, read firmware burning from spi flash programmable device, remove the burning sign;
F, jump to the application code place;
G, end.
As a further improvement on the present invention, step C is that application module receives by the GPRS wireless tunnel, is saved in outside spi flash programmable device.
The invention has the beneficial effects as follows: by such scheme, without field personnel's teardown of engine of getting on the bus, directly by GPRS wireless tunnel transmission firmware, carry out remote firmware updating; Directly by GPRS wireless tunnel transmission firmware, the car owner can not know whole process, does not hinder the car owner normally to use vehicle yet; Directly finish on computers firmware upgrade by the consistency operation personnel, and a plurality of machine can carry out simultaneously, avoid the waste with a large amount of manpowers, financial resources.
Description of drawings
Fig. 1 is the schematic flow sheet of a kind of car-mounted terminal firmware upgrade method based on the GPRS passage of the present invention.
Embodiment
The present invention is further described below in conjunction with description of drawings and embodiment.
As shown in Figure 1, a kind of car-mounted terminal firmware upgrade method based on the GPRS passage may further comprise the steps:
A, beginning;
B, send firmware by the GPRS wireless tunnel;
C, read and be saved in spi flash programmable device;
Whether D, Flash burning sign satisfy, if satisfy, then enter step e, if do not satisfy, then enter step F;
E, read firmware burning from spi flash programmable device, remove the burning sign;
F, jump to the application code place;
G, end.
As shown in Figure 1, step C is that application module receives by the GPRS wireless tunnel, is saved in outside spi flash programmable device.
IAP, full name are " In-Application Programming ", and Chinese is interpreted as " programming " in program.IAP be a kind of to the external interface by microcontroller (such as USART, IIC, CAN, USB, Ethernet interface or even outside flash) to just carry out the technology (noticing that this is different from ICP or ISP technology fully) of the renewal of internal processes at the microcontroller of working procedure.ICP(In-Circuit Programming) technology is namely carried out program burn writing by in-circuit emulator to single-chip microcomputer, and the ISP technology then is the programming technology by the built-in bootloader program designation of single-chip microcomputer.No matter be ICP technology or ISP technology, all need to have mechanical operation as connecting downloading wire, jumper cap etc. is set.If the circuit board of product has been sealed in the shell layer by layer, carry out program updates to it difficult undoubtedly, if product is installed on the place that narrow space etc. is difficult to touch, especially a disaster.If but advance to have introduced the IAP technology, then can avoid above-mentioned awkward situation fully, and if use remote or wireless data transmission scheme, even can realize remote programmable and wireless programming.This definitely is that ICP or ISP technology can't be accomplished.Certain microcontroller supports that but the primary prerequisite of IAP technology is its microcontroller that must be based on the overprogram flash memory.We select the STM32 microcontroller with programmable onboard flash memory at present, simultaneously STM32 have quantitatively with kind on very abundant peripheral communication interfaces all, therefore realize that at STM32 the IAP technology is feasible.
Application module receives by can or gprs, is saved in outside spi flash, and a sign of appointing can be set simultaneously, and software restarting enters the bootloader module afterwards.The bootloader module detects this sign and just advances the bootloader routine, otherwise just jumps to application code.The also compatible original uart bootloader that passes through of code simultaneously.
GPRS is the abbreviation of general packet radio service technology (General Packet Radio Service), and it is a kind of mobile data services that the gsm mobile telephone user can use.GPRS can say the continuity of GSM.GPRS is to transmit with package (Packet) formula with in the past continuously different in the mode of channel transmission, so the expense that the user bears is to calculate with its data transmission unit, is not its whole channel of use, and is comparatively cheap in theory.The transfer rate of GPRS can be promoted to 56 even 114Kbps.
As shown in Figure 1, a kind of car-mounted terminal firmware upgrade method based on the GPRS passage provided by the invention without field personnel's teardown of engine of getting on the bus, directly by GPRS wireless tunnel transmission firmware, carries out remote firmware updating; Directly by GPRS wireless tunnel transmission firmware, the car owner can not know whole process, does not hinder the car owner normally to use vehicle yet; Directly finish on computers firmware upgrade by the consistency operation personnel, and a plurality of machine can carry out simultaneously, avoid the waste with a large amount of manpowers, financial resources.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that implementation of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (2)

1. the car-mounted terminal firmware upgrade method based on the GPRS passage is characterized in that, may further comprise the steps:
A, beginning;
B, send firmware by the GPRS wireless tunnel;
C, read and be saved in spi flash programmable device;
Whether D, Flash burning sign satisfy, if satisfy, then enter step e, if do not satisfy, then enter step F;
E, read firmware burning from spi flash programmable device, remove the burning sign;
F, jump to the application code place;
G, end.
2. described car-mounted terminal firmware upgrade method based on the GPRS passage according to claim 1 is characterized in that: step C is, application module receives by the GPRS wireless tunnel, is saved in outside spi flash programmable device.
CN2012104812907A 2012-11-23 2012-11-23 Method for upgrading vehicle-mounted terminal firmware based on GPRS (General Packet Radio Service) channel Pending CN102955710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104812907A CN102955710A (en) 2012-11-23 2012-11-23 Method for upgrading vehicle-mounted terminal firmware based on GPRS (General Packet Radio Service) channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104812907A CN102955710A (en) 2012-11-23 2012-11-23 Method for upgrading vehicle-mounted terminal firmware based on GPRS (General Packet Radio Service) channel

Publications (1)

Publication Number Publication Date
CN102955710A true CN102955710A (en) 2013-03-06

Family

ID=47764540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104812907A Pending CN102955710A (en) 2012-11-23 2012-11-23 Method for upgrading vehicle-mounted terminal firmware based on GPRS (General Packet Radio Service) channel

Country Status (1)

Country Link
CN (1) CN102955710A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309707A (en) * 2013-05-29 2013-09-18 扬州泰博汽车电子智能科技有限公司 Vehicle wireless application burning system and burning method
CN104331312A (en) * 2014-11-24 2015-02-04 东软熙康健康科技有限公司 Firmware updating method and embedded device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158544A (en) * 2011-02-25 2011-08-17 深圳市元征软件开发有限公司 Method and device for remote upgrading of vehicle-mounted electronic device
CN102291424A (en) * 2011-05-31 2011-12-21 深圳市元征软件开发有限公司 Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
CN102662706A (en) * 2012-04-01 2012-09-12 西安合众思壮导航技术有限公司 Method for remotely reliably upgrading XIP (execute in place) chip software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158544A (en) * 2011-02-25 2011-08-17 深圳市元征软件开发有限公司 Method and device for remote upgrading of vehicle-mounted electronic device
CN102291424A (en) * 2011-05-31 2011-12-21 深圳市元征软件开发有限公司 Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
CN102662706A (en) * 2012-04-01 2012-09-12 西安合众思壮导航技术有限公司 Method for remotely reliably upgrading XIP (execute in place) chip software

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309707A (en) * 2013-05-29 2013-09-18 扬州泰博汽车电子智能科技有限公司 Vehicle wireless application burning system and burning method
CN104331312A (en) * 2014-11-24 2015-02-04 东软熙康健康科技有限公司 Firmware updating method and embedded device
CN104331312B (en) * 2014-11-24 2018-04-27 东软熙康健康科技有限公司 A kind of firmware upgrade method and embedded device

Similar Documents

Publication Publication Date Title
CN101840234B (en) Embedded automobile fault diagnosis equipment and updating method thereof
CN103077058B (en) Method and device for installing application program
CN102981501B (en) Automobile ECU (Electronic Control Unit) fault diagnosis information matching method based on XML (Extensive Makeup Language)
CN204102247U (en) A kind of intellectual water meter control device based on 3G wireless communication technology
CN103716390A (en) Method and terminal for data sharing
CN105743933B (en) A kind of module updating method and system of router
CN103399760A (en) Remote upgrade method of vehicular intelligent terminal software
CN105573807A (en) ECU online program upgrading system and method based on CAN bus
CN103365688A (en) Method for automatic installation and synchronization of software between Android intelligent devices
CN102662706A (en) Method for remotely reliably upgrading XIP (execute in place) chip software
CN104079970A (en) System and method of data interaction and control of mobile equipment and WIFI (Wireless Fidelity) smart television
CN102955710A (en) Method for upgrading vehicle-mounted terminal firmware based on GPRS (General Packet Radio Service) channel
CN104572207A (en) Intelligent accessories based APP expanded application method and intelligent accessories
CN103369037A (en) Method for automatically synchronizing data among Android intelligent equipment
CN105516076A (en) Unified multi-protocol conversion device
CN109857433B (en) Single chip microcomputer software upgrading tool and method
CN103324496B (en) One USB flash disk realizes centralized automatic meter-reading terminal local maintaining method
CN104699500A (en) Method for realizing automatic upgrading of bootstrap program in intelligent equipment
CN109582341A (en) A kind of host system and its programing change method of On-board System of Cab Signal equipment
CN104750629A (en) System And Method Of Interlocking Vehicle Terminal With Portable Terminal
CN102955711A (en) Method for upgrading vehicle-mounted terminal firmware based on WCDMA (Wideband Code Division Multiple Access) channel
WO2015035761A1 (en) Method and apparatus for performing assembly-level dynamic debugging of ios system
CN103677919A (en) Airborne software updating method based on serial port
CN105740025A (en) Bluetooth based firmware program upgrading method and apparatus
CN104506604A (en) Vehicle-mounted terminal automatic remote upgrading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130306