CN103677919A - Airborne software updating method based on serial port - Google Patents

Airborne software updating method based on serial port Download PDF

Info

Publication number
CN103677919A
CN103677919A CN201310674384.0A CN201310674384A CN103677919A CN 103677919 A CN103677919 A CN 103677919A CN 201310674384 A CN201310674384 A CN 201310674384A CN 103677919 A CN103677919 A CN 103677919A
Authority
CN
China
Prior art keywords
software
airborne equipment
updated
maintenance terminal
content
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
CN201310674384.0A
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.)
AVIC No 631 Research Institute
Original Assignee
AVIC No 631 Research Institute
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 AVIC No 631 Research Institute filed Critical AVIC No 631 Research Institute
Priority to CN201310674384.0A priority Critical patent/CN103677919A/en
Publication of CN103677919A publication Critical patent/CN103677919A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention belongs to the field of computer software design, and particularly relates to an airborne software updating method based on a serial port. Airborne equipment is connected with a maintenance terminal through the serial port. Firstly, content of software to be updated is uploaded to the airborne equipment by the maintenance terminal through data transmission; then, programming is carried out through FLASH programming instructions of the airborne equipment; finally, software updating of the airborne equipment is completed. The method is easy to implement and avoids the loss of hardware facilitates of the airborne equipment.

Description

A kind of Airborne Software update method based on serial ports
Technical field
The invention belongs to computer software design field, relate to a kind of Oftware updating method, be specifically related to a kind of Airborne Software update method based on serial ports.
Background technology
In the debugging and later maintenance process of embedded airborne computer, exploitation and maintainer need to be frequently to the renewal of programming of the Airborne Software of operation, with authentication function realization, whether meet the demands.At present, software upgrading need to be upgraded as emulator by special-purpose programming device, in the method, generally need to open cabinet, removes gusset plate/barricade, connects emulator, implement that programming is upgraded, five steps returns to form.Not only length consuming time, and the instrument of need to employing is carried out dismounting to hardware device, has potential damage risk.
In addition, adopt said method also to have some other problemses:
1, programming device kind is various, software operation interface complicated, needs stronger professional knowledge.
2, most DLL (dynamic link library) belong to resource on plate, there is no maintenance interface, just can expose DLL (dynamic link library) after need to dismantling hardware, and the easy disassembling of hardware is caused to damage to self or peripheral devices.
3, time efficiency is low, especially under external field environment, harsher to time requirement.
4, increase cost, run into programming device when heavier, may also need laboratory to recover.
Summary of the invention
The problem existing based on prior art in background technology, the present invention proposes the Airborne Software update method based on serial ports that a kind of embodiment is simple, work efficiency is high, hardware loss is little.
Concrete technical scheme of the present invention is:
The invention has the beneficial effects as follows:
1, by adopting this method, no longer need to carry heavy programming device and safeguard, also do not need loaded down with trivial details hardware dismantlement work, only need a simple debugging to connect with serial ports, can complete software upgrade function.
2, by the present invention, shorten significantly debugging cycle, improved the work efficiency of flight-line service, reduced cost.
3, the present invention is connected and is realized software upgrading by serial ports, has avoided the damage of hardware, has reduced the consumption of hardware.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention.
Fig. 2 is data transmission flow process schematic diagram in the present invention.
Embodiment
In the debug process of embedded Airborne Software, whether developer needs often the software in airborne computer to be upgraded, with authentication function, realize and meeting the demands.In the maintenance and escalation process of software, software maintenance personnel also need to carry out to outfield the renewal of software.In above-mentioned work, software upgrading need to, by special-purpose programming device as emulator upgrades, therefore, can produce many problems:
The present invention, from software angle, designs a kind of Airborne Software update method based on serial ports, does not need to depend on hardware programming equipment, can realize the renewal of Airborne Software and maintenance.
The concrete steps of the method are:
Step 1] operating personnel select serial ports and maintenance terminal on airborne equipment to connect;
Step 2] operating personnel power up to airborne equipment, and display operation menu, selects online programming option at actions menu, and maintenance terminal input command is also sent to airborne equipment by order, and notice airborne equipment enters " software upgrading " state;
Step 3] operating personnel select software to be updated and the length information of programming address information and software to be updated are sent to airborne equipment by the display interface of maintenance terminal;
Step 4] airborne equipment receives programming address information that maintenance terminal sends and the length information of software to be updated, and judges that whether information is legal;
If information is legal, airborne equipment starts to wait for that maintenance terminal sends the content of software to be updated;
If program regions is illegal, airborne equipment provides points out and stops software upgrading process;
Step 5] maintenance terminal is sent to airborne equipment according to Data Transport Protocol by the content of software to be updated;
The concrete implementation step of this step is as follows:
Step 5.1] maintenance terminal changes into data layout by software content to be updated and is ready for sending, and to converting the software content to be updated of data layout to, take every 1024 bytes as a frame is (during less than 1024 byte before transmission, upwards after nybble alignment as a frame) carry out CRC32 verification, and at the additional check code of postamble;
Step 5.2] maintenance terminal is step 5.1] in convert the software content to be updated Yi Zhengwei unit of data layout to, send to frame by frame airborne equipment;
Step 5.3] airborne equipment often receives after the data of a frame data format, and self regenerates check code, and compares with the check code that receives each frame data; Then with response format, feed back to maintenance terminal, maintenance terminal judges whether to carry out the transmission of next frame software content to be updated according to responsive state;
Step 5.4] repeated execution of steps 5.1] to step 5.3], until maintenance terminal is by the whole end of transmission of software content to be updated.
Step 6] airborne equipment receives the content of software to be updated, and call FLASH programming instruction, treat update software and programme;
Step 7] content of airborne equipment software to be updated that programmed result and former airborne equipment are received carries out verification, and after check results is correct, software upgrading completes.
The concrete implementation step of this step is:
7.1] airborne equipment all writes the software content to be updated receiving according to data layout the FLASH region of airborne equipment;
7.2] airborne equipment will write the data in Flash region and the content to be updated of maintenance terminal is carried out byte-by-byte verification;
As all identical, software upgrading completes;
Otherwise prompting is upgraded unsuccessfully, exits " software upgrading state ".
7.3], when upgrading unsuccessfully, maintenance terminal will restart whole software upgrading process.

