{"title":"A run-time detector for violated memory access in embedded systems","authors":"Anh-Vu Dinh-Duc, Nam Ho","doi":"10.1109/MESA.2010.5552065","DOIUrl":null,"url":null,"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.","PeriodicalId":406358,"journal":{"name":"Proceedings of 2010 IEEE/ASME International Conference on Mechatronic and Embedded Systems and Applications","volume":"66 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of 2010 IEEE/ASME International Conference on Mechatronic and Embedded Systems and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MESA.2010.5552065","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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.