Questions tagged [rtos]

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

650 questions
62
votes
1 answer

What is the difference between RTOS and Embedded Linux?

RTOS and Embedded Linux are used for embedded systems programming. Is Embedded Linux itself an RTOS ? Can anyone list the comparison or difference please?
NayabSD
  • 1,112
  • 2
  • 15
  • 26
45
votes
14 answers

Polling or Interrupt based method

When should one use polling method and when should one use interrupt based method ? Are there scenarios in which both can be used ?
Karthik Balaguru
  • 7,424
  • 7
  • 48
  • 65
36
votes
8 answers

Experiences with (free) embedded TCP / IP stacks?

Does anyone have especially good (or bad) experiences with any of the following embedded TCP / IP stacks? uIP lwIP Bentham's TCP/IP Lean implementation The TCP/IP stack from this book My needs are for a solid, easy-to-port stack. Code size isn't…
Dan
  • 10,303
  • 5
  • 36
  • 53
34
votes
5 answers

Why would I consider using an RTOS for my embedded project?

First the background, specifics of my question will follow: At the company that I work at the platform we work on is currently the Microchip PIC32 family using the MPLAB IDE as our development environment. Previously we've also written firmware for…
spade78
  • 1,939
  • 1
  • 20
  • 29
26
votes
12 answers

How do Real Time Operating Systems work?

I mean how and why are realtime OSes able to meet deadlines without ever missing them? Or is this just a myth (that they do not miss deadlines)? How are they different from any regular OS and what prevents a regular OS from being an RTOS?
Sandeep Datta
  • 28,607
  • 15
  • 70
  • 90
26
votes
2 answers

What makes a kernel/OS real-time?

I was reading this article, but my question is on a generic level, I was thinking along the following lines: Can a kernel be called real time just because it has a real time scheduler? Or in other words, say I have a linux kernel, and if I change…
brokenfoot
  • 11,083
  • 10
  • 59
  • 80
22
votes
5 answers

Install RT Linux patch for Ubuntu

Trying to make my generic Ubuntu to real time Ubuntu by modifying the kernel by patching / installing RT Linux but couldn't find a straight setup. Can someone help with the steps?
Abhay Nayak
  • 1,069
  • 1
  • 11
  • 25
20
votes
2 answers

what is v and x means in freeRTOS task creating or used in it?

what does mean x and v in task creating or managing of free RTOS? xTaskcreate or vTaskcreate?
shadab
  • 391
  • 4
  • 15
18
votes
5 answers

Python on an Real-Time Operation System (RTOS)

I am planning to implement a small-scale data acquisition system on an RTOS platform. (Either on a QNX or an RT-Linux system.) As far as I know, these jobs are performed using C / C++ to get the most out of the system. However I am curious to know…
Gökhan Sever
  • 8,004
  • 13
  • 36
  • 38
18
votes
5 answers

How to use the watchdog timer in a RTOS?

Assume I have a cooperative scheduler in an embedded environment. I have many processes running. I want to utilize the watchdog timer so that I can detect when a process has stopped behaving for any reason and reset the processor. In simpler…
user946230
  • 269
  • 1
  • 3
  • 8
14
votes
6 answers

What are the five most commonly used real-time operating systems?

I am looking for mostly used 5 Real-Time operating systems. I searched on Google and Wikipedia has a list of RTOSs, but they are in random order and also I am not convinced that all of them really operating real-time. One more question: can we…
mehmet6parmak
  • 4,777
  • 16
  • 50
  • 71
14
votes
12 answers

Are There any Open Source Real Time Operating Systems for x86?

Are there any open source real time operating systems out there? I've heard of real-time Linux, but most implementations seem to really be a proprietary RTOS (that you have to pay for) that run Linux as a process -- much the same way Ardence's RTX…
Kevin
  • 25,207
  • 17
  • 54
  • 57
14
votes
2 answers

Who schedules the scheduler in OS - Isn't it a chicken and egg scenario?

Who schedules the scheduler? Which is the first task created and how is this first task created? Isn't any resource or memory required for it? isn't like a chicken and egg scenario? Isn't scheduler a task? Does it get the CPU at the end of each time…
aks
  • 4,695
  • 8
  • 36
  • 37
12
votes
2 answers

Why do you need a Programmable Real Time Unit (PRU) while you can have an RTOS?

The beaglebone Black processor includes two independent Programmable Real Time Units (PRUs). Hobbyists and professionals are excited about possible use of these units for real-time applications, which is understood. However, if you can have a RTOS…
student1
  • 860
  • 3
  • 11
  • 22
12
votes
10 answers

How to preserve stack space with good design?

I'm programming in C for RAM limited embedded microcontroller with RTOS. I regularly break my code to short functions, but every function calling require to more stack memory. Every task needs his stack, and this is one of the significant memory…
landmn
  • 433
  • 3
  • 11
1
2 3
43 44