第一次闪烁很好,随后的闪烁失败
初始化 ST-LINK 设备时出错。原因:在目标上找不到设备。
在 STM32H745 NUCLEO 板上,我错误地启用了 DEBUG 接口和 SWO 引脚。有没有办法硬重置这个板?
第一次闪烁很好,随后的闪烁失败
初始化 ST-LINK 设备时出错。原因:在目标上找不到设备。
在 STM32H745 NUCLEO 板上,我错误地启用了 DEBUG 接口和 SWO 引脚。有没有办法硬重置这个板?
“重置下闪烁”技巧不起作用。也就是说,在 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.
现在我必须弄清楚为什么我一刷我的垃圾箱就会陷入僵局......评论了一些代码并重建,sill 做到了。
LE:发现了违规行:
HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
...
我的SystemClock_Config
函数都是为 LDO 电源而不是 SMPS 编写的