These how-to examples are for xcore®-200 and may not have been tested for compatibility with xcore®.ai. To develop with xcore.ai, our recommendation would be to use the xcore® SDK.
xTIMEcomposer Studio examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN00194 | Getting Started with VCD Tracing in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
AN10126 | How to display the resources used by a program | 1.0.0 | 2016-01-08 | App Note Software |
AN00192 | Getting Started with Timing Analysis in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
AN00200 | Getting Started with the Task Viewer in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
AN00195 | Getting Started with Offline xSCOPE in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
AN00197 | Getting Started with GPROF in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
AN00191 | Getting Started with Binary Analysis in xTIMEcomposer Studio | 1.0.0 | 2015-04-09 | App Note Software |
AN00193 | Getting Started with Debugging in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
AN00190 | Getting Started with the xTIMEcomposer Studio | 1.0.0 | 2015-03-23 | App Note Software |
AN00198 | Getting Started with Simulator Tracing in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
AN00196 | Getting Started with Real-Time xSCOPE in xTIMEcomposer Studio | 1.0.0 | 2015-04-07 | App Note Software |
Chip/Device management
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10129 | Using zip/unzip to implement streaming interfaces on multibit ports | 1.0.1 | 2016-01-08 | App Note Software |
Debugging how-tos
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10034 | How to debug a multicore program using XGDB | 1.0.0 | 2016-01-08 | App Note Software |
AN10065 | How to run XGDB commands from a file | 1.0.0 | 2015-03-22 | App Note Software |
AN10009 | How to debug a program at the machine instruction level | 1.0.0 | 2015-03-22 | App Note Software |
AN10013 | How to examine the contents of memory | 1.0.0 | 2015-03-22 | App Note Software |
AN10071 | How to set a breakpoint | 1.0.0 | 2015-03-22 | App Note Software |
AN10014 | How to examine the stack contents | 1.0.0 | 2015-03-22 | App Note Software |
AN10072 | How to set a conditional breakpoint | 1.0.0 | 2015-03-22 | App Note Software |
AN10015 | How to examine the value of a variable | 1.0.0 | 2015-03-22 | App Note Software |
AN10062 | How to automate the repetition of XGDB commands | 1.0.0 | 2015-03-22 | App Note Software |
AN10073 | How to set a watchpoint | 1.0.0 | 2015-03-22 | App Note Software |
AN10017 | How to find the location of a crash using XGDB | 1.0.0 | 2015-03-22 | App Note Software |
AN10064 | How to run an executable using XGDB | 1.0.0 | 2015-03-22 | App Note Software |
AN10012 | How to examine the register state in a core | 1.0.0 | 2015-03-22 | App Note Software |
File I/O examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10120 | How to read/write to the console during execution | 1.0.0 | 2015-03-26 | App Note Software |
AN10121 | How to perform a general system call during execution | 1.0.0 | 2015-03-26 | App Note Software |
AN10122 | How to read from a file during execution | 1.0.0 | 2015-03-26 | App Note Software |
AN10123 | How to write to a file during execution | 1.0.0 | 2015-03-26 | App Note Software |
AN10127 | How to pass arguments to the target application | 1.0.0 | 2015-04-07 | App Note Software |
Profiling examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10124 | How to profile an executable on hardware | 1.0.0 | 2016-01-08 | App Note Software |
Programming examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10018 | A flashing LEDs example | 1.0.0 | 2015-03-22 | App Note Software |
AN10005 | A buffered receiver | 1.0.0 | 2015-03-22 | App Note Software |
AN10020 | Generating several controllable pulse signals | 1.0.0 | 2016-01-08 | App Note Software |
AN10006 | A button handling example | 1.0.0 | 2015-03-22 | App Note Software |
AN10011 | A double buffering example | 1.0.0 | 2015-03-22 | App Note Software |
Programming how-tos
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10003 | How to use array bounds checks | 1.0.0 | 2016-01-08 | App Note Software |
AN10050 | How to input on multiple ports in parallel | 1.0.0 | 2015-03-22 | App Note Software |
AN10081 | How to transfer memory ownership between cores | 1.0.0 | 2015-03-22 | App Note Software |
AN10024 | How to use arrays of interfaces | 1.0.0 | 2016-01-08 | App Note Software |
AN10039 | How to use notifications over interfaces | 1.0.0 | 2016-01-11 | App Note Software |
AN10055 | How to de-serialize input data from a port | 1.0.0 | 2016-01-08 | App Note Software |
AN10070 | How to use the select statement with a timeout | 1.0.0 | 2016-01-08 | App Note Software |
AN10029 | How to use interfaces to connect to multiple tasks | 1.0.0 | 2016-01-08 | App Note Software |
AN10045 | How to periodically perform an action using a timer | 1.0.0 | 2016-01-11 | App Note Software |
AN10060 | How to dynamically change the type of a port | 1.0.0 | 2015-03-22 | App Note Software |
AN10076 | How to use select with multiple resources | 1.0.0 | 2015-03-22 | App Note Software |
AN10004 | How to pass the array bound as a parameter | 1.0.0 | 2015-03-22 | App Note Software |
AN10035 | How to target the the xCORE multiply-accumulate instruction | 1.0.0 | 2015-03-22 | App Note Software |
AN10025 | How to pass pointers over interface calls | 1.0.0 | 2015-03-22 | App Note Software |
AN10040 | How to use nullable types | 1.0.0 | 2015-03-22 | App Note Software |
AN10056 | How to serialize output data to a port | 1.0.0 | 2015-03-22 | App Note Software |
AN10000 | How to perform 64 bit arithmetic operations | 1.0.0 | 2015-03-22 | App Note Software |
AN10030 | How to use labels in inline assembly | 1.0.0 | 2015-03-22 | App Note Software |
AN10046 | How to use buffering for port input | 1.0.0 | 2015-03-22 | App Note Software |
AN10019 | How to load overlays from a SPI flash | 1.0.0 | 2015-03-22 | App Note Software |
AN10051 | How to output on multiple ports in parallel | 1.0.0 | 2015-03-22 | App Note Software |
AN10066 | Using safe pointers for string processing | 1.0.0 | 2015-03-22 | App Note Software |
AN10082 | How to use unsafe pointers | 1.0.0 | 2015-03-22 | App Note Software |
AN10010 | How to define and use a distributable function | 1.0.0 | 2015-03-22 | App Note Software |
AN10043 | How to use a par statement | 1.0.0 | 2015-03-22 | App Note Software |
AN10061 | How to use references | 1.0.0 | 2015-03-22 | App Note Software |
AN10077 | How to use an ordered select statement | 1.0.0 | 2015-03-22 | App Note Software |
AN10036 | How to use a par statement across multiple tiles | 1.0.0 | 2015-03-22 | App Note Software |
AN10026 | How to return values via interface calls | 1.0.0 | 2015-03-22 | App Note Software |
AN10041 | How to use overlays to reduce application memory requirements | 1.0.0 | 2015-03-22 | App Note Software |
AN10057 | How to input on a port | 1.0.0 | 2015-03-22 | App Note Software |
AN10001 | How to pass alias pointer arguments | 1.0.0 | 2015-03-22 | App Note Software |
AN10031 | How to measure elapsed time using a timer | 1.0.0 | 2015-03-22 | App Note Software |
AN10047 | How to use buffering for port output | 1.0.0 | 2015-03-22 | App Note Software |
AN10021 | How to use the earlyclobber inline assembly constraint | 1.0.0 | 2015-03-22 | App Note Software |
AN10052 | How to input data accompanied by a data valid signal | 1.0.0 | 2015-03-22 | App Note Software |
AN10067 | How to use the select statement with a default case | 1.0.0 | 2015-03-22 | App Note Software |
AN10083 | How to use variable length arrays | 1.0.0 | 2015-03-22 | App Note Software |
AN10078 | How to stream data between two cores over a channel | 1.0.0 | 2015-03-22 | App Note Software |
AN10037 | How to specify that two functions must be placed in the same overlay | 1.0.0 | 2015-03-22 | App Note Software |
AN10042 | How to use overlays and libflash in the same application | 1.0.0 | 2015-03-22 | App Note Software |
AN10032 | How to pass movable pointer arguments | 1.0.0 | 2015-03-22 | App Note Software |
AN10048 | How to wait for a condition on an input port | 1.0.0 | 2015-03-22 | App Note Software |
AN10022 | How to use inline assembly | 1.0.0 | 2015-03-22 | App Note Software |
AN10053 | How to output data accompanied by a data valid signal | 1.0.0 | 2015-03-22 | App Note Software |
AN10068 | How to use the select statement with a guard | 1.0.0 | 2015-03-22 | App Note Software |
AN10084 | How to wait for a period of time using a timer | 1.0.0 | 2015-03-22 | App Note Software |
AN10027 | How to communicate between tasks with interfaces | 1.0.0 | 2015-03-22 | App Note Software |
AN10058 | How to output on a port | 1.0.0 | 2015-03-22 | App Note Software |
AN10016 | How to implement a fair select | 1.0.0 | 2015-03-22 | App Note Software |
AN10063 | How to use restricted pointers | 1.0.0 | 2015-03-22 | App Note Software |
AN10079 | How to read the time from a timer | 1.0.0 | 2015-03-22 | App Note Software |
AN10007 | How to define and use a combinable function | 1.0.0 | 2015-03-22 | App Note Software |
AN10038 | How to nest combinable function calls | 1.0.0 | 2015-03-22 | App Note Software |
AN10044 | How to use pass-by-reference in XC | 1.0.0 | 2015-03-22 | App Note Software |
AN10074 | How to use the select statement | 1.0.0 | 2015-03-22 | App Note Software |
AN10002 | How to use alias/local pointers | 1.0.0 | 2015-03-22 | App Note Software |
AN10033 | How to use movable pointers | 1.0.0 | 2015-03-22 | App Note Software |
AN10023 | How to pass arrays over interface calls | 1.0.0 | 2015-03-22 | App Note Software |
AN10054 | How to select on a port | 1.0.0 | 2015-03-22 | App Note Software |
AN10069 | How to use the select statement with a replicator | 1.0.0 | 2015-03-22 | App Note Software |
AN10028 | How to use memcpy with interface array arguments | 1.0.0 | 2015-03-22 | App Note Software |
AN10049 | How to control port output data rates with timers | 1.0.0 | 2015-03-22 | App Note Software |
AN10080 | How to use transactions over channels | 1.0.0 | 2015-03-22 | App Note Software |
AN10008 | How to communicate between combined tasks | 1.0.0 | 2015-03-22 | App Note Software |
AN10059 | How to perform timed output on a port | 1.0.0 | 2015-03-22 | App Note Software |
AN10075 | How to use a select function | 1.0.0 | 2015-03-22 | App Note Software |
Simulator examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10097 | How to run an executable on the XMOS simulator | 1.0.0 | 2016-01-08 | App Note Software |
AN10125 | How to profile an executable on the XMOS simulator | 1.0.0 | 2015-03-26 | App Note Software |
AN10098 | How to connect ports via loopback using the XMOS simulator | 1.0.0 | 2015-03-26 | App Note Software |
AN10101 | How to enable ASCII tracing when running on the simulator | 1.0.0 | 2015-03-26 | App Note Software |
AN10102 | How to enable VCD tracing when running on the simulator | 1.0.0 | 2015-03-26 | App Note Software |
AN10100 | How to display the pin, port and link mappings for a particular target | 1.0.0 | 2015-03-26 | App Note Software |
AN10099 | How to enable the gathering of statistics using the simulator | 1.0.0 | 2015-03-26 | App Note Software |
xobjdump examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10118 | How to disassemble a program using xobjdump | 1.0.0 | 2015-03-26 | App Note Software |
AN10119 | How to use xobjdump to inspect and manipulate XE files | 1.0.0 | 2015-03-26 | App Note Software |
xSCOPE examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10086 | How to use the xSCOPE discrete event type | 1.0.0 | 2016-01-08 | App Note Software |
AN10092 | How to use xSCOPE I/O on the XMOS simulator | 1.0.0 | 2015-03-22 | App Note Software |
AN10087 | How to use xSCOPE to capture floating point data | 1.0.0 | 2015-03-22 | App Note Software |
AN10093 | How to use offline xSCOPE on the XMOS simulator | 1.0.0 | 2015-03-22 | App Note Software |
AN10088 | How to use the xSCOPE to capture logical core information | 1.0.0 | 2015-03-22 | App Note Software |
AN10094 | How to use realtime xSCOPE on the XMOS simulator | 1.0.0 | 2015-03-22 | App Note Software |
AN10096 | How to use the xSCOPE state machine event type | 1.0.0 | 2015-03-22 | App Note Software |
AN10089 | How to redirect printing functions via xSCOPE | 1.0.0 | 2015-03-22 | App Note Software |
AN10095 | How to use the xSCOPE start/stop event type | 1.0.0 | 2015-03-22 | App Note Software |
AN10090 | How to redirect printing functions with timing via xSCOPE | 1.0.0 | 2015-03-22 | App Note Software |
AN10085 | How to use the xSCOPE continuous event type | 1.0.0 | 2015-03-22 | App Note Software |
AN10091 | How to use xSCOPE in real-time mode | 1.0.0 | 2015-03-22 | App Note Software |
XTA examples
ID | Title | Version | Date | Download |
---|---|---|---|---|
AN10111 | How to specialize defines using backtrails | 1.0.0 | 2016-01-08 | App Note Software |
AN10110 | How to set a timing requirement in the XTA | 1.0.0 | 2015-03-26 | App Note Software |
AN10115 | How to specify loop iterations for specific paths in a loop | 1.0.0 | 2015-03-26 | App Note Software |
AN10116 | How to write XTA command scripts | 1.0.0 | 2015-03-26 | App Note Software |
AN10106 | How to embed XTA commands in your program | 1.0.0 | 2015-03-26 | App Note Software |
AN10112 | How to specify a loop count in the XTA | 1.0.0 | 2015-03-26 | App Note Software |
AN10107 | How to load an executable into the XTA | 1.0.0 | 2015-03-26 | App Note Software |
AN10108 | How to control the XTA from a python script | 1.0.0 | 2015-03-26 | App Note Software |
AN10114 | How to specify loop iterations in nested loops | 1.0.0 | 2015-03-26 | App Note Software |
AN10105 | How to use the XTA to time between 2 I/O instructions | 1.0.0 | 2015-03-26 | App Note Software |
AN10104 | How to use the XTA to time a loop | 1.0.0 | 2015-03-26 | App Note Software |
AN10117 | How to generate XTA command scripts | 1.0.0 | 2015-03-26 | App Note Software |
AN10113 | How to specify an exclusion in the XTA | 1.0.0 | 2015-03-26 | App Note Software |
AN10109 | How to run XTA scripts on compilation | 1.0.0 | 2015-03-26 | App Note Software |
AN10103 | How to use the XTA to time a function | 1.0.0 | 2015-03-26 | App Note Software |