How to see log and burn from debug UART

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

How to see log and burn from debug UART

2,200 Views
wade985136
Contributor II

IDE LPCXpresso V8.2.2

IC 1837 

Turn on UART0 and connect to PUTTY
But I didn’t see the message. How can I fix it?

#define DEBUG_UART LPC_USART0   

void Board_UART_Init(LPC_USART_T *pUART)
{
//Chip_SCU_PinMuxSet(0x6, 4, (SCU_MODE_INACT | SCU_MODE_FUNC2)); /* P6,4 : UART0_TXD */
Chip_SCU_PinMuxSet(0x2, 0, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC1));/* P2.0 : UART0_TXD */
Chip_SCU_PinMuxSet(0x2, 1, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC1));/* P2.1 : UART0_RXD */
}

0 Kudos
4 Replies

2,134 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Barry,

Are you using the OM13076?

Why did you comment the P6.4 pin?

Best Regards,

Alexis Andaloin

0 Kudos

2,134 Views
wade985136
Contributor II

YES OM13076

what? 
I asked how uart0 debug
No P6.4 pin
Can you understand what I mean?

0 Kudos

2,134 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Barry,

The OM13076 has an internal debugger that also works as USB to Serial, this USB2Ser is connected to the P2.0/P6.4 that can be changed using the JP11. So be sure that this jumper is set correctly.

Best Regards,
Alexis Andalon

0 Kudos

2,134 Views
wade985136
Contributor II

It has been resolved.
Thank you.

0 Kudos