169/317
6 - STMicroelectronics Programming Tools
to be made is to select the directory into which WinEdit will be stored. It is always advisable to
follow the suggested directory.
The second choice is that of the components to be installed. Unless there is a shortage of disk
space, it is recommended to keep all the components selected. Proceed then with the instal-
lation to the end.
After installation, a WinEdit folder is added in the Run menu.
6.3.1.2 Configuring WinEdit
WinEdit is tailored to a project through the use of a project file. This file, suffixed
.WPJ
, contains
the following information:
The name of the project;
The directory of the files of the project;
The command line for each of the tools to assemble, link, debug, etc.;
The syntax of the assembler-generated error messages, to interpret them automatically,
display the error message in the editor's status bar, and place the cursor on the
corresponding line of the faulty file.
Once the project file is defined and saved, the development process is made much more com-
fortable, since once the source file is written or corrected, pressing a button on the tool bar of
WinEdit starts the assembly process, and if an error is detected by the assembler, the mes-
sage describing the cause of the error is displayed at the bottom of the screen, while the
cursor is automatically put at the line where the error has occurred, and this line is highlighted.
You have to figure out what is wrong in this line, correct it, and press the assembly button
again, until the source file is completely error-free. This considerably speeds up the develop-
ment.
6.3.2 Installing the STMicroelectronics Software Tools
These tools come in a single diskette. Just run the
SETUP.EXE
program of the diskette. A box
is displayed that lists the version numbers of the various components of the package.
Pressing OK, another box is shown requesting the directory in which the tools must be in-
stalled. Keeping the suggested path is a good choice, unless there is a need to use a different
one (for example if these tools must be installed in a different hard disk). Then the installation
proceeds. At the end, the ST7 Tools group is added to the Run menu (or a group under Win-
dows 3), and a box requests whether you want to read the Readme file that gives some ver-
sion information. For users upgrading a previously installed set of tools, this gives information
about improvements from the previous version.