Hello,
I'm currently trying to get the usb_dev_bulk example of c6749 starterware to work on our own board.
The example compiles and runs succesfully, but after the initialisation the usb never recieves an interrupt and the PC host does not detect the board at all.
I also have a Logic PD evm board (without the LCD expansion) available, and the example does work on this.
Both of them use the same omapl138 core, and I'm only using the DSP part of it.
I've been stepping through the program and checked all the registers, but I can't find anything different between the two.
The EVM board starts recieving interrupts after it enables the SOFTCONN bit in the USB0.POWER register.
The stacktrace at this point:
USBDevConnect() at usb.c:1313
USBDCDInit() at usbdbulk.c:568
USBDBulkInit() at usbdbulk.c:826
main() at usb_dev_bulk.c:860 (addded some comments so line# does not match example)
On our own board the situation one step after enabling the SOFTCONN bit is:
The EVM board has the exact same values except for INTMASKEDR which shows the expected incoming interrupts as value 0x0000D001.
I've also checked our old firmware for our board that uses a different serial USB driver and that works correctly, so a hardware failure seems unlikely.
I'm completely out of ideas what could be the cause of this at this point, so any help is greatly appreciated.