is there a very simple usb demo that is known 100% that it works with a schematic, hex files and fuse settings?
Hi,
Some time ago, about two years ago I successfully got a PIC-4550 to run the USB microchip stack see attachment (I developed a novel 4 channel multimeter (client written in C# .NET) to measure AAA batteries), I must say the USB stack was challenging to get working and it still is cause so much can go wrong and its very bloated (to run all the families using one build)
Here are some tips (things I did as to get my project working)
1) Use the demo supplied example code, unmodified, try out the CDC basic demo its a simple USB to SERIAL demo and it works ! (in fact I used that as a skeleton for my project as I was unable to move, USB library dependences to a custom directory, I used the demo, with all the correct includes )
2) Have you installed the microchip "mchpcdc.inf" driver ?? You must install this driver else no USB communication is established. it comes with the SDK read the demo setup documents.
3) Breadboard a test fixture, as the members already probably described check your connections, I had issues with D-, D+ not making contact with the pins of the PIC resulting in communication issues, so check that out.
4) If you use the " CDC basic demo" you don't need to compile, the SDK comes supplied with the HEX file (pre-built), I would recommend you learn to recompile "tear it apart" and strip it down for one family, like a PIC 4550, 2550 so its bit bit cleaner. (I did this cause at the time I was learning that processor)
Consider this, it took two weeks to get this working and it was fun and $#e%$# at the same time.
Good luck.