Page 1 of 1

TASK Deadline and Disabling CACHE BYPASS

Posted: Fri Apr 08, 2016 2:00 pm
by amitdey1314
Hello,

I am using Erika OS on my Aurix Tricore TC297TF.
I would like to ask 2 questions.
1) I would like to know if there is a way to define a Deadline for a Task. For e.g if i have a 100ms TASK, the Task should not take more than 100ms to execute.
2) I am Aware that ICAHE and DCACHE are enabled by Default, but the Cache bypass is active by Default on reset. I Need to disable the Cache Bypass. Is there any API to do that. I tried doing the following below but i am not sure if it works.
Ifx_CPU_PCON0 pcon0;
Ifx_CPU_DCON0 dcon0;

pcon0.B.PCBYP = 0;
dcon0.B.DCBYP = 0;

Thanking in advance

Regards,
Amit Dey