
USB Audio Design Guide 44/61
mon build infrastructure in
module_xmos_common
. This system includes the source
files from the relevant modules and is documented within module_xmos_common.
4.1.1 Installing the application onto flash
To upgrade the firmware you must, firstly:
1. Plug the USB Audio board into your computer.
2.
Connect the XTAG-2 to the USB Audio board and plug the XTAG-2 into your PC
or Mac.
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.
From the command line:
1.
Open the XMOS command line tools (Desktop Tools Prompt) and execute the
following command:
xflash <binary >. xe
4.2 Code Structure
4.2.1 Applications and Modules
The code is split into several module directories. The code for these modules
can be included by adding the module name to the
USED_MODULES
define in an
application Makefile:
There are two application directories that contain Makefiles that build into executa-
bles:
REV 6.1
Kommentare zu diesen Handbüchern