The invention discloses a method for creating a multi-image-based multifunctional
embedded system, which is characterized in that a
memory protection unit and a
base address-length type
memory management unit which are common on small
embedded hardware of a single-
chip microprocessor are allowed to be used, and the fact that the number of memory segments of the application program module to exceedthe number of memory segments directly supported by hardware is allowed, if the memory
layout of the application program is relatively complex, descriptors of a part of memory segments is loaded intoa
hardware register for protection, and the memory
layout is stored by using an app _ mem _
trie data structure. The method has the advantages that the flexibility and the safety of the
system are improved; Query and modification of deterministic worst
execution time are allowed while the storage memory is saved, and the
predictability and real-time performance of the
system are improved; It is guaranteed to the maximum extent that access of the real-time memory segment does not generate memory access abnormity, the
predictability and real-time performance of the
system are guaranteed, and high practical value and practical significance are achieved.