The Xilinx board utility (xrt-smi) is a
powerful standalone command line utility that can be used to debug lower level
hardware/software interaction issues. A full description of this utility can be found in
xrt-smi
Utility in the Vitis
Reference Guide (UG1702).
With respect to debugging, the following
xrt-smi options are of special interest:-
examine - Provides an overall status of a card including information on the kernels in card memory.
-
program - Downloads a binary (
xclbin) to the programmable region of the AMD device.
-
xrt-smi exmaine -r debug-ip-status -d <BDF> - Extracts the status of the Performance Monitors (
aimandasm) and the Lightweight AXI Protocol Checkers (lapc).