i tried the mikroc pro hid example code in help. it is working great in proteus but when i program the same program in 18f4550, it was complete dead. i dont know what is the problem.
i read that in a forum that i need to set register values of project.
anyone has used that code in hardware?? if yes plz give me register settings or post your project.
What is the oscillator frequency you are using? 48MHz? PIC18F4550 runs at 25 MHz max. zip and post your project files and proteus file. Do you use mcHID.dll?
take a look at datasheet section 2.3 Oscillator Settings for USB
there are only some good oscillators possibilities for usb to work properly
in proteus, the simulation is always good for that timing... but not in real life.