OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 12416|回复: 3

JTAG下载

[复制链接]

15

主题

52

帖子

0

精华

初级会员

Rank: 2

积分
132
金钱
132
注册时间
2013-4-27
在线时间
0 小时
发表于 2013-5-22 12:20:02 | 显示全部楼层 |阅读模式

原子哥的板子 经过设置 调试早成功了

自己仿照着做了一块 最小系统,下载时出现这样的问题   不得已请大师出面解救  不知道怎么搞的

请原子哥帮帮忙

Load "C:\\Users\\Administrator.ZGC-20120212TZH\\Desktop\\stm32f103vc-project\\USER\\test.AXF"
Set JLink Project File to "C:\Users\Administrator.ZGC-20120212TZH\Desktop\stm32f103vc-project\USER\JLinkSettings.ini"
 
JLink info:
------------
DLL: V4.15n, compiled Jun 18 2010 19:55:09
Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
Hardware: V8.00
S/N : 17935099
Feature(s) : RDI,FlashDL,FlashBP,JFlash
 
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
ROMTableAddr = 0x0
 
Target info:
------------
Device: STM32F103VC
VTarget = 3.241V
State of Pins:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
Hardware-Breakpoints: 0
Software-Breakpoints: 2048
Watchpoints:          0
JTAG speed: 4000 kHz
 
* JLink Info: Program size too small. Flash download skipped.
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
Erase Failed!
***JLink Error: Could not start CPU core. (ErrorCode: -1)
Load "C:\\Users\\Administrator.ZGC-20120212TZH\\Desktop\\stm32f103vc-project\\USER\\test.AXF"
Set JLink Project File to "C:\Users\Administrator.ZGC-20120212TZH\Desktop\stm32f103vc-project\USER\JLinkSettings.ini"
 
JLink info:
------------
DLL: V4.15n, compiled Jun 18 2010 19:55:09
Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
Hardware: V8.00
S/N : 17935099
Feature(s) : RDI,FlashDL,FlashBP,JFlash
 
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
***JLink Error: SWD-DP error: Could not write Ctrl/Stat register.
ROMTableAddr = 0x0
 
Target info:
------------
Device: STM32F103VC
VTarget = 3.241V
State of Pins:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
Hardware-Breakpoints: 0
Software-Breakpoints: 2048
Watchpoints:          0
JTAG speed: 4000 kHz
 
* JLink Info: Program size too small. Flash download skipped.
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
Erase Failed!
***JLink Error: Could not start CPU core. (ErrorCode: -1)
Load "C:\\Users\\Administrator.ZGC-20120212TZH\\Desktop\\stm32f103vc-project\\USER\\test.AXF"
Set JLink Project File to "C:\Users\Administrator.ZGC-20120212TZH\Desktop\stm32f103vc-project\USER\JLinkSettings.ini"
 
JLink info:
------------
DLL: V4.15n, compiled Jun 18 2010 19:55:09
Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
Hardware: V8.00
S/N : 17935099
Feature(s) : RDI,FlashDL,FlashBP,JFlash
 
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
***JLink Error: SWD-DP error: Could not write Ctrl/Stat register.
ROMTableAddr = 0x0
 
Target info:
------------
Device: STM32F103VC
VTarget = 3.241V
State of Pins:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
Hardware-Breakpoints: 0
Software-Breakpoints: 2048
Watchpoints:          0
JTAG speed: 4000 kHz
 
* JLink Info: Program size too small. Flash download skipped.
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
Erase Failed!
***JLink Error: Could not start CPU core. (ErrorCode: -1)
Load "C:\\Users\\Administrator.ZGC-20120212TZH\\Desktop\\stm32f103vc-project\\USER\\test.AXF"
Set JLink Project File to "C:\Users\Administrator.ZGC-20120212TZH\Desktop\stm32f103vc-project\USER\JLinkSettings.ini"
 
JLink info:
------------
DLL: V4.15n, compiled Jun 18 2010 19:55:09
Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
Hardware: V8.00
S/N : 17935099
Feature(s) : RDI,FlashDL,FlashBP,JFlash
 
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: Failed to reset CPU. VECTRESET has confused core.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: Core is locked-up, trying to disable WDT.
* JLink Info: CPU core locked up
* JLink Info: CPU halted
* JLink Info: CPU core locked up
* JLink Info: CPU halted
**JLink Warning: S_RESET_ST not cleared
***JLink Error: SWD-DP error: Could not write Ctrl/Stat register.
ROMTableAddr = 0x0
 
Target info:
------------
Device: STM32F103VC
VTarget = 3.241V
State of Pins:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
**JLink Warning: No matching core found.
Hardware-Breakpoints: 0
Software-Breakpoints: 2048
Watchpoints:          0
JTAG speed: 4000 kHz
 
* JLink Info: Program size too small. Flash download skipped.
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM BP
Cannot setup Breakpoint at Address
Erase Failed!
***JLink Error: Could not start CPU core. (ErrorCode: -1)

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2013-5-22 15:22:18 | 显示全部楼层
不解哦,你用串口能下载么?
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复 支持 反对

使用道具 举报

25

主题

683

帖子

0

精华

论坛大神

Rank: 7Rank: 7Rank: 7

积分
1351
金钱
1351
注册时间
2012-4-25
在线时间
195 小时
发表于 2013-11-21 09:41:37 | 显示全部楼层
被锁了,解锁下就行
菜单 SEGGER->JLink Arm V4.12->rocessor Specific Utilities->J-Link STM32 Unlock ,运行一下就行了
1-1
回复 支持 反对

使用道具 举报

23

主题

292

帖子

0

精华

高级会员

Rank: 4

积分
501
金钱
501
注册时间
2013-9-17
在线时间
17 小时
发表于 2013-11-29 10:07:55 | 显示全部楼层
回复【3楼】mygod:
---------------------------------
选项找不到  swd 模式
闷鱼闷闷不乐吃焖鱼
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-7-8 14:20

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表