Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-R5 target cannot be stopped

After DS-5 connected to target, "Debug Control" tab shows "Cortex-R5_0#1 running", but "Commands" tab shows

"ERROR(TAD9-NAL30):
! Unable to stop device Cortex-R5_0
! Cannot stop target."

in response to "stop" cmd. Any idea about it? what issue usually causes this? 

Thanks

James

Parents
  • Hi Kaiyou,

    I am using ARM DS 2021.2 and DSTREAM ST as debugger probe, on a real chip, and is my first time to use an ARM debugger to talk to it, and it happens 100%.  It was set as "connect only" and "stop" is the only cmd in "execute debugger commands" box.  I have captured daplog and will send it to you.  Thanks for help! 

Reply
  • Hi Kaiyou,

    I am using ARM DS 2021.2 and DSTREAM ST as debugger probe, on a real chip, and is my first time to use an ARM debugger to talk to it, and it happens 100%.  It was set as "connect only" and "stop" is the only cmd in "execute debugger commands" box.  I have captured daplog and will send it to you.  Thanks for help! 

Children
  • Hi James,

    Thanks for your log. I can see the debugger has already try to halt the processor by write 1 to the DBGDRCR[0], but the Core doesn't give response, I suspect the Core already hangs when the debugger connected. I suggest you to connect more earlier or look at your code flow, generally hang causes from peripherial device access.