CN109933347A - A kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus - Google Patents
A kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus Download PDFInfo
- Publication number
- CN109933347A CN109933347A CN201811409403.6A CN201811409403A CN109933347A CN 109933347 A CN109933347 A CN 109933347A CN 201811409403 A CN201811409403 A CN 201811409403A CN 109933347 A CN109933347 A CN 109933347A
- Authority
- CN
- China
- Prior art keywords
- equipment
- bus
- program
- embedding
- software upgrading
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
A kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus, control software upgrading main control computer first accesses 1553B bus, and it is set as the slave equipment that there is unique identity to identify, then the controlled device of control 1553B bus connection, main equipment powers on, main equipment checks each equipment, when detecting that software upgrading main control computer is online, former main equipment is cut into from equipment mode, software main control computer is switched to main equipment mode, slave equipment to be upgraded is switched to software upgrading state, finally carry out data transmission and program updates, the multi-embedding formula processor software based on 1553B bus is completed reliably to upgrade.
Description
Technical field
The multi-embedding reliable upgrade method of formula processor software based on 1553B bus that the present invention relates to a kind of.
Background technique
1553B bus is applied in many systems as a kind of industry bus, is used for more communication between devices and data
Transmission, bus have the characteristics that carry number of devices is more, communication reliability is high.1553B bus have main equipment and from equipment it
Point, main equipment initiates various instructions or data transmission as bus marco end.It is carried out from equipment by different identity recognition numbers
It distinguishes, the instruction according to main equipment carries out corresponding data or mode operation.
1553B bus is mainly used for the bigger system of scale, transmits for equipment room instruction and data.In the system integration
After, equipment dismounting difficulty is larger, and traditional software upgrading needs to dismount equipment to be upgraded, passes through the special of equipment
Software upgrading is carried out with program upgrade port, what is more, equipment is needed to carry out the operation such as uncap, is brought greatly for the maintenance of system
It is inconvenient.
For more device systems using 1553B bus, propose that a kind of multi-embedding formula processor based on 1553B bus is soft
The reliable upgrade method of part.This method utilizes 1553B bus feature, devises corresponding strategy and mechanism, can be realized software
Reliable upgrading, and have the characteristic of the special circumstances such as confrontation power-off, the maintainability of lifting system.
Summary of the invention
Technical problem solved by the present invention is having overcome the deficiencies of the prior art and provide a kind of based on the more of 1553B bus
The reliable upgrade method of embeded processor software proposes reliable equipment for more device systems using 1553B bus communication
Method for upgrading software, the maintainability of lifting system.
The technical solution of the invention is as follows: a kind of multi-embedding formula processor software based on 1553B bus reliably upgrades
Method includes the following steps:
(1) 1553B bus control right is obtained;
(2) it treats updating apparatus and carries out software upgrading confirmation;
(3) carry out data transmission and program updates;
The method of the acquisition 1553B bus control right are as follows:
(1) control software upgrading main control computer accesses 1553B bus, and is set as having that unique identity identifies from setting
It is standby;
(2) the slave equipment of control 1553B bus connection, main equipment power on;
(3) control main equipment checks the equipment of bus on 1553B, when detecting that software upgrading main control computer exists
When line, 1553B main equipment is controlled to software upgrading main control computer sending mode switching command, when pattern switching confirmation command
Afterwards, main equipment is cut to from equipment;
(4) when software upgrading main control computer receives pattern switching instruction, control software upgrading main control computer switching
To main equipment, wherein main equipment has the control of 1553B bus.
The slave equipment is the controlled device of 1553B bus connection.
The method treated updating apparatus and carry out software upgrading confirmation are as follows:
(1) control software upgrading main control computer sends software upgrade instruction from equipment to be upgraded;
(2) when the reception instruction to be upgraded from equipment, it is switched to software upgrading state;Wherein, software upgrading state is
Original program is no longer executed from equipment.
The method carried out data transmission and program updates are as follows:
(1) control software upgrading main control computer sends program data to be upgraded from equipment by data packet, controls wait rise
Grade equipment is to the verification of data packet number and each data packet and verifies, if wrong, carries out entire data packet
It retransmits, otherwise pierces very much step (2);
(2) when program data end of transmission, control it is to be upgraded from equipment the memory space different from original program into
Row data recording, and in the laggard line program comparing analysis of data recording, such as there is mistake, carries out burning again, otherwise turn
Enter step (3);
(3) program start-up space banner word is set, before running after program restarting, to program start-up space banner word
Judged, if newest program start-up space banner word is correct, execute the program of latest edition, if newest program
Start-up space mark character error then runs the program before updating.
In the data packet have verification and.
The version of the program start-up space banner word mark present procedure.
A kind of computer readable storage medium, the computer-readable recording medium storage has computer program, described
Computer program the step of the method as any such as claim 1- claim 7 is realized when being executed by processor.
A kind of reliable upgrading terminals equipment of multi-embedding formula processor software based on 1553B bus, including memory, processing
Device and storage in the memory and the computer program that can run on the processor, the processor execution institute
The step of the method as any such as claim 1- claim 7 is realized when the computer program stated.
The advantages of the present invention over the prior art are that:
(1) present invention promotes the system maintainability for using 1553B bus communication, and 1553B bus is mainly used for scale ratio
Biggish system is transmitted for equipment room instruction and data.After the system integration, equipment dismounting difficulty is larger, traditional
Software upgrading needs to dismount equipment to be upgraded, carries out software upgrading by the dedicated program upgrade port of equipment, more
Notably, it needs equipment to carry out the operation such as uncap, brings very big inconvenience for the maintenance of system;
(2) present invention avoids to run caused by burning program mistake by using reliable mechanism, and this method utilizes
1553B bus feature devises corresponding strategy and mechanism, can be realized the reliable upgrading of software, and has and fight power-off etc.
The characteristic of special circumstances, the maintainability of lifting system.
Detailed description of the invention
Relationship between software upgrade equipment of the Fig. 1 based on 1553B bus;
Fig. 2 software upgrading flow chart;
Fig. 3 device program operational flow diagram to be upgraded;
Fig. 4 device program to be upgraded and data subregion block diagram.
Specific embodiment
The multi-embedding reliable upgrade method of formula processor software based on 1553B bus that the invention discloses a kind of.Firstly, soft
Part upgrading main control computer connection 1553B bus simultaneously obtains bus marco permission, and other equipment are defaulted from equipment in 1553B bus
Mode, and equipment has only identity recognition number.Software upgrading main control computer (is powered in total built-in unit startup stage
In 30 seconds), software upgrading order is sent to equipment to be upgraded, updating operation cannot be executed by crossing this time, and maloperation is avoided to send out
It is raw;Secondly, embedded device to be upgraded has initial software version, program data is transmitted, program data has been written
After finishing and verifying successfully, effective marker bit manipulation is carried out, occurs abnormal (power-off, data transmission in entire software upgrade process
Mistake etc.), equipment also can normally start, and have software upgrading capacity again.
The specific embodiment of the invention is described further with reference to the accompanying drawing.It is of the present invention a kind of based on 1553B
The reliable upgrade method detailed implementation of multi-embedding formula processor software of bus is as follows, and software upgrading flow chart is as shown in Figure 2.
1, software upgrading main control computer obtains 1553B bus control right
(1) software upgrading main control computer accesses 1553B bus, and is set as the slave equipment that there is unique identity to identify;
It wherein, is the controlled device of 1553B bus connection from equipment;Relationship is as shown in Figure 1 between the software upgrade equipment of 1553B bus;
(2) system electrification of the controlled device of control 1553B bus connection, main equipment composition;
(3) original 1553B main equipment checks each equipment of bus on 1553B, when detect software upgrading master control calculate
When machine is online, 1553B main equipment instructs after validation, former 1553B to software upgrading main control computer sending mode switching command
Main equipment is cut into from equipment mode;
(4) after software main control computer receives pattern switching instruction, it is switched to main equipment mode, wherein main equipment has
The control of 1553B bus.
2, software upgrading main control computer treats the confirmation of updating apparatus
(1) software upgrading main control computer sends software upgrade instruction from equipment to be upgraded;
(2) after the reception instruction to be upgraded from equipment, corresponding time order is sent, and be switched to software upgrading state;Wherein, soft
Part upgrade status is that original program is no longer executed from equipment;
(3) software upgrade instruction is not received before the deadline from equipment as to be upgraded, then run original program, later
Also software upgrade instruction is not responded;
3, reliable data transmission and program update
(1) by data packet transmission program data, (each program can be divided into multiple data to software upgrading main control computer
Packet), have in each data packet verification and, equipment to be upgraded is to the verification of data packet number and every packet and verifies, such as
Wrong, the data for carrying out whole packet retransmit.
(2) after data end of transmission, equipment to be upgraded carries out data recording behaviour in the memory space different from original program
Make, after data recording, carries out comparing analysis and (compare analysis as by the program and multiple data packets for passing through of verification after burning
The program of composition is compared), such as there is mistake, carries out burning again;
(3) burning program finishes, and after confirmation is errorless, program start-up space banner word (program start-up space banner word is arranged
With the version of pull-up mark present procedure).Device program to be upgraded and data subregion block diagram are as shown in Figure 4.It is opened again in program
Before being run after dynamic, banner word is judged, if all banner words are correct, recent program space jumped to and executes latest edition
This program runs original program (program before updating) if mark character error.Device program operational flow diagram to be upgraded
As shown in Figure 3.Upgrade to balance memory space and reliability, two mutual iteration of banner word are arranged in the present invention.
The present invention meets more device programs based on 1553B bus and upgrades needs, in the item for dismounting, uncapping without equipment
Under part, realize that software upgrading updates;By using program space subregion, the strategy of setting recent program banner word, so that soft
In part escalation process, has in special circumstances such as abnormal electrical power supply, bus exceptions, remain to the burning again for ensureing software, it will not
Cause program data entanglement.
The content that description in the present invention is not described in detail belongs to the well-known technique of those skilled in the art.
Claims (9)
1. a kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus, it is characterised in that including walking as follows
It is rapid:
(1) 1553B bus control right is obtained;
(2) it treats updating apparatus and carries out software upgrading confirmation;
(3) carry out data transmission and program updates;
2. a kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus according to claim 1,
It is characterized in that: the method for the acquisition 1553B bus control right are as follows:
(1) control software upgrading main control computer accesses 1553B bus, and is set as the slave equipment that there is unique identity to identify;
(2) the slave equipment of control 1553B bus connection, main equipment power on;
(3) control main equipment checks the equipment of bus on 1553B, when detecting that software upgrading main control computer is online
When, control 1553B main equipment is to software upgrading main control computer sending mode switching command, after pattern switching confirmation command,
Main equipment is cut to from equipment;
(4) when software upgrading main control computer receives pattern switching instruction, control software upgrading main control computer is switched to master
Equipment, wherein main equipment has the control of 1553B bus.
3. a kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus according to claim 2,
It is characterized in that: the controlled device connected from equipment for 1553B bus.
4. a kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus according to claim 3,
It is characterized in that: the method treated updating apparatus and carry out software upgrading confirmation are as follows:
(1) control software upgrading main control computer sends software upgrade instruction from equipment to be upgraded;
(2) when the reception instruction to be upgraded from equipment, it is switched to software upgrading state;Wherein, software upgrading state is from setting
It is standby no longer to execute original program.
5. a kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus according to claim 4,
It is characterized in that: the method carried out data transmission and program updates are as follows:
(1) control software upgrading main control computer sends program data to be upgraded from equipment by data packet, controls to be upgraded set
It for the verification to data packet number and each data packet and verifies, if wrong, carries out the re-transmission of entire data packet,
Otherwise step (2) are pierced very much;
(2) when program data end of transmission, control is to be upgraded to be counted from equipment in the memory space different from original program
According to burning, and in the laggard line program comparing analysis of data recording, such as there is mistake, carry out burning again, be otherwise transferred to step
Suddenly (3);
(3) program start-up space banner word is set, before being run after program restarting, program start-up space banner word is carried out
Judgement, if newest program start-up space banner word is correct, executes the program of latest edition, if newest program starts
Space indicate character error then runs the program before updating.
6. a kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus according to claim 5,
Be characterized in that: in the data packet have verification and.
7. a kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus according to claim 6,
It is characterized in that: the version of the program start-up space banner word mark present procedure.
8. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature
It is, the step such as any the method for claim 1- claim 7 is realized when the computer program is executed by processor
Suddenly.
9. a kind of reliable upgrading terminals equipment of multi-embedding formula processor software based on 1553B bus, including memory, processor
And store the computer program that can be run in the memory and on the processor, it is characterised in that: the place
Manage the step of realizing the method as any such as claim 1- claim 7 when device executes the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811409403.6A CN109933347A (en) | 2018-11-23 | 2018-11-23 | A kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811409403.6A CN109933347A (en) | 2018-11-23 | 2018-11-23 | A kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109933347A true CN109933347A (en) | 2019-06-25 |
Family
ID=66984673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811409403.6A Pending CN109933347A (en) | 2018-11-23 | 2018-11-23 | A kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109933347A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559003A (en) * | 2020-11-17 | 2021-03-26 | 东风汽车集团有限公司 | Domain controller software upgrading method and device and domain controller |
CN114978896A (en) * | 2022-04-18 | 2022-08-30 | 中国电子科技集团公司第二十九研究所 | Online reconstruction method for embedded software of heterogeneous platform |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019788A (en) * | 2012-12-14 | 2013-04-03 | 上海邮政科学研究院 | Remote online upgrading method based on CAN (Controller Area Network) bus |
CN105354070A (en) * | 2015-12-11 | 2016-02-24 | 成都广达新网科技股份有限公司 | Method for upgrading equipment firmware through I2C |
CN105677398A (en) * | 2015-12-31 | 2016-06-15 | 中海网络科技股份有限公司 | Universal embedded computer software on-line upgrading method |
US20170013086A1 (en) * | 2015-07-06 | 2017-01-12 | The Boeing Company | Wireless Software Loader |
CN108845823A (en) * | 2018-07-18 | 2018-11-20 | 北京航天长征飞行器研究所 | A kind of on-line software updating method based on F2812 chip |
-
2018
- 2018-11-23 CN CN201811409403.6A patent/CN109933347A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019788A (en) * | 2012-12-14 | 2013-04-03 | 上海邮政科学研究院 | Remote online upgrading method based on CAN (Controller Area Network) bus |
US20170013086A1 (en) * | 2015-07-06 | 2017-01-12 | The Boeing Company | Wireless Software Loader |
CN105354070A (en) * | 2015-12-11 | 2016-02-24 | 成都广达新网科技股份有限公司 | Method for upgrading equipment firmware through I2C |
CN105677398A (en) * | 2015-12-31 | 2016-06-15 | 中海网络科技股份有限公司 | Universal embedded computer software on-line upgrading method |
CN108845823A (en) * | 2018-07-18 | 2018-11-20 | 北京航天长征飞行器研究所 | A kind of on-line software updating method based on F2812 chip |
Non-Patent Citations (1)
Title |
---|
李丽娟等: "基于1553B总线的软件在线升级设计与实现", 《现代导航》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559003A (en) * | 2020-11-17 | 2021-03-26 | 东风汽车集团有限公司 | Domain controller software upgrading method and device and domain controller |
CN112559003B (en) * | 2020-11-17 | 2023-03-03 | 东风汽车集团有限公司 | Domain controller software upgrading method and device and domain controller |
CN114978896A (en) * | 2022-04-18 | 2022-08-30 | 中国电子科技集团公司第二十九研究所 | Online reconstruction method for embedded software of heterogeneous platform |
CN114978896B (en) * | 2022-04-18 | 2024-01-23 | 中国电子科技集团公司第二十九研究所 | Online reconstruction method for embedded software of heterogeneous platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105354070B (en) | A method of passing through I2C updating apparatus firmware | |
CN104102518B (en) | double-CPU system and program upgrading method thereof | |
CN103677946B (en) | Method and system for updating elevator device control programs | |
CN112910714B (en) | Remote firmware upgrading method for Internet of things terminal equipment with master-slave machine structure | |
US8352932B2 (en) | Synchronizing controller firmware download | |
CN109842523A (en) | A kind of firmware upgrade method, device, equipment and storage medium | |
CN103414741A (en) | Method and system for remote upgrade of PLC (Programmable Logic Controller) | |
CN105677398A (en) | Universal embedded computer software on-line upgrading method | |
CN105407475B (en) | configuration file enables processing method and eUICC | |
CN102185754B (en) | Method for upgrading board card in switch system | |
CN101241364A (en) | Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system | |
CN109933347A (en) | A kind of multi-embedding reliable upgrade method of formula processor software based on 1553B bus | |
CN110413487A (en) | A kind of indicator light management method, system and the baseboard management controller of server | |
CN109753295B (en) | Online updating method for trackside safety platform | |
CN104102519A (en) | Firmware updating method of rack-mounted server and device thereof | |
CN110995724A (en) | Remote upgrading method for whole vehicle controller of new energy bus | |
CN115268976A (en) | Automatic upgrading method and system for multi-data center collection Agent version | |
CN107870776B (en) | IPMC online upgrading method and device | |
CN107396185B (en) | Upgrading method and system | |
CN109634643B (en) | Three-proofing automation equipment firmware upgrading system of civil air defense command post | |
CN110688136B (en) | Application program updating method and device | |
CN115437674B (en) | Firmware upgrading method, device, medium and electronic equipment | |
JP2006113754A (en) | Software update device and method | |
CN105704707A (en) | Slave equipment and air upgrading method thereof | |
CN117082048A (en) | Online upgrading method and system for embedded software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190625 |
|
RJ01 | Rejection of invention patent application after publication |