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??
A quick search of "Boot Mode Index" come up with various document and a discussion thread on Infineon website:
TIP of the day: Changing XMC1000 Boot Mode Index (BMI)
If the BMI was set in ASC_BSL (Bootstrap Loader mode), you can download code to the SRAM via UART or SPI and change the BMI by running a small routine in the ROM.
There are some document about BMI on Infineon website:
BMI (Boot Mode Index)
http://www.infineon.com/dgdl/Infineon-IP_BMI_XMC1-TR-v01_00-EN.pdf?fileId=5546d4624ad04ef9014b0780c2af2264&ack=t
XMC1100 Boot Kit
http://www.infineon.com/dgdl/XMC1100_Boot_Kit_Getting_Started_v1_2.pdf?fileId=db3a30433da119ff013da234ec27141c&ack=t
Since Boot Mode Index is a propriety feature in Infineon microcontrollers, I don't have further visibility of how it work internally.
If you need further help, Infineon forum might be the best place for you to ask for help: http://www.infineonforums.com/
regards,
Joseph