Component Based Flow Design Debug - 2024.1 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2024-05-30
Version
2024.1 English
The following steps illustrate component based flow design debug for Hardware Debug.
  1. Burn <project>/Hardware/package/sd_card.img to a physical SD card. This creates a boot-able medium for your target platform.
  2. Insert the SD card into the card reader of the VCK190 evaluation kit.
  3. Change the boot-mode settings of the card to SD boot mode, and power up the board.
  4. After the VCK190 is booted, enter the mount command at the command prompt to get a list of mount points. As shown in the following figure, the mount command displays mounting information for the system.

    Tip: Be sure to capture the proper path for the cd command in the next step, and subsequent commands, based on the results of the mount command.
  5. Execute the following commands: cd /run/media/mmcblk0p1
  6. Run ifconfig to retrieve the IP address of the target card. The IP address is used to set up a TCF agent connection in Vitis Unified IDE. The target needs to connect to the network assigned IP address.

  7. From within the Vitis IDE, select or create a target connection to the remote accelerator card as follows:
    1. Select the Vitis → Target Connections command from the main menu to open the Target Connections dialog box.
    2. Select an existing Linux TCF Agent connection, or right-click Linux TCF Agent and select the New Target command to open the New Target Connection dialog box as shown in the following figure.

      Note: The field Host should be filled with the value obtained from Step 6. The port ‘1534’ is used for communication with the host.
    3. Test the connection to validate the setup. Upon successful connection, the following dialog box is displayed:

    4. Specify the Target Name, enable the Set as Default target checkbox and specify the Host IP address of the accelerator card that you obtained from the ifconfig command. Click OK to close the dialog box and continue.
  8. Select the Open Settings command in the Flow Navigator next to the Debug command, or open launch.json from the System project in the Vitis Components Explorer. Validate the launch configurations for the Hardware build, or select the Add Configuration (+) command to create a new configuration as shown in the following figures.