Skip to content
Hauke Petersen edited this page Mar 31, 2014 · 2 revisions

Overview

The XMC2Go board is a very cheap and simple evaluation board by Infineon. It features Infineon's ARM Cortex-M0 based XMC1100 micro controller with 16k RAM and 64k of flash. The XMC2Go has a very small footprint (about 1cmx4cm) and is considerably cheap (around 5EUR at hitex)

The board does not come with any radio transceiver.

Hardware

XMC2Go

Flashing the device

The XMC2Go board is shipped with an on-board JLink debugger. Under Linux, the easiest way flashing the XMC2Go is using the [JLink tool from Segger] (http://www.segger.com/jlink-software.html) as described in this german Forum Post.

To interact with the board just start the tool using the following command:

# JLinkExe -device xmc1100-64

Debugging the device using GDB

Debugging via GDB can also be done by using the above mentioned JLINK tool. To start debugging, you need to start the GDB server:

# JLinkGDBServer -device xmc1100-64 -if SWD

Watch out that you specify the device and the interface as command line arguments, otherwise the GDB server will complain that it can not connect to the device.

When the DGB server is running, you can connect to it using your toolchains gdb tool:

# arm-none-eabi-gdb -tui PATH/TO/YOU/binary.elf

The -tui command line option tells the debugger to show your source code, which can be quite useful. Once the GDB front-end ist started, you connect to the JLink GDB server by typing

# tar ext :2331
Clone this wiki locally