Where to find the SWO console output?

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

Where to find the SWO console output?

278 Views
Johnny5
Contributor II

I'm trying to route the debug console over SWO, instead of UART.  Where to find the SWO console output?

 

Starting with SDK example: evkbmimxrt1170_semc_cm7 (any other example using debug console should do)

using the peripherals tool - utilities - debug console

                serial port type = SWO

                added SDK component: ulitily.debug_console

                added SDK component: component.serial_manager_swo

                routed SWO to pin D6

                Update code

manually copied from the SDK zip

                fsl_component_serial_manager.c

                fsl_component_serial_manager.h

                fsl_component_serial_port_internal.h

removed

                utilities/debug_console

it compiles successfully

modified code attached

 

Where to find the SWO console output?  There are several Printf in the code, but I can’t find the output.  In the unmodified code, they appear on a COM terminal.

 

MCUXpresso IDE v24.12

SDK_2.x_MIMXRT1170-EVKB 25.3.0.201911251446
Hardware: MIMXRT1170-EVKB

Labels (1)
0 Kudos
Reply
1 Reply

225 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Johnny5 ,

Thanks for your interest in NXP MIMXRT series!

Please help me to check this post. It provided a useful guide and a MCUXpressoIDE project for your reference.

Best regards,
Gavin

0 Kudos
Reply