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?
Thanks for your help. It worked fine.