弄一下提示下面的信息,好像STLINK被锁住了。
Hardware watchpoint supported by the target
SWD frequency = 4000 kHz
ST-LINK Firmware version : V2J36S7
Device ID: 0x419
PC: 0x1
ST-LINK device status: LOCKUP
Enter STM32_AppReset() function
NVIC_DFSR_REG = 0x00000009
NVIC_CFGFSR_REG = 0x00000000
XPSR = 0x01000000
ST-LINK detects target voltage = 3.23 V
Device in lock up state, possibly "read and debug" protected. Use monitor commands to remove the protection
ST-LINK device initialization OK
ST-LINK device status: HALT_MODE
Debugger connection lost.
Shutting down...
Hardware watchpoint supported by the target
SWD frequency = 4000 kHz
ST-LINK Firmware version : V2J36S7
Device ID: 0x419
PC: 0x1
ST-LINK device status: LOCKUP
Enter STM32_AppReset() function
NVIC_DFSR_REG = 0x00000009
NVIC_CFGFSR_REG = 0x00000000
XPSR = 0x01000000
ST-LINK detects target voltage = 3.23 V
Device in lock up state, possibly "read and debug" protected. Use monitor commands to remove the protection
ST-LINK device initialization OK
ST-LINK device status: HALT_MODE
Debugger connection lost.
Shutting down...
Stopping port 61235
评分
查看全部评分
感谢回复!问题已经解决,是我自己搞错了调试配置和运行配置~~~
评分
查看全部评分
请问调试配置和运行配置在哪里设置呢?
菜单栏上面有一个 运行(R) 的选项,点开它就可以看到了。有运行配置(N)和调试配置(B)。设置的话如果是使用STLINK的,就选上SWD就可以了。
请问怎么解决的?