STM32 MCUs Boards and hardware tools

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STLink-V2 Issue

I am having trouble communicating with a STM32F042K6T6 microcontroller (on a custom soldered board) via a ST-LINK V2. Whenever I try to connect I receive the error: “Cannot connect to target!�? The STLink V2 does register and I can see it in the soft...

JReas.1 by Associate
  • 717 Views
  • 4 replies
  • 0 kudos

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.

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 fo...

BBick.1 by Associate II
  • 309 Views
  • 0 replies
  • 1 kudos