After connecting custom USB device, device appears on Windows Device Manager, during tracing these functions are called:
usbd_cls_init usbd_cls_sof
But the following functions are never called:
usbd_cls_dev_req usbd_cls_ep_req usbd_cls_if_req
Main function is consist only from empty loop:
while(1) ;
Do I need to pool some USB driver function in main?
GeorgD
Why don't you use latest MDK and middleware?
The last version of the middleware (Version 6.4) improves USB Custom Class support considerable.
See here: http://www.keil.com/pack/doc/mw/USB/html/_custom_class.html You may take the template files USBH_Config_CustomClass.c/h as starting point for your implementation.