This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129XNCZAD: USB insertion events not reliably detected with TivaWare >= 2.1.3

Part Number: TM4C129XNCZAD

Hello,

I'm attempting to debug a problem that seems to exist since Tivaware 2.1.3, although I've been doing the majority of my testing with Tivaware 2.1.4.178.

If I build the project against Tivaware 2.1.2.111 everything works as expected as far as USB insertion/removal is concerned. If I then rebuild against Tivaware 2.1.4.178 and flash that code onto the device, USB detection will work for a little while, but then something happens which breaks the insertion detection. After that happens I am unable to get the USB insertion detection working unless I revert back to Tivaware 2.1.2.111.

When in the broken state, USB removal still triggers the appropriate callback. It is only insertion that fails. Also in this state, the registers USB_DEVCTL_FSDEV and USB_DEVCTL_HOST correct toggle on USB device insertion, but the registered callback does not fire.
Does anyone have any pointers for how to debug this issue, or even better, have an idea how to fix it? I have not been able to identify what is different in either the library or CPU state between the working/not-working USB states.
Thank you.
-Aaron