We are using the Tivaware USB library on the TM4C129ENCPDTI3 for printing to a Parallel printer connected to a parallel to USB converter. It works fine for a while ( hour or longer) and then hangs. What we do to help reproduce the problem is to continuously send the printer configuration information.
What we find is that the code hangs in the while loops in the USBHCDPipeWrite() and USBHCDControlTransfer() functions in the usbhostenum.c files when sending data to the printer.
When this situation occurs we find these USB Registers have changed:
USBPOWER changes from 0x60 (Full Speed) to 0x70 (High Speed)
USBDEVCTL changes from 0x5D (Host,Full Speed detected) to 0x98 (Device, Full Speed Not Detected)
Can't seem to figure out what would cause these registers to randomly change.
Thanks,
Bill