Hello Nelson Lobo:
Basically the OpenSDA interface (K20) acts as a UART to USB CDC bridge. It means that the KL25 sends data to K20 using UART0 TX pin as you noticed, but such data is then mounted over a USB CDC class firmware in the K20 and sent to the PC; or the other way around, the K20 receives data from the PC over USB CDC class and translates that information to raw UART data for the KL25 (RX pin).
If your custom board does not integrate OpenSDA then to use the same project you need to implement such bridge somehow. For example you can use the USB2SER Freescale board.
Another option if you want to interface the KL25 to the PC directly using USB module then you can integrate the USB CDC device class in the KL25 itself. There are example projects in KSDK installation:
C:\Freescale\KSDK_1.2.0\examples\frdmkl25z\demo_apps\usb\device\cdc\virtual_com\bm
I hope this helps to clarify.
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------