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
0
votes
1 answer

Sciopta RTOS assembly error

I don't know much about assembly, but when I was trying to build a project that uses Sciopta RTOS and Cortex A processor, it produced the following error: Error[401]: Operand syntax error mrc p15, #0, r0, c9, c14,…
Ramy Sameh
  • 271
  • 4
  • 13
0
votes
2 answers

Atomic disable and restore interrupts from ISR and non-ISR context: may it be different on some platform?

I work with embedded stuff, namely PIC32 Microchip CPUs these days. I'm familiar with several real-time kernels: AVIX, FreeRTOS, TNKernel, and in all of them we have 2 versions of nearly all functions: one for calling from task, and second one for…
Dmitry Frank
  • 10,417
  • 10
  • 64
  • 114
0
votes
2 answers

Error when calling EnterCriticalSection

I'm trying to create a mailbox on a Windows 7 OS in Eclipse IDE and in debug mode. I'm trying to create a RTOS(Real time operating system) like mailbox in Windows using Eclipse. This is what my code for the mailbox looks like so far: RTX_Mailbox…
Algorithmic
  • 138
  • 12
0
votes
1 answer

RTOS: requesting non-sleeping task to wake up causes next call to sleep() to not sleep - is that good?

I'm rewriting existing real-time kernel TNKernel; I have used it for a couple of years, but I don't like many of its design decisions (as well as implementation details), so I decided to fork it and have fun implementing what I want. Anyone who is…
Dmitry Frank
  • 10,417
  • 10
  • 64
  • 114
0
votes
3 answers

Osek Implementation language

In the OIL files, there's always a file called "Implementation.oil" that is included. I can't find anything that explain what this file do! Her is an example: ` #include "implementation.oil" CPU ATMEL_AT91SAM7S256 { OS LEJOS_OSEK { …
Zohra-tl
  • 53
  • 9
0
votes
0 answers

Use of Dynamic memory allocation in real time system

I know there is issue in using dynamic memory allocation in real time system. mostly start up time we can use dynamic memory allocation where we don't have to be more deterministic about system response. Can anyone give example where we use dynamic…
Deepak Rout
  • 11
  • 1
  • 8
0
votes
1 answer

picOS 18 Alarm definition

In picOS 18 there is taskdesc.c file which defines alarms. There is such a definition in that file : Counter Counter_list[] = { /******************************************************************* * -------------------------- First…
jason
  • 6,962
  • 36
  • 117
  • 198
0
votes
1 answer

Idle state in RTOS, sleep state or lowest frequency?

In real time systems using an RTOS, what how would the RTOS handle an idle period? Would it run nop instructions at the lowest frequency supported by a Dynamic Voltage Scaling capable processor? or would it turn to a sleep state? Can anyone refer me…
The Byzantine
  • 619
  • 1
  • 6
  • 21
0
votes
1 answer

Create a free running timer in real time linux

I am studying real time linux and want to create a free running timer. But I am not able to find information regarding the real time linux. Could someone suggests me some document or could someone tell me how to create a free running high precision…
user3458454
  • 291
  • 1
  • 4
  • 20
0
votes
1 answer

C or C++ programming with contikiOS on Arduino Due

What I need to do is to compile and run a program written in C/C++ on Arduino. I'm ok with every open source RTOS if it supports C especially struct. So I have found contikiOS does that, and tried to get started. But I guess contikiOS doesn't…
0
votes
1 answer

creating a multiple timer with single signal handler in linux?

I created a program containing the single signal hander to handle multiple timer. This timer is used to call the specific task for every 2ms, 10ms and so on. But it is not working. Could anyone help me in this…
0
votes
1 answer

Cppunit for Nucleus RTOS

In my project i need to do unit testing on my c++ code by using Cppunit. problem is code is based on real time operating system " NUCLEUS". Please help me out by letting me know how to do unit testing using cppunit when the platform is not windows…
0
votes
1 answer

Porting eCos to i386

I am trying to port eCos on an i386 PC. I have downloaded prebuilt redboot.bin from http://ecos.sourceware.org/ecos/boards/redbootbins/x86pc/ I boot it onto usb disk, using dd conv=sync if/redboot.bin of=/dev/sdb1 After booting target from usb, I…
Ishmeet
  • 1,540
  • 4
  • 17
  • 34
0
votes
1 answer

function-like behavior without any callstack use

I am working with a small cooperative OS (Salvo), in C, for an embedded target (MSP430). I have to implement a command handler with a large number of non-reusable implementation codes. Those codes may include context switches, using the OS. During a…
pserra
  • 206
  • 1
  • 11
0
votes
1 answer

Porting an OS into STM32VL

I am wondering if it is possible to port an OS into STM32 discovery board so that I can interface a touch screen and later make this project into MP3 player or Internet Radio. So considering that I am a beginner in programming STM32 controller so…
Michael
  • 11
  • 5