I need to know the basics about the usb communication between pc and micro controller. I was able to establish the usb communication. Micro controller used is pic18f4550. The device is connected to pc as hid device.
I need to know the following topics,
what happens when a usb device is connected to pc?
How the pc detects the device as specific device?
what are the communications b/w pc and device?
The things you are asking in the forum are as long as a 500 page book.
Its better to buy a book and start reading.
One good book on USB which i know is USB Complete by Jan Axelson
Apart from that you can read PIC Micro-controllers project from USB to RTOS, in this book you can read about USB HID Class.
what happens when a usb device is connected to pc?