完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
首先官网购买了XMC_LINK产品,用于J-link下载程序,用到的软件为DAVE,目前版本是DAVE4.2.8,自己按照10pin-cortex Debug下载电路设计了XMC4800下载电路,但是下载时候出现问题,提示:No source available for "(gdb[2].proc[42000].threadGroup[i1],gdb[2].proc[42000].OSthread[1]).thread[1].frame[0]"
下载过程中的console显示如下: SEGGER J-Link GDB Server V5.02h Command Line Version JLinkARM.dll V5.02h (DLL compiled Oct 29 2015 19:04:05) -----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: localhost only Generate logfile: off Verify download: on Init regs on start: on 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: XMC4800-F144x2048 Target interface: SWD Target interface speed: 1000kHz Target endian: little Connecting to J-Link... J-Link is connected. Firmware: J-Link Lite-XMC4200 Rev.1 compiled Oct 27 2015 17:41:01 Hardware: V1.00 S/N: 599002466 Checking target voltage... Target voltage: 3.30 V Listening on TCP/IP port 2331 Connecting to target...Connected to target Waiting for GDB connection...Connected to 127.0.0.1 Reading all registers Read 4 bytes @ address 0x00000000 (Data = 0x2000FF3C) Target interface speed set to 1000 kHz Resetting target Halting target CPU... ...Target halted (PC = 0x000000E6) R0 = 00000000, R1 = 00000002, R2 = 00000000, R3 = 0000006C R4 = 00000536, R5 = 00000000, R6 = 00000000, R7 = 00000000 R8 = 00000000, R9 = 0C000000, R10= 00000000, R11= 00000000 R12= 00000000, R13= 2000FF3C, MSP= 2000FF3C, PSP= 00000000 R14(LR) = 00001419, R15(PC) = 000000E6 XPSR 41000000, APSR 40000000, EPSR 01000000, IPSR 00000000 CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00 Reading all registers Read 4 bytes @ address 0x000000E6 (Data = 0xF000E7FE) Select auto target interface speed (1875 kHz) Flash breakpoints enabled Read 4 bytes @ address 0x000000E6 (Data = 0xF000E7FE) Downloading 4096 bytes @ address 0x0C000000 - Verified OK Downloading 4096 bytes @ address 0x0C001000 - Verified OK Downloading 4096 bytes @ address 0x0C002000 - Verified OK Downloading 4096 bytes @ address 0x0C003000 - Verified OK Downloading 4096 bytes @ address 0x0C004000 - Verified OK Downloading 4096 bytes @ address 0x0C005000 - Verified OK Downloading 4096 bytes @ address 0x0C006000 - Verified OK Downloading 4096 bytes @ address 0x0C007000 - Verified OK Downloading 4096 bytes @ address 0x0C008000 - Verified OK Downloading 4096 bytes @ address 0x0C009000 - Verified OK Downloading 4096 bytes @ address 0x0C00A000 - Verified OK Downloading 4096 bytes @ address 0x0C00B000 - Verified OK Downloading 4096 bytes @ address 0x0C00C000 - Verified OK Downloading 182 bytes @ address 0x0C00D000 - Verified OK Downloading 4096 bytes @ address 0x0C00D0B6 - Verified OK Downloading 232 bytes @ address 0x0C00E0B6 - Verified OK Writing register (PC = 0x08000200) Read 4 bytes @ address 0x08000200 (Data = 0x00000000) Read 2 bytes @ address 0x0800BC72 (Data = 0x0000) Read 2 bytes @ address 0x0800BC72 (Data = 0x0000) Resetting target Halting target CPU... ...Target halted (PC = 0x000000E6) Read 2 bytes @ address 0x0800BC72 (Data = 0x0000) Read 2 bytes @ address 0x0800BC72 (Data = 0x0000) Read 2 bytes @ address 0x0800BC72 (Data = 0x0000) R0 = 00000000, R1 = 00000002, R2 = 00000000, R3 = 0000006C R4 = 00000536, R5 = 00000000, R6 = 00000000, R7 = 00000000 R8 = 00000000, R9 = 0C000000, R10= 00000000, R11= 00000000 R12= 00000000, R13= 2000FF3C, MSP= 2000FF3C, PSP= 00000000 R14(LR) = 00001419, R15(PC) = 000000E6 XPSR 41000000, APSR 40000000, EPSR 01000000, IPSR 00000000 CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00 Reading all registers Read 4 bytes @ address 0x000000E6 (Data = 0xF000E7FE) Setting breakpoint @ address 0x0800BC72, Size = 2, BPHandle = 0x0001 Starting target CPU... 不知道问题在哪?有用过XMC_LINK的大神能不能给点指点,现在是XMC_LINK直接与XMC4800相连接, |
|
相关推荐
9个回答
|
|
上传不了附件,10pin连接如下::: VCC3.3-1 2---TMS GND-----3 4---TCK GND-----5 6---SWV NC-----7 8---NC NC----9 10---RESET |
|
|
|
我也是类似这样,程序已经在跑了对吧?只是不能在dave界面中仿真。我电脑是64位,现在怀疑是电脑系统问题。
|
|
|
|
xxx健 发表于 2018-4-18 22:37 我电脑也是64位,下载到kit板子上是可以的,自己设计的却不行 |
|
|
|
看起来是脚本上不知为什么加上了disconnect.
1、Debug的虫子图标旁办有个三角符号,按一下出来了菜单,选中“Debug Configuration..." 2、找到并点选“Startup” 3、下拉到找到Run/Restart Commands里面,我的默认是这样的 “monitor go disconnect” 把这里面的disconnect删除!就好了。 |
|
|
|
楼主,我建立一个Q群,大家来加入好不好,做些交流也方便。
|
|
|
|
xxx健 发表于 2018-4-26 22:20 我试过别的工程设置了断点,忘记删除了,会显示no source红色字。找不到断点的所在代码。点选remove all breakpoints删除所有断点就好。 |
|
|
|
|
|
|
|
xxx健 发表于 2018-4-26 22:20 一直停留在Starting target CPU...这里,我的没有monitor go disconnect这个默认东西啊,我的是勾选了Pre-run/Restart Reset |
|
|
|
同样,我用SWD下载可以,JTAG就不行,提示连接不上。
|
|
|
|
只有小组成员才能发言,加入小组>>
TLE9879_BLDC电机启动需要用手拨一下才能转动,怎么解决?
4970 浏览 2 评论
4060 浏览 9 评论
请问TLE5012B_E1000 启动后为什么位置不能正确获取
3565 浏览 9 评论
1194 浏览 8 评论
3481 浏览 7 评论
391浏览 2评论
232浏览 2评论
339浏览 2评论
TLE9879_BLDC电机启动需要用手拨一下才能转动,怎么解决?
4979浏览 2评论
如果是打开已有的dave工程,怎么查看这个工程选择的mcu型号?
396浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-7 21:32 , Processed in 0.912989 second(s), Total 94, Slave 77 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号