Leveraging real-time and multitasking Ada capabilities to small microcontrollers

被引:1
|
作者
Aldea Rivas, Mario [1 ]
Perez Tijero, Hector [1 ]
机构
[1] Univ Cantabria, Avd Castros S-N, E-39005 Santander 39005, Spain
关键词
Real-time; Operating systems; Embedded systems; Microcontrollers;
D O I
10.1016/j.sysarc.2019.02.015
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Small embedded microcontrollers typically operate for years without further programmer intervention, so that shipping software free of errors becomes paramount. The Ada programming language includes many safety characteristics (e.g., strong typing or contract-based programming) that help to largely reduce the number of errors introduced by programmers. However, Ada is barely used in microcontrollers with tight memory constraints due to the overhead introduced at run-time. The tasking semantics included in the language represent one major source of this overhead. In this paper we present a new Ada run-time environment that includes a new scheduling policy based on the one-shot task model that simplifies the implementation of the Ada tasking primitives and allows stack sharing techniques to be applied. Consequently, the proposed approach allows using the inherent safety characteristics of the Ada language along with a set of tasking constructs more suitable for small memory devices. Despite its simplicity, the tasking primitives have an equivalent, if not superior, expressiveness to the typical tasking constructs provided by the operating systems targeted to small microcontrollers. An implementation based on a small kernel, a modified run-time system and an automatic code transformation tool have been developed in the context of this work. Initial tests provide promising results, showing the tasking constructs are functionally correct and the proposed run-time features a small memory footprint.
引用
收藏
页码:32 / 41
页数:10
相关论文
共 50 条
  • [21] AUTOMATIC-GENERATION OF REAL-TIME ADA SIMULATIONS FOR SPACE STATION FREEDOM
    ELLENBERGER, R
    LING, R
    BUSCHER, D
    UHDELACOVARA, J
    SHULER, R
    SIMULATION, 1993, 61 (05) : 337 - 345
  • [22] An Ada 2005 technology for distributed and real-time component-based applications
    Martinez, Patricia Lopez
    Drake, Jose M.
    Pacheco, Pablo
    Medina, Julio L.
    RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE 2008, 2008, 5026 : 254 - 267
  • [23] Performing flexible control on low-cost microcontrollers using a minimal real-time kernel
    Marau, Ricardo
    Leite, Pedro
    Velasco, Manel
    Marti, Pau
    Almeida, Luis
    Pedreiras, Paulo
    Fuertes, Josep M.
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2008, 4 (02) : 125 - 133
  • [24] Leveraging Real-Time Network Analyses by Extending a Model-based Framework
    Long, Anh-Toan Bui
    Ouhammou, Yassine
    Grolleau, Emmanuel
    2017 IEEE/ACS 14TH INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS AND APPLICATIONS (AICCSA), 2017, : 871 - 878
  • [25] Real-time Detection of Small Faces in HD Video
    Yang, Seungji
    Bae, Kyunghoon
    VIDEO SURVEILLANCE AND TRANSPORTATION IMAGING APPLICATIONS 2014, 2014, 9026
  • [26] EMERALDS: A small-memory real-time microkernel
    Zuberi, KM
    Shin, KG
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (10) : 909 - 928
  • [27] Real-Time Video Exploitation System for Small UAVs
    Su, Ang
    Zhang, Yueqiang
    Dong, Jing
    Xu, Yuhua
    Zhu, Xianwei
    Zhang, Xiaohu
    INTERNATIONAL SYMPOSIUM ON PHOTOELECTRONIC DETECTION AND IMAGING 2013: IMAGING SENSORS AND APPLICATIONS, 2013, 8908
  • [28] Real-time operating systems on small embedded devices for industrial control and communication
    Przywara, A
    Kusch, R
    Naunin, D
    IECON'03: THE 29TH ANNUAL CONFERENCE OF THE IEEE INDUSTRIAL ELECTRONICS SOCIETY, VOLS 1 - 3, PROCEEDINGS, 2003, : 2047 - 2052
  • [29] Neural networks based neutron emissivity tomography at JET with real-time capabilities
    Ronchi, E.
    Conroy, S.
    Sunden, E. Andersson
    Ericsson, G.
    Johnson, M. Gatu
    Hellesen, C.
    Sjostrand, H.
    Weiszflog, M.
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 2010, 613 (02) : 295 - 303
  • [30] Real-time communication and coordination in embedded sensor networks
    Stankovic, JA
    Abdelzaher, TF
    Lu, CY
    Sha, L
    Hou, JC
    PROCEEDINGS OF THE IEEE, 2003, 91 (07) : 1002 - 1022