英飞凌
直播中

张荣

7年用户 161经验值
私信 关注
[问答]

基于XMC_LINK的XMC4800下载电路提示No source available for

首先官网购买了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)

石双厚

2018-12-14 18:44:59

上传不了附件,10pin连接如下:::
             VCC3.3-1   2---TMS
            GND-----3   4---TCK
            GND-----5   6---SWV
              NC-----7   8---NC
               NC----9   10---RESET
举报

陈鑫

2018-12-14 18:51:12
我也是类似这样,程序已经在跑了对吧?只是不能在dave界面中仿真。我电脑是64位,现在怀疑是电脑系统问题。
举报

李华瑞

2018-12-14 19:10:33
xxx健 发表于 2018-4-18 22:37
我也是类似这样,程序已经在跑了对吧?只是不能在dave界面中仿真。我电脑是64位,现在怀疑是电脑系统问题。 ...

我电脑也是64位,下载到kit板子上是可以的,自己设计的却不行
举报

徐远瑶

2018-12-14 19:30:22
看起来是脚本上不知为什么加上了disconnect.
1、Debug的虫子图标旁办有个三角符号,按一下出来了菜单,选中“Debug Configuration..."
2、找到并点选“Startup”
3、下拉到找到Run/Restart Commands里面,我的默认是这样的
“monitor go
disconnect”
把这里面的disconnect删除!就好了。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分