Task overrun

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
Posts: 24
Joined: Thu Oct 13, 2016 2:49 pm

Task overrun

Post by szalokicsiga » Thu Sep 21, 2017 12:54 pm

Is it possible to detect somehow task overrun? I mean if a task wants to be started, but it has not finished running yet.
For example cycle time is 5ms, but runtime of the task is 10ms. Can we detect this?

Thanks in advance!

Posts: 864
Joined: Thu Dec 07, 2006 12:11 pm

Re: Task overrun

Post by paolo.gai » Thu Sep 21, 2017 1:21 pm

Yes and no...
- on OSEK you can set the pending activations to 1. when you activate, if the task did not finish yet, you'll get an error.
- on a AUTOSAR configuration on Tricore you can set the WCET as part of the timing protection

Other methods can be implemented with kernel customizations...



Post Reply