Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread Studio
Jlink SW 下载一次后再下载就连接不上了
发布于 2020-01-19 16:23:45 浏览:2262
订阅该版
如下所示,Jlink SW 下载一次后再下载就连接不上了,导致下载不了,有没有人遇到过,是不是哪里设置导致的 开始下载程序:2020-01-19 16:16:17 C:\RT-ThreadStudio>"C:/Program Files (x86)/SEGGER/JLink_V622d/JLink.exe" -device STM32F103ZE -ExitOnError -CommanderScript C:\RT-ThreadStudio\workspace/.metadata/Temp/rtthread_download_init.jlink SEGGER J-Link Commander V6.22d (Compiled Dec 14 2017 18:33:22) DLL version V6.22d, compiled Dec 14 2017 18:32:44 J-Link Commander will now exit on Error Script 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 V9 compiled Dec 1 2017 14:40:21 Hardware version: V9.40 S/N: 59425868 License(s): RDI, GDB, FlashDL, FlashBP, JFlash, RDDI VTref = 3.306V Selecting SWD as current target interface. Device "STM32F103ZE" selected. Selecting 1000 kHz as target interface speed Target connection not established yet but required for command. Device "STM32F103ZE" selected. Connecting to target via SWD Found SW-DP with ID 0x1BA01477 Found SW-DP with ID 0x1BA01477 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: 0x14770011) Iterating through AP map to find AHB-AP to use AP[0]: Core found AP[0]: AHB-AP ROM base: 0xE00FF000 CPUID register: 0x411FC231. Implementer code: 0x41 (ARM) Found Cortex-M3 r1p1, Little endian. FPUnit: 6 code (BP) slots and 2 literal slots CoreSight components: ROMTbl[0] @ E00FF000 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 001BB000 SCS ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 001BB002 DWT ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB003 FPB ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 001BB001 ITM ROMTbl[0][4]: E0040000, CID: B105900D, PID: 001BB923 TPIU-Lite ROMTbl[0][5]: E0041000, CID: B105900D, PID: 101BB924 ETM-M3 Cortex-M3 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 = 0800014C, CycleCnt = 00000000 R0 = 00000000, R1 = 0007E635, R2 = 0007E5C7, R3 = 20002680 R4 = 08003CB8, R5 = 08003CB8, R6 = 13EB16AD, R7 = F66F9DDC R8 = FFFFFFFF, R9 = FFDFFDFF, R10= EFF4C47F, R11= 19AFAF79 R12= 00000200 SP(R13)= 20004B28, MSP= 20004B28, PSP= F6B8F774, R14(LR) = FFFFFFFF XPSR = 01000000: APSR = nzcvq, EPSR = 01000000, IPSR = 000 (NoException) CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00 FPU regs: FPU not enabled / not implemented on connected CPU. Downloading file [E:\RT-Thread-Studio\QD-S2000DriveBoard\Debug tthread.bin]... J-Link: Flash download: Bank 0 @ 0x08000000: 1 range affected (57344 bytes) J-Link: Flash download: Total time needed: 1.993s (Prepare: 0.096s, Compare: 0.023s, Erase: 0.205s, Program: 1.644s, Verify: 0.008s, Restore: 0.014s) O.K. 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. Script processing completed. 执行完毕, 耗时:8357ms. Download Start Address: 0x08000000 开始下载程序:2020-01-19 16:19:31 C:\RT-ThreadStudio>"C:/Program Files (x86)/SEGGER/JLink_V622d/JLink.exe" -device STM32F103ZE -ExitOnError -CommanderScript C:\RT-ThreadStudio\workspace/.metadata/Temp/rtthread_download_init.jlink SEGGER J-Link Commander V6.22d (Compiled Dec 14 2017 18:33:22) DLL version V6.22d, compiled Dec 14 2017 18:32:44 J-Link Commander will now exit on Error Script 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 V9 compiled Dec 1 2017 14:40:21 Hardware version: V9.40 S/N: 59425868 License(s): RDI, GDB, FlashDL, FlashBP, JFlash, RDDI VTref = 3.308V Selecting SWD as current target interface. Device "STM32F103ZE" selected. Selecting 1000 kHz as target interface speed Target connection not established yet but required for command. Device "STM32F103ZE" selected. Connecting to target via SWD STM32 (connect): Can not attach to CPU. Trying connect under reset. STM32 (connect): Can not attach to CPU. Trying connect under reset. ****** Error: STM32: Connecting to CPU via connect under reset failed. STM32 (connect): Can not attach to CPU. Trying connect under reset. STM32 (connect): Can not attach to CPU. Trying connect under reset. ****** Error: STM32: Connecting to CPU via connect under reset failed. Cannot connect to target. Script processing completed. 执行完毕, 耗时:7304ms.
查看更多
4
个回答
默认排序
按发布时间排序
行者~
2020-01-19
这家伙很懒,什么也没写!
找到了 [https://www.jianshu.com/p/cea16b641c3d](https://www.jianshu.com/p/cea16b641c3d)
行者~
2020-01-19
这家伙很懒,什么也没写!
设置成 JTAG(4 pins)就可以了
rcp
认证专家
2020-01-19
这家伙很懒,什么也没写!
![](https://www.rt-thread.org/qa/data/attachment/forum/201912/26/164739g9mrljgrymejye43.png)
douzp
2021-02-10
这家伙很懒,什么也没写!
你好 遇到了同样的问题 请问在哪里设置4 pins
撰写答案
登录
注册新账号
关注者
0
被浏览
2.3k
关于作者
行者~
这家伙很懒,什么也没写!
提问
9
回答
24
被采纳
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
【NXP-MCXA153】 定时器驱动移植
2
GD32F450 看门狗驱动适配
3
【NXP-MCXA153】看门狗驱动移植
4
RT-Thread Studio V2.2.9 Release Note
5
CherryUSB的bootuf2配置
热门标签
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
UART
WIZnet_W5500
ota在线升级
PWM
freemodbus
flash
cubemx
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
编译报错
Debug
rt_mq_消息队列_msg_queue
SFUD
msh
keil_MDK
ulog
C++_cpp
MicroPython
本月问答贡献
踩姑娘的小蘑菇
7
个答案
2
次被采纳
a1012112796
16
个答案
1
次被采纳
Ryan_CW
5
个答案
1
次被采纳
红枫
4
个答案
1
次被采纳
张世争
4
个答案
1
次被采纳
本月文章贡献
YZRD
3
篇文章
6
次点赞
catcatbing
3
篇文章
6
次点赞
lizimu
2
篇文章
9
次点赞
qq1078249029
2
篇文章
2
次点赞
xnosky
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部