The following instructions show how to build the demo for the XR-AVB-LC-BRD endpoint. The same method holds for the other applications.
To install the software, open the XDE (XMOS Development Tools) and follow these steps:
To build, select the app_xr_avb_lc_demo project in the Project Explorer and click the Build icon.
From the command line, you can follow these steps:
To install, unzip the pacakge zipfile
To build, change into the app_xr_avb_lc_demo directory and execute the command:
xmake all
The main Makefile for the project is in the app_xr_avb_lc_demo directory. This file specifies build options and used modules. The Makefile uses the common build infrastructure in module_xmos_common. This system includes the source files from the relevant modules and is documented within module_xmos_common.
To upgrade the firmware you must, firstly connect the XTAG-2 to the relevant development board and plug the XTAG-2 into your PC or Mac.
Using the 11.2.0 development tools or later and AVB version 5v0.1 or later, from within the XDE:
- Right click on the binary within the project.
- Choose Run As > Run Configurations
- Choose hardware and select the relevant XTAG-2 adapter
- Select the Run UART server check box.
- Click on Apply if configuration has changed
- Click on Run
Open the XMOS command line tools (Desktop Tools Prompt) and execute the following command:
xrun --uart <binary>.xe
To upgrade the flash from the XDE, follow these steps:
Open the XMOS command line tools (Desktop Tools Prompt) and execute the following command:
xflash <binary>.xe