Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread Studio
ST-Link和Jlink都下载不了程序,求助!
发布于 2020-01-09 10:02:07 浏览:3196
订阅该版
编译项目正常: 09:57:14 **** Incremental Build of configuration Debug for project test **** make -j4 all Invoking: GNU ARM Cross Print Size arm-none-eabi-size --format=berkeley "rtthread.elf" text data bss dec hex filename 50008 372 2808 53188 cfc4 rtthread.elf Finished building: rtthread.siz 09:57:17 Build Finished. 0 errors, 0 warnings. (took 2s.563ms) 使用ST-Link 下载报错,如下所示: 开始下载程序:2020-01-09 09:58:40 D:\RT-ThreadStudio\platform\ST-LINK\tools\bin>D:/RT-ThreadStudio/platform/ST-LINK/tools/bin/STM32_Programmer_CLI.exe -c port=SWD mode=NORMAL -e all -d D:\RT-ThreadStudio\workspace\test\Debug tthread.elf -hardRst ------------------------------------------------------------------- STM32CubeProgrammer v2.1.0 ------------------------------------------------------------------- Error: No debug probe detected. 执行完毕, 耗时:719ms. 使用J-Link 下载也报错,如下所示 d:\RT-ThreadStudio>"C:/Program Files (x86)/SEGGER/JLink_V632f/JLink.exe" -device STM32F412RE -ExitOnError -CommanderScript D:\RT-ThreadStudio\workspace/.metadata/Temp/rtthread_download_init.jlink SEGGER J-Link Commander V6.32f (Compiled Jun 12 2018 14:47:13) DLL version V6.32f, compiled Jun 12 2018 14:46:40 J-Link Commander will now exit on Error J-Link Command File read successfully. Processing script file... J-Link connection not established yet but required for command. Connecting to J-Link via USB...O.K. Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04 Hardware version: V7.00 S/N: 20090937 License(s): RDI,FlashDL,FlashBP,JFlash,GDBFull VTref=3.300V Selecting SWD as current target interface. Device "STM32F412RE" selected. Selecting 1000 kHz as target interface speed Target connection not established yet but required for command. Device "STM32F412RE" selected. Connecting to target via SWD Found SW-DP with ID 0x2BA01477 Found SW-DP with ID 0x2BA01477 Scanning AP map to find all available APs AP[1]: Stopped AP scan as end of AP map has been reached AP[0]: AHB-AP (IDR: 0x24770011) Iterating through AP map to find AHB-AP to use AP[0]: Core found AP[0]: AHB-AP ROM base: 0xE00FF000 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) Found Cortex-M4 r0p1, Little endian. FPUnit: 6 code (BP) slots and 2 literal slots CoreSight components: ROMTbl[0] @ E00FF000 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM Cortex-M4 identified. Reset delay: 0 ms Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit. Reset: Halt core after reset via DEMCR.VC_CORERESET. Reset: Reset device via AIRCR.SYSRESETREQ. PC = 080001D8, CycleCnt = 00000000 R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000 R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000 R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000 R12= 00000000 SP(R13)= 20001478, MSP= 20001478, PSP= 00000000, R14(LR) = FFFFFFFF XPSR = 01000000: APSR = nzcvq, EPSR = 01000000, IPSR = 000 (NoException) CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00 FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000 FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000 FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000 FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= 00000000 FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000 FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000 FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000 FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= 00000000 FPSCR= 00000000 Downloading file [D:\RT-ThreadStudio\workspace\test\Debug tthread.bin]... ****** Error: Failed to prepare for programming. RAM check failed @ addr 0x200006CC. RAM check failed while testing 0x0850 bytes @ addr 0x200006CC. Unspecified error -1 Script processing completed. 执行完毕, 耗时:1205ms. 但是使用Keil5 下载程序都是没问题的,驱动安装都正确。不知道是不是RTThread studio 还有其他设置没有设置到?求答案,谢谢了
查看更多
1
个回答
默认排序
按发布时间排序
rcp
认证专家
2020-01-11
这家伙很懒,什么也没写!
STLink下载时提示 Error: No debug probe detected. 是说没有探测到stlink,看看系统硬件管理器里有没有识别到stlink,没有的话,需要安装stlink驱动 JLINK提示 RAM check failed 估计得网上搜索解决方法
撰写答案
登录
注册新账号
关注者
0
被浏览
3.2k
关于作者
蓝色天空
这家伙很懒,什么也没写!
提问
1
回答
0
被采纳
0
关注TA
发私信
相关问题
1
rt_thread studio 啥时候能用呢
2
RT_Thread使用反馈帖子
3
RTT studio 下的 AT指令问题。
4
什么时候RTT Sdudio支持Ubuntu,Deepin和UOS操作系统
5
rt thread Studio 关于J-LINK下载问题
6
RT-Thread studio 调试设置问题
7
RTT-Studio 如何设置调试配置参数?
8
rt_thread studio 软件包配置
9
RT-Studio目前只能开发STM32的项目吗?
10
rtt studio 生成hex名字修改
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
开源共生 商业共赢 | RT-Thread 2024开发者大会议程正式发布!
2
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
3
RT-Thread EtherKit开源以太网硬件正式发布
4
如何在master上的BSP中添加配置yml文件
5
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
UART
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
rt_mq_消息队列_msg_queue
keil_MDK
ulog
MicroPython
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
a1012112796
20
个答案
2
次被采纳
张世争
11
个答案
2
次被采纳
rv666
9
个答案
2
次被采纳
用户名由3_15位
13
个答案
1
次被采纳
本月文章贡献
程序员阿伟
9
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
RTT_逍遥
1
篇文章
6
次点赞
大龄码农
1
篇文章
5
次点赞
ThinkCode
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部