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

DAVE™ Forum Discussions

Jeddison
Level 1
Level 1
First solution authored First reply posted First question asked
Hi,
New to DAVE.
using a XMC 2GO connected to windows computer via USB.
Chose menu Debug As DAVE C/C++ Application
Received window as shown here.

The error message is
Problem Occurred
Launching LED Debug (1) has encountered a problem
J-Link GDB Server failed
Could not connect to j-Link. Please check if plugged into USB port or Ethernet switch.
For more details see the jLinkGDBServerCL.exe

The XMC 2GO board does not appear in the Device Manager when connected directly to a USB port.
Could it be the cable?
Are there USB cables which provide only power but do not allow for communication and therefore, these devices do not show up in the Device Manager?
That I do not know.

As far as I understand, there should be an emulator on the XMC 2GO board (OBD). Since this cannot be accessed, the error message appears.

I did some research and found out that I could use the JLink.exe to try to connect via USB.
I get the SEGGER J-Link Commander Window.
This allows me to use the J-Link commands.
Using any command the same window appears as shown below.
I used also the latest version of J-Link V7.52d got the same problem.

As I understand the problem at the moment I need to access the emulator on the XMC 2GO board.
What configuration or procedures do I need to do to be able to access this emulator?

I could also be mistaken and there is a different reason.

Looking forward to the solution. It should not be that hard.

Thank you.
0 Likes
1 Solution
Jeddison
Level 1
Level 1
First solution authored First reply posted First question asked
Hi,
Yes it was the cable.

There are USB cables which are only for charging devices and others to charge and communicate.
My cables were charging cables.
That is why there was no communication with the board.
I got another cable and it worked.

Greetings

View solution in original post

0 Likes
2 Replies
Jeddison
Level 1
Level 1
First solution authored First reply posted First question asked
Hi,
Yes it was the cable.

There are USB cables which are only for charging devices and others to charge and communicate.
My cables were charging cables.
That is why there was no communication with the board.
I got another cable and it worked.

Greetings
0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi Jedison,

Thanks for letting others know the root cause. Somebody else will find this useful while facing the same issue.

Best Regards,
Vasanth
0 Likes