# Debug support v0.13

**URL:** <https://forums.sifive.com/t/debug-support-v0-13/1597>\
**Category:** Freedom E300\
**Created:** [September 11, 2018, 1:06pm UTC](https://forums.sifive.com/t/debug-support-v0-13/1597 "2018-09-11T13:06:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brcs0503](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@brcs0503](https://forums.sifive.com/u/brcs0503)\
**Post date:** [September 11, 2018, 1:06pm UTC](https://forums.sifive.com/t/debug-support-v0-13/1597/1 "2018-09-11T13:06:06Z")

</div>

how can I find the running hart id in sifive(arty board), so that I can halt the running hart to enter the debug mode.

With Regards,  
Chandrasekar B R

---

<div class="post-metadata">

**Author:** ![mhamrick](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@mhamrick](https://forums.sifive.com/u/mhamrick)\
**Post date:** [September 11, 2018, 2:28pm UTC](https://forums.sifive.com/t/debug-support-v0-13/1597/2 "2018-09-11T14:28:54Z")

</div>

You _should_ be able to just do something like this:

csrr a0, mhartid

but I thought the E31 and E51 based ARTY bitstreams were single-core, so you would probably just get a zero.

---

<div class="post-metadata">

**Author:** ![brcs0503](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@brcs0503](https://forums.sifive.com/u/brcs0503)\
**Post date:** [September 12, 2018, 9:15am UTC](https://forums.sifive.com/t/debug-support-v0-13/1597/3 "2018-09-12T09:15:32Z")

</div>

where should I give this command, Actually I am new to this, I need to know which hartsel is running so that I can give haltreq to particular hartsel so that I can do further with the hart.

With Regards,  
Chandrasekar B R
