
\section{JTAG Test}

\subsection{Test Procedure}

Each SM consists of 3 rings (L01, L23, L45).

To test one JTAG connection simple execute the following command on trd01 as user trd: \inputcmd{testjtag <dcs-board-hostname>} (e.g. \inputcmd{testjtag alidcsdcb0002}). This will test the JTAG connection between the given DCS Board and the via JTAG connected Slave. As a result of a successful JTAG connection the CPU of the JTAG slave will be disconnected from the Flashchip and the DCS Board reboots after the test.

To test a whole ring simply choose on DCS board of the ring and add "recursive" behind the command: \inputcmd{testjtag <dcs-board-hostname> recursive}. Now the code will process as mentioned above and after successful reboot of the slave the test will continue with this just rebooted DCS board and so on until the slave is recognized as the first board the test started with.


