Thanks Tyler for the quick reply. I went back through my old project and noticed that I had to add control of the soft connect discrete to the USBSetConnectCtrl routine. I am now able to detect the device.
/* Command to enable the soft connect */
USBWriteSIE(USBPORT_SIE_CMD_SET_DEVICE_STATUS, 0x01);
#ifdef USB_USE_GPIO_SOFT_CONNECT
LPC_GPIO2->SET = 0x00000200;
#endif
}
else
{
/* Command to release the soft connect */
USBWriteSIE(USBPORT_SIE_CMD_SET_DEVICE_STATUS, 0x00);
#ifdef USB_USE_GPIO_SOFT_CONNECT
LPC_GPIO2->CLR = 0x00000200;
Things go awry when I jump to the application from the bootloader. I noticed in the old project (LPC2468) that you were relocating the interrupt vectors to high RAM.
#define USBPORT_REG_VIC_BASE 0xFFFFF000
However, I do not see this in the bootloader for the LPC1788. Has your methodology changed?
Rob