SWO Trace not work,nothing appeared in SWO Views

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SWO Trace not work,nothing appeared in SWO Views

668 Views
wmp
Contributor I

I was trying to use SWO Trace function within MCUXpresso 11.1.0_3209,and I had setup the swo pin function and Trace CLK Divider according to the MCUXpresso IDE SWO Trace Guide and the Ref Man of LPC546XX as below:

From SWO Trace Guide:
pastedImage_1.png

From Refrence Manual LPC546XX:

pastedImage_12.png

Here is what i have done to my project configuration(And I did update the code from the config tools):

pastedImage_13.png

pastedImage_14.png

Also inside file device/system_LPC54608.c
pastedImage_25.png

After all these steps,I started a debug session but it seemed that the SWO  Trace did not work properly,since there was  nothing displayed on the SWO Views,neither SWO Profile nor the SWO Stats.

pastedImage_26.png

Could someone told me what I need to do or what I have missed about the configuration for SWO Trace?

Labels (2)
0 Kudos
1 Reply

603 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to the community ticket:

https://community.nxp.com/docs/DOC-343560

I suppose that you have to configure the SWO pin as SWO function by setting the IOCON_PinMuxSet() function if you use SDK package.

Hope it can help you

BR

XiangJun Rong

0 Kudos