Hi all, I'm trying to install an interrupt for UART0 on Xilinx Zynq, with rtems_interrupt_handler_install. If I use RTEMS_INTERRUPT_SHARED I always get RTEMS_TOO_MANY as a result. If I use RTEMS_INTERRUPT_UNIQUE, I got RTEMS_RESOURCE_IN_USE. With RTEMS_INTERRUPT_REPLACE also fails.
I tried rtems_interrupt_handler_remove before install but I got RTEMS_UNSATISFIED. Maybe the problem is in how I'm calling the installer: rtems_interrupt_handler_install(ZYNQ_IRQ_UART_0, "UART1", RTEMS_INTERRUPT_UNIQUE, (rtems_interrupt_handler)handlerUart0, NULL); I also say that I removed CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER from RTEMS configuration and I am using zynq_uart_initialize() before calling the install. The objective is to create a handler to process raw UART incoming data (no chars). Thanks in advance, Fer. P Please consider the environment before printing this e-mail.
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users