112
Chapter 5: Using Debuggers
Using the Software Development Systems Debugger
initialization code which may exist on the target board has not been
run.
SingleStep provides a way for target initialization to occur without
running application code through the use of the Target Configuration
tab in the “Debug” dialog box.
An alternate way of performing target initialization is by using the
_config alias. _config is used to define a list of commands that will be
used to initialize the target after a reset. The _config alias should be
defined in the sstep.ini file (in the “cmd” directory).
The “Debug” dialog method and the sstep.ini method are mutually
exclusive. Use one or the other, but not both.
Initialization of the target will not actually occur until the “Debug”
dialog is successfully exited.
4 Set up the Loading and Execution options in the Options tab of
the Debug dialog.
5 Download the application and run:
Select the File tab and enter the application file name. Exit the
“Debug” dialog box by clicking OK.
Emulation probe/module initialization and target initialization occur
every time the “Debug” dialog is terminated via the OK button. A
summary of the actions taken by SingleStep is given here:
• Initialize the emulation probe/module with the communication speed
specified in the “Debug” dialog.
• If “load image” was selected, download the application and set the PC
based on object module file contents.
• If “reset target” was selected, execute the commands specified by the
_reset alias. The _reset alias should be used to specify commands that are
specific to initializing the processor. It is executed each time the processor
is reset. The value of the _reset alias can be viewed by issuing a “alias
_reset” from the command window.
• Execute the commands specified by the _config alias. The _config alias
should be used to specify commands that are specific to initializing
(configuring) the target system. It is executed each time the processor is