Dec 22, 2018
04:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 22, 2018
04:51 PM
I've been using the XMC and have been able to connect and debug successfully with the XMC1300 bootkit. However, when I try to connect to a XMC1300 microcontroller, the connection fails. I've checked the board connections multiple times and also I'm fairly certain that this is not an issue with DAVE, since I am only testing the JLINK connection. Below are pictures to explain my issue:
Bootkit connection working:
Microcontroller connection not working
Is there any explanation as to why it's not working? Anything I could try? I've checked the connections multiple times and they are definitely right.
Thanks and Regards,
Adi
Bootkit connection working:
Microcontroller connection not working
Is there any explanation as to why it's not working? Anything I could try? I've checked the connections multiple times and they are definitely right.
Thanks and Regards,
Adi
1 Reply
Jan 08, 2019
04:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 08, 2019
04:44 AM
Hi,
The XMC1300 out of the fab is in UART BSL mode. You will need to change the BMI so that the debug interface, SWD0 or SWD1 (depending on the pins you are using), is enabled.
You can check the current BMI by using the Jlink commander command getbmi. If in UART BSL you should get a 0.
You can change the BMI using the JLink Commander command setbmi. The command without any parameter will display all options that are accepted.
Regards,
Jesus
The XMC1300 out of the fab is in UART BSL mode. You will need to change the BMI so that the debug interface, SWD0 or SWD1 (depending on the pins you are using), is enabled.
You can check the current BMI by using the Jlink commander command getbmi. If in UART BSL you should get a 0.
You can change the BMI using the JLink Commander command setbmi. The command without any parameter will display all options that are accepted.
J-Link>setbmi
Syntax: SetBMI
Valid values for:
0 ASC Bootstrap Load Mode (ASC_BSL)
1 User Mode (Productive)
2 User Mode (Debug) SWD0
3 User Mode (Debug) SWD1
4 User Mode (Debug) SPD0
5 User Mode (Debug) SPD1
6 User Mode (HAR) SWD0
7 User Mode (HAR) SWD1
8 User Mode (HAR) SPD0
9 User Mode (HAR) SPD1
Regards,
Jesus