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.
- Connect the power cable to the board.
- 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.
- 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.
- In Windows 10, click the search box on the taskbar and type
Device Manager
, then select from the Menu. - 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.
- 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. - Set up board with XSDB:
- 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
- From the XSDB prompt, run the following
commands:
connect ta ta 1
- 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
- Launch XSDB using the xsdb.batch file from the
Vitis installation directory as
shown.
- Program the device and run:
- 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.
- 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 ********
- To re-run the results, run following
commands:
rst -system device program BOOT.BIN
- From the XSDB prompt, run the following
command: