Step 6. Run the System in Hardware - 2022.2 English

Vitis Tutorials: AI Engine Development

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English

We have two ways to run the application.

A: Use Jtag to launch the application.

  1. Set up your board with proper connection of power cable, JTAG USB cable, UART USB cable and set BOOT MODE to JTAG.

  2. Right-click on the simple_application_system and click Run As → Launch Hardware.

    missing image

  3. You should see the application running successfully with no error.

    missing image

B: Use SD card to run the application.

  1. Set up your board with proper connection of power cable, JTAG USB cable, UART USB cable and set BOOT MODE to SD Boot.

  2. Right-click on the simple_application_system and expand Hardware.In the package directory you would find a sd_card.img file.

    We can find the sd_card.img file in package and package_aie_debug directories. The sd_card.img in package_aie_debug directory is for hardware debug purpose. It stops AI Engine after loading and waits for the run instruction from the debugger. The one in the package directory is for free running. So we choose sd_card.img in package directory for SD Card free running.

  3. Format your SD Card SD card FAT32 partition using the sd_card.img file.

    missing image

  4. Insert your SD card into your board and power on your board.

  5. You should see the application running successfully with no error.

    missing image