I am continuing to get random shutting down of my 5i25/7i77 boards. Initially it was thought that this was caused by a latency issue with the based thread after enabling the base thread to drive the fourth axis using the parallel port. I successfully moved the fourth axis off the parallel port onto the P2 port of the 5i25 board which enabled the stepper motor to be driven via the fpga on the 5i25 and allowed me to delete the base thread, but the problem of the 5i25 and 7i77 boards randomly shutting down continues.
At random times, both when linuxcnc is running and moving the tool, and when linuxcnc is idle and no motion is occurring, I get the series of error messages as shown below.
I am not sure whether it is the "hm2/hm2_5i25.0: sserial_write: Timeout waiting for CMD to clear" error that occurs first, or whether it is the "hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (6) Remote Fault" that occurs first. Once the faults occur linuxcnc losses control of the 5i25 / 7i77 boards and they are non-responsive. If I try to restart Linuxcnc I get the errors
hm2/hm2_5i25.0: invalid cookie, got 0xFFFFFFFF, expected 0x55AACAFE
hm2/hm2_5i25.0: FPGA failed to initialize, or unexpected firmware?
hm2_5i25.0: board fails HM2 registration
RTAPI_PCI: Unmapped 65536 bytes at 0x7f9291d30000
Driver probe function failed!
hm2_pci: error registering PCI driver
Since the error message does refer to the pci driver, I am wondering if the issue is in the PC and not the 5i25/7i77 boards. I am running 64 bit Linux LMDE2 with Linux vertmill 3.18.13-rt10mah+ #3 SMP PREEMPT RT Sat Jun 20 00:51:55 CEST 2015 x86_64 GNU/Linux.
The only way to clear the system is to do a complete system restart which 95% of the time works. One or twice the errors continue, but a second restart has always worked.
Does anyone have any idea what would be causing this or where I could look to figure out the cause?
Thanks.