CN106547601B - A kind of online software programming device and method - Google Patents

A kind of online software programming device and method Download PDF

Info

Publication number
CN106547601B
CN106547601B CN201611103447.7A CN201611103447A CN106547601B CN 106547601 B CN106547601 B CN 106547601B CN 201611103447 A CN201611103447 A CN 201611103447A CN 106547601 B CN106547601 B CN 106547601B
Authority
CN
China
Prior art keywords
connector
arrow
equipment
coupler
bus
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.)
Active
Application number
CN201611103447.7A
Other languages
Chinese (zh)
Other versions
CN106547601A (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.)
China Academy of Launch Vehicle Technology CALT
Beijing Aerospace Automatic Control Research Institute
Original Assignee
China Academy of Launch Vehicle Technology CALT
Beijing Aerospace Automatic Control 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 China Academy of Launch Vehicle Technology CALT, Beijing Aerospace Automatic Control Research Institute filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201611103447.7A priority Critical patent/CN106547601B/en
Publication of CN106547601A publication Critical patent/CN106547601A/en
Application granted granted Critical
Publication of CN106547601B publication Critical patent/CN106547601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of online software programming device and method, described device includes that equipment, comprehensive control equipment and ground checkout equipment are controlled on arrow;Comprehensive control equipment includes board and coupler;Coupler is connected by bus and the 5th connector with ground checkout equipment, and bus is divided into two bundles by coupler, wherein a branch of be connected by the first connector with the communication interface for controlling equipment on arrow, another beam is connected with board;Described device further includes the second connector being connected with the permission programming port for controlling equipment on arrow, and the third connector, the 4th connector that are sequentially connected with the second connector.The device of the invention structure is simple, easy to operate, manufacturing cost is low, has very strong versatility between each system, it is more newly downloaded that remote embedded program may be implemented in the method for invention, and system upgrade cost can be reduced, optimize development process, it can be widely applied in various remote embedded programs more frontier, there is extensive reference.

Description

