Hi,
in USB-CDC example for BeagleBone Black there is a strange construct:
ulIntsOff = IntDisable(); IntEnable(ulIntsOff);
This disables and then re-enables ALL interrupts of the whole system, so any other interrupt is influenced too. This happens on USB connect- and disconnect-events. What is the purpose of this? Shouldn't it be done for the USB-interrupts only and not for all IRQs? With the current code this influences timing of the whole software running on the board.