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