OpenEdv-开源电子网

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

STM32 用JTAG调试问题 ***JTAG Error: Could not start CPU core.

[复制链接]

9

主题

26

帖子

0

精华

初级会员

Rank: 2

积分
82
金钱
82
注册时间
2013-9-16
在线时间
0 小时
发表于 2013-9-16 14:07:19 | 显示全部楼层 |阅读模式

STM32 用JLink V8调试问题 ***JLink Error: Could not start CPU core. (ErrorCode:

如何解决 各位大神

* JLink Info: Device "STM32F101T8" selected (64 KB flash, 10 KB RAM).
Set JLink Project File to "E:\Program\Stm32\Ultrasonic Cleaner STM32\2011-11-11\Ultrasonic Cleaner\JLinkSettings.ini" 
JLink info:
------------
DLL: V4.35b, compiled Sep  2 2011 18:34:46
Firmware: J-Link ARM V8 compiled Sep  2 2011 17:54:36
Hardware: V8.00
S/N : 805306163 
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull 

* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: TPIU fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: Found Cortex-M3 r1p1, Little endian.
ROMTableAddr = 0xE00FF003
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: TPIU fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: Found Cortex-M3 r1p1, Little endian.

Target info:
------------
Device: STM32F101T8
VTarget = 3.300V
State of Pins: TCK: 0, TDI: 1, TDO: 0, TMS: 0, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints:          0
JTAG speed: 4000 kHz

Load "E:\\Program\\Stm32\\Ultrasonic Cleaner STM32\\2011-11-11\\Ultrasonic Cleaner\\RVMDK\\Output\\Ultrasonic Cleaner.AXF" 
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: TPIU fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: Found Cortex-M3 r1p1, Little endian.
BS \\Ultrasonic_Cleaner\APP/src/app_task.c\247
BS \\Ultrasonic_Cleaner\APP/src/app_task.c\226
BS \\Ultrasonic_Cleaner\RT-Thread-0.3.2/src/idle.c\111
WS 1, `ADC1ConvertedValue
WS 1, `ADC1ConvertedAverageValue
WS 1, `ConverCircles

WS 1, `ChangeValue
WS 1, `PowerPercentage
WS 1, `Period
WS 1, `Pulse
**JLink Warning: CPU could not be halted
***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
**JLink Warning: CPU could not be halted
***JLink Error: Could not start CPU core. (ErrorCode: -1)
**JLink Warning: CPU could not be halted
***JLink Error: Could not start CPU core. (ErrorCode: -1)
**JLink Warning: CPU could not be halted
***JLink Error: Could not start CPU core. (ErrorCode: -1)
***JLink Error: Can not read register 0 (R0) while CPU is running
***JLink Error: Can not read register 1 (R1) while CPU is running
***JLink Error: Can not read register 2 (R2) while CPU is running
***JLink Error: Can not read register 3 (R3) while CPU is running
***JLink Error: Can not read register 4 (R4) while CPU is running
***JLink Error: Can not read register 5 (R5) while CPU is running
***JLink Error: Can not read register 6 (R6) while CPU is running
***JLink Error: Can not read register 7 (R7) while CPU is running
***JLink Error: Can not read register 8 (R8) while CPU is running
***JLink Error: Can not read register 9 (R9) while CPU is running
***JLink Error: Can not read register 10 (R10) while CPU is running
***JLink Error: Can not read register 11 (R11) while CPU is running
***JLink Error: Can not read register 12 (R12) while CPU is running
***JLink Error: Can not read register 13 (R13) while CPU is running
***JLink Error: Can not read register 14 (R14) while CPU is running
***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 17 (MSP) while CPU is running
***JLink Error: Can not read register 18 (PSP) while CPU is running
***JLink Error: Can not read register 25 (BASEPRI) while CPU is running
***JLink Error: Can not read register 27 (CONTROL) while CPU is running
***JLink Error: Can not read register 26 (FAULTMASK) while CPU is running
***JLink Error: Can not read register 28 (BASEPRI_MAX) while CPU is running

















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

使用道具 举报

9

主题

26

帖子

0

精华

初级会员

Rank: 2

积分
82
金钱
82
注册时间
2013-9-16
在线时间
0 小时
 楼主| 发表于 2013-9-16 14:11:52 | 显示全部楼层
在线等  谢谢  有谁有到过这个问题 我的jtag能下载  但是调试就会出现这个问题
回复 支持 反对

使用道具 举报

120

主题

7878

帖子

13

精华

资深版主

Rank: 8Rank: 8

积分
12012
金钱
12012
注册时间
2013-9-10
在线时间
427 小时
发表于 2013-9-16 16:46:09 | 显示全部楼层
回复【2楼】hao123:
---------------------------------
把你的JTAG设置参数贴出来
现在,程序把烂铜烂铁变得智能化了,人呢,一旦离开了这烂铜烂铁就不知道干啥了
回复 支持 反对

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

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

使用道具 举报

15

主题

43

帖子

0

精华

初级会员

Rank: 2

积分
124
金钱
124
注册时间
2013-10-7
在线时间
0 小时
发表于 2013-10-17 19:58:17 | 显示全部楼层
作者你这个问题解决了吗?我现在做项目也遇到这个情况希望楼主解救啊
回复 支持 反对

使用道具 举报

9

主题

26

帖子

0

精华

初级会员

Rank: 2

积分
82
金钱
82
注册时间
2013-9-16
在线时间
0 小时
 楼主| 发表于 2013-10-20 18:06:41 | 显示全部楼层
回复【5楼】镖叔:
---------------------------------
JTAG_Set(JTAG_SWD_DISABLE);因为代码里有这句话  所以出现了问题  当时没细看  就是jtag和我要用的引脚复用了
回复 支持 反对

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-7-10 21:37

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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