Ports
May 24, 2013, 12:20:08 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: Communicate with USB port  (Read 1457 times)
mossh
Member
*
Posts: 1


« on: September 10, 2010, 09:15:19 am »

Hello all, first of all forgive me for my lack of knowledge, im not a coder, im just a random computer user

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?

I use windows by the way.
« Last Edit: September 10, 2010, 09:24:37 am by mossh » Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1629


WWW
« Reply #1 on: September 10, 2010, 10:33:04 am »

The adapter will show up as a second COM port. Applications access it in the same way as any serial port.

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

looks like a path in MPCS.CONF for gbox.

Jan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!