Multiple serial ports

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
timdadd
Posts: 1
Joined: Thu Sep 01, 2011 2:45 am

Multiple serial ports

Post by timdadd » Thu Sep 01, 2011 2:57 am

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

Post Reply