This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

virtual ports

Hello,

     rather new to the ARM device.  On the dev board I have for the 123 series the ICD USB port enumerates as a virtual com on my PC that I can connect to through any hyper-term like app. Is there any way to have the OTG port on the dev board do the same thing? be a virtual COM port on the PC? While the ICD port is also connected to the PC as a virtual COM port. If you could point me to any example code that would be great.

Thanks

  • Hello Patrick,

    Yes. If you are referring to the DK-TM4C123 then it can be done with the example

    C:\ti\TivaWare_C_Series-2.1.0.12573\examples\boards\dk-tm4c123g\usb_dev_serial

    Regards
    Amit
  • hello amit,

      thank you for the reply.  what i am trying to do is use the otg port to communicate with a PC. this will be the normal mode of operation when the product is finished. Right now i also need to use the ICD port to debug/instrument the code in the 123g chip. Put another way the chip and the operators PC wil have a two conversation and I want to be able to listen to this conversation and output info to another PC through the ICD port.

    will the example provided help me to do that? I did review it quite extensively and I am still confused.

    on the DK : I currently use the ICD port and UART0 to communicate with the PC. I wish to use the OTG port to do this. Is it a matter of setting the OTG port up and transfering the data to another UART and modifying my current code to use that UART instead of UART0? 

    Assuming the above is true. Then the ICD port and UART0 will be usable as debug/intrumentation ?

    Thank you for consideration of this problem. USB and ARM are still a bit new for me. RS232 and PIC's are what I came up with.

    Pat

  • Hello Patrick,

    Yes, the example is meant for messaging between the ICDI and PC via the OTG port. Changes have to be made to the existing application to remove ICDI and instead just rely on the OTG port.

    Once the code is modified for OTG Serial communcation, JTAG and UART0 will be instrumentation only.

    Regards
    Amit