OpenEdv-开源电子网

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

stm32使用keil调试JTAG出现错误。

[复制链接]

4

主题

16

帖子

0

精华

初级会员

Rank: 2

积分
59
金钱
59
注册时间
2014-8-16
在线时间
2 小时
发表于 2015-3-10 13:38:36 | 显示全部楼层 |阅读模式
5金钱


上午 下载时候 出现上图这样内存不可读的问题  怎么都不行后来重装了 keil  没事了不过又出现了另一个问题  
用jtag 进行调试的时候 已进入main函数就会出现错误


然后就会卡住 最后出现 各种 读取寄存器错误的提示
**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 Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
***JLink Error: Failed to read current instruction.
**JLink Warning: CPU could not be halted
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
***JLink Error: Failed to read current instruction.
**JLink Warning: CPU could not be halted
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
***JLink Error: Failed to read current instruction.
**JLink Warning: CPU could not be halted
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
***JLink Error: Failed to read current instruction.
**JLink Warning: CPU could not be halted
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
***JLink Error: Failed to read current instruction.
**JLink Warning: Target system has been power-cycled
* JLink Info: Found SWD-DP with ID 0x1BA01477
* 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.

请各位  大哥 给解决一下 不胜感激

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

使用道具 举报

120

主题

7878

帖子

13

精华

资深版主

Rank: 8Rank: 8

积分
12012
金钱
12012
注册时间
2013-9-10
在线时间
427 小时
发表于 2015-3-10 19:08:50 | 显示全部楼层
一般情况下是没设置好的缘故
现在,程序把烂铜烂铁变得智能化了,人呢,一旦离开了这烂铜烂铁就不知道干啥了
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2015-3-10 22:18:38 | 显示全部楼层
搞个小一点的工程测试下看看
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-6-25 12:27

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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