cancel
Showing results for 
Search instead for 
Did you mean: 

cant stop running

td.kirkham9
Associate
Posted on November 20, 2007 at 06:38

cant stop running

2 REPLIES 2
td.kirkham9
Associate
Posted on May 17, 2011 at 09:47

Hi,

I have a comstick that has an embedded USB that I debug through. I debug through OpenOCD and Hitex. I have a target running that I can halt in either debugger. I have tried the commands halt, reset etc and they have no effect, it keeps on running.

Does anybody know how to stop my device?

Many Thanks,

Tom

m_tibu
Associate II
Posted on May 17, 2011 at 09:47

Hi,

I had similar problem, but different board and same environment.

I was not able to halt the target and when I issue for first halt command and then poll commnad by the openOCD interface I see:

target running

I went through some hardware debug and I saw that my reset generator was broken, it stuck to gnd the reset and I was not able either to run or to debug. I think this happends because when you use a debug cable (wiggler, FLASHLink and so on) there is a net conflict between the reset generator and the Jtag interface that is trying in debug to reset the micro by the reset line.

Take a look at your hw and check if once the debug cable is plugged in the reset line is moved correctly.

In my case I removed the reset generator and changed it with an RC net.

Good luck.

Marco