A method and system for verifying program flash data consistency

A technology for verifying programs and program data, applied in the direction of software deployment, etc., can solve problems such as the lack of technical means for the consistency of Nor-type Flash data in small and medium-sized embedded systems

CN109189405BActive Publication Date: 2022-03-01SHANDONG ACAD OF SCI INST OF AUTOMATION
13 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-03-01

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and system for verifying program Flash data consistency, which downloads and burns the application program to the Flash; extracts and calculates the verification information of the application program during the downloading process; Compare the verification information sent by the computer program, if the data is consistent, it means that the programming is successful, and the verification information is stored in the Flash; when the power is turned on, read the verification information stored in the Flash, and read all the segmented data of the application program And perform verification, compare the calculated verification value with the stored verification information, if the data is consistent, it means that the data in the program Flash is not damaged.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of computer program processing, in particular to a method and system for verifying program Flash data consistency. Background technique

[0002] In automotive electronic products in the form of small and medium-sized embedded systems, the system program is generally stored and run by the Nor flash inside the MCU. The Nor flash is characterized by small capacity and supports excute in place. As an integrated circuit chip of CMOS technology, as its operating frequency becomes faster, its integration level becomes higher, and its process size becomes smaller and smaller, the MCU and its internal Flash are more and more susceptible to radiation effects. The radiation effect may cause the destruction of the Nor-type Flash data, which will cause confusion in the application logic of the embedded system based on program instructions, and bring unexpected problems. Therefore, the data consistency of Nor-type Flash ...

Examples

Embodiment Construction

[0052] It should be pointed out that the following detailed description is exemplary and intended to provide further explanation to the present application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0053] It should be noted that the terminology used here is only for describing specific implementations, and is not intended to limit the exemplary implementations according to the present application. As used herein, unless the context clearly dictates otherwise, the singular is intended to include the plural, and it should also be understood that when the terms "comprising" and / or "comprising" are used in this specification, they mean There are features, steps, operations, means, components and / or combinations thereof.

[0054] In a kind of typical implementation of the present application, a kind of method for verifying program Fl...