CN114968659A - High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination - Google Patents

High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination Download PDF

Info

Publication number
CN114968659A
CN114968659A CN202210344495.4A CN202210344495A CN114968659A CN 114968659 A CN114968659 A CN 114968659A CN 202210344495 A CN202210344495 A CN 202210344495A CN 114968659 A CN114968659 A CN 114968659A
Authority
CN
China
Prior art keywords
area
dsp
program
inertial measurement
backup
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
CN202210344495.4A
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.)
Xian Aerospace Precision Electromechanical Institute
Original Assignee
Xian Aerospace Precision Electromechanical 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 Xian Aerospace Precision Electromechanical Institute filed Critical Xian Aerospace Precision Electromechanical Institute
Priority to CN202210344495.4A priority Critical patent/CN114968659A/en
Publication of CN114968659A publication Critical patent/CN114968659A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The invention relates to an online upgrading method of inertial measurement combination DSP (digital signal processor) software, in particular to an online upgrading method of high-reliability inertial measurement combination DSP software and an inertial measurement combination, which are used for solving the defects that the conventional online upgrading method of the inertial measurement combination DSP software has the risk of software abnormal jump through resident software online upgrading or writing fails due to abnormal conditions such as power failure and the like when an upgrading module is subjected to online programming in the communication process between test devices. The online upgrading method of the high-reliability inertial measurement combination DSP software adopts a double backup storage mechanism and increases the self-repairing function of the inertial measurement combination DSP software. Meanwhile, the invention discloses an inertial measurement combination.

Description

