Skip to main content
Visitor II
November 20, 2007
Question

cant stop running

  • November 20, 2007
  • 2 replies
  • 784 views
Posted on November 20, 2007 at 06:38

cant stop running

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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