SWO is supported on the Apollo2 EVB.
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.
The following sample projects that demonstrate SWO on the Apollo2 EVB are available:
- 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.