Where to find the SWO console output?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Where to find the SWO console output?

330 次查看
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

标签 (1)
0 项奖励
回复
1 回复

277 次查看
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 项奖励
回复