如果出现“ST-Link USB communication error”ST-Link USB通信错误,则需要启动STM32 ST-LINK Utility,点击【ST-LINK】->【Firmaware】更新固件,然后打开Kei,点击魔术棒->->Debug->Settings,开到出现类似“0x2BA0 . . . ARM CoreSight SW-DP”显示,说明连接成功。
https://blog.csdn.net/weixin_49382119/article/details/132253422
https://blog.csdn.net/Born_toward/article/details/123496478