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:
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.Beamformer design takes about 60 minutes or more to build. It depends on the build computer’s spec.