2022-09-02 11:26 AM
2022-09-02 11:36 AM
And?
Issues with docking stations and USB hubs has been a long standing issue with STM32 / ST-LINK, it's top of the list in my responses to most questions about failed connections, along with poor quality and charging cables with no data wires.
2022-09-02 03:37 PM
The debugger of CubeIDE and CubeProgrammer have different software interfaces to access ST-LINK. One of them is goofier than another.
Another frequent mistake: before connecting to the ST-LINK, make sure that other programs are NOT accessing it. Only one program can connect to ST-LINK (unless you're using "shared" mode which is advanced)
2022-09-03 02:38 PM
I am positive that other programs are not using it. It's a matter of changing the usb the St-Link is connected from the docking station to directly the laptop and it is working. But the other way around I get the error. I was wondering if there is a workaround for this? My laptop is really limited in usbs and I'm working on a project that would require a rs485 network and would like to re-flash each chip on the fly instead of unplugging and re-plugging one board at a time, all the time.
2022-09-03 11:05 PM
i tried now on my pc (runs on Linux MX ) : one STlink on USB connected, then second STlink attached ->
test debug in STM32cubeIDE
so i think, try another hub or use other system.