# Tutorial: Using Eclipse + ST-LINK/v2 + OpenOCD to debug

**URL:** <https://community.particle.io/t/tutorial-using-eclipse-st-link-v2-openocd-to-debug/10042>\
**Category:** Getting Started\
**Created:** [February 17, 2015, 12:40am UTC](https://community.particle.io/t/tutorial-using-eclipse-st-link-v2-openocd-to-debug/10042 "2015-02-17T00:40:01Z")\
**Posts on this page:** 1\
**Showing post:** 36

<div class="post-metadata">

**Author:** ![FlyingYanz](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@FlyingYanz](https://community.particle.io/u/FlyingYanz)\
**Post date:** [March 31, 2015, 7:01am UTC](https://community.particle.io/t/tutorial-using-eclipse-st-link-v2-openocd-to-debug/10042/36 "2015-03-31T07:01:26Z")

</div>

@omidontop Thanks for the tutorial!

just one comment on the openOCD tool, that the website has 0.9 version available, but it won’t work, at lease in my case. I would suggest you to put a comment there to remind others to download the 0.8 version.

@peekay123 I was having exactly the same problem as yours. I thought it might because the beginning sectors of the sparkcore was locked, and I tried to unlock it with according to this thread. But it seems the core was still locked according to my st-link utility, after loaded the unlocker binary. I’ll let you know when I get any progress.

> **[St-link & programmer shield only! - So, you've decided you want to update...](https://community.particle.io/t/st-link-programmer-shield-only-so-youve-decided-you-want-to-update-your-bootloader-and-everything/2355)**
>
> Continuing the discussion from Won’t connect to internet - rapid green flashing: This maybe goes without saying, but I’ll say it anyway: These instructions (\*which you probably don’t need to try, and maybe shouldn’t do unless you are okay breaking...

---

_[View the full topic](https://community.particle.io/t/tutorial-using-eclipse-st-link-v2-openocd-to-debug/10042)._
