Infineon XMC1000

From SEGGER Wiki
Revision as of 11:38, 15 December 2017 by Erik (talk | contribs) (Created page with "__TOC__ This article describes device specifics of the Infineon XMC1000 microcontroller. == Boot mode == The XMC1000 family supports different boot modes. The actual boot mod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

This article describes device specifics of the Infineon XMC1000 microcontroller.

Boot mode

The XMC1000 family supports different boot modes. The actual boot mode is configured in the Boot Mode Index (BMI) which is a 2 byte value stored in the flash and holding information about the boot mode (start-up mode) and the debug configuration of the device. Infineon decided to factory configure the XMC1000 series devices with boot mode ASC Bootstrap Loader mode (ASC_BSL). Unfortunately, the debug interface of the device is disabled in this mode. So when using J-Link or Flasher, the boot mode needs to be changed before a target connection can be established. As the debug interface is disabled, the change of the boot mode needs to be performed over a half-duplex UART communication on the TMS/SWDIO pin. So what the J-Link software basically does as part of the XMC1000 connect sequence is to check if the device is in ASCL_BSL mode and if so, performs the switching sequence to SWD0 (P0.14 & P0.15 used for SWD) as this configuration is used by 90% of our customers.

However, some customers may want to use a different BMI mode (BMI mode != SWD0) like for example SWD0, SPD0 or SPD1.

For further information regarding this, please refer to the technical reference manual of the Infineon XMC4500 series.


Further information regarding this as well as an example can be found here: Link