Re: [Xenomai] Simple application for invoking rtdm driver

2018-04-03 Thread Pintu Kumar
Hi, Any clue on this? I guess native and alchemy skin is internally same. Then why rt_dev_xxx does not work with alchemy skin. Please let me know the alternate API to invoke rtdm driver with alchemy skin. Thanks, Pintu On Mon, Apr 2, 2018 at 7:18 PM, Pintu Kumar wrote:

Re: [Xenomai] Simple application for invoking rtdm driver

2018-04-02 Thread Pintu Kumar
Hi, I tried changing "native" skin to "alchemy" skin and replaced header from native/timer.h to alchemy/timer.h But when I build my rtdm application, I get below error: app_test.c: In function ‘main’: app_test.c:41:7: warning: implicit declaration of function ‘rt_dev_open’

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-27 Thread Philippe Gerum
On 03/27/2018 02:09 PM, Pintu Kumar wrote: > Hi, > > Thank you so much for all your explanation. > But, before I dig deeper, I have some simple questions which is troubling me. > > 1) In Idle case, we see latency improvement (~2-3 micro-seconds on > average) using Xenomai native task

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-27 Thread Pintu Kumar
Hi, Thank you so much for all your explanation. But, before I dig deeper, I have some simple questions which is troubling me. 1) In Idle case, we see latency improvement (~2-3 micro-seconds on average) using Xenomai native task application, compared to normal posix thread application (with 100

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-26 Thread Philippe Gerum
On 03/26/2018 03:12 PM, Pintu Kumar wrote: > Dear Philippe, > > Thank you so much for your reply. > Please find my comments below. > > > On Sun, Mar 25, 2018 at 5:39 PM, Philippe Gerum wrote: >> On 03/23/2018 01:40 PM, Pintu Kumar wrote: >>> Dear Philippe, >>> >>> Thank you

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-26 Thread Pintu Kumar
Dear Philippe, Thank you so much for your reply. Please find my comments below. On Sun, Mar 25, 2018 at 5:39 PM, Philippe Gerum wrote: > On 03/23/2018 01:40 PM, Pintu Kumar wrote: >> Dear Philippe, >> >> Thank you so much for your detailed explanation. >> >> First to

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-25 Thread Philippe Gerum
On 03/23/2018 01:40 PM, Pintu Kumar wrote: > Dear Philippe, > > Thank you so much for your detailed explanation. > > First to cross-check, I also tried on ARM BeagleBone (White) with > 256MB RAM, Single core > These are the values I got. After how many samples? > === >

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-23 Thread Pintu Kumar
Dear Philippe, Thank you so much for your detailed explanation. First to cross-check, I also tried on ARM BeagleBone (White) with 256MB RAM, Single core These are the values I got. === NORMAL KERNEL Driver Build (with xenomai present)

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-20 Thread Philippe Gerum
On 03/20/2018 01:00 PM, Pintu Kumar wrote: > On Tue, Mar 20, 2018 at 5:15 PM, Philippe Gerum wrote: >> On 03/20/2018 12:31 PM, Pintu Kumar wrote: >>> On Tue, Mar 20, 2018 at 3:02 PM, Philippe Gerum wrote: On 03/20/2018 08:26 AM, Pintu Kumar wrote: >

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-20 Thread Pintu Kumar
On Tue, Mar 20, 2018 at 5:15 PM, Philippe Gerum wrote: > On 03/20/2018 12:31 PM, Pintu Kumar wrote: >> On Tue, Mar 20, 2018 at 3:02 PM, Philippe Gerum wrote: >>> On 03/20/2018 08:26 AM, Pintu Kumar wrote: On Tue, Mar 20, 2018 at 10:57 AM, Pintu Kumar

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-20 Thread Philippe Gerum
On 03/20/2018 12:31 PM, Pintu Kumar wrote: > On Tue, Mar 20, 2018 at 3:02 PM, Philippe Gerum wrote: >> On 03/20/2018 08:26 AM, Pintu Kumar wrote: >>> On Tue, Mar 20, 2018 at 10:57 AM, Pintu Kumar wrote: On Tue, Mar 20, 2018 at 9:03 AM, Greg Gallagher

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-20 Thread Philippe Gerum
On 03/20/2018 12:31 PM, Pintu Kumar wrote: > On Tue, Mar 20, 2018 at 3:02 PM, Philippe Gerum wrote: >> On 03/20/2018 08:26 AM, Pintu Kumar wrote: >>> On Tue, Mar 20, 2018 at 10:57 AM, Pintu Kumar wrote: On Tue, Mar 20, 2018 at 9:03 AM, Greg Gallagher

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-20 Thread Pintu Kumar
On Tue, Mar 20, 2018 at 3:02 PM, Philippe Gerum wrote: > On 03/20/2018 08:26 AM, Pintu Kumar wrote: >> On Tue, Mar 20, 2018 at 10:57 AM, Pintu Kumar wrote: >>> On Tue, Mar 20, 2018 at 9:03 AM, Greg Gallagher >>> wrote: If you

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-20 Thread Philippe Gerum
On 03/20/2018 08:26 AM, Pintu Kumar wrote: > On Tue, Mar 20, 2018 at 10:57 AM, Pintu Kumar wrote: >> On Tue, Mar 20, 2018 at 9:03 AM, Greg Gallagher >> wrote: >>> If you want to use open, read, write you need to specify in the >>> makefile to use the

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-20 Thread Pintu Kumar
On Tue, Mar 20, 2018 at 10:57 AM, Pintu Kumar wrote: > On Tue, Mar 20, 2018 at 9:03 AM, Greg Gallagher wrote: >> If you want to use open, read, write you need to specify in the >> makefile to use the posix skin. You need something like these in your

Re: [Xenomai] Simple application for invoking rtdm driver

2018-03-19 Thread Pintu Kumar
On Tue, Mar 20, 2018 at 9:03 AM, Greg Gallagher wrote: > If you want to use open, read, write you need to specify in the > makefile to use the posix skin. You need something like these in your > Makefile: > > XENO_CONFIG := /usr/xenomai/bin/xeno-config > CFLAGS := $(shell

[Xenomai] Simple application for invoking rtdm driver

2018-03-19 Thread Pintu Kumar
Hi, I have developed a simple rtdm driver using: open, read_rt, write_rt, close. Now I wanted to test it using a Xenomai native application, using native skin. Here are my observation. 1) If I use normal open, read, write system call, then Xenomai reports that normal read/write method is used