Hello,
I'm currently working on a program that, basically, reads some data from a
DAQ device periodically, performs some calculations over it and writes the
result back to the DAQ. All these operations are performed by a real-time
thread (using POSIX skin), while a second non real-time thread sto
I believe you want to look at xddp for communication between RT and
non RT threads:
http://xenomai.org/documentation/xenomai-3/html/xeno3prm/xddp-echo_8c-example.html
I don't have much experience with using message queues for RT to
non-RT communications but I believe using a message queue with a
On 04/02/2018 04:54 PM, Greg Gallagher wrote:
> I believe you want to look at xddp for communication between RT and
> non RT threads:
>
> http://xenomai.org/documentation/xenomai-3/html/xeno3prm/xddp-echo_8c-example.html
>
> I don't have much experience with using message queues for RT to
> non-R
Thank you Greg and Philippe for the quick response.
I wasn't aware of the existence of XDDP, and it is exactly what I
need. Problem is that when I run even the xddp-echo.c example from
http://xenomai.org/documentation/xenomai-3/html/xeno3prm/xddp-echo_8c-example.html I get this error "socket:
On 04/03/2018 12:21 PM, rodrigo.amadu...@uam.es wrote:
> Thank you Greg and Philippe for the quick response.
>
> I wasn't aware of the existence of XDDP, and it is exactly what I need.
> Problem is that when I run even the xddp-echo.c example from
> http://xenomai.org/documentation/xenomai-3/html/
Quoting Philippe Gerum :
You need to enable the ipc/xddp driver (CONFIG_XENO_DRIVERS_RTIPC_XDDP)
in your kernel.
--
Philippe.
I have recompiled my kernel a couple of times activating all the RTIPC
drivers but I'm still getting the same error when running xddp-echo.
Rodrigo
_
I'll look into it this weekend and see if I can get the demo running
on Zynq or one of my boards.
On Thu, Apr 5, 2018 at 9:25 AM, wrote:
> Quoting Philippe Gerum :
>>
>>
>> You need to enable the ipc/xddp driver (CONFIG_XENO_DRIVERS_RTIPC_XDDP)
>> in your kernel.
>>
>> --
>> Philippe.
>
>
> I ha
Thank you very much Greg.
Quoting Greg Gallagher :
I'll look into it this weekend and see if I can get the demo running
on Zynq or one of my boards.
On Thu, Apr 5, 2018 at 9:25 AM, wrote:
Quoting Philippe Gerum :
You need to enable the ipc/xddp driver (CONFIG_XENO_DRIVERS_RTIPC_XDDP)
in
On 04/06/2018 04:00 PM, Greg Gallagher wrote:
> I'll look into it this weekend and see if I can get the demo running
> on Zynq or one of my boards.
>
> On Thu, Apr 5, 2018 at 9:25 AM, wrote:
>> Quoting Philippe Gerum :
>>>
>>>
>>> You need to enable the ipc/xddp driver (CONFIG_XENO_DRIVERS_RTIPC
...@embeddedgreg.com; rodrigo.amadu...@uam.es
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Context switching with POSIX skin
On 04/06/2018 04:00 PM, Greg Gallagher wrote:
> I'll look into it this weekend and see if I can get the demo running
> on Zynq or one of my boards.
>
> On Thu, Apr 5
Quoting Greg Gallagher :
Tested on zynq zybo and microzed, the demo works. I built it from
stable using the 4.14 ipipe-arm repo and modprobed the module at
boot. Are you using a module or building it into the kernel?
-Greg
I'm building it into the kernel. Since I'm new to all these I just
That looks sane to me, this thread outlines a similar problem:
http://xenomai.org/pipermail/xenomai/2017-December/038078.html
My CFLAGS and LDFLAGS are slightly different:
XENO_CONFIG := $(PATH_TO_STAGE)/usr/xenomai/bin/xeno-config
CFLAGS := $(shell DESTDIR=$(PATH_TO_STAGE) $(XENO_CONFIG) --posi
I was able to reproduce the issue, but it only happened if I didn't
have the driver loaded. I would try building it as a loadable module
then load it and confirm it's running using lsmod. Then run your test
application.
-Greg
On Mon, Apr 9, 2018 at 11:13 PM, Greg Gallagher wrote:
> That looks
Quoting Greg Gallagher :
I was able to reproduce the issue, but it only happened if I didn't
have the driver loaded. I would try building it as a loadable module
then load it and confirm it's running using lsmod. Then run your test
application.
-Greg
Ok, I manually loaded the module and it
Quoting Rodrigo Amaducci :
Ok, I manually loaded the module and it works. I just thought that
the driver was already loaded from boot (as Analogy drivers are, for
example).
Thank you very much for the help, I'll see now if using XDDP fixes
the context switching problems.
- Rodrigo
I'
15 matches
Mail list logo