Difference between revisions of "Apollo2 EVB"
(→Sample projects) |
(→Sample projects) |
||
Line 13: | Line 13: | ||
The following sample projects that demonstrate SWO on the Apollo2 EVB are available: |
The following sample projects that demonstrate SWO on the Apollo2 EVB are available: |
||
− | *[[Media: |
+ | *[[Media:AmbiqMicro_Apollo2_SWO_ES340_Example.zip|Embedded Studio SWO sample project with CMSIS DFP included]] |
This example project does not require any extra settings by the user. The SWO stream can be viewed with e.g. JLinkSWOViewer which is included in the J-Link software and documentation package and is available for free. |
This example project does not require any extra settings by the user. The SWO stream can be viewed with e.g. JLinkSWOViewer which is included in the J-Link software and documentation package and is available for free. |
||
Revision as of 13:59, 6 August 2018
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. JLinkSWOViewer which is included in the J-Link software and documentation package and is available for free.
- 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.