I have a customized c6748 board, with a 5M camera sensor 'mt9p031' attached at the VPIF port, and running with 'C6748_StarterWare_1_20_04_01'. Now, I need to capture raw bayer data and then send the data to a host PC through USB. The demo 'VPIF_lcd_loopback' was modified according to the spec of mt9p031 and it looks fine (have interrupts and captured data are verified too). Another demo 'usb_dev_bulk' also works perfect. But when I try to merge them into one application, the VPIF works fine but USB always cannot be appropriately enumerated. That means, when usb_dev_bulk run standalone, it can be fastly enumerated by the opposite Windows PC as a 'Generic Bulk Device', but when same code running with VPIF, it will block for ten seconds and result in 'Unknown Device' as if the enumeration from Windows is failed and timed out.
I tried to shoot this issue for several days but failed, any suggestions would be great appreciated.
Best Regards,
XJ