Journal of Computer Science | |
ROBUST MEMORY MANAGEMENT USING REAL TIME CONCEPTS | Science Publications | |
M. Anand1  S. Ravi1  V. Karthikeyan1  | |
关键词: Memory Allocation; RTOS; RTOS; µC/OS; Embedded Systems; LPC1768; Fragmentation; | |
DOI : 10.3844/jcssp.2014.1480.1487 | |
学科分类:计算机科学(综合) | |
来源: Science Publications | |
![]() |
【 摘 要 】
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 APIs. 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.
【 授权许可】
Unknown
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
RO201911300400750ZK.pdf | 360KB | ![]() |