Working with targets# This section shows in detail how to work with XMOS target systems. Introduction Key target-based features Targets xTAG xTAG v3.0 xTAG v4.0 Using xTAGs with Windows hosts 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) 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 Sample-based profiling of the target program Capturing the sample data Analysing the profile 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