STM32 JLINK 连接不上原因

JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.

JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset. 

***JLink Error: STM32: Connecting to CPU via connect under reset failed. 

Error: Flash Download failed - Target DLL has been cancelled

解决办法:通过短路复位NRST脚的电容两端时,同时重新在KEIL仿真中连接板子,即可以解决问题。其中一定保证重新写的软件没有对JLINK的IO口设置或改写。

你可能感兴趣的:(STM32)