This PDF is only for SILICA & STM customers.
If you is SILICA customers, please ask me the password for:
How to install the Motor Control GUI on STM32 Eval Board and on the PC (STM PSM FOC v.4.0.0)
Please specify your Name, CITY, COUNTRY and your contact in SILICA.
If you are STM customers, please contact your local STM office.
Just press the download button, (see below), you will be redirected to the page: myST Home.
If this is the first time you enter you will need to register in order to continue.
Entered into myST select the file to download and click on Checkout.
You will see a new window where you have to accept the license terms.
A new widow will appear, fill it with your data of project and click on: Confirm Download
At this point, the final window will appear tells you to enter in: My Oder History
Finally, you can download the FW "STSW-STM32100" (see below).
After unpacking the file, install it.
The SW ctrl engine on Windows, is installed here:
C:\Program Files (x86)\STMicroelectronics\STM32 PMSM FOC LIBv3.4_WEB
LIBv3.4_ WEB will change in according to the FW release that will be issued.
Copy the entire contents of the folder over to a new directory (let's call it MOTOR-F3) that we will use to perform the upgrade.
Now is necessary download the new GUI on the STM32 EvaBoard you want to use.
C:\Program Files (x86)\STMicroelectronics\STM32 PMSM FOC LIBv3.4_WEB\LCDProject\hex
Choose the .hex file for your evaboard and download it using STLink Utility.
Having done this, yet nothing works because it serves also perform the steps listed below.
Now open the GUI ctrl motor WorkBench on your PC
Select the EvaBoard that you want to use.
The above operation, prompting you to save the configuration, save it in the working directory MOTOR-F3 (MOTOR-F3 is created in the top of this part of explanation), that we will use for our tests.
Check the: Control Stage -> MCU and Clock Frequency
that the MCU is the right one and the Clock is right one (see below)
Then go to: Drive Manager -> User Interface
you must have joystick and serial enabled.
These options will be disabled in the real application.
Go to: Tools -> Options
Select the output folder where to save the .h that will be generated.
Must be saved in SystemDriveParams.
At this point, press the BLUE arrow (Generation), see below.
You must see something like this:
Obviously, the "Working folder" is the directory where you're putting the results, we had suggested above MOTOR-F3.
Now is necessary that on your PC is installed the IAR C compiler for ARM.
It is possible use the 32k Free version.
Open IAR and load:
File -> Open -> Workspace
Load from: C: \ EXAMPLES-SW \ MOTOR-F3 \ Project \ EWARM
the project for the evaboard that you are using.
Of course the: C:\EXAMPLES-SW\MOTOR-F3\
is our working directory. Change the tree above, with yours working directory.
Now press F8 to MAKE total project and select the appropriate evaboard.
At the end of Make you must have: 0 errors and 0 warnings
Press the right mouse button on the project name and select OPTIONS
From the window that appears you select DEBUG and choose the emulator you want to use.
Press Download and Debug to program the evaboard.
Now close the Debug and on the evaboard that you are using must appear the GUI menu of the motor ctrl.
At this point the FW update is finished.