Arm Mbed OS support forum

USB Host with LPC 4088 Pendrive configuration

I am working on Custom board of LPC4088 in MCUexpresso enviroment .for quickstart board massstoragehost code works perfect but in my custom board i am getting device enumeration error .
i am geting error code As HOST_ENUMERROR_ControlError and sub error as HOST_ENUMERROR_NoDeviceDetected .The sub error code means that No device was detected, despite the USB data lines indicating the attachment of a device. it happens in HOST_STATE_Default.
I am using Port 0 for configuration . and in HcdIrqHandler HCD status code getting is HCD_STATUS_TRANSFER_Stall.
i am not able to findout why this is happening . can anyone help me on this .
Thank you.