Chapter 4 How to Change Debugger Environment (e.g. changing automatic testing)
4 How to Change Debugger Environment (e.g. changing
automatic testing)
To run different test procedures for example in automatic application test one might want to
change the procedure files called. The following shows which part of the .sup-file defines the
procedure files called by the debugger.
4.1 Debug Environment and Debug Support Information File
The Softune Workbench basically has two files containing information about the debugging
environment. First which debugger environment to be called (information stored in the .prj-
project file) and second (when the debugger environment is selected) the settings for a given
debugger environment (debug support information .sup-file).
These files are text files which can be manipulated by general text file editors. If one needs
to have different debugger environments or if one wants to change test procedures (e.g.
different tests for automatic application test using debugger) these files can be changed prior
to the start of the Softune Workbench for example by running a script manipulating the
corresponding files.
4.1.1 Selecting the Debug Environment
The .prj-project file contains the information about the list of available .sup-files [DebState-
xyz] (xyz is the used SWB project configuration) and the selected actual debug environment
(.sup-file) (Current) which will be used when the debugger is started:
...
[DebState-STANDALONE]
SupCount=6
Supfile-0=STANDALONE\Simulator.sup
Supfile-1=STANDALONE\MB2198-01-USB.sup
Supfile-2=STANDALONE\MB2198-01-COM1.sup
Supfile-3=STANDALONE\MB2198-01-LAN.sup
Supfile-4=STANDALONE\Mondeb_57K6_com1.sup
Supfile-5=STANDALONE\Mondeb_57K6_com2.sup
Current=MB2198-01-USB.sup
AliasFile=
CPURunMode=
...
4.1.2 Changing the Command Procedure Files
Besides other information the Debug Support Information .sup-file contains information
about the command batch files to be executed
-
At debugger start
Before loading of .abs-file
-
-
After loading of .abs-file
© Fujitsu Microelectronics Europe GmbH
Softune Workbench Automatic Debugger Start
- 13 -
MCU-AN-300097-E-V11