Bird
0
0

What is the primary role of a watchdog task in a FreeRTOS system?

easy📝 Conceptual Q1 of 15
FreeRTOS - Design Patterns for RTOS
What is the primary role of a watchdog task in a FreeRTOS system?
ATo handle user input events
BTo manage memory allocation dynamically
CTo monitor other tasks and reset the system if they become unresponsive
DTo schedule tasks based on priority
Step-by-Step Solution
Solution:
  1. Step 1: Understand watchdog task purpose

    A watchdog task is designed to monitor system health by checking if other tasks respond within expected time frames.
  2. Step 2: Identify correct role in FreeRTOS

    Resetting the system if tasks hang prevents system lockups, which is the watchdog's main job.
  3. Final Answer:

    To monitor other tasks and reset the system if they become unresponsive -> Option C
  4. Quick Check:

    Watchdog task role = Monitor and reset [OK]
Quick Trick: Watchdog tasks watch system health and reset if stuck [OK]
Common Mistakes:
  • Confusing watchdog with input handling
  • Thinking watchdog manages memory
  • Assuming watchdog schedules tasks

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes