I'm getting this problem both on mac and PC. I have noticed that the ST-link on my B-L4S5I-IOT01 keeps restarting and the PC loses comms. When trying to connecvt via ST-link I get "no debug probe detected" or I get "No STM32 target found"Led state ...
More of a problem with the ST-link on the board. I have tried using differ4ent USB cables. Tried running on windows and MAC. both have the same problem. I think the ST-link firmware/hardware is broken.