![]() ![]() Download the The GNU ARM Eclipse OpenOCD which is basically a compiled and hassle-free binary of the latest OpenOCD source from here.In my opinion, this is an incredible and priceless debugging tool. printf, right inside your Eclipse terminal. It supports many different adapters including ST-LINK/v2 and has recently added support for SWO tracing which allows you to see the output of STDOUT e.g. The Open On-Chip Debugger ( OpenOCD) aims to provide debugging, in-system programming and boundary-scan testing for embedded target devices. Select all the items and continue with the installation.Ģ.5 Installing The GNU ARM Eclipse OpenOCD Type in “ GNU ARM Eclipse Plug-ins” as the Name and “ ” as the Location. Go to Help > Install New Software and click Add. This set of Eclipse extensions are an easy, fast, great and portable way of creating, building, debugging and managing your project. Go to Help > Install New Software and install Eclipse Git Team Provider. In order to be able to work with Git repositories, you might wanna consider installing Eclipse Git Team Provider. In order to be able to compile your projects and debug them, you need to download and install the latest version of GNU Tools for ARM Embedded Processors from here. Once you did that, you should be able to see your STM32 STLink device in Device Manager.Ģ.2 Installing GNU Tools for ARM Embedded Processors You might also want to install ST-Link Utility which not being necessary is a useful program. 2.1 Installing ST-LINK/v2 Device Driversĭownload and install the appropriate driver matching your Windows version from here. I assume you already have downloaded and installed Eclipse IDE for C/C++ Developers otherwise download it from here and unpack it to a local folder. ST-LINK/v2 ( if you’re going to buy one, you might wanna check ebay too ). ![]() My aim is to make this tutorial usable for both beginners and advanced users so I’ll start with the basics. Since I spent quite some time figuring out what the best way is to debug the Spark-Core using ST-Link/v2 and how to do it, I thought I’d share my findings hoping it would save someone else some time. ![]()
0 Comments
Leave a Reply. |