A kind of online software programming device and method
Technical field
The present invention relates to embedded system fields, more particularly to a kind of online software programming device and method.
Background technique
With carrying out in a deep going way for China's manned astro-engineering, to the orbit injection accuracy of carrier rocket, more stringent requirements are proposed, The especially introducing of control system redundancy and interative guidance method in recent years, so that the number of carrier rocket flight control data Amount greatly increases.
Currently, rocket mostly uses the Flight Control Software being pre-stored on arrow in computer.Although this storage mode The control software in computer on arrow can be updated more conveniently before rocket assembling, once but it is calculated on arrow After machine is packed into rocket and completes docking, it will be unable to carry out more the control software stored in computer on arrow by traditional method Newly.
Therefore, how for current rocket development and during being delivered for use, existing Flight Control Software download online is needed It asks, providing a kind of online software programming method becomes one of a technical problem to be solved urgently.
Summary of the invention
In order to solve the above-mentioned technical problem, one aspect of the present invention provides a kind of online software programming device, including on arrow Control equipment, comprehensive control equipment and ground checkout equipment;
The comprehensive control equipment includes board and coupler;
The coupler is connected by bus and the 5th connector with the ground checkout equipment, and the coupler will The bus is divided into two bundles, wherein a branch of be connected by the first connector C1 with the communication interface for controlling equipment on the arrow, separately It is a branch of to be connected with the board;
Described device further includes the second connector C2 being connected with the permission programming port for controlling equipment on the arrow, and Third connector, the 4th connector being sequentially connected with the second connector C2;
Wherein, the 4th connector is connect with the power supply signal in comprehensive control equipment.
Optionally, the bus is 1553B bus, and the coupler is 1553B coupler.
Optionally, the third connector is connect with the 4th connector by jumper.
Optionally, the board includes 1553B board.
Optionally, equipment is controlled on the arrow includes computer on arrow.
Optionally, computer includes a primary processor and multiple from processor on the arrow.
Optionally, the ground checkout equipment includes ground test microcomputer.
On the other hand, the present invention also provides a kind of online software programming method using any of the above-described kind of described device, Include:
After controlling device power-on on arrow or resetting, interface initialization is carried out;
Equipment is controlled after completing interface initialization, on the arrow, and ground checkout equipment transmission is received by comprehensive control equipment Control instruction, with according to the control instruction by target program be written on the arrow control equipment specified memory in.
Optionally, the target program includes user program and monitoring programme.
Online software programming device structure of the invention is simple, easy to operate, manufacturing cost is low, has between each system Very strong versatility.It is more newly downloaded that remote embedded program may be implemented using the online software programming method of the device, and can To reduce system upgrade cost, optimizes development process, can be widely applied in various remote embedded programs more frontier, have Extensive reference.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the structural schematic diagram of the online software programming device of one embodiment of the invention;
Fig. 2 is the flow diagram of the online software programming method of one embodiment of the invention;
Fig. 3 is the online software programming program operation logic schematic diagram of one embodiment of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Fig. 1 is the structural schematic diagram of the online software programming device of one embodiment of the invention, as described in Figure 1, the device Including controlling equipment, comprehensive control equipment and ground checkout equipment on arrow;
The comprehensive control equipment includes board and coupler;
The coupler is connected by bus and the 5th connector C5 with the ground checkout equipment, and the coupler The bus is divided into two bundles, wherein a branch of be connected by the first connector C1 with the communication interface for controlling equipment on the arrow, Another beam is connected with the board;
Described device further includes the second connector C2 being connected with the permission programming port for controlling equipment on the arrow, and Third connector C3, the 4th connector C4 being sequentially connected with the second connector C2;
Wherein, the 4th connector is connect with the power supply signal in comprehensive control equipment.
As the preferred of the present embodiment, the bus can be 1553B bus, and the coupler can couple for 1553B Device.
Further, as the preferred of above-described embodiment, the third connector C3 passes through with the 4th connector C4 Jumper connection.
On this basis, as the preferred of above-described embodiment, the board may include 1553B board.
Further, as the preferred of above-described embodiment, control equipment may include computer on arrow on the arrow.
On this basis, as the preferred of above-described embodiment, on the arrow computer may include a primary processor and It is multiple from processor.
Further, as the preferred of above-described embodiment, the ground checkout equipment may include ground test microcomputer.
Online software programming device structure of the invention is simple, easy to operate, manufacturing cost is low, has between each system It is more newly downloaded to may be implemented remote embedded program, and can reduce system upgrade cost for very strong versatility, and stream is developed in optimization Journey can be widely applied in various remote embedded programs more frontier, have extensive reference.
Fig. 2 is the flow diagram of the online software programming method of one embodiment of the invention, as shown in Fig. 2, this method Include:
S1: after controlling device power-on on arrow or resetting, interface initialization is carried out;
S2: equipment is controlled after completing interface initialization, on the arrow, ground checkout equipment is received by comprehensive control equipment The control instruction of transmission, target program to be written on the arrow in the specified memory for controlling equipment according to the control instruction.
Further, as the preferred of above method embodiment, the target program may include user program and monitoring Program.
Online software programming method and step of the invention is simple, easy to accomplish, and remote embedded program update may be implemented Downloading, and system upgrade cost can be reduced, optimize development process, can be widely applied to various remote embedded programs and update neck In domain, there is extensive reference.
The present invention is illustrated with a specific embodiment below, but the scope of protection of the present invention is not limited.
As shown in Figure 1, the present embodiment is to realize that control software download online guarantees to control software simultaneously in circuit design Storage safety guides the write control signal+Eflash that allows to burn that computer main frame panel cpu chip is controlled on arrow into ground test system System, led to after transferring ground survey hair control program download interface P1 socket, while the interface draw all the way 28V for telecommunications Number+B.To realize program downloading by 1553B, in ground bounce 1553B bus, a new P1 that branches to is drawn by coupler and is connect Mouthful.In the corresponding interface P1 (plug) of program download cable, general+B signal is bridged with+Eflash signaling point.
When needing to update Flight Control Software, linker download cable controls storage control software in computer on arrow Flash's allows burning write control signal+Eflash effective, can be written to control software by controlling computer CPU on arrow.
It is controlled in computer main frame panel SRAM in control software upload to arrow to realize, computer is controlled on arrow and is powered on automatically Monitoring programme is loaded, initialization 1553B chip is BC, realizes that control computer is micro- by 1553B bus and ground test on arrow The communication function of machine.It controls after being controlled in computer main frame panel SRAM in software upload to arrow, is written by monitoring programme Flash memory chip.
It is understood that the first connector C1, the second connector C2, third connector C3, the 4th connector C4, 5th connector C5, the 6th connector C6, the 7th connector C7 include input port and output port;
The 1553B bus of ground test microcomputer is connected with the 5th connector C5 output port, the input terminal of the 5th connector Mouth is connected to the 1553B coupler inside comprehensive control equipment, and 1553B bus is divided into two bundles by 1553B coupler, a branch of connection 1553B board inside comprehensive control equipment, another beam are connected to the first connector C1 input port.First connector C1 output Port is connected to the 6th connector C6 output port of computer on arrow, and the 6th connector is the 1553B communication of computer on arrow Interface.
4th connector C4 input port connection+B (28V), the 4th connector output port are defeated with third connector C3's Exit port be connected, third connector input port is connected with the second connector C2 input port, the second connector output port and The output port of 7th connector C7 is connected, and the 7th connector C7 is that computer allows programming port on arrow.
It is separately operable monitoring software relevant with the safe programming of online software in computer and ground test microcomputer on arrow, is made It is programmed with C/C++ language;Computer-internal runs monitoring software on arrow on arrow, and monitoring software is divided into host board monitoring on arrow Software, information board monitoring software 1, information board monitoring software 2, information board monitoring software 3 are respectively arranged in host CPU and from CPU phase In corresponding FLASH chip, ground monitoring software is run in ground test microcomputer.
Further, Fig. 3 shows the online software programming program operation logic of one embodiment of the invention;Such as Fig. 3 institute Show, monitoring software completes the upload and downloading of data and program by 1553B port on ground monitoring software and arrow, supervises on arrow It controls the host CPU part of software and data exchange is carried out by dual port RAM between CPU.
Monitoring software is after computer is powered up or reset on arrow on each arrow, complete it is necessary to each interface of computer on arrow just Beginningization establishes ground bounce 1553B and communicates and provide various " order " functions of the user to computer on arrow using operation.Motherboard prison Software is controlled after the machine of bullet resets, realizes the initialization of 1553B bus interface, while realizing the communication synchronization work of each board in machine, It detects the presence from CPU and carries out communication synchronization with from CPU, realize the monitor mode of multi -CPU.Pass through from cpu monitor software double Mouth RAM and host CPU carry out information exchange, reach the CPU working method of one master and multiple slaves.
Above-mentioned monitoring software implements function such as:
1) program or data are written on the arrow of specified initial address in main frame memory;
2) user program is written in computer FLASH online;
3) monitoring programme is written in computer FLASH online;
4) from specified address execute user program.
Ground monitoring software is communicated using 1553B port with computer on arrow, is monitored on ground monitoring software and arrow soft Part cooperation operation, realizes the various operations to computer on arrow.
It is versatile between each system of online software programming method and device of the present embodiment, it may be implemented remote embedded Program is more newly downloaded, reduces system upgrade cost, optimizes development process, can be applied to various remote embedded programs more frontier In, there is extensive reference.
The above examples are only used to illustrate the technical scheme of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these are modified or replace It changes, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (9)

