使用STM32 ST-LINK Utility连接单片机时提示下边错误
“Can not connect to target!
Please select "Connect Under Reset" mode from Target->Settings menu and try again.
Can't reset the core"
使用IAR可以正常仿真。
原因是板子调试口只接了SWDIO,SWCLK,没接复位引脚
解决方法:
在STM32 ST-LINK Utility里把Reset Mode由Hardware Reset改为Software System Reset后正常。
附大佬的软件教程:
STM32 ST LINK Utlity 使用方法: