User manual
Project creation and build UM0036
86/385 Doc ID 7705 Rev 11
4.5.2 Debug settings tab
This tab allows you to specify common settings for debugging your application.
To access this tab, select Project > Settings to view the Project Settings window. Then
click on the Debug tab. Here you can specify:
● the Executable that you want to debug. By default, STVD will look for the target file
specified by the linker. However, you can also use the browse button to locate an
executable file manually.
● the Debug working directory. When using the Debug configuration, by default this is
the folder specified in the Output Directory field of the General settings tab.
● the Source Directories where any source files are located. By default, this field will
identify the directory path for your project. You can add other directories by clicking on
the New (Ins) button in the gray field. A field will open that allows you to type the new
directory path or use a browse button to locate the path.
To confirm the settings you have made, click on OK.
4.5.3 MCU selection tab
The MCU Selection tab is very important because when you build an application, your
toolset uses the memory map for your specific MCU. Therefore, any time you build an
application, the resulting executable is directly associated with the memory map of your
target microcontroller. As a result, if you change microcontrollers, you will have to rebuild
your application.
This also has an impact on debugging, because STVD only allows you to connect to a
debug instrument that supports the target microcontroller that you specified prior to building.
To access this tab, select Project > Settings to view the Project Settings window. Then
click on the MCU Selection tab.
Figure 58. MCU selection tab