Bird
0
0

Why might a watchdog task fail to reset the system even if a monitored task is stuck?

medium📝 Debug Q7 of 15
FreeRTOS - Design Patterns for RTOS
Why might a watchdog task fail to reset the system even if a monitored task is stuck?
AThe watchdog task has higher priority than the stuck task
BThe system has no idle task
CThe watchdog timer is disabled in FreeRTOSConfig.h
DThe monitored task still sends notifications, preventing reset
Step-by-Step Solution
Solution:
  1. Step 1: Understand watchdog reset condition

    Watchdog resets system only if it detects no notifications from monitored tasks.
  2. Step 2: Analyze why reset might not happen

    If the stuck task still sends notifications (e.g., from an interrupt), watchdog thinks it is alive.
  3. Final Answer:

    The monitored task still sends notifications, preventing reset -> Option D
  4. Quick Check:

    False notifications prevent watchdog reset [OK]
Quick Trick: False notifications can fool the watchdog task [OK]
Common Mistakes:
  • Assuming priority affects reset
  • Thinking timer config disables reset
  • Believing idle task absence causes failure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes