Code isolation-based construction method for embedded software and calling method for embedded software

The invention discloses a code isolation-based construction method for embedded software and a calling method for the embedded software. The construction method comprises the following steps: dividing a nonvolatile memory into a first independent storage space, a second independent storage space and...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHU ZHE, JIAO MIAO, LUO RONGHAI, YUAN CHENGJUN, HAN YUANDONG
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a code isolation-based construction method for embedded software and a calling method for the embedded software. The construction method comprises the following steps: dividing a nonvolatile memory into a first independent storage space, a second independent storage space and a third independent storage space; correspondingly curing a bootstrap and loading program and system software mapping to the first independent storage space and the second independent storage space; generating a system software API (application program interface) interface file according to a functional interface and a system data type definition file provided by system software before or after the nonvolatile memory into the first independent storage space, the second independent storage space and the third independent storage space; copying the system software API interface file to a project in which an application program is present, wherein a source code of the application program comprises the system software API interface file; curing application program mapping to the third independent storage space; loading the system software and the application program to an SRAM (static random access memory) by the bootstrap and loading program, and skipping to a system software entrance for execution; finishing the functional calling of an operating system by the application program after the system software is started, and returning the application program. According to the construction method, under the condition that the system overhead is not increased, the requirement of the embedded application on high execution efficiency and small code size is met.