All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] a question:deadline for the real devices
@ 2012-06-24 10:59 ali hagigat
  2012-06-24 11:19 ` Uwe Fechner
  0 siblings, 1 reply; 3+ messages in thread
From: ali hagigat @ 2012-06-24 10:59 UTC (permalink / raw)
  To: xenomai

When we talk about Xenomai and a hard real time system, every thing
seems OK regarding to tasks and the CPU code, what about the
functionality of I/O devices?

Like there is no guarantee for writing a sector on a hard disk below a
specified time. Or reading/writing a USB device.

I mean doing a real input/output action seems not to have a specific
deadline. While sometimes it seems we need to have it.

Any comment and direction will be appreciated much.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] a question:deadline for the real devices
  2012-06-24 10:59 [Xenomai] a question:deadline for the real devices ali hagigat
@ 2012-06-24 11:19 ` Uwe Fechner
  2012-06-24 19:16   ` Anders Blomdell
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Fechner @ 2012-06-24 11:19 UTC (permalink / raw)
  To: xenomai

 Hi,

for realtime I/O you need drivers that support Xenomai. They are available for serial I/O,
CAN bus, Ethercat and probably more.

Avoid USB (not as realiable as needed for industrial applications).

With respect to disc I/O: First of all use an SSD harddisc that has a RAM input cache.

Than you could also create a thread that receives data via a realtime queue and
writes it with a lower priority the hard disc. I am not sure if this is always
needed.

Best regards:

Uwe Fechner

On 24.06.2012 12:59, ali hagigat wrote:
> When we talk about Xenomai and a hard real time system, every thing
> seems OK regarding to tasks and the CPU code, what about the
> functionality of I/O devices?
>
> Like there is no guarantee for writing a sector on a hard disk below a
> specified time. Or reading/writing a USB device.
>
> I mean doing a real input/output action seems not to have a specific
> deadline. While sometimes it seems we need to have it.
>
> Any comment and direction will be appreciated much.
>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai


-- 
----------------------------------------
Uwe Fechner, M.Sc.
Delft University of Technology
Faculty of Aerospace Engineering/ASSET
Kluyverweg 1,
2629 HS Delft, The Netherlands
Phone: +31-15-27-88902



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] a question:deadline for the real devices
  2012-06-24 11:19 ` Uwe Fechner
@ 2012-06-24 19:16   ` Anders Blomdell
  0 siblings, 0 replies; 3+ messages in thread
From: Anders Blomdell @ 2012-06-24 19:16 UTC (permalink / raw)
  To: Uwe Fechner; +Cc: xenomai

On 06/24/2012 01:19 PM, Uwe Fechner wrote:
>   Hi,
>
> for realtime I/O you need drivers that support Xenomai. They are available for serial I/O,
> CAN bus, Ethercat and probably more.
Ethercat is most probaly not there since its licensing is incompatible 
with GPL (and most other open source licenses AFAICT).

/Anders


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-24 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-24 10:59 [Xenomai] a question:deadline for the real devices ali hagigat
2012-06-24 11:19 ` Uwe Fechner
2012-06-24 19:16   ` Anders Blomdell

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.