cancel
Showing results for 
Search instead for 
Did you mean: 

Using STLink V2 with openocd sometimes persists HW breakpoints. Is there a quicker way to clear them other than disconnecting the STLink V2 for an extended period of time.

BBick.1
Associate II

Every once in a while when remote debugging I wind up with not being able to set HW breakpoints. There's no clear indication of when this will happen, and I'm typically only setting a single break point. If I disconnect the USB to the STLink V2 for a few seconds the problem still remains, but if the USB is disconnected for some longer period say a minute or two then it appears that the stuck break point is no longer remembered. Is there a clear way to clear the stuck HW break point other than keeping the STLink V2 powered down for an extended period of time?

0 REPLIES 0