Loading...
 
Skip to main content

System Workbench for STM32


sample program?

1. Download and unzip the STM32CubeF7 http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef7.html
2. Unzip (it's big)
3. Launch Eclipse aka Workbench
4. Do File -> Import -> Existing Files into Workspace
5. Nav to ...\en.stm32cubef7\STM32Cube_FW_F7_V1.4.0\Projects\STM32746G-Discovery\Examples\BSP\SW4STM32\STM32746G_DISCOVERY
6. It should show one selected project
7. Say OK, then build that project
8. connect your STM32 via USB
9. next do Run -> Debug As Ac6 STM32 C/C++ Application
10. Hit the green arrow continue button as it always hits a breakpoint on main
11. Your LCD on the device should light up and then hitting the blue user button should step you thru various demos

If you want to run other demos you'll need to delete the existing one from your workspace as they apparently all have the same name. Don't delete from the file system obviously, just from the workspace.

I'm on day 2 with Workbench so I'm probably doing things the hard way...