Difference between revisions of "Install System Workbench for ST Nucleo"

From wiki.ferrari.mo.it
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Download ==
 
== Download ==
  
Go to https://www.openstm32.org/HomePage, and create an account.
+
Register on the https://www.st.com/ website and search for STM32CubeMX.
 
 
Then, you can go to https://www.openstm32.org/Downloading%2Bthe%2BSystem%2BWorkbench%2Bfor%2BSTM32%2Binstaller and click on the link to download the software.
 
 
 
The file is install_sw4stm32_win_64bits-v2.9.exe at the time of this tutorial.
 
 
 
Install with all the default options.
 
 
 
Then, register on the https://www.st.com/ website and search for STM32CubeMX.
 
  
 
Download the file en.st-stm32cubeide_1.3.0_5720_20200220_1053_x86_64.exe.zip (at the time of the tutorial) and extract the executable.
 
Download the file en.st-stm32cubeide_1.3.0_5720_20200220_1053_x86_64.exe.zip (at the time of the tutorial) and extract the executable.
  
 
Install following the instructions.
 
Install following the instructions.
 +
 +
Note 20/04/2020: you don't need anymore the open source System Workbench, only the STM32CubeMX. If you installed System Workbench before, at some time it will ask you to update the driver in order to see the board. You should see it in "Your Computer" and be able to drag and drop the .bin file from the IDE to the device.
  
 
== Creating a new project ==
 
== Creating a new project ==
Line 20: Line 14:
  
 
Go to the Board Selection tab, and select Nucleo-L432KC.
 
Go to the Board Selection tab, and select Nucleo-L432KC.
 +
 +
It's good to enable FreeRTOS. So activate it in Middleware -> FREERTOS .
 +
 +
Then, go to System Core -> SYS, and select TIM6 as Timebase Source.

Latest revision as of 20:23, 20 April 2020

Download[edit]

Register on the https://www.st.com/ website and search for STM32CubeMX.

Download the file en.st-stm32cubeide_1.3.0_5720_20200220_1053_x86_64.exe.zip (at the time of the tutorial) and extract the executable.

Install following the instructions.

Note 20/04/2020: you don't need anymore the open source System Workbench, only the STM32CubeMX. If you installed System Workbench before, at some time it will ask you to update the driver in order to see the board. You should see it in "Your Computer" and be able to drag and drop the .bin file from the IDE to the device.

Creating a new project[edit]

Start STM32CubeMX. Go to File -> New -> New STM32 Project

Go to the Board Selection tab, and select Nucleo-L432KC.

It's good to enable FreeRTOS. So activate it in Middleware -> FREERTOS .

Then, go to System Core -> SYS, and select TIM6 as Timebase Source.