A Dynamic Control Mechanism of Interrupt Stack Overflow on Real-Time Embedded Monitor (REMON)

被引:1
|
作者
Nankaku, Shigeki [1 ]
Kawakami, Hiroyuki [2 ]
Koizumi, Hisao [3 ]
Fukuda, Akira [4 ]
机构
[1] Osaka Electrocommun Univ, Neyagawa, Osaka, Japan
[2] Wind River KK, Tokyo, Japan
[3] Tokyo Denki Univ, Fac Sci & Technol, Tokyo, Japan
[4] Kyushu Univ, Fac Informat Sci & Elect Engn, Fukuoka 812, Japan
关键词
embedded systems; embedded; interrupt service routine; stack; overflow; memory management unit;
D O I
10.1002/ecj.11675
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
For embedded systems, it is important to detect changes in the real world and continuing processing properly. The changes are represented by external interrupts, and proper processes are implemented by nested interrupt service routines (hereafter ISRs). Here, a necessity of mutual exclusion arises. In a software execution environment without any real time OS (hereafter RTOS), a traditional mutual exclusion approach was to disable/enable interrupts in a CPU-specific manner. However, this method typically degrades the real time performance because it defers execution of the mutual-exclusion-free part of the system. Considering this situation, we have been studying a real-time embedded monitor (REMON) which provides a novel mutual exclusion method that can maintain real-time performance without RTOS. For in-service embedded systems, one major runtime fault is ISR stack overflow (SOF). It is extremely difficult to test all conditions where ISRs are called from various external conditions. Note that the ISR stack holds not only data but also program instruction addresses, and consequently a SOF may cause a fatal system error. In summary, ISR SOF is a significant issue, but it has not previously been addressed by REMON. This paper proposes two safety extension methods for embedded systems using REMON. The first method detects ISR overflow and safely stops the system before triggering a system-down or a malfunction. The second method reallocates the ISR stack and resumes system execution automatically.
引用
收藏
页码:57 / 69
页数:13
相关论文
共 50 条
  • [1] An dynamic control mechanism of interrupt stack overflow on real-time embedded monitor REMON
    Nankaku, Shigeki
    Kawakami, Hiroyuki
    Koizumi, Hisao
    Fukuda, Akira
    [J]. IEEJ Transactions on Electronics, Information and Systems, 2013, 133 (08) : 1509 - 1520
  • [2] An Improved RTEMS Supporting Real-Time Detection of Stack Overflow
    Zhang, Rui
    Du, Yan
    Zhang, Tao
    Qiu, Qi
    Mao, Liang
    Niu, Jiaxiang
    [J]. WIRELESS AND SATELLITE SYSTEMS, PT I, 2019, 280 : 283 - 293
  • [3] Selecting a scheduling policy for embedded real-time monitor and control systems
    Deng, QX
    Lv, MS
    Yu, G
    [J]. EMBEDDED SOFTWARE AND SYSTEMS, 2005, 3605 : 494 - 501
  • [4] Virtualization in Multicore Real-Time Embedded Systems for Improvement of Interrupt Latency
    Pavic, Ivan
    Dzapo, Hrvoje
    [J]. 2018 41ST INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2018, : 1405 - 1410
  • [5] A linux kernel with fixed interrupt latency for embedded real-time system
    Yang, J
    Chen, Y
    Wang, HY
    Wang, BB
    [J]. ICESS 2005: SECOND INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS, 2005, : 127 - 134
  • [6] Interrupt Mechanism Organization in SpaceWire Networks for Real-Time Systems
    Kalyuzhnyi, Dmitry
    Lukin, Andrew
    Krasnoschok, Victor
    [J]. EXPERIENCE OF DESIGNING AND APPLICATION OF CAD SYSTEMS IN MICROELECTRONICS: PROCEEDINGS OF THE XTH INTERNATIONAL CONFERENCE CADSM 2009, 2009, : 213 - 213
  • [7] Special BIOS interrupt for real-time data acquisition and control
    Jayapandian, J
    [J]. ELECTRONIC DESIGN, 1997, 45 (09) : 172 - &
  • [8] Optimizing Stack Memory Requirements for Real-time Embedded Applications
    Zeng, Haibo
    Di Natale, Marco
    Zhu, Qi
    [J]. 2012 IEEE 17TH CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA), 2012,
  • [9] PIERES: A Playground for Network Interrupt Experiments on Real-Time Embedded Systems in the IoT
    Bender, Franz
    Brune, Jan Jonas
    Keutel, Nick Lauritz
    Behnke, Ilja
    Thamsen, Lauritz
    [J]. COMPANION OF THE ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING, ICPE 2021, 2021, : 81 - 84
  • [10] REAL-TIME INTERRUPT HANDLING IN ADA
    RASMUSSEN, JB
    APPELBE, B
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1987, 17 (03): : 197 - 213