ART-Pi在下载时出现以下错误
开始下载程序:2021-07-15 16:11:18
D:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\STMicroelectronics\ST-LINK_Debugger\1.6.0\tools\bin>D:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\STMicroelectronics\ST-LINK_Debugger\1.6.0\tools\bin\STM32_Programmer_CLI.exe -c port=SWD mode=NORMAL -d "F:\Rt_Workspace\ART-PI_BAIDUAI-main\Debug\rtthread.elf" -hardRst -s
-------------------------------------------------------------------
STM32CubeProgrammer v2.7.0-RC1
-------------------------------------------------------------------
ST-LINK SN : 0667FF554957886687092928
ST-LINK FW : V2J35M26
Board : --
Voltage : 3.28V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x450
Revision ID : Rev V
Device name : STM32H7xx
Flash size : 128 KBytes
Device type : MCU
Device CPU : Cortex-M7
Memory Programming ...
Opening and parsing file: rtthread.elf
File : rtthread.elf
Size : 738036 Bytes
Address : 0x90000000
Erasing memory corresponding to segment 0:
Download in Progress:
Error: failed to download Segment[0]
Error: failed to download the File
Error: Unable to reset MCU!
RUNNING Program ...
Address: : 0x8000000
Application is running
Start operation achieved successfully
执行完毕, 耗时:214ms.
原因
解决方法
- 重新选择外部Flash的烧写算法
- 路径位于/board/stldr下的ART-Pi_W25Q64.stldr文件
