Standalone Application Debug Using System Debugger on QEMU - 2021.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2021-12-15
Version
2021.2 English
  1. Launch the Vitis software platform.
  2. Create a standalone application project, or select an existing project.
  3. Select Debug As > Debug Configurations.
  4. Double-click Launch on Emulator (Single Application Debug) and select the Emulation check box on the Main Page to create a new configuration.
    Note: Only hardware platforms based on Zynq and Zynq UltraScale+ MPSoC can be selected for standalone application debugging.


  5. In the Debug Configuration page:
    1. If your application is expecting some arguments, specify them in the Arguments view.
    2. If your application is expecting to set some environment variables, specify them in the Environments view.
  6. Click Debug.
  7. You can also launch the Emulation Console by selecting Window > Show View > Other. The Emulation Console can be used to interact with the program running on QEMU. The STDIN can be provided in the input box at the qemu% prompt. Output is displayed in the area above the input text.