Error in initializing ST-LINK device. Reason: (4) No device found on target -- but STLink-Util flashing works.
When I try to debug from CubeIDE, I get this error.
But I can connect with STLink-Util and flash a firmware just fine.
What does this claim there was "no device" on target, mean exactly?
The firmware has worked previously, but there is a bug now in my firmware that makes it hang after doing some expected things I see on the uart output, and I'd like to debug it - but that does not work now.
The firmware does not (explicitly) reconfigure the SWD pins or something like that.
