bigdogguru
Administrator
- Joined
- Mar 12, 2010
- Messages
- 9,821
- Helped
- 2,350
- Reputation
- 4,694
- Reaction score
- 2,272
- Trophy points
- 1,413
- Location
- Southwest, USA
- Activity points
- 62,383
The idea is very simple first, create a driver that connect to my application in window and I can control LED on and off on board via USB...
The simplest solution to implementing a USB interface from the PIC18F4550 to a PC would be to implement a CDC class device in serial emulation mode.
Utilizing this technique requires no driver development and utilizes existing drivers found in most operating systems.
In the case of a Windows OS you simply modify the INF file to load the correct existing driver.
The following Microchip appnote details the implementation of a CDC class device in serial emulation mode using PIC devices, although most microcontrollers which offer full CDC class compliance can be used in similar designs.
An advantage of this method is the PC application will see
the USB connection as an RS-232 COM connection and
thus, require no changes to the existing software.
Another advantage is this method utilizes a Windows®
driver included with Microsoft® Windows® 98SE and
later versions, making driver development unnecessary.
AN956 Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software
AN1164 USB CDC Class on an Embedded Device
BigDog