ROBUST MEMORY MANAGEMENT USING REAL TIME CONCEPTS
- 1 , India
Abstract
Memory fragmentation is the development of a large number of separate free areas. Memory management in embedded systems demand effective implementation schemes to avoid fragmentation problem. Existing dynamic memory allocation methods fail to suit real time system requirements. Execution times need to be deterministic and this motivates the need for allocation and deallocation to be done in constant time with the help of API's. In μC/OS-II, memory allocation is semi-dynamic and a buddy allocator dynamic memory allocation algorithm is commonly used. Programmer must statically allocate a memory and partition the region using μC/OS-II Kernel API. Tasks can only request pre-partitioned fixed-size memory space from μC/OS-II. Memory allocation times are influenced by the ratio of memory allocation to the stack size of the task. In this research work memory management in LPC 1768 environment using RTOS μC/OS-II is proposed. Effective sharing of memory blocks among tasks co exists with partition. The captured results shows that the memory allocation and deallocation suits real time. The implication of the work is that, the necessity to reserve a static set of locations ahead of time is eliminated so that memory can be allocated at compile or design time.
DOI: https://doi.org/10.3844/jcssp.2014.1480.1487
Copyright: © 2014 V. Karthikeyan, S. Ravi and M. Anand. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- 3,708 Views
- 3,209 Downloads
- 0 Citations
Download
Keywords
- Memory Allocation
- RTOS
- µC/OS
- Embedded Systems
- LPC1768
- Fragmentation