Questions tagged [rtos]

A Real Time Operating System - one used typically in industrial control systems. characterized by a predicable response time to interrupts and system requests. Designed in such a way that the developer can be sure of meeting timing requirements of industrial processes.

113 questions
60
votes
9 answers

RTOS for Embedded Systems

I have seen many articles that tell me I should be using RTOS for time management and resource management. My time has not permitted my own research, so I come to chiphacker for advice. I use low resource microcontrollers(MSP430, PIC) and was…
Kortuk
  • 13,362
  • 8
  • 60
  • 85
20
votes
9 answers

Does the "Avoid using floating-point" rule of thumb apply to a microcontroller with a floating point unit (FPU)?

As a rule of thumb, I try to avoid using floating-point in my embedded system codebase. Floating-point variables are: Computation-intensive Not atomic (can cause problems in an RTOS application or with interrupts) Their precision can cause…
gbt
  • 671
  • 6
  • 17
17
votes
2 answers

Has anyone evaluated NuttX RTOS?

While reading Linux User's Journal today, I stumbled across a little blurb about NuttX RTOS. I checked out their website and was fairly impressed with it's feature set and it's ability to put it in an 8052! I find it interesting that it supports…
Jay Atkinson
  • 1,132
  • 4
  • 15
  • 22
16
votes
1 answer

What features distinguishes real-time from other types of os?

I'm experimenting with a small so-called real-time kernel that basically can do nothing but counting to the next prime. It uses interrupt-driven I/O. But why is it a real-time kernel? I read that Linux became a real-time kernel in 2002, is that…
Niklas Rosencrantz
  • 1,694
  • 6
  • 33
  • 62
16
votes
6 answers

Multitasking on PIC microcontrollers

Multitasking is important these days. I wonder how we can achieve it in microcontrollers and embedded programming. I am designing a system which is based on a PIC microcontroller. I have designed its firmware in MplabX IDE using C and then designed…
Aircraft
  • 1,666
  • 1
  • 12
  • 26
14
votes
5 answers

RTOS for Arduino?

is there any project of an rtos that works on arduino ?
mba7
  • 902
  • 1
  • 9
  • 13
12
votes
6 answers

Replacement for Queues in RTOS

For Inter-task communication or to share data between two tasks of RTOS, We use Queues. But Problem with Queues is that they are slow.... They copy data in Buffer then Mutex Handling and then Data Transfer. It's irritatingly slow if you have to…
Swanand
  • 3,245
  • 5
  • 28
  • 45
11
votes
6 answers

What is the reason my PIC16 multitasking RTOS kernel doesn't work?

I am trying to create a semi-pre-emptive (co-operative) RTOS for PIC x16 microcontrollers. In my previous question, I've learnt that accessing hardware stack pointer is not possible in these cores. I have looked at this page in PIClist, and this is…
abdullah kahraman
  • 5,930
  • 7
  • 59
  • 104
9
votes
4 answers

What can I do to decrease the latency from these serial ports which are attached to a PC via a Serial to USB adapter?

I think I have accidentally discovered a need in my life for embedded systems. Which is great! And kind of scary. And I need help. Background: I got hired to build a GUI application which takes scans from two SICK LMS-291s and integrates them with a…
canisrufus
  • 205
  • 3
  • 8
9
votes
1 answer

Is there any real time clock (RTC) which provides time resolution in microseconds?

I've been searching for high precision RTCs on Google but almost all RTCs like DS12C887, DS1307 provide time resolution in seconds which is ok for general use. Are there any RTC ICs which can provide finer resolution like in milliseconds and…
Osaid
  • 569
  • 6
  • 17
9
votes
5 answers

How come RTOSs are considered deterministic?

On a pc (an OS of course) any C program becomes indeterministic in terms of timing. For instance a loop takes between 1.2 and 1.3 seconds depending on "how fast I am moving another window". It is because the OS makes processes (or threads) share…
ozgur
  • 479
  • 5
  • 12
8
votes
3 answers

RTOS for Cortex M4 with 802.15.4/6LoWPAN stack

I'm evaluating operating systems to use in an Internet of Things Project and I don't know what's the best way to proceed. I'm using a TM4C123GH6PM MCU with 32k RAM and a CC2520 802.15.4 transceiver, it would be great if the system already provided…
user1273684
  • 251
  • 1
  • 3
  • 5
8
votes
3 answers

What is the difference between context switching and interrupt handling?

I'm an embedded developer. I haven't worked with RTOS/linux. I was going through RTOS concepts when I stumbled upon 'context switching'. I understand that when context switch occurs, all the registers along with PC(Program Counter) gets saved in…
seetharaman
  • 476
  • 1
  • 6
  • 17
7
votes
2 answers

FreeRTOS on STM32 - What API should be used: CMSIS-RTOS API (v1 or v2) or FreeRTOS API?

According to ST's user manual UM1722 "Developing wireless applications on STM32Cube with RTOS" there are two APIs available: Generic CMSIS-RTOS API (v1 or v2) FreeRTOS API The CMSIS-RTOS API located in the CMSIS_RTOS_V2 folder generated by CubeMX…
Fedor Chervyakov
  • 71
  • 1
  • 1
  • 3
7
votes
3 answers

What development boards have good RTOS support?

I'm looking for a relatively low-cost (<$50 would be ideal) development board with real support for an RTOS. It doesn't matter if the RTOS is manufacturer-supported or a separate project, but I'd like something that is solidly supported (i.e.…
Computerish
  • 717
  • 2
  • 9
  • 18
1
2 3 4 5 6 7 8