EmbeddedRelated.com
Forums
Memfault Beyond the Launch

usb

Started by eugene July 1, 2006
Can somebody give me resources on how to develop a serial to usb
device? I'm not allowed to use rs232 to usb ICs so I have to develop my
own!

Already have the USB specification.

Thanks

On 1 Jul 2006 18:35:30 -0700, "eugene" <pebrian27@yahoo.com> wrote:

>Can somebody give me resources on how to develop a serial to usb >device? I'm not allowed to use rs232 to usb ICs so I have to develop my >own! > >Already have the USB specification.
Get Jan Axelson's book, "USB Complete" and check out the resources on her website, www.lvr.com. Robert Scott Ypsilanti, Michigan
On 1 Jul 2006 18:35:30 -0700, "eugene" <pebrian27@yahoo.com> wrote:

>Can somebody give me resources on how to develop a serial to usb >device? I'm not allowed to use rs232 to usb ICs so I have to develop my >own! > >Already have the USB specification. > >Thanks
Use a PIC18F2450 (http://ww1.microchip.com/downloads/en/DeviceDoc/39760a.pdf), which has USB and a hardware UART, and get Microchip Application Note AN956 (http://ww1.microchip.com/downloads/en/AppNotes/00956b.pdf) and the software for this AN (http://ww1.microchip.com/downloads/en/AppNotes/CDC_RS232_Emulation.EXE). This gives you a working USB CDC communication layer, so most of the work is already done. PC drivers for CDC standard devices are already included in W2k/XP, so you won't have to worry about Windows kernel mode programming either. You will need MPLAB (free, http://ww1.microchip.com/downloads/en/DeviceDoc/mp740_full.zip), the ICD2 ISP programming/debugging interface (about 150$, http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010046&part=DV164005), and the Microchip C18 C compiler (about 300$, maybe the Student Edition is enough: http://ww1.microchip.com/downloads/en/DeviceDoc/MPLAB-C18-Student-Edition-doc-v3_02.exe) for this task. Maybe the PCDEM USB starter board (http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en021940&part=DM163025) is helpful for the first steps. Mit freundlichen Gr&#4294967295;&#4294967295;en Frank-Christian Kr&#4294967295;gel

Memfault Beyond the Launch