Unable to Set Boot Mode Index From ASC_BSL to SWD0

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

cross mob
Not applicable
Hi,
I am working on XMC1100 Controller, While changing the Boot Mode Index from ASC_BSL to SWD0 it fails, but if i tried to Change the Boot mode Index from ASC_BSL to SWD0_HAR it successfully changed and vice versa too, here i am not getting why it is not switching from ASC_BSL to SWD0, I tried the same thing using "JLink.exe" by " SetBMI 2" command it say Ok but when i check the mode in Dev by "get BMI" it saying ASC_BSL mode should i have to configure any thing else in order to switch from ASC_BSL to SWD0 ??
I am Using Dev v.3.18.

Thanks and Regards.
0 Likes
4 Replies
User10611
Level 1
Level 1
Hi,
this works in my application using the following code:

#define SWD0 (0xF8C3) // SWD0 (P0.14, P0.15) with User Mode Debug
XMC1000_BmiInstallationReq( SWD0 );

Regards
0 Likes
Not applicable
Thanks for Reply,
Using ASC_BSL i tried your mode but still it was showing ASC_BSL when i tried to Get BMI using DAVE

Regards,
0 Likes
lock attach
Attachments are accessible only for community members.
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi all,

You may want to refer to this BMI project which is used to recover from User Productive mode to ASC_BSL using VADC control.

Best regards
Travis
0 Likes
Not applicable
Thanks for Reply
0 Likes