If we are going to start with the target at a pre-determined state, we need to reset the target. There are two ways of automatically performing this. The method used here will use the existing programmer interface to reset the device by performing that "read signature" operation we have already been using. The other method is to toggle a GPIO pin, which is more generic for future use.
To setup the automatic reset, perform the following:
style="list -style-type: decimal;"><li>< p> Switch to the ''General Settings'' tab, and select the appropriate "Auxiliary Module":< /p> <ol style="list-style-type: lower-alpha;"><li> For ChipWhisperer-Lite (CW1173/CW1180), select & quot; Reset AVR/XMEGA via CW - Lite"</ li><li> For ChipWhisperer-Capture Rev 2, select & quot;Reset AVR via ISP-MKII"</li></ol>
<li><p>Switch to the ''Aux Settings'' tab. Depending on your module you will see different settings here, for example the ChipWhisperer-Lite lets you select between AVR and XMEGA targets. The defaults should be ok:</p>
<li>Press the "Test Reset" button. This should reset the AVR target. Confirm this by monitoring the terminal emulator window, and check the startup message (of "hello") is printed again.</li></ol>
We can now confirm the reset works with the "Capture 1" button. This requires us to disable the normal routing of the output data to a file for analysis, as we want to just dump data to the terminal emulator. To do this: