All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Matthias Schneider <ma30002000@yahoo.de>,
	"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] issue with cobalt/timer: avoid periodic timer drift
Date: Sun, 06 Jul 2014 18:09:07 +0200	[thread overview]
Message-ID: <53B974A3.5010004@xenomai.org> (raw)
In-Reply-To: <1404662453.79446.YahooMailNeo@web171601.mail.ir2.yahoo.com>

On 07/06/2014 06:00 PM, Matthias Schneider wrote:
>> You seem to have created a periodic timer with a null period. Could you
>> post a sample code allowing to reproduce this issue?
>>  
> 
> 
> This happens in most of my freertos apps (e.g. demo, etc.). However, 
> I have not put any effort in narrowing the problem down, in the hope
> the problem would be deductible from the kernel state. Maybe you could
> give a few hints where a periodic timer could come into play? In the
> freertos skin there are only tasks, queues and semaphores, so I
> am not creating any periodic timer explicitly. Are there occasiosn
> when periodic timers are being created implicitly using the three
> primitives mentioned above? Or can I configure an intelligent
> breakpoint to catch the creation of a periodic timer?

Maybe you could put a breakpoint to see where xntimer_start is called?


-- 
                                                                Gilles.


  reply	other threads:[~2014-07-06 16:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-06  9:48 [Xenomai] issue with cobalt/timer: avoid periodic timer drift Matthias Schneider
2014-07-06 12:50 ` Philippe Gerum
2014-07-06 15:01 ` Gilles Chanteperdrix
2014-07-06 16:00   ` Matthias Schneider
2014-07-06 16:09     ` Gilles Chanteperdrix [this message]
2014-07-06 16:31       ` Matthias Schneider
2014-07-06 16:37         ` Matthias Schneider
2014-07-06 16:44           ` Gilles Chanteperdrix
2014-07-06 16:56             ` Matthias Schneider
2014-07-06 16:57               ` Gilles Chanteperdrix
2014-07-06 17:04 ` Gilles Chanteperdrix
2014-07-06 17:36   ` Matthias Schneider

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=53B974A3.5010004@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=ma30002000@yahoo.de \
    --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.