Usage mode#4 (tmux with tcu_muxer)#

This is a wrapper over the tcu_muxer tool that creates a tmux session with a separate window for each terminal.

$ /path/to/tcu_muxer_tmux.sh -c ccplex/b=16,g=17/ -d /dev/ttyUSB2 -s /path/to/logging/dir/ -l /path/to/logging/file
/dev/pts/1      RCE
/dev/pts/2      FSI
/dev/pts/3      PSCFW
/dev/pts/4      DCE
/dev/pts/5      BPMP
/dev/pts/6      SCE
/dev/pts/7      SPE
/dev/pts/8      TZ
/dev/pts/9      CCPLEX: 0
/dev/pts/10     CCPLEX: 1
/dev/pts/11     CCPLEX: 2
/dev/pts/12     CCPLEX: 3
/dev/pts/13     CCPLEX: 4
/dev/pts/14     CCPLEX: 5
/dev/pts/15     CCPLEX: 6
/dev/pts/16     CCPLEX: 7
/dev/pts/17     CCPLEX: 8
/dev/pts/18     CCPLEX: 9
/dev/pts/19     CCPLEX: 10
/dev/pts/20     CCPLEX: 11
/dev/pts/21     CCPLEX: 12
/dev/pts/22     CCPLEX: 13
/dev/pts/23     CCPLEX: 14
/dev/pts/24     CCPLEX: 15
/dev/pts/25     CCPLEX: 16
################################# 001 ##
   /dev/pts/9 CCPLEX: [Guest VM 0]
  /dev/pts/10 CCPLEX: [Update service]
  /dev/pts/11 CCPLEX: [sysmgr]
  /dev/pts/12 CCPLEX: [bpmp_server_native]
  /dev/pts/13 CCPLEX: [vsc_server_native_sdmmc]
  /dev/pts/14 CCPLEX: [vsc_server_native_qspi]
  /dev/pts/15 CCPLEX: [vsc_server_native_ufs]
  /dev/pts/16 CCPLEX: [se_server_native]
  /dev/pts/17 CCPLEX: [nvhost_server_native]
  /dev/pts/18 CCPLEX: [audio_server_native]
  /dev/pts/19 CCPLEX: [debug-server]
  /dev/pts/25 CCPLEX: [Hypervisor]

$ tmux attach

Attaches to the tmux session. There are two windows: one for all the R5 clusters and the other for all the CCPLEX terminals. Select the panes and windows using the mouse. To select text, hold SHIFT and select ;. Otherwise, the selection is captured by tmux and is not copied to the system clipboard.