STM32:STLink将不再通过SWD连接

问题描述 投票:0回答:1

第一次闪烁很好,随后的闪烁失败,并带有

初始化ST-LINK设备时出错。原因:找不到设备目标。

在STM32H745 NUCLEO板上,我错误地启用了DEBUG接口和SWO引脚。有什么方法可以硬重置此板吗?

stm32 cortex-m swd stm32cubeide
1个回答
0
投票

“重置时闪烁”技巧无效。也就是说,在STM32_Programmer通过ST-Link执行操作之前,按住复位按钮并立即释放它。有时使用RTFM-ing会有所帮助:

If a deadlock is faced due to a mismatch between the HW
board setting and the FW setting (LDO/SMPS), the user can
recover the board by doing the following:
- Power off the board
- Connect CN11 ‘BT0’ pin (BOOT0) to VDD using a wire
- This changes the BOOT0 pin to 1 instead of 0 and thus the
device boot address is changed to boot address 1 making the
bootloader starting in System memory, instead of starting the
FW in the user Flash (FW that is setting a wrong LDO/SMPS
configuration)
- Power on the board and connect using
STM32CubeProgrammer
- Erase the user Flash
- Power off the board and remove the wire between BOOT0
and VDD
- The board is now recovered and can proceed normally.

现在我必须弄清楚为什么当我刷新我的垃圾箱后它就会陷入僵局...评论并重建,窗台做到了。

© www.soinside.com 2019 - 2024. All rights reserved.