CPU card Winsystem PPM-LX800-G (pc104plus x86)
Excalibur EXC-4000P104Plus card with M4K1553-PCS configured as RT (PCI card)
I am trying create a thread attached to the 1553 cards Interrupt.
When I send a message to the 1553 card QNX hangs. The 1553 card responds(it is an intelligent card) with valid data.
I have tested the 1553 code as a polled device and this works.
PCI PinID of 1553 is A with interrupt 10. When I use the PCI -vvv command there are other PCI devices with PinID of A but they have Interrupts of 11.
The code I am using was copied from a non PCI interrupt routine.
below is a snippet of how I am attaching the interrupt.
// enable I/O privilege
status = ThreadCtl(_NTO_TCTL_IO, NULL);
if(status == -1)
cout << "ThreadCtl, _NTO_TCTL_IO error: errno = " << errno << ": " << strerror(errno) << std::endl;
// Setup the 1553 board for RT interrupts
// Set Responce Mode RT Active
// initialize hardware
m_IrqId = InterruptAttachEvent(m_Interrupt,
Any ideas as to why the sytem hangs… I can not even terminate the threads via Momentics.
Thanks in advance for any help.