Now with CMSIS FreeRTOS I could get software enumerating USB Serial Device (COM Portx) in Device manager. I verified the Vendor ID and Product ID which matches with Hardware IDs in driver properties and it is exactly the same I configured in Software file "USBD_Config_0.c" under device settings 1. VendorID and 2. Product ID.
Now I took the INF file and two other cat files (x64.cat and x86.cat).
Two changes that I made in INF file was, (1) included Vendor ID and Product IDs,
(2) In Class = Modem instead of class =Ports (For Virtual com port).
After this change, when I tried to update the driver, I get the following error,
"Windows encountered a problem installing the drivers for your device" and
"The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering".
What to do with cat files, or what is the error, please help me.
Windows encountered a problem installing the Driver software for your Device. The only solution tothis problem is that you need to either update thedriver or if that does not work, uninstall and reinstall the device driver. For that, you have to use DeviceManager. ... Right-click on that driver and select Update Driver
The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering. If you know the manufacturer of your device, you can visit its website and check the support section for driver software. There are no compatible drivers for this device. Here are the solutions to the problem： https://docsbay.net/using-older-models-with-windows-8-and-10 Hope it helps！
View all questions in Keil forum