Problem with debug on XMC 2 GO

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi.
I have a problem with eval board XMC 2 GO. I import soft " XMC_2GO_initial_Start" in DAVE 3.1.10. Build goes without a problem. But the problem arises when I want Debug. This is copy information from Consol :

"Using Debug Target Configuration:
Target: Infineon XMC 2Go for XMC1100
Selected CPU type: ARMv6M
Register file: D:/Programy/DAVE/Debugger/etc/sfr/CM0/DeviceSupport/Infineon/XMC1100_series/XMC1100.xml
Communication: J-Link over USB (SWD)
Debug Instrument Module: dijlinkarm
Using Flash Configuration:
Monitor : fxmc1xxx.sre
Workspace address : 0x20000000
Number of devices : 1
Device 0:
Address : 0x10001000
Vendor : Infineon
Chip : XMC1XXX/64K
Width : 32
Size : 65536
Number of chips : 1
Unused address line : 0
Configuration: Default
Using Java Link Version 1.113
Starting Debugger...
TASKING VX-toolset for ARM: debugger, Build 188.1.2
Copyright 2006-2014 Altium BV

The debug instrument IO could not be initialized.
The GDI debug instrument provided the following error message.
An error occurred while connecting to the target. The exact cause is unknown, but possibly, the J-Link is not connected to the target properly."
0 Likes
6 Replies
Not applicable
Hi,

It seems that the Tasking debugger (software) is unable to connect to the on-board J-Link debugger (hardware).
Have you programmed the XMC2Go kit before?
Do you have another kit that you could try on?
0 Likes
Not applicable
Jackson wrote:
Hi,

It seems that the Tasking debugger (software) is unable to connect to the on-board J-Link debugger (hardware).
Have you programmed the XMC2Go kit before?
Do you have another kit that you could try on?


I don't programing the XMC2Go before.
I don't have another kit to try, 😞
I try only other IDE ( DAVE, uvision, Atollic), but in any IDE is always the same problem with debug.
0 Likes
Not applicable
Hi,

I believe your XMC2Go is faulty.

Let's try this..
1) Plug in your XMC2Go to your PC
2) Run Segger J-Link Commander
3) See if the J-Link Commander can detect any J-link debugger or the XMC1100 or not.
0 Likes
Not applicable
Jackson wrote:
Hi,

I believe your XMC2Go is faulty.

Let's try this..
1) Plug in your XMC2Go to your PC
2) Run Segger J-Link Commander
3) See if the J-Link Commander can detect any J-link debugger or the XMC1100 or not.


I plug my XMC2Go to PC and run J-Link Comander and see this result:
766.attach
0 Likes
Not applicable
Hi sigaris,

From the J-Link Commander, we can see that the J-Link debugger is unable to detect XMC1100 device.
Therefore, there is no way you could debug or program your XMC2Go.
There is 2 possibility, one is the device is faulty and another one could be the device is not in the correct BMI.

So to test on the BMI, connect your XMC2Go to your PC and open a DAVE3 project.
In DAVE3, click on the 'BMI get set' button and click 'Get BMI'.
If you can get the BMI indicating ASC BSL (or any other), then change it to User Mode (Debug) SWD1.
And your XMC2Go should work fine.

If you did not get any respond after you click on Get BMI, all I can said is your device is faulty.
Very sorry but you may need to get a new kit for evaluation.
You may buy it online (XMC Development Tools: Kits and Boards) or through your local Infineon distributor.
0 Likes
Not applicable
Jackson wrote:
Hi sigaris,

From the J-Link Commander, we can see that the J-Link debugger is unable to detect XMC1100 device.
Therefore, there is no way you could debug or program your XMC2Go.
There is 2 possibility, one is the device is faulty and another one could be the device is not in the correct BMI.

So to test on the BMI, connect your XMC2Go to your PC and open a DAVE3 project.
In DAVE3, click on the 'BMI get set' button and click 'Get BMI'.
If you can get the BMI indicating ASC BSL (or any other), then change it to User Mode (Debug) SWD1.
And your XMC2Go should work fine.

If you did not get any respond after you click on Get BMI, all I can said is your device is faulty.
Very sorry but you may need to get a new kit for evaluation.
You may buy it online (XMC Development Tools: Kits and Boards) or through your local Infineon distributor.


So i have fault XMC 2 Go
768.attach
0 Likes