User manual

UM0036 STM8 C tutorial
Doc ID 7705 Rev 11 333/385
12.1 Setup
In this lesson you will learn how to setup the workspace environment so that you can build,
debug and program the application to a microcontroller. Here, you will:
Create a workspace
Create a project
Add the source files
Create a folder to organize files in the project
12.1.1 Install the toolset and configure the STVD
It is recommended to install your toolset (Cosmic or Raisonance) before you install STVD,
so that STVD is automatically configured with your environment. If you install STVD first,
you must configure it manually through the menu Tools>Options>Toolset (Figure 262).
Figure 262. Options menus
Information is common to all workspace (especially paths, which have priority over
workspace-defined paths, we will see an example later using the Raisonance toolset).
View execution All
Perform memory mapping All
View program execution history EMU3, STice
Use read/write on-the-fly EMU3, STice, SWIM
Set an advanced breakpoint EMU3 (and STice in the near future)
Run a coverage and profiling session STice
Table 85. Tutorial sections and applicable debug instrument
Section Debug instrument