Re: [Xenomai-help] rt_heap_create problem

2008-12-11 Thread Hans Søndergaard (HSO)
Regards Hans So From: Bosko Radivojevic [mailto:[EMAIL PROTECTED] Sent: 11. december 2008 10:52 To: Hans Søndergaard (HSO) Cc: xenomai-help@gna.org Subject: Re: [Xenomai-help] rt_heap_create problem Hans, have you enabled memory heaps option in your kernel config

Re: [Xenomai-help] rt_heap_create problem

2008-12-11 Thread Hans Søndergaard (HSO)
. december 2008 16:08 To: Hans Søndergaard (HSO); xenomai-help@gna.org Subject: RE: [Xenomai-help] rt_heap_create problem Hans Søndergaard (HSO) wrote: I use Xenimai 2.4.3 and Linux 2.6.24 on an AT91SAM9260 processor based on ARM926EJ-S. My problem is that the code snippet below gives an error -2

[Xenomai-help] rt_heap_create problem

2008-12-10 Thread Hans Søndergaard (HSO)
Hello Xenomai. I use Xenimai 2.4.3 and Linux 2.6.24 on an AT91SAM9260 processor based on ARM926EJ-S. My problem is that the code snippet below gives an error -2. As you can see, I have tried different HEAP_MODE values. Earlier, I used the code on x86 without problem. Hope, you can help me.

[Xenomai-help] How to get pid in Xenomai?

2008-08-21 Thread Hans Søndergaard (HSO)
Hello. 1) Can you tell me, how to get the task id for the current (running) rt_task? I have tried to use getpid(), but this function always gives the same id as result. I am running several periodic rt_tasks and need their id's. 2) In Xenomai the priority inheritance protocol is implemented.

Re: [Xenomai-help] Xenomai on AT91SAM9260

2008-04-30 Thread Hans Søndergaard (HSO)
Message- From: Gilles Chanteperdrix [mailto:[EMAIL PROTECTED] Sent: 29. april 2008 14:18 To: Hans Søndergaard (HSO) Cc: xenomai-help@gna.org Subject: Re: [Xenomai-help] Xenomai on AT91SAM9260 On Tue, Apr 29, 2008 at 1:37 PM, Hans Søndergaard (HSO) [EMAIL PROTECTED] wrote: Is it possible

[Xenomai-help] Xenomai on AT91SAM9260

2008-04-29 Thread Hans Søndergaard (HSO)
Is it possible to install Xenomai 2.4.3 together with Linux 2.6.23 on AT91SAM9260? If the answer is no, which combination of Xenomai and Linux would you recommend? Hans Sondergaard VIA University College, Denmark ___ Xenomai-help mailing list

[Xenomai-help] rt_intr_create fails, err = 38 (ENOSYS)

2008-02-27 Thread Hans Søndergaard (HSO)
My rt_tasks (periodic) and rt_events work now. Next I have started using interrupts: rt_intr_create. It fails with return value = 38 (ENOSYS). I follow the template from Xenomai's homepage: user_irq.c In .config I have set: CONFIG_XENO_NATIVE_INTR=y. Have you any suggestions to solve the

[Xenomai-help] Wolfgang Grandeggers gpioirqbench

2008-02-24 Thread Hans Søndergaard (HSO)
The attachment gpioirqbench-0.9.0.tar.bz2https://mail.gna.org/public/xenomai-help/2008-02/binp10nwrHLLm.bin is a bin file. Would it be possible to get the right zipped file? Hans. ___ Xenomai-help mailing list Xenomai-help@gna.org

[Xenomai-help] Calling rt_task_start with cookie not NULL

2008-01-23 Thread Hans Søndergaard (HSO)
The rt_task_start has the following signature: int rt_task_start (RT_TASK * task, void(*)(void *cookie) entry, void * cookie); but I have not been able to find any example where the cookie parameter is not NULL. I am programming an example, where the entry function need some parameters