Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Handling all OS routines as sw interrupts

Posted by Akos on November 19, 2012

Is there a ready-made solution, or any intention to make a version of the FreeRTOS operating system that would replace all OS API functions with SWI invocations?

This would enable to run code that was not initially linked to the freertos code, effectively making freertos an operating system that would be able to "load" other programs, during run-time, or using a bootloader for example.

This would make FreeRTOS code reside in the bootloader, and user programs would not need to be linked against the bootloader or freertos, thereby enabling the bootloader and the O/S to be kept up to date without recompiling user programs.

If there is no such implementation, do you have any recommandations on how one should start doing something like this, without hacking around too much?

Ákos Vandra

RE: Handling all OS routines as sw interrupts

Posted by Richard on November 19, 2012
This is how the SafeRTOS MPU code works. FreeRTOS MPU uses a different technique though, although if you were to do this I would recommend starting with the FreeRTOS MPU code.

I have no intention of doing it myself within the foreseeable future as the roadmap is full to bursting already with new things that would come first.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner