Template for Infineon's XMC4500 Relax (Lite) Kit for UNIX-based operating systems
Requirements:
- CMSIS folder from DAVE 3: http://www.infineon.com/dave
- ARM GCC crosscompiler, e.g.
- GCC ARM Embedded: https://launchpad.net/gcc-arm-embedded
- Sourcery CodeBench Lite (EABI): http://codesourcery.com/gnu_toolchains/arm
- For deployment/JTAG-Debugging:
- J-Link Linux Software http://www.segger.com/jlink-software.html
- GNU Make
You need to rename a file inside the CMSIS directory, because else gcc is not able find the System_XMD4500.c file. This seems to be a UNIX-only problem since windows-gcc is case-insensitive regarding filenames.
cd CMSIS/Infineon/XMC4500_series/Source
mv system_XMC4500.c System_XMC4500.c
-
Edit the Makefile and adapt the CMSIS Path.
-
Type make
-
Connect your evaluation board to usb, start the gdb-server with:
JLinkGDBServer -Device XMC4500-1024 -if SWD
-
Type make install
You need to provide your serial number to download the J-Link Tools. To get them, you can connect your board to a windows pc and install the DAVE supplied J-Link package. After opening J-Link Commander you will see the serial number in the command window.