Skip to main content

A New Academic RTOS: Xinu Port to the AVR Architecture

  • Conference paper
  • First Online:
Computer Science – CACIC 2022 (CACIC 2022)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1778))

Included in the following conference series:

  • 122 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    An RTOS would be useless if the available memory is only enough to run one or two tasks.

  2. 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

  1. 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

    Google Scholar 

  2. 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

  3. 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

  4. Gay, W.: Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC 1st ed. ISBN 978-1484236239. Apress (2018)

    Google Scholar 

  5. 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

  6. Cesium RTOS web page. https://weston-embedded.com/products/cesium, last accessed 07 March 2023

  7. VxWorks web page. https://www.windriver.com/products/vxworks, last accessed 07 March 2023

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. Comer, D.: Operating System Design - The Xinu Approach, Second Edition. CRC Press (2015)

    Google Scholar 

  11. 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

  12. 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)

    Google Scholar 

  13. Porting µC/OS-II web page, https://micrium.atlassian.net/wiki/spaces/osiidoc/pages/163858/Porting+C+OS-II, last accessed 07 March 2023

  14. 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

  15. 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

  16. IEEE Standard for a Real-Time Operating System (RTOS) for Small-Scale Embedded Systems. (n.d.). https://doi.org/10.1109/ieeestd.2018.84456

  17. 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

  18. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rafael Ignacio Zurita .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics