From: 马强 <ma.q@domain.hid>
To: 'Gilles Chanteperdrix' <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai stop working
Date: Fri, 9 Mar 2012 14:06:26 +0800 [thread overview]
Message-ID: <000601ccfdba$c36b8650$4a4292f0$@q@domain.hid> (raw)
In-Reply-To: <4F58788F.5070103@domain.hid>
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:gilles.chanteperdrix@xenomai.org
Sent: 2012年3月8日 17:15
To: ??
Cc: xenomai@xenomai.org
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.
next prev parent reply other threads:[~2012-03-09 6:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 3:13 [Xenomai-help] Xenomai stop working ??
2012-03-08 9:14 ` Gilles Chanteperdrix
2012-03-09 6:06 ` 马强 [this message]
2012-03-09 9:11 ` Gilles Chanteperdrix
2012-03-13 6:32 ` 马强
2012-03-13 7:10 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601ccfdba$c36b8650$4a4292f0$@q@domain.hid' \
--to=ma.q@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.