Contents Menu Expand Light mode Dark mode Auto light/dark mode
XTC Tools 15.0.x documentation
Logo
  • Architecture & Hardware Guide
  • Programming Guide
    • Quick start
      • The Multicore Programming Model
      • Programming an XCore tile with C and lib_xcore
      • Appendices
    • Reference
      • Programming in C/XC
        • Calling between C/C++ and XC
        • XC Implementation-Defined Behavior
        • C Implementation-Defined Behavior
        • C and C++ Language Reference
        • XCC Pragma Directives
        • XC to C Cheat sheet
      • Programming in Assembly
        • Inline Assembly
        • Make assembly programs compatible with the XMOS XS1 ABI
        • Assembly Programming Manual
      • Programming for XS1 Devices
        • XCC Target-Dependent Behavior for XS1 Devices
        • XS1 Data Types
        • XS1 port-to-pin mapping
        • xCORE 32-Bit Application Binary Interface
  • XTC Tools Guide
    • Installation and configuration
      • System requirements
      • Installation Instructions
      • Configuring the command-line environment
      • Configuring an IDE
      • Transitioning from older tools releases
    • Quick start
      • Lightning intro
      • Targeting multiple tiles
      • Communicating between tiles
      • Using XSCOPE for fast “printf debugging”
      • Debugging with XGDB
    • Advanced tutorials
      • Working with targets
        • Terminology
        • Introduction
        • Key features
        • xTAG
        • Host tools
        • Target interaction
        • Host-IO
        • Xscope APIs
        • User-supplied host program
        • Host/target data throughput
        • Sample-based profiling of the target program
        • Target errors and warnings
        • Command examples
      • Safeguard IP and device authenticity
      • Describe a target platform
      • Design and manufacture systems with flash memory
      • Add support for a new flash device
      • How to use arguments and return codes
      • Understanding XE files and how they are loaded
      • Using XSIM
    • Reference
      • Command line tools
        • XRUN
        • XSIM
        • XCC
        • XOBJDUMP
        • XGDB
        • XFLASH
        • XBURN
        • XMAKE
      • File formats and data descriptions
        • XMOS executable (XE) file format
        • XN Specification
        • XSIM Trace output
        • XSCOPE config file
      • xSCOPE performance figures
      • Libraries
        • lib_xcore
        • libflash API
        • libquadflash API
        • List of devices natively supported by libflash
        • List of devices natively supported by libquadflash
      • XCOMMON build system
        • Using the XCOMMON build system
        • Using XMOS Makefiles to create binary libraries

Working with targets¶

This section shows in details how to work with XMOS target systems.

  • Terminology
  • Introduction
  • Key features
    • Targets
  • xTAG
    • xTAG v3.0
    • xTAG v4.0
    • Using xTAGs with Windows 10 Pro
  • Host tools
    • xrun
    • xgdb
  • Target interaction
    • Debug mode
    • Exceptions
    • Launch with xrun
    • Termination
  • Host-IO
    • Reduced-overhead print functions
    • Syscall host-IO
    • Host-IO via the xCONNECT link
  • Xscope APIs
  • User-supplied host program
    • Structure of the host program
    • Example host program and target programs
    • Specifying a port number for xgdb and the user host program
    • Allow xgdb to choose a port number and bind – avoiding a race condition
  • Host/target data throughput
  • Sample-based profiling of the target program
    • Capturing the sample data
    • Analysing the sample data
    • Profiling a target program which boots from flash
  • Target errors and warnings
    • xSCOPE not supported
    • Failure to parse XN file
  • Command examples
    • xgdb examples
    • xrun examples
Next
Terminology
Previous
Advanced tutorials
Copyright © 2021, XMOS | Created using Sphinx and @pradyunsg's Furo theme. | Show Source