High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination
Technical Field
The invention relates to an online upgrading method for an inertial measurement combination DSP (digital signal processor) software, in particular to an online upgrading method for a high-reliability inertial measurement combination DSP software and an inertial measurement combination.
Background
The online upgrading of the inertial measurement combination DSP software means that when the inertial measurement combination DSP software is updated, a DSP program is written into a storage device without a standard JTAG interface connected with a computer circuit board inside the inertial measurement combination; instead, the existing 1553B bus or RS422 bus outside the inertial measurement combination is used, and under the condition that the inertial measurement combination is not disassembled, the test equipment connected with the bus is used, the DSP program needing to be updated is transmitted into the inertial measurement combination, and the updating of the DSP software of the inertial measurement combination is completed.
The existing inertial measurement combination DSP software online upgrading method comprises the following two steps: firstly, resident software is added in an inertial measurement combination, the inertial measurement combination enters the resident software after being electrified, and if a software online upgrading option is not carried out, the inertial measurement combination automatically jumps to DSP software; however, the method has the risk of software abnormal jump, and if the resident software has problems, the inertial measurement combination also needs to be disassembled when the resident software is changed; secondly, an upgrading module is added in the DSP software, and the DSP software is upgraded by on-line programming in the communication process with the test equipment in the upgrading process; however, if the DSP program is in abnormal conditions such as power failure during the process of writing into the storage space, the upgrade module cannot be used normally.
Disclosure of Invention
The invention aims to solve the defects that the existing inertial measurement combination DSP software online upgrading method has the risk of software abnormal jump through resident software online upgrading or writing failure is caused by abnormal conditions such as power failure and the like when an upgrading module is written through online programming in the communication process between test equipment, and provides the high-reliability inertial measurement combination DSP software online upgrading method and the inertial measurement combination.
In order to solve the defects of the prior art, the invention provides the following technical solutions:
a high-reliability inertial measurement combination DSP software online upgrading method is characterized by comprising the following steps:
step 1, DSP software online upgrading process;
the inertia measurement combination is provided with a program storage area, and the program storage area comprises a main part program area, a main part check area, a backup program area and a backup check area;
(1.1) the inertia test combination receives DSP program binary files for upgrading sent by ground test equipment one by one through communication cables, checks the received DSP program binary files one by one, confirms the correctness and the continuity of data, and temporarily stores the DSP program binary files which pass the check into a transfer storage space;
(1.2) the inertial measurement combination checks the DSP program binary file in the transit storage space and judges whether the length and the content of the DSP program binary file are correct or not; if the verification is correct, the uploading process is finished, and then the step 1.3 is executed; otherwise, feeding back uploading failure to the ground test equipment, and exiting the DSP software online upgrading process;
then restarting the inertia measurement combination, executing the step 2 and the step 3, and returning to the step 1.1;
(1.3) setting the master verification area as invalid, writing the DSP program binary file in the transfer storage space into the master program area, and updating the master verification area to be valid after the writing is finished;
setting the backup verification area as invalid, then writing the DSP program binary file in the transfer storage space into the backup program area, and updating the backup verification area to be valid after the writing is finished;
(1.4) the inertia test combination is powered off and restarted, the DSP software verifies that the DSP program binary files of the main program area and the backup program area are written in the step 1.3, and whether the length and the content of the DSP program binary files are correct or not is judged; if the verification is correct, the online upgrade process of the DSP software is completed, and then the step 2 is executed; otherwise, step 2 and step 3 are executed and the step 1.3 is returned to;
step 2, DSP software loading process;
the DSP software reads the master verification area and judges whether the master verification area is effective or not; if the master verification area is valid, transferring the content of the master program area to a DSP memory; otherwise, the content of the backup program area is transferred to the DSP memory;
step 3, self-repairing process;
(3.1) initializing DSP software;
(3.2) reading the master verification area by the DSP software, and judging whether the master verification area is effective or not; if the master verification area is valid, executing step 3.3; otherwise, copying the content of the backup program area to the main copy program area, updating the main copy check area to be effective, and then executing the step 3.4;
(3.3) reading the backup check area by the DSP software, and judging whether the backup check area is effective or not; if the backup check area is valid, executing step 3.4; otherwise, copying the content of the main program area to the backup program area and updating the backup verification area to be effective;
and (3.4) normally operating the inertial measurement combination DSP software.
Further, in the step (1.1), the communication cable is a 1553B or RS422 communication cable.
Further, in the steps (1.1) to (1.3), the transfer memory space adopts an unused RAM or SDRAM in the inertial measurement unit.
Meanwhile, the invention provides an inertial measurement unit which is characterized in that: the system comprises a DSP chip, a program storage area and a transfer storage space;
the transfer storage space is used for receiving the DSP program binary file which is sent by the ground test equipment and used for upgrading, and temporarily storing the DSP program binary file which passes the verification;
the program storage area comprises a main program area, a main verification area, a backup program area and a backup verification area; and the DSP binary file is used for storing the verified DSP program binary file in the transfer storage space.
The DSP chip adopts the high-reliability inertial measurement combination DSP software online upgrading method of claim 1 to realize DSP software online upgrading by sequentially connecting a program storage area and a transfer storage space.
Furthermore, the system also comprises a 1553B and RS422 communication interface connected with the ground test equipment, so that abnormal upgrading caused by abnormal power failure of the inertial measurement unit in the online upgrading process of the DSP software is prevented.
Compared with the prior art, the invention has the beneficial effects that:
(1) the invention relates to a high-reliability online upgrading method for inertial measurement combination DSP software, which adopts a double-backup storage mechanism, writes a DSP program binary file for upgrading through a main program area, a main verification area, a backup program area and a backup verification area which are arranged in a program storage area, improves the reliability of online upgrading of the inertial measurement combination DSP software, and avoids program operation risks caused by abnormal software jump in an uploading program.
(2) According to the online upgrading method for the high-reliability inertial measurement combination DSP software, the self-repairing function of the inertial measurement combination DSP software is added, so that the DSP software can be dynamically checked and repaired in a program storage area after being electrified, the problem of write failure caused by abnormal conditions such as power failure is solved, and the reliability and the safety of online upgrading of the inertial measurement combination DSP software are improved.
Drawings
FIG. 1 is a schematic structural diagram of an inertial measurement unit and ground measurement equipment in an embodiment of a high-reliability inertial measurement unit DSP software online upgrading method of the present invention;
FIG. 2 is a diagram illustrating an embodiment of a DSP software loading process;
fig. 3 is a schematic diagram of a self-repair process in an embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and exemplary embodiments.
A high-reliability inertial measurement combination DSP software online upgrading method comprises the following steps:
step (1), DSP software online upgrading process;
referring to fig. 1, 2 and table 1, the inertia measurement combination is provided with a program storage area, and the program storage area includes a main part program area, a main part verification area, a backup program area and a backup verification area;
TABLE 1
Name(s) Sector number
Master program area SA0-SA3
Master verification area SA4
Backup program area SA5-SA8
Backup check area SA9
(1.1) the inertia measurement combination receives DSP program binary files for upgrading sent by ground test equipment one by one through 1553B communication cables, checks the received DSP program binary files one by one, confirms the correctness and the continuity of data, and temporarily stores the DSP program binary files which pass the check into a transfer storage space; the transfer storage space adopts an unused RAM in the inertial measurement unit;
(1.2) the inertial measurement combination checks the DSP program binary file in the transit storage space and judges whether the length and the content of the DSP program binary file are correct or not; if the verification is correct, the uploading process is finished, and then the step 1.3 is executed; otherwise, feeding back uploading failure to the ground test equipment, and exiting the DSP software online upgrading process; then restarting the inertia measurement combination, executing the step 2 and the step 3, and returning to the step 1.1;
(1.3) setting the master verification area as invalid, writing the DSP program binary file in the transfer storage space into the master program area, and updating the master verification area to be valid after the writing is finished;
setting the backup verification area as invalid, then writing the DSP program binary file in the transfer storage space into the backup program area, and updating the backup verification area to be valid after the writing is finished;
(1.4) the inertia measurement combination is restarted after power failure, the DSP software verifies that the DSP program binary files of the master program area and the backup program area are written in the step 1.3, and whether the length and the content of the DSP program binary files are correct or not is judged; if the verification is correct, the online upgrade process of the DSP software is completed, and then the step 2 is executed; otherwise, step 2 and step 3 are executed and the step 1.3 is returned to;
step 2, DSP software loading process;
the DSP software reads the master verification area, and if the master verification area is valid, the content of the master program area is transferred to the DSP memory; otherwise, the content of the backup program area is transferred to the DSP memory;
step 3, self-repairing process;
(3.1) initializing DSP software;
(3.2) reading the master verification area by the DSP software, and judging whether the master verification area is effective or not; if the master verification area is valid, executing step 3.3; otherwise, copying the content of the backup program area to the master program area, updating the master verification area to be effective, and then executing the step 3.4;
(3.3) reading the backup check area by the DSP software, and judging whether the backup check area is effective or not; if the backup check area is valid, executing step 3.4; otherwise, copying the content of the main program area to the backup program area and updating the backup verification area to be effective;
and (3.4) normally operating the inertial measurement combination DSP software.
The invention designs the functions of software double backup storage and power-on self-repair, and can realize the high-reliability DSP software online upgrade. If the inertial measurement combination is abnormally powered off in the process of receiving the DSP program binary file for upgrading, namely the power is cut off in the step 1.1 and the step 1.2, the step 2 is skipped after the inertial measurement combination is powered on again, DSP software loads the DSP program binary file which is not upgraded in the program storage area, then the step 3 is executed, the program storage area is checked, and finally the step 1.1 is returned to for uploading again; if the inertial measurement unit is abnormally powered off or a program storage area fails in the process of writing the DSP program binary file for upgrading, namely the step 1.3 is abnormally stopped, the step 2 is skipped, the DSP software loads the DSP program binary file which is not upgraded in the program storage area, then the step 3 is executed, the program storage area is checked and repaired, and finally the step 1.3 is returned to for writing again.
Meanwhile, the invention provides an inertial measurement combination which comprises a DSP chip, a program storage area, a transfer storage space, and 1553B and RS422 communication interfaces connected with ground test equipment.
The transfer storage space is used for receiving the DSP program binary file which is sent by the ground test equipment and used for upgrading, and temporarily storing the DSP program binary file which passes the verification.
The program storage area comprises a main program area, a main verification area, a backup program area and a backup verification area; and the DSP binary file is used for storing the verified DSP program binary file in the transfer storage space.
The DSP chip is sequentially connected with the program storage area and the transfer storage space, and the online upgrade method of the inertial measurement combination DSP software with high reliability is adopted to realize the online upgrade of the DSP software.
The above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same, and it is obvious for a person skilled in the art to modify the specific technical solutions described in the foregoing embodiments or to substitute part of the technical features, and these modifications or substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions protected by the present invention.

