Step 2. Build the Command-Line Project with Debug Capabilities - 2022.2 English

Vitis Tutorials: AI Engine Development

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

Use this tutorial’s Makefile.emu that has the --package.enable_aie_debug option in the packaging step. This option inserts configuration data object (CDO) that generates stop requests for the AI Engine cores, so that they stop at the reset vector. This option is required to add debug capabilities. Issue command make package_dbg with this tutorial’s Makefile.emu to package binaries that can be debugged.

cp Makefile.emu Makefile
make
make package_dbg

Note:

  1. The packaged binaries that have debug capabilities require to run with the debugger. Run without the debugger will see the execution hang due to the wait for debugger invocation. Issue command make package to package binaries back without debugging capabilities.

  2. Beamformer design takes about 60 minutes or more to build. It depends on the build computer’s spec.