1. a kind of online software programming device, which is characterized in that surveyed including controlling equipment, comprehensive control equipment and ground on arrow Try equipment;
The comprehensive control equipment includes board and coupler;
The coupler is connected by bus and the 5th connector with the ground checkout equipment, and the coupler will be described Bus is divided into two bundles, wherein it is a branch of by the first connector on the arrow control equipment communication interface be connected, another beam and The board is connected;
Described device further include with the second connector for being connected of permission programming port that equipment is controlled on the arrow, and with it is described Third connector that second connector is sequentially connected, the 4th connector;
Wherein, the 4th connector is connect with the power supply signal in comprehensive control equipment.
2. the apparatus according to claim 1, which is characterized in that the bus is 1553B bus, and the coupler is 1553B coupler.
3. the apparatus according to claim 1, which is characterized in that the third connector and the 4th connector by across Wiring connection.
4. the apparatus according to claim 1, which is characterized in that the board includes 1553B board.
5. the apparatus according to claim 1, which is characterized in that controlling equipment on the arrow includes computer on arrow.
6. device according to claim 5, which is characterized in that computer includes a primary processor and multiple on the arrow From processor.
7. the apparatus according to claim 1, which is characterized in that the ground checkout equipment includes ground test microcomputer.
8. a kind of online software programming method using any one of claim 1-7 described device characterized by comprising
After controlling device power-on on arrow or resetting, interface initialization is carried out;
Equipment is controlled after completing interface initialization, on the arrow, and the control that ground checkout equipment is sent is received by comprehensive control equipment System instruction, target program to be written on the arrow in the specified memory for controlling equipment according to the control instruction.
9. according to the method described in claim 8, it is characterized in that, the target program includes user program and monitoring programme.
CN201611103447.7A 2016-12-05 2016-12-05 A kind of online software programming device and method Active CN106547601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611103447.7A CN106547601B (en) 2016-12-05 2016-12-05 A kind of online software programming device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611103447.7A CN106547601B (en) 2016-12-05 2016-12-05 A kind of online software programming device and method

