Hi Gilles,

I have changed mxc_min_delay as follow
mxc_min_delay = ((__ipipe_cpu_freq + 500000) / 1000000) ?: 1;
->
mxc_min_delay = ((__ipipe_cpu_freq + 250000) / 500000) ?: 1;
means make min delay form 1us to 2us, and it seems to work well. I need a 
longer test to check it out.

Another issue about this change is whether 2us is long enough? In other words, 
Is 2us a threshold value that due to hardware or an assumed value that make the 
possibility smaller? if it is the later one, 2us and someone bigger seems not 
to be a perfect solution.

Thanks for help

                                                                                
                                                        Ma Qiang

-----Original Message-----
From: Gilles Chanteperdrix [mailto:[email protected]] 
Sent: 2012年3月8日 17:15
To: ??
Cc: [email protected]
Subject: Re: [Xenomai-help] Xenomai stop working

On 03/08/2012 04:13 AM, ?? wrote:
> Hi
> 
>   I have installed xenomai-2.5.6 on imx53 quick start board with Linux
> 2.6.35, it works well but stop working when I do some kernel real time task.
> 
>   When it stop working, system is not totally down, it will be recovered
> after about 8~9 minutes, which comes

This usually means that the hardware timer is programmed for a too short
delay and wraps instead of ticking right away. You need to increase, in
__ipipe_mach_set_dec for the cpu you use, the minimum delay for which an
irq is triggered.

-- 
                                                                Gilles.



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to