Error: Flash Download failed - Target DLL has been cancelled

??
STM32下载时错误Error: Flash Download failed-Target DLL has been cancelled错误
【Error: Flash Download failed - Target DLL has been cancelled】

解决办法:


Options for Target--Debug--选ST-Link Debugger
Options for Target--Utilities--选ST-Link Debugger
注意两个都要设置一遍

    推荐阅读