HI All
Is it possible to use SWO trace on this development environment conditions?
[condition]
Checking the SWO trace status, it seems not working?
Do I need to configure something on the MCU?
Solved! Go to Solution.
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:
Hi Peter,
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.
Greetings,
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:
https://www.nxp.com/docs/en/application-note/AN13206.pdf
(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):
https://mcuoneclipse.com/2019/06/03/swo-with-nxp-i-mx-rt1064-evk-board/
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?
Hi,
Have you set GPIO_B0_13 pin mux to swo? GPIO_B0_13 is a boot config pin. On RT1060 EVK, it is connected to VDD or GND.
Regards,
Jing