Buscar

Estamos realizando la búsqueda. Por favor, espere...

Leveraging real-time and multitasking Ada capabilities to small microcontrollers

Abstract: 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.

 Fuente: Journal of Systems Architecture, Volume 94, March 2019, Pages 32-41

 Editorial: Elsevier

 Año de publicación: 2019

 Nº de páginas: 10

 Tipo de publicación: Artículo de Revista

 ISSN: 1383-7621

 Proyecto español: TIN2014-56158-C4-2-P (M2C2) ; TIN2017-86520-C3-3-R (PRECON-I4)

 Url de la publicación: https://doi.org/10.1016/j.sysarc.2019.02.015