How to output debug message to VCOM(OM13093)

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

How to output debug message to VCOM(OM13093)

925 Views
kimhorng
Contributor I

Hello,

Does anyone know how to send debug message to VCOM?

I have a OM13093 board, and already short the R30 and R29, and my laptop can get the VCOM.

But I still can't get any debug message.

I used LPCopen and printf() function.

Thank you.

Kim

0 Kudos
2 Replies

717 Views
soledad
NXP Employee
NXP Employee

Hi, 

Please check the below links: 

Using printf() 

What is Semihosting? 

https://community.nxp.com/thread/389153 

Have a great day,
Sol

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

717 Views
kimhorng
Contributor I

Update the status,

I can send message to VCOM by Chip_UART_SendRB(LPC_USART, &txring, inst1, sizeof(inst1) - 1);

And send message to Debugger Console by printf when add DEBUG_SEMIHOSTING and set library to Redlib(semihost).

I was wondering if I can send message to VCOM by printf.

How can I do it?

Thanks you

Kim

0 Kudos