Hi,
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!
Task overrun
Moderator: paolo.gai
Re: Task overrun
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...
Ciao,
PJ
- 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...
Ciao,
PJ