GD-Link V2 Adapter User Guide
27
of "Download and Debug" in the IAR menu bar to enter the debugging interface, as shown in
Figure 3-28. IAR debugging interface.
Figure 3-28. IAR debugging interface
Debugging with Eclipse
Complete the Eclipse configuration and debugging according to IDE programming chapter.
3.3.2. SWO function
The Serial Wrie Output (SWO) function uses the ITM (Instrumenttaton Trace Marcrocell)
module in the Cortex-M kernel to output debugging information in the kernel through the SWO
pin of the chip. The connection mode between the burner and the chip is referred to Figure
2-4. SWD + SWO interface connection diagram.
Note: For details about whether the chip supports the SWO function, see the corresponding
user manual and datasheet.
SWO configuration in KEIL
Select the Debug tab in Options for Target and select CMSIS-DAP ARMv8-M Debugger from
the drop-down list, referring to Figure 3-29. SWO configuration step 1 in KEIL.