This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil 5.11 st-link usb communication error

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

Parents
  • 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

Reply
  • 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

Children