This repository has been archived by the owner on Jun 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
Open OCD and STM32 Board Usage
Mikhail Skobov edited this page Nov 11, 2015
·
1 revision
In order to deploy and debug code on STM32 boards (correctly), ensure that you are observing the following guidelines:
This README is located under <repo root>\Zelig\tools\openocd
This can be found here: http://www.st.com/web/en/catalog/tools/PF258168
Links can be found here: http://openocd.org/getting-openocd/ Place the contents of the compressed file into this directory <repo root>\Zelig\tools\openocd
and into <SDK drop>\tools\openocd
if your SDK is already installed
In Visual Studio, go to Tools->Extensions and Updates and uninstall the Llilum SDK VSIX, then follow the installation steps in https://github.com/NETMF/llilum/wiki/SDK-User-Guide
- In Program.cs, uncomment the appropriate "#define" for the board you are using
- Right click on the Native project, and go to properties
- In the Debugging tab, ensure that GDB Server is set to OpenOCD and Deploy Tool is ST-Link v2 Utility
- Verify that the STLink-Utility Path is correct
- In the Llilum Configuration tab, ensure that the correct board is selected