MCU communication management method and system with low RAM consumption

The invention discloses an MCU (Microprogrammed Control Unit) communication management method and system with low RAM (Random Access Memory) consumption, and the management method comprises the following steps: opening up a section of cache space for storing messages from the RAM of an MCU; dividing...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI QIANGMAN, ZHAO WENLONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an MCU (Microprogrammed Control Unit) communication management method and system with low RAM (Random Access Memory) consumption, and the management method comprises the following steps: opening up a section of cache space for storing messages from the RAM of an MCU; dividing the cache space into a plurality of continuous cache segments; dynamically selecting a required number of cache fragments according to the data length of the message to be communicated at present, and storing the data in the message in the selected cache fragments; through the management method, the storage spaces with different sizes can be respectively allocated to the current communication message according to the length of the current communication message, so that the message buffer area in the RAM is efficiently managed by software, the utilization rate of the RAM resource is greatly improved, and the requirement on the RAM resource is reduced to the minimum. 本发明公开了一种低RAM消耗MCU通信管理方法及系统,其中,该管理方法包括:从MCU的RAM中开辟