Generating files for XMC™ Simulator tool
For the XMC1100, XMC1200, XMC1300, and XMC1400 families of devices, you can generate an archive file to upload to the XMC™ Simulator tool (https://design.infineon.com/tinaui/designer.php) for simulation and debugging. To do this:
Specify the
CY_SIMULATOR_GEN_AUTO=1
variable as follows:
Edit the application
Makefile
to add the
CY_SIMULATOR_GEN_AUTO=1
variable, and then build the application, or
Add the variable on the command line:
make build CY_SIMULATOR_GEN_AUTO=1
When the build completes, it generates an archive file (
<application-name>.tar.tgz
) in the
<Application-Name>\build<Kit-Name>\Debug
directory, and the build message displays the URL to the appropriate simulator tool. For example:
==============================================================================
= Generating simulator archive file =
==============================================================================
Simulator archive file C:/Users/XYZ/mtw/5699/xmc-2/Empty_XMC_App/build/KIT_XMC12_BOOT_001/Debug/mtb-example-xmc-empty-app.tar.tgz successfully generated
If using the Eclipse IDE, click the link in the Quick Panel under
Tools
to open the XMC™ Simulator tool in the default web browser.
If using the command line, run
make online_simulator
.
Upload the generated archive file to the XMC™ Simulator tool, and follow the tool's instructions for using the tool as appropriate.