Infineon XMC1000
Solution
SEGGER J-Links / Flashers
By default, J-Link / Flasher changes the BMI from ASC_BSL to SWD0 (P0.14 & P015 used for SWD) if the BMI of the device is ASC_BSL. If a BMI other than SWD0 is required, the default behavior can be simply overwritten using a J-Link Script File. Please find below script files for the other boot modes:
- ASC_BSL to SWD1: Infineon_XMC1000_PCode_SWD1.pex
- ASC_BSL to SPD0: Infineon_XMC1000_PCode_SPD0.pex
- ASC_BSL to SPD1: Infineon_XMC1000_PCode_SDP1.pex
Please note that the J-Link Script Files are pre-compiled (*.pex) thus they neither contain plaintext nor can be modified. If you feel that you need a modified version of the script file, please get in contact with SEGGER directly (e.g. via E-Mail / forum). For further information how to use the J-Link Script File in your environment please refer to https://wiki.segger.com/Using_J-Link_Script_Files
Production programming
In order to change the BMI after programming, a sequence of Exit Steps can be used in our production programming solution JFlash. Here is an example project which changes the BMI back to ASC_BSL after programming: XMC1000_Example.jflash. For other BMI modes, the value in Step 6 (ASC_BSL) needs to be changed accordingly.
On-Board J-Links on Infineon eval boards
For on-board J-Links (J-Link OB) on the Infineon eval board, the automatic switching is not supported. There is a separate utility available in the Infineon DAVE IDE that allows switching between the BMIs via the J-Link OB. This utility does not work with other J-Link models.
Infineon XMC-Link
For XMC-Link, the automatic switching is not supported. There is a separate utility available in the Infineon DAVE IDE that allows switching between the BMIs via the XMC-Link. This utility does not work with other J-Link models.
J-Link EDU Mini
For J-Link EDU Mini, the automatic switching is not supported, as pin override for J-Link EDU Mini is not supported. For support of the automatic switching sequence at minimum a J-Link Base or EDU are required.