4.1 Programming using Holoscan Sensor Bridge Software

The FPGA bit-version from the factory is compatible with the Holoscan Ethernet Sensor Bridge SDK v2407.

To update the FPGA bit-version to the latest version, perform the following steps:

  1. Connect the Ethernet cable to J6 connector on MPF200-ETH-SENSOR-BRIDGE to AGX/IGX Ethernet port.
    Note: Perform a ping test to Check if Nvidia AGX/IGX is connected to Holoscan board by issuing the following command.

    ping 192.168.0.2

  2. In new terminal. Issue the following command to change directory to hololink-sensor-bridge folder.

    cd <PATH/TO/hololink-sensor-bridge>

  3. Run the following commands to transfer .spi(job/RTL design) file to the on board SPI Flash of the MPF200-ETH-SENSOR-BRIDGE board.

    xhost + <enter>

    1. The following command runs holoscan-sensor-bridge docker container.

      sh docker/demo.sh <enter>

    2. The following command flashes (Transfers to on board SPI flash) 2412 version bit file.

      polarfire_esb flash --fpga-bit-version 2412

    3. The following command flashes (Transfers to on board SPI flash) 2412 version bit file.

      polarfire_esb --force flash --fpga-bit-version 2412

    Note:
    1. When FPGA is running the older version of bit file (like 2407), use command switch --force (as shown in 3c).
    2. Step 3.b(or 3.c) downloads FPGA design file from internet and takes around 50 minutes to transfer the design file to on-board flash.
  4. To program the FPGA with the .spi that is in the on-board SPI flash, run the following command within the holoscan-sensor-bridge docker container.
    1. The following command programs FPGA with design file in SPI Flash. It takes around one minute to program the FPGA

      polarfire_esb --program

    2. The following command programs FPGA with design file in SPI Flash. It takes around one minute to program the FPGA.

      polarfire_esb --force --program

    Note:
    1. When FPGA is running the older version of bit file (like 2407), use command switch --force .
    2. If (new/latest) Holoscan Ethernet sensor bridge software is not unable to detect Ethernet packets, use the new --force switch . This situation arise if FPGA is running older bit file and NVIDIA AGX/IGX running the newer Holoscan sensor bridge software.