An RTOS is a Real-Time Operating System, a type of operating system that is designed to satisfy, possibly hard or firm, timing constraints. An RTOS is most likely to be used in in verifiable or safety critical systems. Such systems arise most frequently in the medical, automotive and defense industries
Questions tagged [rtos]
650 questions
2
votes
4 answers
Optimal size for a ring buffer with single producer and single consumer
I have a single producer, single consumer problem which (I believe) can be solved using a circular/ring buffer.
I have a micro-controller running a RTOS, with an ISR(Interrupt Service Routine) handling UART (Serial port) interrupts. When the UART…

SRK
- 308
- 3
- 16
2
votes
5 answers
MPSOC : Which OS do you use and why?
I'm working on MPSOC, specially STM ST40 (SH4 base) and ST231 and I'm wondering which OS i can use on these to port a parallel application, I already had a look at STLinux which is the STM distribution of a Linux platform for their MPSOC (which…

claf
- 9,043
- 17
- 62
- 79
2
votes
2 answers
What kernel type does the RTOS eCos use?
From my research I cannot find what kernel type is being used in eCos, such as monolithic or micro-kernel. All I could find from my research is that the kernel is a real-time one or websites just describe it as the eCos kernel, does this mean it is…

Jordan
- 119
- 1
- 1
- 12
2
votes
2 answers
Protecting application from erroneous Lua script
I am using Lua in a microcontroller project.
My software uses an RTOS, and appart from its other tasks, it also calls a Lua script that the user provides.
The script must have two functions: an init function and a run function. My application calls…

Fotis Panagiotopoulos
- 645
- 5
- 18
2
votes
1 answer
Atomic operation in multithreaded embedded software
I have been developing an RTOS based embedded software in C and I have encountered a problem regarding shared resource access from several threads. I have two problems. The first one is seting and getting a value of state variable in state machine.…

Steve
- 805
- 7
- 27
2
votes
4 answers
RTOS experience
I have been working as an embedded software engineer on mostly 8 bit micro-controller firmware and desktop/mobile applications development for the past five years.
My work on a WinCE project (in which I got introduced to .NET CF) was short lived. I…

Subbu
- 839
- 2
- 12
- 34
2
votes
1 answer
ARM Cortex M4 - What happens to SysTick interrupt request when PRIMASK is set to 1?
I'm learning about RTOS and I'm at a section talking about Semaphores. The book implements a spin-lock semaphore, but I'm having trouble understanding what happens with SysTick, which is used to implement the context switching.
void…

Fua
- 55
- 9
2
votes
2 answers
flashing nuttx RTOS to stm32F4developer from windows
I installed Ubuntu terminal as now Windows 10 supports it. I built the Nuttx RTOS using the terminal but in Ubuntu I cannot access USB devices except for a pen drive.
How can I flash the bin file to stm32f4developer?

Mohamed Vakkayil
- 21
- 2
2
votes
1 answer
Free RTOS for windows
Is there any free alternative to TenAsys Intime RTOS, that comes fully integrated with Visual Studio 2010? Or if they aren't, which of the RTOS tools would you recommend me?
Thanks in advance!

miguel.hpsgaming
- 461
- 8
- 17
2
votes
1 answer
How to create a QNX neutrino 7.0.0 bootable cd image with Photon?
I am a newbie in QNX and I have a question:
How to generate a QNX 7.0.0 bootable image for x86 (32-bit) that I can burn on a CD disk and boot with Photon.
There is an ISO image on the internet that does exactly that I want to. It called "QNX demo"…

Iogann Valdt
- 85
- 6
2
votes
2 answers
Calculation of stack size in FreeRtos or TI rtos
Recently I was working with Rtos and created some tasks to perform my required actions. Although it seems like every time when I create new task with xTaskCreate or TI GUI configuration, I simply try to keep my stack size as much so that the stack…

Ashish
- 23
- 1
- 6
2
votes
1 answer
read/write files from USB memory stick in uC-OS/II
I have a board with ARM processor and micrium RTOS on it. I need to read/write files from the USB memory stick. For example standard function, which renames file is next -
int FS_Rename (const char * sExistingName,
const char *…

drfred
- 21
- 1
2
votes
2 answers
'Usage fault exception' in ARM Cortex M
I attended a lecture on FreeRtos and Cortex M where the instructor advised that if ISR safe version of API is not used from ISR it can lead to Usage fault exception in Cortex M processors.This would happen because this can involve going from…

Furqan Qadri
- 47
- 1
- 7
2
votes
0 answers
Linux-Xenomai Serial Communication using xeno_16550A module
I'm starter of RTOS and I'm using Xenomai v2.6.3.
I'm trying to get some data using Serial communication.
I did my best on the task following the xenomai's guide and open sources, but it doesn't work well.
the link of the guide -->…

Min Gu Jeong
- 21
- 1
2
votes
1 answer
How to handle WFI inside RTOS
I'm looking for advice how to put in place a lower power management inside an embedded application. My idea is to handle WFI enabled inside the IDLE task based on the RTOS info + application constraint.
have an application function to know if…

Domino
- 31
- 2