用ST-LINK编程后STM32不启动
STM32 not starting after programming with ST-LINK
我在定制板上使用 ST-Link 调试器编写了一个程序。该程序工作正常,但是当我使用 ST-Link 实用程序对芯片进行编程时,如果没有连接 ST-Link,该程序将无法启动。当连接ST-Link时,系统启动。
有人遇到过这样的问题吗?
好吧,这有点愚蠢,但我不得不承认,在压力下我有点盲目。
当我说:
The program is working fine however when I program the chip using ST-Link utility, the program is not starting without the ST-Link connected.
我实际上是在测试时仅从 ST-LINK 中移除了 USB,并没有完全移除 JTAG。所以现在我知道 ST-LINK 在未通电时正在下拉复位。
感谢 Tom 和 staringlizard,您注意到了有趣的想法。其实Boot0是我之前的问题...
我在定制板上使用 ST-Link 调试器编写了一个程序。该程序工作正常,但是当我使用 ST-Link 实用程序对芯片进行编程时,如果没有连接 ST-Link,该程序将无法启动。当连接ST-Link时,系统启动。
有人遇到过这样的问题吗?
好吧,这有点愚蠢,但我不得不承认,在压力下我有点盲目。
当我说:
The program is working fine however when I program the chip using ST-Link utility, the program is not starting without the ST-Link connected.
我实际上是在测试时仅从 ST-LINK 中移除了 USB,并没有完全移除 JTAG。所以现在我知道 ST-LINK 在未通电时正在下拉复位。
感谢 Tom 和 staringlizard,您注意到了有趣的想法。其实Boot0是我之前的问题...