Picbits Sales wrote: > I'm interested in porting over some of my applications from the 18F series which use serial RS232 to communicate with the outside world. > > My requirements are quite simple - I want to plug an 18F4550 or similar into a PC USB port and have it recognised as a virtual com port. > > I don't need anything spectacular - I want to send and receive either packets of RS232 information or single bits (either will do). > > I've gone round in a few circles trying to work out the best way of doing this. I've had a look at the Microchip CDC firmware but I'm not a "C" man - I work in assembly. > > So to sum it up - I need a no frills USB to RS232 routine where I can send the routine a byte or packet of data and the PIC will send it out to the PC via USB emulating an RS232 controller. Likewise when the PC sends a byte back to the PIC through a virtual com port or packet of data the PIC receives this through the USB and I can read it on the PIC. > > All the code routines I've found so far have either been in 'C' or had lots of bells and whistles attached. If I have to spend a few weeks learning 'C' then I will but thought I'd pick your wonderful brains first. > > Thanks > Dom This is the only asm usb code I've seen http://pe.ece.olin.edu/ece/projects.html -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist