Page 1 of 1

Multiple serial ports

Posted: Thu Sep 01, 2011 2:57 am
by timdadd
Hi, just joined the forum and wondered if someone could help or point me in the right direction. I have a very simple application where I have an ATMEGA running a programme and communicating with an intelligent serial device. This intelligent serial device can also be programmed with firmware updates.

So what I wanted to do was configure another ATMEGA as a USB device which the PC sees as two serial ports, if I talk to one SERIAL port it programmes/communicates with the ATMEGA, if I talk to the other SERIAL port it programmes/communicates with the serial device.

So in summary:
/--- ATMEGA that needs firmware upgrades
PC <--USB-->> V-USB-MEGA
\----- Serial device that needs firmware upgrades.

Has anyone set the V-USB code up to have two logical devices (COM3/COM4) from the one physical USB port?

Regards,
Tim