Experimental Physics and
| |||||||||||||||
|
Dear community, I am writing to see if you can help or guide me to find a solution for the error I am having with the "Bancomm 365" driver. We are migrating the module to EPCIS version 7.0.6.1. with rtems5. The driver works correctly for version 3.14.12.8 and RTEMS 4.10.
When I boot the driver I get the "spurious interrupt: 32" error. This implies that the function (isr_bc635) associated with the interrupt is never called. In this case, the Bancomm card should issue an interrupt for each tick periodically. Thank you very much in advance. int bc635IntEnable (const epicsUInt16 signal, const char *parm ) { …… /* Connect bc635 interrupts */ if( (status = devConnectInterruptVME(BC635VEC, isr_bc635, NULL) ) != OK ) { errMessage(status, "BC635 error - unable to connect\n"); return status; } pbc635->vector = BC635VEC; /* Interrupt vector */ pbc635->level = BC635LVL; /* Interrupt level */ /* Enable interrupts on this level */ status = devEnableInterruptLevel( intVME, BC635LVL ); if( status ) printf("Enabling Bancomm interrupts failed\n"); init = TRUE; } …… } void isr_bc635 (void *p) { /* First check for periodic interrupt */ if ( ((pbc635->intstat & 0x02) & pbc635->mask) != 0) { …… } /* let a high priority task deal with the other interrupts */ epicsEventSignal(intSvc); } Regards,
| ||||||||||||||
ANJ, 14 Sep 2022 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |