Running BOOT.BIN on Hardware - 2021.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2021-10-22
Version
2021.2 English
In this section you will learn how to manage the board settings, make cable connections, connect the board through your system, and program the BOOT.BIN on a Versal device.
  1. Connect the power cable to the board.
  2. Connect a USB Micro cable between the host machine and USB JTAG connector on the target board. This cable is used for USB to serial transfer.
  3. Ensure that the SW1 switch is set to the JTAG boot mode as shown in the following figure, then power on the VCK190 board.

    Once your board is set up, program the device as follows.

  4. In Windows 10, click the search box on the taskbar and type Device Manager , then select from the Menu.
  5. When the board is powered ON and connected to your machine through the USB interface, determine the COM ports that are between the VCK190 board and your computer from Windows Device Manager.

  6. Use a Terminal application (Teraterm or Putty) to open up COM port interfaces on these ports (COM4, COM5 and COM6 in the above case at 115200 baud rate).

    Note: Ensure the Connection type is set to Serial.
  7. Set up board with XSDB:
    1. Launch XSDB using the xsdb.batch file from the Vitis installation directory as shown.
      <Xilinx Install Directory>\Vitis\<Version>\bin\xsdb.bat
      or
      <Xilinx Install Directory>\Vivado\<Version>\bin\xsdb.bat
    2. From the XSDB prompt, run the following commands:
      connect
      ta
      ta 1
    3. From within the XSDB prompt, navigate to the directory where hardware device image has been generated. In general, it is in <code-generation-directory>/run_hw/src_ps/BOOT.BIN.
      cd <code-generation-directory>/run_hw/src_ps/BOOT.BIN
  8. Program the device and run:
    1. From the XSDB prompt, run the following command:
      device program BOOT.BIN

      You will see following message in the XSDB prompt if the device program is successful.



    2. This will run the design on the board and you should see the log similar to the following. Here, the hardware results are compared with the golden results.
      ******************************** Test Results ********************************
       
      ****** Model Composer and Hardware outputs match for all 40944 samples for output signal Out1 *******
       
      ****** Test passed ********
    3. To re-run the results, run following commands:
      rst -system
      device program BOOT.BIN