Abstract
The software development tools used in the industry for automation and control do not always have desirable characteristics to be used in the process of learning the concepts associated with them. For example, most real-time operating systems (RTOS), which are the main commonly low-level software used in automation and control, usually present a complex API, designed mainly to support tens or hundreds of different microcontrollers existing in the industry. By contrast, the general-purpose Xinu operating system, originally developed by Douglas Comer at Purdue University, was developed from its first versions for instructional purposes. This article reports the work carried out to port Xinu to the Harvard-type 8-bit AVR microcontroller architecture, in order to be used as an academic RTOS. Qualitative and quantitative evaluations of this new port are presented. The results show that XINU has the potential to be ported to other low-resource microcontroller families, and to be used as an academic RTOS on those platforms as well.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
An RTOS would be useless if the available memory is only enough to run one or two tasks.
- 2.
Task and process words are synonyms in this work, and are used interchangeably. ‘Task’ is a term mostly used in RTOS environments, while ‘process’ is from OS environments.
References
Congreso Argentino de Sistemas Embebidos: Libro de artículos y reportes tecnológicos (2020–2022). ISBN 978-987-46297-7-7, 978-987-46297-8-4, 978-987-46297-8-4
Laplante, P., Ovaska, S.: Fundamentals of Real-Time Systems. In: Real- Time Systems Design and Analysis: Tools for the Practitioner, pp. 1–25. IEEE (2012). https://doi.org/10.1002/9781118136607.ch1
2019 Embedded Markets Study Integrating IoT and Advanced Technology Designs, Application Development & Processing Environments. EE Times and Embedded https://www.embedded.com/wp-content/uploads/2019/11/EETimes_Embedded_2019_Embedded_Markets_Study.pdf, last accessed 07 March 2023
Gay, W.: Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC 1st ed. ISBN 978-1484236239. Apress (2018)
Di Sirio, G.: ChibiOS/RT - The Ultimate Guide Book (2020). https://www.chibios.org/dokuwiki/doku.php?id=chibios:documentation:books:rt:start, last accessed 07 March 2023
Cesium RTOS web page. https://weston-embedded.com/products/cesium, last accessed 07 March 2023
VxWorks web page. https://www.windriver.com/products/vxworks, last accessed 07 March 2023
Zurita, R., Alvarez, C., Lechner, M., Mora, A.: Versión del Sistema Operativo XINU para la Arquitectura AVR con la Finalidad de ser Utilizado como RTOS Académico. In: Actas del XXVIII Congreso Argentino de Ciencias de la Computación (CACIC 2022), pp. 618–627. ISBN: 978-987-1364-31-2. Editorial de la Universidad Nacional de La Rioja (EUDELAR) (2023)
Stankovic, J.: Real-Time Computing Systems: The Next Generation. COINS TECHNICAL REPORT 88–06. Department of Computer and Information Science. University of Massachusetts, Amherst, Ma (1988)
Comer, D.: Operating System Design - The Xinu Approach, Second Edition. CRC Press (2015)
Khaled, S.: Porting the µC-OS-II Real Time Operating System to the M16C Microcontrollers (2007). https://doi.org/10.13140/2.1.2701.9846
Kolhare, N.R., Nitin, I.: Porting & Implementation of features of uC/OS II RTOS on Arm7 controller LPC 2148 with different IPC mechanisms. Int. J. Eng. Res. Technol. 1 (2012)
Porting µC/OS-II web page, https://micrium.atlassian.net/wiki/spaces/osiidoc/pages/163858/Porting+C+OS-II, last accessed 07 March 2023
Hsu, H., Hsueh, C.: FreeRTOS Porting on x86 Platform. In: 2016 International Computer Symposium (ICS), pp. 120–123 (2016). https://doi.org/10.1109/ICS.2016.0032
Zhang, Y., Lu, F., Kong, X.: VxWorks porting based on MPC8313E hardware platform. In: 2010 International Conference on Computer, Mechatronics, Control and Electronic Engineering, pp. 246–249. (2010). https://doi.org/10.1109/CMCE.2010.5610170
IEEE Standard for a Real-Time Operating System (RTOS) for Small-Scale Embedded Systems. (n.d.). https://doi.org/10.1109/ieeestd.2018.84456
Gomes, R., Baunach, M.: A model-based concept for RTOS portability. In: 2018 IEEE/ACS 15th International Conference on Computer Systems and Applications (AICCSA) (2018). https://doi.org/10.1109/aiccsa.2018.861286
Alvarez, C.: Diseño e implementación de un sistema embebido de navegación por estima para la localización de robots móviles en ambientes de interiores, Tesis de grado de la carrera Lic. en Ciencias de la Computación. Universidad Nacional del Comahue (2022)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Zurita, R.I., Alvarez, C., Lechner, M., Mora, A., Zárate, M. (2023). A New Academic RTOS: Xinu Port to the AVR Architecture. In: Pesado, P. (eds) Computer Science – CACIC 2022. CACIC 2022. Communications in Computer and Information Science, vol 1778. Springer, Cham. https://doi.org/10.1007/978-3-031-34147-2_17
Download citation
DOI: https://doi.org/10.1007/978-3-031-34147-2_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-34146-5
Online ISBN: 978-3-031-34147-2
eBook Packages: Computer ScienceComputer Science (R0)