stlink下载程序不成功

发布于 2020-08-09 11:28:58

rttstudio编译好程序后,点击下载程序(stlink)。出现如下提升,但是程序并未烧录flash。通过进入调试模式才能烧录进去。

开始下载程序:2020-08-09 11:32:25
D:RT-ThreadStudiorepoExtractDebugger_Support_PackagesSTMicroelectronicsST-LINK_Debugger1.2.0toolsbin>D:/RT-ThreadStudio/repo/Extract/Debugger_Support_Packages/STMicroelectronics/ST-LINK_Debugger/1.2.0//tools/bin/STM32_Programmer_CLI.exe -c port=SWD mode=NORMAL -d "D:RT-ThreadStudioworkspaceCan1Can1Debugrtthread.elf" -hardRst -s

  -------------------------------------------------------------------
                   STM32CubeProgrammer v2.3.0                  
  -------------------------------------------------------------------

ST-LINK SN : 36FF69064D59303650331743
ST-LINK FW : V2J36S7
Voltage : 3.25V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x451
Device name : STM32F76x/STM32F77x
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M7
Memory Programming ...
Opening and parsing file: rtthread.elf
File : rtthread.elf
Size : 47560 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 1]
Download in Progress:
Progress: 100%
File download complete
Time elapsed during download operation: 00:00:01.730
Hard reset is performed
RUNNING Program ...
Address: : 0x8000000
Application is running
Start operation achieved successfully
执行完毕, 耗时:2580ms.

查看更多

关注者
0
被浏览
441
rcp
rcp 认证专家 2020-08-09

看烧写日志提示是烧录成功了呢,通过什么判断 “并未烧写flash”的?

3 个回答
15682532888
15682532888 2020-09-10

是的,已经烧写成功,之前判断有误。

CoonYoungKim
CoonYoungKim 2021-02-01

请问楼主怎么烧写的 我的板子是一直提示 Error: No debug probe detected. 接线也是 接对的

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览