JTAG Chain scan functionality enables you to define IR/DR Prefix/Postfix
values which could be entered in Hardware | CPU Options | JTAG. That is
important when several devices are connected in a chain and you want to debug
for example the second one.
From winIDEA build 9.21.9 and newer:
1. Enable EVE scripting (number 27) via Help | Support | Log.
2. Select any CPU via Debug | Configure Session | SoCs that support JTAG.
3. From the main menu select Debug | Prepare to Attach. winIDEA displays SoC DETACHED in the status bar.
4. Open Hardware | Tools | Execute EVE Script and select JTAGSelect.cpp script located in the winIDEA SFR subfolder.
5. Press the Run button.
6. After a few seconds, the result of the scan is shown in the Progress window.