rtems_message_queue_receive / rtems_event_receive issues

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 19 13:13:43 UTC 2018


On 19/09/2018 14:46, Catalin Demergian wrote:
> I installed the ISR myself like this
>
>   // USB related initializations
>
> _ARMV7M_Set_exception_priority_and_handler(ARMV7M_VECTOR_IRQ(STM32F7_IRQ_OTG_FS), 
> BSP_ARMV7M_IRQ_PRIORITY_DEFAULT, USB_OTG_Handler);
>
> I am sure that the ISR is entered after the kernel task gets stuck.

No, this doesn't work. Never call functions starting with an underscore 
unless you are absolutely sure what you are doing.

Please use rtems_interrupt_handler_install(STM32F7_IRQ_OTG_FS, ....) 
instead.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list