Thanks for this tutorial. I was able to get everything working with it. I am however stuck on how to debug with it. Do you have an experience using the debugger? When i click it i get the following message. “Launch failed. Binary not found.”
IOTrav
March 7, 2016, 3:19pm
22
HI @MichaelRensing
I have never setup debugging in Eclipse. I generally print errors from my code to the Serial port(USB) and monitor it in a console.
There is a tutorial on the Community here though that you might find interesting:
1 Introduction
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. My aim is to make this tutorial usable for both beginners and advanced users so I’ll start with the basics.
Hardware Requirements:
PC
Spark Core
ST-LINK/v2 ( if you’re going to buy one, you might wanna check ebay too )
JTAG Shield ( buy one or make one )
[image]
2 Software Ins…
I never tried it but it looks intuitive.