RTOS Tutorial (2/5) : Task, handler and API

  Рет қаралды 37,766

RenesasPresents

RenesasPresents

Күн бұрын

Пікірлер: 12
@Greebstreebling
@Greebstreebling 3 жыл бұрын
These tutorials are excellent. The combination of good structure, easy to understand contextual visuals and voice, is extremely well thought through. Thank you very much for producing these. They're a great starting point for RTOS concepts and process.
@gururajvc
@gururajvc 6 жыл бұрын
Basically, Interrupt are disabled when handlers are in progress. Why is that , as per my information Interrupts have high priority than handlers right. Please correct me if i am wrong. Thanks.
@MrHaggyy
@MrHaggyy 6 жыл бұрын
Depends on the design. If the interrupt is handled in the handler it's not allowed to change during that time, as you would get invalid information/data. If the interrupt only calls one function, like for precise time measurement where execution time is relevant, you might want the interrupt to do something and leave the evaluation for a polling task.
@saiprakashbelkeri
@saiprakashbelkeri 5 жыл бұрын
Interrupts is a type of handlers. Coming to your question, It purely depends on the type of Interrupt it is. If it is a Non-OS Interrupt it will not be disabled. For example, Take your Music playing Application on your phone as an example. They have a cyclic Interrupt that after each song it has to shuffle and search for another song and play it (on Shuffle mode). So, while this is happening if you operate from your headset and hit the next song button it has to go to the next song before the present song is complete. In this case, the external Interrupt is given the priority. Hope you got the point and was helpful.
@AnujFalcon
@AnujFalcon 5 жыл бұрын
One doesn't want a interrupt interrupting the handler process as it has the highest priority - logically. I can understand that there is a chance of few interrupts getting missed while handlers are running. But a system can only handle what it can - it doesn't have infinite parallel+serial computation power to handle them all. It's more like an essential compromise in my opinion. Think about it.
@aymenkhelifa890
@aymenkhelifa890 4 жыл бұрын
Disabling interrupts while handling another one is to avoid "stacked interrupts" that can overflow the kernel stack. It also can also prevent deadlocks and/or "pinning". If the CPU is processing an interrupt for hardware_A (in "interrupt service routine" ISR_A), the interrupt for hardware_B can still be asserted. It will be remembered [by the interrupt controller], it just won't interrupt the CPU at that time
@imranaalam
@imranaalam 4 жыл бұрын
Best explained ever
@pexoto5093
@pexoto5093 4 жыл бұрын
thanks for this presentation. It's rich in content and well explained
@RenesasPresents
@RenesasPresents 4 жыл бұрын
Thank you for watching.
@krish2nasa
@krish2nasa 6 жыл бұрын
Excellent presentation, Thank you very much.
@AnujFalcon
@AnujFalcon 5 жыл бұрын
At 4:51, you say only one task can be executed at a time. But what in case of multi-core real time system ? Is there a assumption that we are running RTOS only in single core embedded systems ?
@RenesasPresents
@RenesasPresents 4 жыл бұрын
Thanks for your enquiry. Sorry for late reply. For technical support, you may write in by filling in your enquiry here, www.renesas.com/us/en/support/contact.html Best regards.
RTOS Tutorial (3/5) : Semaphore and event flag
15:43
RenesasPresents
Рет қаралды 26 М.
RTOS Tutorial (4/5) : Architecture and Performance of RTOS
20:15
RenesasPresents
Рет қаралды 16 М.
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 43 МЛН
MAGIC TIME ​⁠@Whoispelagheya
00:28
MasomkaMagic
Рет қаралды 20 МЛН
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 23 МЛН
RTOS Basics
13:18
Weston Embedded Solutions
Рет қаралды 1,5 М.
RTOS Tutorial (5/5) : RTOS for Multi-core systems
11:13
RenesasPresents
Рет қаралды 11 М.
#22 RTOS Part-1: What is a Real-Time Operating System?
23:26
Quantum Leaps, LLC
Рет қаралды 140 М.
Get to know FreeRTOS from the Creator! - DesignWest 2013
38:09
Real-Time Operating System (RTOS) Concepts
13:12
Saqer Ali
Рет қаралды 34 М.
FreeRTOS Task & Queue tutorial
12:24
Preet
Рет қаралды 202 М.
Thread (Task) and Interrupt (ISR) synchronization in an RTOS
7:52
Real Time Operating Systems (RTOS) - Nate Graff
35:02
White Hat Cal Poly
Рет қаралды 52 М.
FreeRTOS on STM32 - 3 FreeRTOS introduction
32:29
STMicroelectronics
Рет қаралды 55 М.
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 43 МЛН