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

How to clear/flush messag queue buffer in VxWorks?

i would like to know, is there any method to flush all messages which are pipelined on 1 msgQId?????
Pratik
  • 77
  • 1
  • 1
  • 11
0
votes
1 answer

Porting linux based application to uC/OS-II platform

I am planning to implement Hiawatha web server on a non-linux platform which is uC/OS-II RTOS. I need help to port the Linux dependent API's to RTOS platform. Kindly let me if there are already build libraries that I can use to port Linux on…
Rohit Pai
  • 89
  • 9
0
votes
1 answer

RTOS - passing allocating a struct and passing it through a queue

I've been having some issues with a couple of tasks I'm running. I have three tasks, where one is an LCD update task, and the other two are motor driver tasks. I also have two ISR's that post messages to both the motor driver tasks. As far as…
Ci3
  • 4,632
  • 10
  • 34
  • 44
0
votes
4 answers

LinkedList adding Element

We have a problem with our LinkedList in C. When I count how many nodes should be in the list, I always get 1 LL count: 1 This is the Add, count and get last element of the list code: void addLL(LL * head) { LL *newNode; LL *tail =…
Davey
  • 447
  • 2
  • 7
  • 27
0
votes
3 answers

RTOS : Is it possible to have two Message Queue's for a Single Task?

I have created a task A and two message Queues Q1, Q2. Is it possible for the task A to wait on two message Queue? As i know it is not possible, since in case of blocking message Q calls, the task will block itself(blocked state) when it is not…
vijayanand1231
  • 447
  • 1
  • 7
  • 20
-1
votes
2 answers

How can I use hardware timer with cmsis-rtos2?

I know very well how to setup timer with hal API in stm32cubemx but I'm new to keil-rtx. Unfortunately STM32CubeMX does not support CMSIS-RTOS2. My question is I wanna have a timer with less than 1 ms interval. I want to know how to use hardware…
-1
votes
1 answer

ISR execution in a non-preemptive system

in a non preemptive system, after an ISR finishes execution, will the interrupted task continue execution even if a higher priority task was activated?
-1
votes
1 answer

Proper way to implement (DC motor) PI current controller with RTOS

with my hobby project I started to rewrite the classic interrupt driven software to a new one with RTOS. I am using an STM32 with FreeRTOS but it is not important because my question is generally related to the problem that how to implement a fast…
-1
votes
1 answer

How to debug ARM register dump after a reset?

I'm using Tiva TM4C129XNCZAD based on 32-bit ARM® Cortex®-M4F in a TI_RTOS environment. I'm getting an unexpected reset during the normal flow of the system. After reset, I get the following register values. How can I understand what caused the…
Waqas
  • 191
  • 3
  • 4
  • 13
-1
votes
1 answer

Write in to RAM in EL1 on ARMv8

I am writing my RTOS for armv8 arch and I am using u-boot. Now when my board booting it switchs in EL1. But I can not write/read any values. Is there a way to disable translation table? Or is the problem elsewhere? Thanks advance for answers :)
Lino
  • 7
  • 4
-1
votes
1 answer

Need assistance Systick handler not getting called

I am trying to use the systick handler in MSP432 controller for context switching but the systick handler is never called. I'm not sure what I doing wrong I set the interrupt priority to the highest and set PendSV to the lowest. I do disable…
Mperez
  • 85
  • 1
  • 6
-1
votes
2 answers

Can we control two independent processes with hardware timers in stm32f

I am trying to implement firmware for STM32 based micrrocontroller Two tasks, Task A & Task B both independent of each other. Is it possible to generate interrupts at different time instances so that the firmware switches back to the task once the…
Gaurav1234
  • 43
  • 7
-1
votes
1 answer

How to add precompiled library to ESP8266 SDK?

I have a precompiled lib (.a extension) that I want to use integrated on the ESP8266 RTOS SDK examples. There is a folder on following path (ESP8266_RTOS_SDK\components\esp8266\lib) where there are 22 .a files inside. I have put my lib there, but…
abomin3v3l
  • 167
  • 1
  • 10
-1
votes
1 answer

Display timer in hundredth of a second when under a minute

So in my current RTOS code for mbed I have a timer that counts down from 3 minutes displayed in the format of minutes:seconds.I need to implement way so when the time gets to under a minute, the time is displayed in hundredths of a second, such as…
super95
  • 103
  • 1
  • 10
-1
votes
1 answer

What is 1 thread execution time (quantum) if number of concurrent threads is 10 and SysTick time is 10mSec?

I am currently working with RTOS, their I have Time Tick Value = 10 mSec and Number of concurrent running tasks = 10. Now my question is, What should be my Single Thread Time (quantum)? I think, Single Thread Time = Time Tick Value / Number of…
appleBoy21
  • 632
  • 8
  • 23