Debug support v0.13

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

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.

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