I am working on a customized/proprietary RTOS provided by my client.
The RTOS uses round robin scheduling with priority preemption.
Scenario is -
- The Renesas H8S controller is running at 20 MHz
- I have configured interrupt for ethernet interrupt (A LAN9221 chip is interrupting)
- A task which reads the data from LAN controller is running at highest priority in OS
- Another task TCP which is second highest priority task in system
I have generated network traffic to simulate bombarding condition on the network.
Problem is at high data rates (more than 500 packets/second) on ethernet ISR watchdog is getting fired which is configured for 1 second.
Watchdog is configured to be serviced by a lower priority task of OS to detect any problem in OS functionality.
I doubt the frequency of ISR and higher priority tasks are not letting the watchdog task to be scheduled. To confirm my doubt i have serviced the watchdog in ISR itself and found working till 2000 packets/second.
Could you please suggest how can handle the situation so the watchdog should not fire even on higher data/interrupt rate.
Thanks
Vikas
No comments:
Post a Comment