On Fri, Oct 2, 2009 at 7:27 AM, Harold Hallikainen wrote: > I'm now digging in to running USB on a PIC32. In the past, I've just used > chips from FTDI or Silicon Labs to convert USB to a UART. I'm playing with > the PIC32 USB Starter Board and trying to figure out what direction to go > here. > > All I really want to do is pass bytes from the host to the USB device and > have it send bytes back, just like a UART. Microchip provides a demo using > the Communications Device Class. I have their demo working and am playing > with adapting it to my needs. > > I understand that most OSs include standard drivers for various USB > devices. Is this the case for CDC devices? Can an application talk to a > CDC device without having to install any drivers? > > Is CDC the most appropriate class to use in such an application? I'm just > sending ascii commands and getting responses. > It should work out of the box under Linux and Mac OS X. But you need an INF file for Windows. Windows CDC-ACM driver (usbser.sys) is also problematic, especially under Windows 2k/XP. Windows Vista has a better usbser.sys driver. -- Xiaofan http://mcuee.blogspot.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist