Accelerator Functional Unit Developer Guide: Intel FPGA Programmable Acceleration Card N3000 Variants

ID 683190
Date 7/15/2022
Public
Document Table of Contents

4.5.1.4. How to Rescan PCIe* Bus and Re-enable PCIe* AER

  1. Rescan the PCIe* bus to register the new FPGA.
    # sudo echo 1 > /sys/bus/pci/rescan
  2. Verify the new FPGA is present by checking expected bitstream ID and AFU ID using commands:
    $ sudo fpgainfo fme
    $ sudo fpgainfo port
    
  3. Re-enable AER using the values read in Step 4 of section Disabling PCIe Automatic Error Reporting (AER) for the card under test:
    $ sudo setpci -s 0000:00:03.0 ECAP_AER+0x08.L=0x00000000
    $ sudo setpci -s 0000:00:03.0 ECAP_AER+0x14.L=0x00002000
    

    You can now run your host application with the FPGA image you loaded with JTAG.