<< >>

Getting Started

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:

  1. Choose File > Import.
  2. Choose General > Existing Projects into Workspace and click Next.
  3. Click Browse next to Select archive file and select the file firmware ZIP file.
  4. Make sure the projects you want to import are ticked in the Projects list. Import all the components and whichever applications you are interested in.
  5. Click Finish.

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:

  1. To install, unzip the pacakge zipfile

  2. To build, change into the app_xr_avb_lc_demo directory and execute the command:

    xmake all
    

Makefiles

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.

Running the application

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 XMOS Development Environment

Using the 11.2.0 development tools or later and AVB version 5v0.1 or later, from within the XDE:

  1. Right click on the binary within the project.
  2. Choose Run As > Run Configurations
  3. Choose hardware and select the relevant XTAG-2 adapter
  4. Select the Run UART server check box.
  5. Click on Apply if configuration has changed
  6. Click on Run

Using the Command Line Tools

  1. Open the XMOS command line tools (Desktop Tools Prompt) and execute the following command:

    xrun --uart <binary>.xe
    

Installing the application onto flash

  1. Connect the XTAG-2 debug adapter to the relevant development board, then plug the XTAG-2 into your PC or Mac.

Using the XMOS Development Environment

To upgrade the flash from the XDE, follow these steps:

  1. Start the XMOS Development Environment and open a workspace.
  2. Choose File > Import > C/XC > C/XC Executable
  3. Click Browse and select the new firmware (XE) file.
  4. Click Next and Finish.
  5. A Debug Configurations window is displayed. Click Close.
  6. Choose Run > Run Configurations.
  7. Double-click Flash Programmer to create a new configuration.
  8. Browse for the XE file in the Project and C/XC Application boxes.
  9. Ensure the XTAG-2 device appears in the adapter list.
  10. Click Run.

Using Command Line Tools

  1. Open the XMOS command line tools (Desktop Tools Prompt) and execute the following command:

    xflash <binary>.xe