Use from Atmel Studio

The stimuli input file must be prepared in advance using a text editor like the Atmel Studio editor. It is recommended to use the extension .stim for stimuli files. Before starting debugging, the stimuli file is selected in the Tool tab in project properties page. During a debug session you can select a new stimfile by using the menu selection Debug > Set Stimulifile

The stimuli generator can be started from Atmel Studio using the menu selection Debug > Execute Stimulifile. This option is only available during an active debug session. The time between this action and the stimuli input is exhausted by the last stimuli file being closed is referred to as a stimuli session.

During a stimuli session, all normal debug features like breakpoints, single-step, etc can be used. Stimuli is applied as the application program is executed (free running or single-stepped). If the debug session is continued after the stimuli session is ended, it will continue without stimuli (unless a new stimuli session is started).

There is no way to explicitly abort an active stimuli session, apart from ending the debug session.

Output from the stimuli session will be routed to the Output pane in Atmel Studio. Select FileStimuliProvider from the Show output from: drop-down list. The FileStimuliProvider pane is created the first time a stimuli file is executed, and will remain in place until Atmel Studio is closed. Output is retained across debug sessions. If this is undesired it has to be cleared manually. See The FileStimuliProvider Output Pane Format for an explanation of the output pane format.

Logging can only be started by means of commands in stimuli files, there are presently no GUI facilities to set up or start logging. Atmel Studio currently only supports logging to file, not to the output pane.