Claims (3)

1. the Airborne Software update method based on serial ports, is characterized in that, comprises the following steps:
1] select serial ports and maintenance terminal on airborne equipment to connect;
2], at maintenance terminal input command and order is sent to airborne equipment, notice airborne equipment enters " software upgrading " state;
3] maintenance terminal sends the length information of programming address information and software to be updated;
4] the programming address information that airborne equipment reception maintenance terminal is sent and the length information of software to be updated, and judge that whether information is legal;
If information is legal, airborne equipment starts to wait for that maintenance terminal sends the content of software to be updated;
If program regions is illegal, airborne equipment provides points out and stops software upgrading process;
5] maintenance terminal is sent to airborne equipment according to Data Transport Protocol by the content of software to be updated;
6] airborne equipment receives the content of software to be updated, and calls FLASH programming instruction, treats update software and programmes;
The content of the software to be updated that 7] airborne equipment is received programmed result and former airborne equipment is carried out verification, and after check results is correct, software upgrading completes.
2. the Airborne Software update method based on serial ports according to claim 1, is characterized in that described step 5] in, maintenance terminal is sent to airborne equipment according to Data Transport Protocol by the content of software to be updated; Its concrete steps are:
5.1] maintenance terminal changes into data layout by software content to be updated and is ready for sending, and to converting the software content to be updated of data layout to, take every 1024 bytes as a frame check before transmission, and at the additional check code of postamble;
5.2] maintenance terminal is by step 5.1] in convert the software content to be updated Yi Zhengwei unit of data layout to, send to frame by frame airborne equipment;
5.3] airborne equipment often receives after the data of a frame data format, and self regenerates check code, and compares with the check code that receives each frame data; Then with response format, feed back to maintenance terminal, maintenance terminal judges whether to carry out the transmission of next frame software content to be updated according to responsive state;
5.4] repeated execution of steps 5.1] to step 5.3], until maintenance terminal is by the whole end of transmission of software content to be updated.
3. the Airborne Software update method based on serial ports according to claim 1, is characterized in that described step 7] in, the content of the software to be updated that airborne equipment is received programmed result and former airborne equipment is carried out verification; Its concrete steps are:
7.1] airborne equipment all writes the software content to be updated receiving according to data layout the FLASH region of airborne equipment;
7.2] airborne equipment will write the data in Flash region and the content to be updated of maintenance terminal is carried out byte-by-byte verification;
As all identical, software upgrading completes;
Otherwise prompting is upgraded unsuccessfully, exits " software upgrading state ".
7.3], when upgrading unsuccessfully, maintenance terminal will restart whole software upgrading process.
CN201310674384.0A 2013-12-10 2013-12-10 Airborne software updating method based on serial port Pending CN103677919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310674384.0A CN103677919A (en) 2013-12-10 2013-12-10 Airborne software updating method based on serial port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310674384.0A CN103677919A (en) 2013-12-10 2013-12-10 Airborne software updating method based on serial port

