Forum Discussion
Altera_Forum
Honored Contributor
15 years agoPCIe device disconnect/disable needed to reprogram FPGA
I am using the Altera Stratix IV dev kit. The FPGA is in a PCIe slot on a system running Linux. Is there a way (i.e., some Linux commands or some other method) for me to be able to disconnect/disab...
Altera_Forum
Honored Contributor
15 years agoChuck,
Thanks. Is the process that you performed simply as simple as: (1) pci_save_state (2) reconfig FPGA (3) pci_restore_state Or is there some other step between pci_save_state and reconfig FPGA? When we tried pci_save_state followed by reconfig FPGA, we still get the same old NMI bringing the server down. Don't we need some way to tell the bus that the device is no longer present before we reprogram? If not, how can we ensure that the undetermined signal values of the FPGA I/Os driving the FPGA will not mess up the bus?