Question

If you delete a task in FreeRTOS, the code inside the memory is gone. Is this...

If you delete a task in FreeRTOS, the code inside the memory is gone. Is this statement true? Explain your answer.

Please explain why it is a good idea to minimize the execution time of ISR.

Explain the difference between semaphore and mutex?

For the priority of gatekeeper task, should you assign a high priority or low priority? Please explain.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution

If you delete a task in FreeRTOS, the code inside the memory is gone. Is this statement true? Explain your answer.

Answer
False

Explanation
When you delete a task the task will be removed from all
ready
clocked
suspended
and
event lists.  

---

Please explain why it is a good idea to minimize the execution time of ISR.

if you dont minimize the execution time of ISR System timing problems could happen the reason is that it can be missed if it is not minimized

Reducing the interrupt response latency in case for processor to respond to hardware interrupt

--

Explain the difference between semaphore and mutex?

The main difference is that signalling mechanism
The proceeses will perform wait() & signal() operation to indicate whether they are acquiring/releasing the resource

Mutex is locking mechanism, the process should acquire the lock on mutex object if it wants to acquire the resource

---

For the priority of gatekeeper task, should you assign a high priority or low priority? Please explain.

Answer
Higher priority

Explanation
The reason is that it is protecting entry from lower priority tasks

---

all the best

Add a comment
Know the answer?
Add Answer to:
If you delete a task in FreeRTOS, the code inside the memory is gone. Is this...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT