The code that I got from Keil website works for me, with the given hex file. But when I compile and generate a hex file on my pc and use it, it isn't working and the USB HID is not detected. I tried with Keil uVision4 and 5 and they didn't work. Can anyone help me solve this issue?
Yep...I have installed the legacy pack.but after compilation the code of USB HID in my PC and using the hex file created, USB HID is not recognized by my PC.but while using the hex file given with example code, the USB HID is recognized. I cannot find what the problem is.