Publications (1)

Publication Number Publication Date
CN103677919A true CN103677919A (en) 2014-03-26

Family

ID=50315576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310674384.0A Pending CN103677919A (en) 2013-12-10 2013-12-10 Airborne software updating method based on serial port

Country Status (1)

Country Link
CN (1) CN103677919A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049996A (en) * 2014-05-29 2014-09-17 湖北三江航天红峰控制有限公司 Method for carrying out software updating of missile-borne computer based on serial port
CN107453891A (en) * 2016-06-01 2017-12-08 艾默生环境优化技术(苏州)有限公司 Maintenance device, field device and method for maintaining and updating a field device
CN108234160A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of airborne core processing computer radio upgrade method
WO2022206190A1 (en) * 2021-03-31 2022-10-06 地平线征程(杭州)人工智能科技有限公司 Protection circuit, method and apparatus for data path, and computer-readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049996A (en) * 2014-05-29 2014-09-17 湖北三江航天红峰控制有限公司 Method for carrying out software updating of missile-borne computer based on serial port
CN107453891A (en) * 2016-06-01 2017-12-08 艾默生环境优化技术(苏州)有限公司 Maintenance device, field device and method for maintaining and updating a field device
CN108234160A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of airborne core processing computer radio upgrade method
CN108234160B (en) * 2016-12-14 2021-05-07 中国航空工业集团公司西安航空计算技术研究所 Wireless upgrading method for airborne core processing computer
WO2022206190A1 (en) * 2021-03-31 2022-10-06 地平线征程(杭州)人工智能科技有限公司 Protection circuit, method and apparatus for data path, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN103077058B (en) Method and device for installing application program
CN105354070B (en) A method of passing through I2C updating apparatus firmware
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
CN106598835B (en) Application testing method, device and system
CN104581397B (en) The method for upgrading system and device of android set top box
CN102567049B (en) The upgrade method of embedded OS
CN104407878A (en) On-line upgrading method of C6000 digital signal processor
CN103106092A (en) System software updating method and device in terminal appliance
CN102279756A (en) CPLD (Complex Programmable Logic Device) firmware updating method
CN101950254B (en) Software updating method and system thereof
CN103677919A (en) Airborne software updating method based on serial port
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN105554577A (en) Smart television over-the-air technology (OTA) upgrading method and device, smart television
CN104199707A (en) System and method for upgrading FPGAs
CN106020905A (en) Microcontroller firmware developing and updating method and system
CN106502713A (en) A kind of method for upgrading software and system
CN108182079A (en) A kind of TMS320C6748 program loading methods based on serial ports
CN104049996A (en) Method for carrying out software updating of missile-borne computer based on serial port
CN102711095A (en) Method for updating nodes of wireless sensor network in wireless mode
CN108984216B (en) Method and device for automatically entering and configuring BIOS
CN110399150A (en) A kind of bios upgrade method, system, device and computer storage medium
WO2015035761A1 (en) Method and apparatus for performing assembly-level dynamic debugging of ios system
CN109582341A (en) A kind of host system and its programing change method of On-board System of Cab Signal equipment
CN109358872A (en) Remote firmware updating method, device and computer readable storage medium
CN102591690A (en) Embedded system remote upgrade method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140326

WD01 Invention patent application deemed withdrawn after publication