Execute as a single uninterrupted unit
Saturday, August 10, 2024
Wednesday, August 7, 2024
Why is an idle task required in RTOS
1. System stability
Refraining from keeping the system without any task running
2. Power management
Idle task can be used to implement low power or sleep functions
3. Resource management
Idle task can be used to implement memory freeing functions and other maintenance activities
Saturday, August 3, 2024
What is a Race condition
In parallel programming, if 2 threads try to access the same shared resource simultaneously then this can lead to unpredictable behaviour or errors this is called race condition
Sunday, July 28, 2024
What is the default scheduling mechanism of FreeRTOS
The default scheduling is preemptive priority based.
Thursday, July 11, 2024
What are spin locks in freeRTOS
Spin locks are used for synchronization, the task trying to acquire the lock goes into a tight polling loop (busy wait loop )continuously checking if the lock is available
Tuesday, July 9, 2024
What is the lowest priority that can be set in an arm cortex M processors
n the ARM cortex M processors the priority is defined using 4 bits and hence the lowest priority is 15(0xF)
Monday, July 8, 2024
Deleting a task in freeRTOS
Function used to delete a task is vDeleteTask() - this function only marks the task as deleted
The work of freeing the memory from a deleted task is done by the ideal task
In real world we donot delete a task very often. If we donot need a task we either send it to a suspended mode or a blocked state
Wednesday, May 22, 2024
Real Time Systems
We define a system as real time if there is a small and bounded delay between the time when the task should be completed amd when it is actually completed.
Sunday, March 31, 2024
Real time operating system
What is anti- Debugging
Anti- debugging is how we can stop somebody from debugging our system and getting all the information out of your subsystem.
-
When electricity travels through a shorter distance,it encounters less resistance as a result the current increases. The heat generated by e...
-
Ans : Flowering plants of some species like Asteraceae and grasses , produce seeds without fertilization called Apomixis. It is a form of as...
-
Ans: Cells have various shapes: oval, spherical, rectangular, elongated, irregular , etc The red blood cells are spherical or disc- shaped. ...