Communicate with USB port

Discussion in 'C++' started by Mossh, Sep 10, 2010.

  1. Mossh

    Mossh New Member

    Joined:
    Sep 10, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello all, I dont know if this is the right area but anyway

    Heres my situation:

    I have a software that updates 2 devices firmware's, the software communicates with the devices via Serial Cable(RS-232) , my problem is: I only have 1 serial(COM) port in my motherboard, and i need to update the devices at the same time.

    So i was thinking the easiest way to do this is with a USB to Serial adapter, but, i dont know how to program the software to communicate with the USB port.

    This is what is set in the software:

    Device = gi://tuner@/dev/ttyS0

    I believe ttyS0 refers to the COM1 port, so my question is, what is the "code" to access the USB port, and, is this possible?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice