STM32L476G-EVAL and ST-LINK/V2 Connection Problem
The cfg file is ok.
Then, i just got the error you have because i forgot to put the jumper on PSU (it was on STLINK as i use the internal STLink normally).
So, check again the jumpers on Eval board: PSU ON, PWR_EXT ON
And no USB cable on STLink v2-1 USB port of course.
Then, it was not so simple to remove the error, i had to quit and restart and replug the board supply.
I retried, reproducing the error with the jumper.
To recover, i had to put back jumper on PSU, unplug power AND STlink v2 usb.
No need to restart SW4STM32.
Replug Power and STlink v2.
Then i could debug again.
Also don’t forget to remove all terminated launches or restart SW4STM32 to be sure.
For the Breakpoints, OpenOcd only says you can set 6 hardware breakpoints on this target.
It doesn’t say you have set them.
Rgds,
Laurent