使用ST-Link下载方式,在Keil5中用download直接下载报错:ST-Link usb communication error。
解决方法:升级STLink版本,在\Keil_v5\ARM\STLink中找到ST-LinkUpgrade.exe,打开后点击Devive Connect按钮。如果提示出错,需要给板子重新上电或者重新拔插usb接口(我是重新拔插usb接口后成功连接)。此步成功过后可以点击Yes进行更新。
回到Keil过后就可以重新下载了。
使用ST-Link下载方式,在Keil5中用download直接下载报错:ST-Link usb communication error。
解决方法:升级STLink版本,在\Keil_v5\ARM\STLink中找到ST-LinkUpgrade.exe,打开后点击Devive Connect按钮。如果提示出错,需要给板子重新上电或者重新拔插usb接口(我是重新拔插usb接口后成功连接)。此步成功过后可以点击Yes进行更新。
回到Keil过后就可以重新下载了。