How to change the BMI(Boot Mode Index) with Serial Wire Debug Protocol???

Greetings,

sir/madam i am working on serial wire debug protocol. I was implemented serial wire debug protocol, which was successfully tested for used controllers like xmc1100,xmc4500..etc, when i tried to Access the control on newer controller i.e xmc1100 it is not taking the SWD commands by searching on internet i notified by one point that if the controller is with ASC_BSL as boot mode index we can't access, we must change the BMI value to SWD0 in order to access with serial wire debug protocol, i am not getting how to change the Boot mode index could you please tell me how can i change BMI to SWD0 manually by using SWD protocol??