Oct 10, 2019
06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 10, 2019
06:05 AM
Hi,
I'm having trouble to connect to my XMC1100-0008 over SWD.
My Setup:
- XMC1100-0008
- XMC Link-V1.1
First, I plug in the XMC Link into my Computer.
Then I connected GND, SWIO and SWCLK with the 8-pin header on the XMC Link (GND=Pin4, SWCLK=Pin1 and SWIO = Pin2).
Afterwards I start J-Link an select the following:
Device: XMC1100-0008
TIF: SWD
Speed: 4000 kHz
After confirming, I'm getting the following error:
Can somebody help me?
EDIT: I also tried to power the XMC over XMC-Link and over the external power supply on my board
I'm having trouble to connect to my XMC1100-0008 over SWD.
My Setup:
- XMC1100-0008
- XMC Link-V1.1
First, I plug in the XMC Link into my Computer.
Then I connected GND, SWIO and SWCLK with the 8-pin header on the XMC Link (GND=Pin4, SWCLK=Pin1 and SWIO = Pin2).
Afterwards I start J-Link an select the following:
Device: XMC1100-0008
TIF: SWD
Speed: 4000 kHz
After confirming, I'm getting the following error:
Device "XMC1100-0008" selected.
Connecting to target via SWD
Trying to identify target via SPD
Could not identify target via SPD. Trying again via SWD.
****** Error: Communication timed out: Requested 20 bytes, received 0 bytes !
Could not read hardware status!
Cannot connect to target.
Can somebody help me?
EDIT: I also tried to power the XMC over XMC-Link and over the external power supply on my board
4 Replies
Oct 10, 2019
08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 10, 2019
08:19 AM
Hi,
Did you change the default BMI=ASC_BSL to SWD?
Take care that the correct SWD is selected, which depends on the pins you use.
Regards,
Jesus
Did you change the default BMI=ASC_BSL to SWD?
Take care that the correct SWD is selected, which depends on the pins you use.
Regards,
Jesus
Oct 15, 2019
05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 15, 2019
05:34 AM
Hey,
thank you for your quick reply!
Where do I have to change this setting? I didn't see something like that in J-Link Commander. Maybe this sounds weird, but do I have to do something with the chip before flashing the program?
Another obstacle is that I only have the following pins on my pin header: SWCLK (P 0.14), SWIO (P 0.15), GND and VCC.
Do I need more pins to change the BMI?
Thank you again for your help!
Regards,
Nick
thank you for your quick reply!
Where do I have to change this setting? I didn't see something like that in J-Link Commander. Maybe this sounds weird, but do I have to do something with the chip before flashing the program?
Another obstacle is that I only have the following pins on my pin header: SWCLK (P 0.14), SWIO (P 0.15), GND and VCC.
Do I need more pins to change the BMI?
Thank you again for your help!
Regards,
Nick
Oct 16, 2019
03:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 16, 2019
03:53 AM
Hi,
Those pins should be enough.
In JLink commander you can use the commands getbmi/setbmi to change the BMI.
Also inside DAVE4 there is a tool for changing the BMI: once you create a project for your XMC1 family device, in the toolbar will appear a button to launch the BMI Get Set tool.
In your case you should change to SWD0 if you are using SWCLK(P0.15) and SWDIO(P0.14)
Regards,
Jesus
Those pins should be enough.
In JLink commander you can use the commands getbmi/setbmi to change the BMI.
Also inside DAVE4 there is a tool for changing the BMI: once you create a project for your XMC1 family device, in the toolbar will appear a button to launch the BMI Get Set tool.
In your case you should change to SWD0 if you are using SWCLK(P0.15) and SWDIO(P0.14)
Regards,
Jesus
Oct 17, 2019
12:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2019
12:39 AM
Hello Jesus,
thank you very much you gave me the successful hint. Thanks to getbmi and setbmi in J-Link commander I could see and set the BMI. I set the value to 2(User Mode Debug SWD0). Now I can finally connect to the chip an see the values.
Thank you again for you support. You did a really good job!
Regards,
Nick
thank you very much you gave me the successful hint. Thanks to getbmi and setbmi in J-Link commander I could see and set the BMI. I set the value to 2(User Mode Debug SWD0). Now I can finally connect to the chip an see the values.
Thank you again for you support. You did a really good job!
Regards,
Nick