How to output debug message to VCOM(OM13093)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to output debug message to VCOM(OM13093)

1,641件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,433件の閲覧回数
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 件の賞賛
返信

1,433件の閲覧回数
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 件の賞賛
返信