Content originally posted in LPCWare by rizsho on Mon Oct 15 06:45:58 MST 2012
Hello!
I'm trying to get a custom board working with the nxpUSBlib CDC driver. I already evaluated the VirtualSerialDevice example on the same board and it works flawlessly. Created a new project from scratch using LpcXpresso, copyed settings from the example and copyed the code also. Works! But when i do the same thing for my project, which is in it's final stage, i can't get it past this line from USB_Init():
"SIE_WriteCommandData(CMD_SET_EP_STAT(PhyEP), DAT_WR_BYTE(0)); /*enable endpoint*/ "
USBView says DeviceEnumerationFailed. I wen't through the config a million times but apparently not enough ;) Did anyone else have a familiar problem?
Thanks, Tomaz