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:
- 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
- In new terminal. Issue the following command to change directory to
hololink-sensor-bridge
folder.cd <PATH/TO/hololink-sensor-bridge>
- 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>
- The following command runs holoscan-sensor-bridge docker container.
sh docker/demo.sh <enter>
- The following command flashes (Transfers to on board SPI flash) 2412 version bit file.
polarfire_esb flash --fpga-bit-version 2412
- The following command flashes (Transfers to on board SPI flash) 2412 version bit file.
polarfire_esb --force flash --fpga-bit-version 2412
Note:- When FPGA is running the older version of bit file (like 2407), use command switch
--force
(as shown in 3c). - 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.
- The following command runs holoscan-sensor-bridge docker container.
- 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.- The following command programs FPGA with design file in SPI Flash. It takes around one minute to program the FPGA
polarfire_esb --program
- 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:- When FPGA is running the older version of bit file (like 2407), use command switch
--force
. - 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.
- The following command programs FPGA with design file in SPI Flash. It takes around one minute to program the FPGA