-
Notifications
You must be signed in to change notification settings - Fork 528
Open
Description
Hello
I've noted that when I connect to my target via commander, when I exit it doesn't execute proper detach procedure, but if I connect via gdbserver, it does.
My application can monitor if a debugger is attached by reading DCB->DHCSR.DEBUGEN bit.
So if I execute:
pyocd commander -t <my_target>
pyocd> exit
The value of DCB->DHCSR.DEBUGEN is always 1
But if I execute:
pyocd gdbserver -t <my_target> -M attach
<Ctrl+C>
The value of DCB->DHCSR.DEBUGEN go to 1 while gdbserver is running, but go to 0 when I quit gdbserver.
Metadata
Metadata
Assignees
Labels
No labels