User Tools

Site Tools


manual:demos:infineon_xmc4700_relax_kit_gcc

This is an old revision of the document!


ARM-CM4 XMC4 Infineon XMC4700 Relax Kit GCC

Supported firmware update interfaces

UART CAN USB TCP/IP SD-card
Yes Yes No No No

Development Environment

This demo is targeted towards the Infineon XMC4700 Relax Kit board, with 2048 kB internal Flash EEPROM and 352 kB internal RAM.

To program the bootloader into the internal flash on the XMC4700 microcontroller, the on-board Segger J-Link JTAG interface was used. However, this is not required if you have another means of programming the internal flash. When using the on-board Segger J-Link JTAG interface, make sure the J-Link software and documentation pack V6.00d or newer is installed on your PC.

To compile the demo programs you can use the EmBitz development environment from Em::Blocks. The version that was used to create these demo programs was EmBitz version 1.00.

Building and programming the Bootloader

Before the bootloader can be used, it needs to be built and programmed into the XMC4700's internal flash memory. The steps in this section only need to be done once.

When using EmBitz, simply open the project file by double-clicking the file: \Target\Demo\ARMCM4_XMC4_XCM4700_Relax_Kit_GCC\Boot\ide\xmc4700.ebp from the Windows Explorer. To build the bootloader, select Build → Rebuild all target files from the program menu.

The bootloader program is now ready to be programmed into the internal flash memory of the XMC4700. Make sure the board is powered up and that its on-board debugger interface (X101) is connected to your PC through a USB cable. You could use a second USB cable (X100) to power the board. Next, select Debug → Start Debug Session (F8) from EmBitz's program menu to flash the bootloader program. Once done, you can start the bootloader program by selecting Debug → Run (F5) from the program's menu.

Alternatively, you can use your favorite programmer to flash the bootloader using one of the following files, depending on what file type your programmer supports:

  • \Target\Demo\ARMCM4_XMC4_XCM4700_Relax_Kit_GCC\Boot\bin\openblt_xmc4700.elf
  • \Target\Demo\ARMCM4_XMC4_XCM4700_Relax_Kit_GCC\Boot\bin\openblt_xmc4700.srec

Building the Demo Program

When using EmBitz, simply open the project file by double-clicking the file: \Target\Demo\ARMCM3_STM32F2_Olimex_STM32P207_GCC\Prog\ide\stm32f207.ebp from the Windows Explorer. To build the demo program, select Build → Rebuild all target files from the program's menu.

The output file is

  • \Target\Demo\ARMCM3_STM32F2_Olimex_STM32P207_GCC\Prog\bin\demoprog_stm32f207.srec

Firmware update procedure

To download the demo program \Target\Demo\ARMCM3_STM32F2_Olimex_STM32P207_GCC\Prog\bin\demoprog_stm32f207.srec using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use:

manual/demos/infineon_xmc4700_relax_kit_gcc.1477291115.txt.gz · Last modified: 2019/09/24 22:13 (external edit)