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.hu...@embedded-brains.de
PGP     : Public key available on request.

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

_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to