LPC-LinkII UCom Port

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

LPC-LinkII UCom Port

Jump to solution
1,840 Views
JiaAn
Contributor I

Hi,

 

When I use my LPC-Link-2 to debug another LPC-Link-2. I found a port called "LPC-LinkII UCom Port"

JiaAn_0-1624862984591.png

What is this port for?

Can I use this port to communicate with LPC-Link-2? I use UART to transfer data now. But if I can use this port it will be awesome.

 

0 Kudos
1 Solution
1,786 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi  JiaAn
I just check LPC-Link2 board. This board is different. It has LPC4370 but no on-board debug link interface. By default, LPCOpen library will probably be redirecting printf to UART. For LPC-Link2 board, it prints to LPC_USART2. check schematic, USART2 is not routed to any UCOM related interface. Thus it's not possible to print data to LPC-LinkII UCom Port.

There is some historical factors regarding this board design. see discussion below:

https://community.nxp.com/t5/MCUXpresso-General/LPC-LINK2-VCOM-port/m-p/1009331

 

Have a nice day

Jun Zhang

View solution in original post

0 Kudos
4 Replies
1,823 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

When use LPC-Link2 as LPC4370 development evaluation board, LPC-LinkII UCom Port is used as a simulated USB COM interface to communicate on board LPC4370.

Whe use LPC-Link2 as a debug probe for another target board,  LPC-LinkII UCom can't work as UCOM for other target board MCU.

Hope this helps.

Best Regards

Jun Zhang

0 Kudos
1,820 Views
JiaAn
Contributor I

@ZhangJennie 

Thanks for the help!

I would like to know is there any example code for using UCom? How should I use UCom while I use LPC-Link2 as LPC4370 development evaluation board?

0 Kudos
1,787 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi  JiaAn
I just check LPC-Link2 board. This board is different. It has LPC4370 but no on-board debug link interface. By default, LPCOpen library will probably be redirecting printf to UART. For LPC-Link2 board, it prints to LPC_USART2. check schematic, USART2 is not routed to any UCOM related interface. Thus it's not possible to print data to LPC-LinkII UCom Port.

There is some historical factors regarding this board design. see discussion below:

https://community.nxp.com/t5/MCUXpresso-General/LPC-LINK2-VCOM-port/m-p/1009331

 

Have a nice day

Jun Zhang

0 Kudos
1,678 Views
brendonslade
NXP TechSupport
NXP TechSupport

Note that we now have the (lower cost) MCU-Link debug probe ($10.99 from NXP) that has a VCOM port available via a header. If you are ok with SWD debug (not requiring JTAG) then this might be a good option. https://www.nxp.com/demoboard/mcu-link

0 Kudos