Claims (5)

1. A high-reliability inertial measurement combination DSP software online upgrading method is characterized by comprising the following steps:
step 1, DSP software online upgrading process;
the inertia measurement combination is provided with a program storage area, and the program storage area comprises a main part program area, a main part check area, a backup program area and a backup check area;
(1.1) the inertia test combination receives DSP program binary files for upgrading sent by ground test equipment one by one through communication cables, checks the received DSP program binary files one by one, confirms the correctness and the continuity of data, and temporarily stores the DSP program binary files which pass the check into a transfer storage space;
(1.2) the inertial measurement combination checks the DSP program binary file in the transit storage space and judges whether the length and the content of the DSP program binary file are correct or not; if the verification is correct, the uploading process is finished, and then the step 1.3 is executed; otherwise, feeding back uploading failure to the ground test equipment, and exiting the DSP software online upgrading process;
then restarting the inertia measurement combination, executing the step 2 and the step 3, and returning to the step 1.1;
(1.3) setting the master verification area as invalid, writing the DSP program binary file in the transfer storage space into the master program area, and updating the master verification area to be valid after the writing is finished;
setting the backup verification area as invalid, then writing the DSP program binary file in the transfer storage space into the backup program area, and updating the backup verification area to be valid after the writing is finished;
(1.4) the inertia test combination is powered off and restarted, the DSP software verifies that the DSP program binary files of the main program area and the backup program area are written in the step 1.3, and whether the length and the content of the DSP program binary files are correct or not is judged; if the verification is correct, the online upgrade process of the DSP software is completed, and then the step 2 is executed; otherwise, step 2 and step 3 are executed and the step 1.3 is returned to;
step 2, DSP software loading process;
the DSP software reads the master verification area and judges whether the master verification area is effective or not; if the master verification area is valid, transferring the content of the master program area to a DSP memory; otherwise, the content of the backup program area is transferred to the DSP memory;
step 3, self-repairing process;
(3.1) initializing DSP software;
(3.2) reading the master verification area by the DSP software, and judging whether the master verification area is effective or not; if the master verification area is valid, executing step 3.3; otherwise, copying the content of the backup program area to the master program area, updating the master verification area to be effective, and then executing the step 3.4;
(3.3) reading the backup check area by the DSP software, and judging whether the backup check area is effective or not; if the backup check area is valid, executing step 3.4; otherwise, copying the content of the main program area to the backup program area and updating the backup verification area to be effective;
and (3.4) normally operating the inertial measurement combination DSP software.
2. The method for upgrading the DSP software of the high-reliability inertial measurement unit according to claim 1, wherein the method comprises the following steps: in the step (1.1), the communication cable is a 1553B or RS422 communication cable.
3. The method for the on-line upgrading of the DSP software of the high-reliability inertial measurement unit according to claim 1 or 2, wherein the method comprises the following steps: in the steps (1.1) to (1.3), the transfer storage space adopts an unused RAM or SDRAM in the inertial measurement combination.
4. An inertial measurement unit, comprising: the system comprises a DSP chip, a program storage area and a transfer storage space;
the transfer storage space is used for receiving the DSP program binary file which is sent by the ground test equipment and used for upgrading, and temporarily storing the DSP program binary file which passes the verification;
the program storage area comprises a main program area, a main verification area, a backup program area and a backup verification area; the DSP program binary file is used for storing the DSP program binary file which passes the verification in the transfer storage space;
the DSP chip adopts the high-reliability inertial measurement combination DSP software online upgrading method of claim 1 to realize DSP software online upgrading by sequentially connecting a program storage area and a transfer storage space.
5. An inertial measurement unit according to claim 4, wherein: and the system also comprises a 1553B and RS422 communication interface connected with the ground test equipment.
CN202210344495.4A 2022-03-31 2022-03-31 High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination Pending CN114968659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210344495.4A CN114968659A (en) 2022-03-31 2022-03-31 High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210344495.4A CN114968659A (en) 2022-03-31 2022-03-31 High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination

