首先官网购买了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
JLink
ARM.dll V5.02h (DLL compiled Oct 29 2015 19:04:05)
-----GDB Server start set
tings-----
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相连接,