Title :
A run-time detector for violated memory access in embedded systems
Author :
Dinh-Duc, Anh-Vu ; Ho, Nam
Author_Institution :
Fac. of Comput. Sci. & Eng., HCM Univ. of Technol., Ho Chi Minh City, Vietnam
Abstract :
Recently, application in embedded systems has increasingly become complex. This requires having tools to prevent or detect memory corruption errors during the software development process. Unfortunately, most of embedded processors lack to be equipped a MMU (Memory Management Units), one of hardware components supporting memory protection mechanism in general purpose computer system, because MMU-based memory protection methods cause embedded system incurred hardware cost and performance penalty. In this paper, an off-chip model is proposed to detect violated memory accesses at run-time without incurring hardware cost. It can efficiently detect errors for RTOS-based applications in cases of stack overflow, reading/writing to code/data segments of the other tasks or violated memory access to OS kernel. The hardware component based on FPGA is also built by hooking on memory system bus to monitor memory accesses. Once error detection phase is completed, the hardware prototype can be detached from the system. Some testbeds are used for this model and give good results.
Keywords :
embedded systems; field programmable gate arrays; software engineering; storage management chips; FPGA; RTOS based applications; code segments; data segments; embedded systems; memory corruption errors; memory management units; off-chip model; run time detector; software development process; stack overflow; violated memory access; Kernel; Switches; FPGA; MCU; MMU; MPU; PLB; RTOS; SoC; TLB; component;
Conference_Titel :
Mechatronics and Embedded Systems and Applications (MESA), 2010 IEEE/ASME International Conference on
Conference_Location :
Qingdao, ShanDong
Print_ISBN :
978-1-4244-7101-0
DOI :
10.1109/MESA.2010.5552065