Error while starting Debugger

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

cross mob
Not applicable
Hello,

I´m trying to start the debugging of the simple Blinky Programm on the XMC 1100 Boot Kit. The code is builded without error.
When starting the debug session an error window pops up: Error: Exception occurred during launch Reason: Error creating session.

Console Output:
Using Debug Target Configuration:
Target: Infineon Boot Kit for XMC1100
Selected CPU type: ARMv6M
Register file: C:/DAVE-3.1/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
Copyright 2006-2013 Altium BV

There is an internal problem with the initialization of the debug instrument.

Where is my mistake?
0 Likes
6 Replies
Not applicable
Hi,

I have no problem to enter the debug mode using XMC1100 Boot Kit to run this simple Blinky Program. Could you pls check your "Device Manager" see whether the device can be detected or not?
Attached is for your reference.
291.attach

Best regards,
Sophia
0 Likes
Not applicable
Yes, both devices are detected and running. I tried to debug the programm on another Computer with the same error message.
When trying to debug without connected XMC1100 board, the error message is the same.

J-Link Commander Report:

SEGGER J-Link Commander V4.64 ('?' for help)
Compiled Feb 20 2013 21:37:38
DLL version V4.64, compiled Feb 20 2013 21:37:18
Firmware: J-Link Lite-XMC4200 Rev.1 compiled Jan 7 2013 17:56:47
Hardware: V1.00
S/N: 591002834
VTarget = 3.300V
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x0BB11477
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: Found Cortex-M0 r0p0, Little endian.
Cortex-M0 identified.
JTAG speed: 100 kHz

So J-Link and µC are working. The µC is running an old blinky programm.
When telling J-Lnik Commander to reset, the program stops (LED stop to blink).

But:

SEGGER J-Link Commander V4.64 ('?' for help)
Compiled Feb 20 2013 21:37:38
DLL version V4.64, compiled Feb 20 2013 21:37:18
Firmware: J-Link Lite-XMC4200 Rev.1 compiled Jan 7 2013 17:56:47
Hardware: V1.00
S/N: 591002834
VTarget = 3.300V
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x0BB11477
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: Found Cortex-M0 r0p0, Little endian.
Cortex-M0 identified.
JTAG speed: 100 kHz
0 Likes
Not applicable
Hi,

I'm using Seggar J-Link software v4.72. Attached is the J-Link Commander report captured with successful connection using DAVE.
294.attach

BTW, don't run DAVE TASKING debugger and J-Link Commander in parallel in order to avoid conflicts.

In addition, you may try to disconnect and re-connect the HW (XMC 1100 Boot Kit) or close and re-open the DAVE see whether it helps.

Best regards,
Sophia
0 Likes
Not applicable
I never run both softwares parallel.
I tried more than 100 times to diconnect and connect the Kit without any effect.
I also removed Dave and Segger from the Computer and installed it again after restarting the PC. It didn´t help.

With Keil µVision I´m able to flash the Boot Kit with the exported Project from Dave. So why does µVision flash it and Dave does not?
If I know how to get µVision to trace the executed Code in the Boot Kit I would switch to Keil instead of trying to fix Dave.

Regards

Mirko
0 Likes
Not applicable
Hi Mirko,

I'm using DAVE 3 with Segger v4.64 and i'm working fine with the XMC1100 boot kit.
What system OS are you running? What is your system language?
For me, I'm using Windows 7, system language is English.


rgds,
Rou
0 Likes
Not applicable
Hello Rou,

I´m using Windows 7 coporate (32 and 64 Bit - two different computers - same error).
I believe the error has nothing to do with the boot kit but with the Dave IDE. The error occurs always, wether the boot kit is connected or not.
The console reading says:" There is an internal problem with the initialization of the debug instrument." It seems that Dave cannot start the debugger.
I even ordered a second boot kit and have had the same error - spend 27€ for nothing.
Trying to flash the Boot Kit with µVision was succesfull on both systems and Boot Kits.

I now ordered two Arduinos to continue my work on my thesis because with AVR Studio I´ve never had problems like this. I don´t want to spend any more days in an IDE that doesn´t work properly.

Mirko
0 Likes