I am having a issue with USB CDC (running in a LPC1788). If I power up a mother board with the USB cable (NXP device) already connected, the O.S. (Linux) does not identify the device, but if I unplug and plug it again it is identified and works fine. The same thing happens if I reset my NXP board, the O.S. does not identify the NXP device until that I unplug/plug the cable.
I checked the code, and what happen is that the application stays forever in the while (!USB_Configuration);
loop.
Is necessary some configuration on USB device to that the device do an auto-configuration when it is already plugged?
I am using the example code from 177x_8x_PDL_110602 package from NXP.