Publications (1)

Publication Number Publication Date
CN114968659A true CN114968659A (en) 2022-08-30

Family

ID=82977146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210344495.4A Pending CN114968659A (en) 2022-03-31 2022-03-31 High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination

Country Status (1)

Country Link
CN (1) CN114968659A (en)

Similar Documents

Publication Publication Date Title
US7290097B2 (en) Nonvolatile memory
CN109933340B (en) On-orbit writing and self-checking method of spacecraft EEPROM (electrically erasable programmable read-Only memory) based on page mode
CN111651174A (en) Method and system for remotely upgrading MCU (microprogrammed control Unit) program
CN114860279B (en) Rapid empty-chip upgrading method
CN111026421A (en) Upgrading device
CN114153485A (en) Multiprocessor program upgrading method and device based on high-speed port
CN111913668B (en) Method for checking and correcting memory data accuracy under IP multiplexing
CN112148339A (en) Dual-core chip and program updating method thereof
CN114968659A (en) High-reliability inertial measurement combination DSP (digital Signal processor) software online upgrading method and inertial measurement combination
CN114579163A (en) Disk firmware upgrading method, computing device and system
RU2600101C1 (en) Assembly control module and method of firmware updating for this control module
US11586504B2 (en) Electronic apparatus and boot method thereof
CN114741091A (en) Firmware loading method and device, electronic equipment and computer readable storage medium
CN111124455B (en) Battery management system upgrading method, device, server and storage medium
CN113377425A (en) BMC firmware generation method and device, BMC starting method and device and storage medium
CN213751050U (en) Dual-core chip
CN213211012U (en) Online upgrading device of laser radar system and laser radar system
KR100232880B1 (en) Firmware upgrading method using flash rom in switching system
CN115576583A (en) Method and device for updating timer firmware based on Capsule Update mode
US7069471B2 (en) System PROM integrity checker
CN117687664A (en) Online upgrade configuration method and device for DSP
CN118093240A (en) Hard disk fault processing method, device, computer equipment, storage medium and program product
CN114924778A (en) Program upgrading method based on ZYNQ redundant backup
CN116893836A (en) Method, system, equipment and medium for realizing non-inductive upgrade of CPU microcode
CN117971272A (en) Program upgrading method and electronic equipment

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