Here is the pictures of my AVRopendous "USBtoSerial_AVR_ISP_Programmer

2 views
Skip to first unread message

Jorge Pinto aka Casainho

unread,
Oct 28, 2008, 3:38:22 PM10/28/08
to MyUSB mailing list
Hello :-)

This programmer firmware uses MyUSB Lib :-)

Gary Holbrook

unread,
Oct 28, 2008, 8:42:14 PM10/28/08
to myusb-sup...@googlegroups.com
That ROCKS!

Gary Holbrook

unread,
Oct 28, 2008, 8:49:38 PM10/28/08
to myusb-sup...@googlegroups.com
I'm sorry to be a bit thick, as I only follow the newsgroup now and
again. Do I remember correctly that it isn't possible to get the
Windows default CDC driver to enumerate two serial ports from the same
USB device? Getting the firmware programmer to enumerate one
programming COM port and one debugging COM port would be slick...




-----Original Message-----
From: myusb-sup...@googlegroups.com
[mailto:myusb-sup...@googlegroups.com] On Behalf Of Jorge Pinto
aka Casainho
Sent: Tuesday, October 28, 2008 3:38 PM
To: MyUSB mailing list
Subject: [MyUSB Support List: 344] Here is the pictures of my
AVRopendous "USBtoSerial_AVR_ISP_Programmer

abcmi...@gmail.com

unread,
Oct 29, 2008, 2:46:38 AM10/29/08
to MyUSB Support
The latest MyUSB version comes with a DualCDC demo. While the normal
CDC driver cannot do two serial ports, by using the (not very widely
supported) "Interface Association Descriptor", a compound device with
two separate CDC interfaces can be made to work under Vista, XP (with
a hotpatch) and possibly *nix systems.

- Dean

On Oct 29, 11:49 am, "Gary Holbrook" <gholbr...@digitalintuition.com>
wrote:

MrZA...@gmail.com

unread,
Nov 5, 2008, 4:35:27 AM11/5/08
to MyUSB Support
Hi Dean.

What happens in windows if you don't have the hotpatch installed?
Do you still see one UART or does it just ignore it compleatly because
of "faulty" descriptor?

/Jimmy

abcmi...@gmail.com

unread,
Nov 5, 2008, 7:11:40 AM11/5/08
to MyUSB Support
I haven't tried it myself (I believe all my machines are hotpatched)
however I can hazard a guess. Without the hotpatch the device will
enumerate with two non-functional COM ports. This is because the four
CDC interfaces (two control and two data) will be enumerated
separately, with only two of the four being enumerated as COM devices
with the other control interfaces discarded. Without both the control
and the data interfaces being linked together, neither COM port will
work correctly and you will not be able to open and use either port.

- Dean

ghol...@digitalintuition.com

unread,
Nov 9, 2008, 11:17:04 PM11/9/08
to MyUSB Support
Any idea what that hotfix is? I compiled the example and loaded it
onto my USBKey, and only one port appears functional. Since I was
able to get a 162 board loaded and tested with the ICSP software
earlier, I'm really excited about getting two serial ports on one
device.

By the way, simply being able to program a board using the USB chip is
really nice. I'm working on a Mega2560 board, and I'm putting an
AT90162 on it. If I have to, I'll install a toggle switch to change
between programming mode and uart comm mode...either way, it beats
having an external programmer with an external USB-UART adapter.

abcmi...@gmail.com

unread,
Nov 9, 2008, 11:26:13 PM11/9/08
to MyUSB Support
Gary,

The hotfix I was thinking of is located for download here:
http://support.microsoft.com/kb/918365 - it is only for XP, as Vista
contains an updated version of the usbser.sys driver.

If I can ever figure out how to write my own drivers, I could have a
lot of
fun. Microsoft's built in drivers are comprised of three lines of
logic,
prayers and chewing gum, and it would be nice to have some decent
open
source alternative (but compatible) drivers for the standard classes.

- Dean
Reply all
Reply to author
Forward
0 new messages