你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

trueStudio 调试异常

[复制链接]
匿名用户. 提问时间:2018-5-15 17:43 /
今天下载最新的trueStudio 9.0.1 开始调试stm32f10x, 发现debug不能启动

问题描述:
硬件环境:jlink
软件环境:ubuntu+trueStudio9.0.1

运行步骤:使用STM32F10x_StdPeriph_Driver,写了一个简单的测试工程,开始跑马灯,trueStudio开始调试非常完美,可是下午突然调试异常,我只是调试,没有更改任何配置相关文件.感觉应该是trueStudio的bug

调试错误信息如下:
SEGGER J-Link GDB Server V6.30k Command Line Version

JLinkARM.dll V6.30k (DLL compiled Apr  9 2018 18:33:07)

Command line: -port 2331 -s -CPU Cortex-M -device STM32F100C8 -endian little -speed 4000 -vd
-----GDB Server start settings-----
GDBInit file:                  none
GDB Server Listening port:     2331
SWO raw output listening port: 2332
Terminal I/O port:             2333
Accept remote connection:      yes
Generate logfile:              off
Verify download:               on
Init regs on start:            off
Silent mode:                   off
Single run mode:               on
Target connection timeout:     0 ms
------J-Link related settings------
J-Link Host interface:         USB
J-Link script:                 none
J-Link settings file:          none
------Target related settings------
Target device:                 STM32F100C8
Target interface:              JTAG
Target interface speed:        4000kHz
Target endian:                 little

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link ARM V8 compiled Dec  1 2015 11:42:48
Hardware: V8.00
S/N: 20080643
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
Checking target voltage...
Target voltage: 3.32 V
Listening on TCP/IP port 2331
Connecting to target...

*** J-Link V6.30k J-Link V6.30k Warning ***
You are using a J-Link which does not have intelligence
for the selected CPU core (Cortex-M3) in the firmware.

Intelligence in the firmware enables J-Link
to generate sequences for the CPU core.
Without this feature, all sequences are generated by the PC.

Intelligence in the firmware allows higher target interface speeds
and significantly enhances both speed and stability of the
communication with the target CPU.

You can use this J-Link with your target CPU, but we recommend
using a newer model of J-Link / J-Trace.
*** J-Link V6.30k J-Link V6.30k Warning ***


J-Link found 2 JTAG devices, Total IRLen = 9
JTAG ID: 0x3BA00477 (Cortex-M3)
Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
GDB closed TCP/IP connection
Restoring target state and closing J-Link connection...
Shutting down...


请问有人遇到同样问题吗?求解



收藏 评论3 发布时间:2018-5-15 17:43

举报

3个回答
匿名用户. 回答时间:2018-5-16 09:46:55
本帖最后由 匿名用户. 于 2018-5-16 11:29 编辑

问题解决了,我使用同事的环境调试了下,发现他的环境可以调试,确定硬件没有问题,然后从新放到我的环境中调试,神奇的事情发生了,调试通过了.不在报错了.

问题可能的原因:
1/可能是某个线没有插好
2/可能是开发环境的某个bug
所以出现类型情况,首先需要确定线的链接,然后就是换个电脑试试.

-------------------------------------------------
继续更新   
shutdown 问题继续出现,这次确定不是线路链接问题,应该是trueStudio的bug,必须使用别人的环境,才能重置debug.希望trueStudio能看到这个问题

---------------------------------------------------
再次更新
卸载trueStudio9.0.1,使用trueStudio 9.0.0, 问题解决




评分

参与人数 1蝴蝶豆 +4 收起 理由
zero99 + 4 结贴奖励

查看全部评分

feixiang20 回答时间:2018-5-16 02:16:22
是不是没设置好 J-Link, 取消所有断点,然后在debug启动,启动完成后再打断点。我看了看后面的英文注释,先参照了找

评分

参与人数 1蝴蝶豆 +3 收起 理由
zero99 + 3

查看全部评分

ox000008 回答时间:2018-9-14 11:01:06
顶顶顶顶顶顶顶顶顶顶顶顶顶顶

所属标签

相似问题

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版