Hi, Just upgraded the Keil 5.10 to 5.11 to have STM32L0 support.
When trying to debug my application I get: "st-link usb communication error" and debug fails.
I have no problem connecting to my board using ST-Link Utility.
The 5.10 works fine - no issues with connecting to the ST-link.
I use the latest ST-link drivers and firmware (STLinkUSBDriver.dll v4.3.3.0, ST-LINK Firmware version : V2J21M5)
Bogdan
Hello Bogdan Golab,
I think the new ST-Link FW (V2.J21.M5) causes trouble. You can try to downgrade the FW to V2.J20.M4 with the ST-LinkUpgrade.exe found in .\Keil\ARM\STLink .
I am using Keil 5.11 with a Nucleo-L053R8 board (ST-Link FW V2.J20.M4) and I am able to Flash and debug, even in RAM.
Best Regards, Martin
Downgrading the firmware to the one supplied with the Keil tools (ST-Link FW V2.J20.M4) did the trick here as well.
I have noticed the issue using STM32L053.