...the world's most energy friendly microcontrollers
2012-05-31 - t0014_0.11
20
www.energymicro.com
10 Debugging
The EFM32GG-STK3700 contains an integrated debugger, which can be used to download code and
debug the EFM32 Giant Gecko MCU. In addition to programming the microcontroller on the kit, the
debugger can also be used to program and debug external Energy Micro devices.
10.1 Debug Modes
Programming external devices is done by connecting to a target board through the provided debug
connector, and by setting the debug mode to OUT. The same connector can also be used to connect
an external emulator to the EFM32 MCU on the kit, by setting the debug mode to IN. A summary of the
different supported debug modes are described in Table 10.1 (p. 20) .
Table 10.1. Debug modes
Mode
Description
Debug MCU
In this mode the on-board debugger is connected to EFM32 on the EFM32GG-STK3700.
Debug IN
In this mode the on-board debugger is disconnected, and an external debugger can be connected to
debug the EFM32 on the EFM32GG-STK3700.
Debug OUT
In this mode the on-board debugger can be used to debug an EFM32 mounted in your own
application.
Selecting the active debug mode is done with a drop-down menu in the energyAware Commander tool,
which is available through Simplicity Studio.
10.2 Debugging during battery operation
When the EFM32 is powered by the battery and the USB is still connected, the on-board debug
functionality is available. If the USB power is disconnected the debug controller on the kit will not work.
To enable debugging in this mode, connect an external debugger (e.g. another EFM32GG-STK3700)
to the debug pads in the bottom right corner of the EFM32GG-STK3700. These pads are connected
directly to the EFM32 debug interface. The pinout of this debug connector is printed on the PCB, and
is also shown in the lower right corner of Figure 9.1 (p. 15)
Summary of Contents for EFM32 Giant Gecko Starter Kit
Page 31: ......