Apollo2 EVB

From SEGGER Wiki
Jump to: navigation, search

SWO

SWO is supported on the Apollo2 EVB.

Requirements

In order to make SWO working correctly, min. J-Link software V6.30g is required. Previous versions are not guaranteed to work correctly with SWO.

Pin used on MCU

On the Apollo2 EVB, PAD41 has been wired by Ambiq Micro as SWO output pin.

Sample projects

The following sample projects that demonstrate SWO on the Apollo2 EVB are available:

This example project does not require any extra settings by the user. The SWO stream can be viewed with e.g. J-Link SWO Viewer which is included in the J-Link Software and Documentation Pack and is available for free. This project has been created with Embedded Studio V3.40.

  • IAR EWARM sample project
  • Note: IAR does not handle the special setup needed for this particular target device automatically so the project setting "CPU clock" must be set to CPUClock/8. Any other value will not output the SWO printf stream.