Publications (2)

Publication Number Publication Date
CN106547601A CN106547601A (en) 2017-03-29
CN106547601B true CN106547601B (en) 2019-09-13

Family

ID=58396907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611103447.7A Active CN106547601B (en) 2016-12-05 2016-12-05 A kind of online software programming device and method

Country Status (1)

Country Link
CN (1) CN106547601B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298365A (en) * 2011-05-17 2011-12-28 中国电子科技集团公司第十研究所 Method for automatically identifying and managing spaceflight measurement and control earth station device change
CN202217153U (en) * 2011-06-22 2012-05-09 北京航天自动控制研究所 Measure and control circuit for embedded 1553B remote terminal
CN104820586A (en) * 2015-04-09 2015-08-05 北京空间机电研究所 On-orbit maintenance method for spacecraft embedded software

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2610937C (en) * 2005-06-09 2012-01-31 Macdonald, Dettwiler And Associates Inc. Lightweight space-fed active phased array antenna system
DE102007060990A1 (en) * 2007-12-14 2009-06-18 Codewrights Gmbh Method for generating an application-specific installation package of device objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298365A (en) * 2011-05-17 2011-12-28 中国电子科技集团公司第十研究所 Method for automatically identifying and managing spaceflight measurement and control earth station device change
CN202217153U (en) * 2011-06-22 2012-05-09 北京航天自动控制研究所 Measure and control circuit for embedded 1553B remote terminal
CN104820586A (en) * 2015-04-09 2015-08-05 北京空间机电研究所 On-orbit maintenance method for spacecraft embedded software

Also Published As

Publication number Publication date
CN106547601A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN109656593B (en) Method for realizing remote upgrading of FPGA (field programmable Gate array) program based on ZYNQ (z-YNQ) chip
CN106313038B (en) A kind of real-time control debugging system and adjustment method
CN104834620B (en) Serial peripheral equipment interface SPI bus circuit, implementation method and electronic equipment
CN104346179A (en) Embedded system and method for remote upgrade by use of CAN bus
CN101710288A (en) Upgrade processing method and system, upgrade server and upgrade device
CN106406936A (en) FPGA program multi-version management apparatus and method
CN113553081A (en) FPGA loading method based on ZYNQ chip
CN105372619A (en) Safe chip power-down testing equipment
WO2016033941A1 (en) Boot on-line upgrading apparatus and method
CN110850842A (en) Satellite full-function single-machine simulation system and method based on hardware-in-the-loop
WO2016197883A1 (en) Method and system for updating program of microcontroller online
CN107621943A (en) A kind of FPGA dynamic batch programming system and method
CN102081526B (en) Basic input/output system architecture
CN106547601B (en) A kind of online software programming device and method
CN103279061A (en) Interface extensible programming method based on DSP platform
CN104461633A (en) Single-chip offline programming unit and offline programming method
CN105373422A (en) Method for controlling terminal device to enter downloading mode, terminal device and computer device
CN104021050B (en) Server
CN113433859A (en) Novel comprehensive information monitoring system, method, computer equipment and storage medium
CN107870776A (en) A kind of IPMC online upgradings method and device
CN113377457A (en) Signal processing subsystem and digital signal processing DSP program online loading method
CN111124451A (en) Distributed backup upgrading method
CN209543332U (en) It is a kind of based on AT90 and FPGA can multy-way switching SWD downloader
CN202615386U (en) Single board and data processing system
CN110083376A (en) A kind of method, system, equipment and the medium of FPGA more new configuration file

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
GR01 Patent grant
GR01 Patent grant