Two things could be the reason.
One is the project that you modifed for spartan 3AN is not proper or the connections between the Spartan 3An and the FX2LP are not proper.
When doing bulk in transfer for usb 3.0(CYUSB3KIT-001), this is the error generating please help on this.....
BULK IN transfer
BULK IN transfer failed with Error Code:997