UM0522
Motor control operations
27/39
1.
Run the STDV7 for inDART-STX and choose "file > open workspace".
2.
Select the workspace file under the "firmware working folder" depending on the motor
type (see
Section 8.5: Firmware description on page 21
3.
The default project in use is opened by the environment and is shown on the left side of
the window below the opened ".stw" file.
4.
Make sure that "Release" is set as the active project configuration (see
).
Figure 15.
ST7VD active project configuration
5.
Use the "build" pull-down menu to display and select the "rebuild all" command. The
project will be compiled and built, and an executable file "<firmware name>.s19" will be
generated inside "release" folder under the workspace.
Note:
1
Make sure that the following string: "<firmware name>.elf - 0 error(s), 0 warning(s)" is
displayed inside the output pane after the building of the executable.
2
After the building of the executable, please ensure that the file "<firmware name>.s19"
generated inside the "release" folder under the workspace has been created. To do this,
show the properties and check the creation date.
8.12 Programming
firmware
Before programming the firmware, the board must be supplied and connected to the PC
using the inDART board. We suggest setting up the system as described in
.
www.BDTIC.com/ST