All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Problem with  rtdm_irq_request
@ 2009-02-02  8:14 seb p
  2009-02-02  8:52 ` Philippe Gerum
  0 siblings, 1 reply; 4+ messages in thread
From: seb p @ 2009-02-02  8:14 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

Hello,

I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai 2.4.4. I am doing a RTDM serial driver. I use the function rtdm_irq_request with the routine rt_rs485_interrupt. The interrupt number is 7. The interrupt is enable when a carracter is in the buffer Rx and the programm execute the routine rt_rs485_interrupt. But in my programm, when a caracter is in the buffer Rx, the programm doesn't execute the routine and I must reboot the linux. The console don't answer.

Have you got an idea of the problem? Thanks.

Séb.



      

[-- Attachment #2: Type: text/html, Size: 903 bytes --]

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

* Re: [Xenomai-help] Problem with  rtdm_irq_request
  2009-02-02  8:14 [Xenomai-help] Problem with rtdm_irq_request seb p
@ 2009-02-02  8:52 ` Philippe Gerum
  2009-02-02 11:17   ` [Xenomai-help] Re : " seb p
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2009-02-02  8:52 UTC (permalink / raw)
  To: seb p; +Cc: xenomai

seb p wrote:
> Hello,
> 
> I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai
> 2.4.4. I am doing a RTDM serial driver. I use the function
> rtdm_irq_request
> <http://www.xenomai.org/documentation/trunk/html/api/group__rtdmirq.html#g9bb3d95218ac5261e4033fb0bf695073>
> with the routine rt_rs485_interrupt. The interrupt number is 7. The
> interrupt is enable when a carracter is in the buffer Rx and the
> programm execute the routine rt_rs485_interrupt. But in my programm,
> when a caracter is in the buffer Rx, the programm doesn't execute the
> routine and I must reboot the linux. The console don't answer.
> 
> Have you got an idea of the problem? Thanks.
>

Time is a scarce resource for everyone. With that in mind, please:

- do not report issues based on outdated Xenomai releases unless you made sure
that such issue also happens on the latest release. Xenomai 2.4.6.1 will happily
work over 2.6.25/arm.

- send an excerpt of your code that helps understanding the issue.

> Séb.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.


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

* [Xenomai-help] Re :  Problem with  rtdm_irq_request
  2009-02-02  8:52 ` Philippe Gerum
@ 2009-02-02 11:17   ` seb p
  2009-02-03 16:27     ` Philippe Gerum
  0 siblings, 1 reply; 4+ messages in thread
From: seb p @ 2009-02-02 11:17 UTC (permalink / raw)
  To: rpm; +Cc: xenomai


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Type: text/plain; charset=utf-8, Size: 1682 bytes --]

I try with the last version of xenomai but it's the same problem.

I send you my code. 

Thank you for your help.

Seb.




________________________________
De : Philippe Gerum <rpm@xenomai.org>
À : seb p <sebas_p2002@domain.hid>
Cc : xenomai@xenomai.org© le : Lundi, 2 Février 2009, 9h52mn 27s
Objet : Re: [Xenomai-help] Problem with  rtdm_irq_request

seb p wrote:
> Hello,
> 
> I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai
> 2.4.4. I am doing a RTDM serial driver. I use the function
> rtdm_irq_request
> <http://www.xenomai.org/documentation/trunk/html/api/group__rtdmirq.html#g9bb3d95218ac5261e4033fb0bf695073>
> with the routine rt_rs485_interrupt. The interrupt number is 7. The
> interrupt is enable when a carracter is in the buffer Rx and the
> programm execute the routine rt_rs485_interrupt. But in my programm,
> when a caracter is in the buffer Rx, the programm doesn't execute the
> routine and I must reboot the linux. The console don't answer.
> 
> Have you got an idea of the problem? Thanks.
>

Time is a scarce resource for everyone. With that in mind, please:

- do not report issues based on outdated Xenomai releases unless you made sure
that such issue also happens on the latest release. Xenomai 2.4.6.1 will happily
work over 2.6.25/arm.

- send an excerpt of your code that helps understanding the issue.

> Séb.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.



      

[-- Attachment #1.2: Type: text/html, Size: 2789 bytes --]

[-- Attachment #2: driver_serial_rt.tar.gz --]
[-- Type: application/x-gzip, Size: 4076 bytes --]

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

* Re: [Xenomai-help] Re :  Problem with  rtdm_irq_request
  2009-02-02 11:17   ` [Xenomai-help] Re : " seb p
@ 2009-02-03 16:27     ` Philippe Gerum
  0 siblings, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2009-02-03 16:27 UTC (permalink / raw)
  To: seb p; +Cc: xenomai

seb p wrote:
> I try with the last version of xenomai but it's the same problem.
> 
> I send you my code.
>

http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__rtdmirq.html

> Thank you for your help.
> 
> Seb.
> 
> ------------------------------------------------------------------------
> *De :* Philippe Gerum <rpm@xenomai.org>
> *À :* seb p <sebas_p2002@domain.hid>
> *Cc :* xenomai@xenomai.org
> *Envoyé le :* Lundi, 2 Février 2009, 9h52mn 27s
> *Objet :* Re: [Xenomai-help] Problem with rtdm_irq_request
> 
> seb p wrote:
>> Hello,
>>
>> I use a atmel card AT91SAM9260 and I install Linux 2.6.25 with xenomai
>> 2.4.4. I am doing a RTDM serial driver. I use the function
>> rtdm_irq_request
>>
> <http://www.xenomai.org/documentation/trunk/html/api/group__rtdmirq.html#g9bb3d95218ac5261e4033fb0bf695073>
>> with the routine rt_rs485_interrupt. The interrupt number is 7. The
>> interrupt is enable when a carracter is in the buffer Rx and the
>> programm execute the routine rt_rs485_interrupt. But in my programm,
>> when a caracter is in the buffer Rx, the programm doesn't execute the
>> routine and I must reboot the linux. The console don't answer.
>>
>> Have you got an idea of the problem? Thanks.
>>
> 
> Time is a scarce resource for everyone. With that in mind, please:
> 
> - do not report issues based on outdated Xenomai releases unless you
> made sure
> that such issue also happens on the latest release. Xenomai 2.4.6.1 will
> happily
> work over 2.6.25/arm.
> 
> - send an excerpt of your code that helps understanding the issue.
> 
>> Séb.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Xenomai-help mailing list
>> Xenomai-help@domain.hid <mailto:Xenomai-help@domain.hid>
>> https://mail.gna.org/listinfo/xenomai-help
> 
> 
> -- 
> Philippe.
> 


-- 
Philippe.


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

end of thread, other threads:[~2009-02-03 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-02  8:14 [Xenomai-help] Problem with rtdm_irq_request seb p
2009-02-02  8:52 ` Philippe Gerum
2009-02-02 11:17   ` [Xenomai-help] Re : " seb p
2009-02-03 16:27     ` Philippe Gerum

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.