AnsweredAssumed Answered

Enabling SWO Debug console on RT1060

Question asked by Alistair Lowe on Nov 3, 2018
Latest reply on Nov 7, 2018 by Alice_Yang

Hi guys,

 

When I load the default BSP package in Keil for the MIMXRT1060-EVK, my debug console is automatically configured for LPUART as below:

/* Initialize debug console. */
void BOARD_InitDebugConsole(void)
{
uint32_t uartClkSrcFreq = BOARD_DebugConsoleSrcFreq();

DbgConsole_Init(BOARD_DEBUG_UART_BASEADDR, BOARD_DEBUG_UART_BAUDRATE, BOARD_DEBUG_UART_TYPE, uartClkSrcFreq);
}

 

I would like to change this to SWO but I'm unsure what settings to use. Is anyone able to advise?

 

Is there any way to auto-configure this like I can for pins/clock/peripherals?

 

Many thanks

Outcomes