1) Does MCUXpresso support SWO trace from an RT1176?
RT1170_BriefOverview_v110.pdf states the following:
While the MCU does support SWO, this feature is not available at the time of writing in the MCUXpresso IDE v11.3.1 + SDK tools.
It is expected that a later version of the tools will add support for SWO trace.
2) Does MCU-LINK debug probe support SWO trace? (from an RT1176)
MCU-LINK is not one of the listed debug probes in MCUXpresso IDE SWO Trace User Guide (Rev 11.4.0 — 15 July, 2021)
This lists SWO support from the following debug probes:
SWO is supported by MCU-Link - looks like we just missed that in the User Guide. We'll get it corrected in the 11.4.1 release coming in September.
Thanks for reporting this.
Hi @jingpan -san
Thank you for the sample code.
But not works.
I get the same message with own project.
This is the message when press "resume data display" button.
Your code doesn't seem to have any special settings, right?
I'm using LinkServer proves for debug. Can SWO be used with Link Server proves?
Please take a look at the following article: https://community.nxp.com/t5/MCUXpresso-Community-Articles/Overview-of-using-the-MIMXRT1060-4-EVK-wi...
SWO is supported only by LPC-Link2 firmware, not by DAP-Link.
MCUXpresso IDE Support
There is a more up to date (simplified) version of how to update the firmware on the i.MX RT1060 EVK in this application note:
(This is posted on the i.MX RT1060 product page)
You might find this article from Erich Styger's blog useful (note that this was written before the information on how to switch the on-board debug probe firmware to the LPC-Link2 firmware was published, so he used an external LPC-Link2):
Hi @brendonslade -san
Thanks to you I could ran SWO.
However, port for SWO trace, has use same port for PWM in my application.
So I try to use "IOMUXC_GPIO_B0_13_ARM_TRACE_SWO" port instead of "IOMUXC_GPIO_AD_B0_10_ARM_TRACE_SWO" port, but not works.
Do you know how to use "IOMUXC_GPIO_B0_13_ARM_TRACE_SWO" port for SWO?
Or is it unusable?