Too much Interrupt
Hi,
I work with Sensoray S626 IO card.
My test consists in generating signal with a calibrator, one per second during 5 seconds.
I use rt_intr_wait and I get about 50000 interrupts, I have to filter them to count only the good ones (5).
The provided demo does not behave this way. It receives only the ones generated by the calibrator.
Where do the ~50000 interrupts come from?
Thanks
Hubert
Quoted 11 lines · Hubert Talbot
Hi,
I work with Sensoray S626 IO card.
My test consists in generating signal with a calibrator, one per second during 5 seconds.
I use
rt_intr_waitand I get about 50000 interrupts, I have to filter them to count only the good ones (5).The provided demo does not behave this way. It receives only the ones generated by the calibrator.
Where do the ~50000 interrupts come from?
A stupid advice: did you check rt_intr_wait return value ? Maybe something is badly configured and rt_intr_wait returns an error 50000 times ?
Signature · 1 line
Gilles.
I'm not sure whether my e-mail has been received or not, so I'm posting it again. Sorry replications.
Hi all, I'm trying to embed the
linux-2.6.24 with xenomai-2.4.3 on powerpc processor. Although when I try to execute
/scripts/prepare-kernel.sh on xenomai directory I unfortunately get the message at the end :
patching file Makefile
patching file arch/powerpc/Kconfig
patching file arch/powerpc/boot/Makefile
patching file arch/powerpc/kernel/Makefile
patching file arch/powerpc/kernel/asm-offsets.c
patching file arch/powerpc/kernel/cputable.c
Hunk #1 succeeded at 1333 (offset -79 lines).
Hunk #2 succeeded at 1380 (offset -79 lines).
patching file arch/powerpc/kernel/entry_32.S
......
Unable to patch kernel 2.6.24.4 with adeos-ipipe....
Have you seen this problem? Could you give me some tips?
Thanks,
Breno
Quoted 2 lines · Breno Carneiro Pinheiro
I'm not sure whether my e-mail has been received or not, so I'm posting it again. Sorry replications.
Yes, this is the third time we receive your post. Please stop this.
Signature · 1 line
Gilles.
[Xenomai-help] Rép. : Re: Too much Interrupt
In reply to Gilles ChanteperdrixThere is no more problem (sorry for omitting advice).
It was not related to Xenomai. The problem was with the I/O card.
rt_intr_* calls were not sufficient. I had to make I/O card API calls too.
Something like this:
while (!end)
{
rt_intr_wait();
// disable interrupts
rt_intr_disable();
InterruptEnable(board, FALSE); <-------------- this call was not there when the problem was
processing...
// reenable interrupts
rt_intr_enable();
InterruptEnable(board, TRUE);
} Thanks
Hubert
Quoted 1 line
Quoted 1 line
Quoted 1 line
Gilles Chanteperdrix <[email protected]> 2008-04-09 11:00:04 >>>
Quoted 11 lines · Hubert Talbot
Hi,
I work with Sensoray S626 IO card.
My test consists in generating signal with a calibrator, one per second during 5 seconds.
I use
rt_intr_waitand I get about 50000 interrupts, I have to filter them to count only the good ones (5).The provided demo does not behave this way. It receives only the ones generated by the calibrator.
Where do the ~50000 interrupts come from?
A stupid advice: did you check rt_intr_wait return value ? Maybe something is badly configured and rt_intr_wait returns an error 50000 times ?
Signature · 1 line
Gilles.