USB PIC - PC communication
Hi,
if you wont a quick, clean and safe solution, use Microchip's PICDEM FS USB DEMO environment. You will get a demo board (Part # DM163025) and all the software, documentation, sample code you need for your solution. You can also download the newest versions ot that for free.
The demo software contains two approaches, a HID and a COMport emulation (CDA). With the COMport emulation you can make use of the full USB speed, the HID is slower. Also you will get the Bootloader, so you can configure your own devices as USB compliant. The Demo environment ist dedicated to the PIC18F4550/2550 device family. I'm using all four types 4550, 4455, 2550 and 2455 for my projects.
To program new devices with the bootloader, you need a Programmer like PICkit 2. The cost of all this stuff, including the PICkit 2, will make about 100,00 Eur.
In addition to that the demo package contains the develop tools to program your own USB device driver.
I made some prototyping with the COMport emulation (CDA) like digital oscilloscope, FFT analyzer, tuner frequency control and other control functions for synthesizer and DSO devices. They all are working fine so I'm fully satisfied.
Erhard