Interrupt server on BBB

Angelo Fraietta newsgroups at
Mon Jul 13 23:36:32 UTC 2015

It may be off track but try increasing your stack size for the tasks.
What you can also try is instead of doing a printk, try blinking one of the
Leds on an interrupt - just removes the printk from equation.

On Mon, Jul 13, 2015 at 10:49 PM, Martin Galvan <
martin.galvan at> wrote:

> Hi everyone! I'm currently trying to use an interrupt server task for
> handling USB interrupts on the Beaglebone Black. Here's the code I'm
> using:
> rtems_interrupt_server_initialize(1, 1500, RTEMS_TIMESLICE | RTEMS_PREEMPT,
> rtems_interrupt_server_handler_install(NULL, AM335X_INT_USB1,
> "USB_interrupt",
>     reinterpret_cast<rtems_interrupt_handler>(USB1HostIntHandler), NULL);
> I checked the return codes of both functions and it's always
> RTEMS_SUCCESSFUL. At the same time I have a separate thread which is
> constantly doing a printk for debugging purposes.
> Right now what happens is that the printk thread runs about 10-15
> times and then the system hangs in the middle of the print. Am I doing
> something wrong?
> Thanks a lot!
> _______________________________________________
> users mailing list
> users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list