A system is described having a JTAG diagnostic unit and a serial wire
diagnostic unit. A watcher unit is connected to a data connection shared
between the diagnostic units. Special patterns detected upon the shared
data connection serve to switch between diagnostic modes with respective
ones of the diagnostic units becoming active.