lpcware

LPCOpen USB Virtual Serial ROM Driver Project Not Working

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by sarangkalbande on Tue Aug 27 06:13:55 MST 2013
Hi all,
I am working on LPC 11U37 uc and tried USB project from LPCOpen(Virtual serial ).
I am using ROM USB Drivers from the project.

the main logic is like

int main(void)
{
SetupHardware();

for (;; ) {
#if defined(USB_DEVICE_ROM_DRIVER)
UsbdCdc_IO_Buffer_Sync_Task();
#endif

#if (CDC_TASK_SELECT == ECHO_CHARACTER_TASK)
EchoCharacter();
#else
CDC_Bridge_Task();
#endif

}
}


Now here PC detects USB as a COM Port but echo character function is not working?
even I have tried sending data directly using UsbdCdc_SendData(UsbBuff,4); this function
but same result.

what could be the problem?

Outcomes