This issue pertains to the usb_dev_serial example project in the C:\ti\TivaWare_C_Series-2.1.0.12573\examples\boards\dk-tm4c129x folder.
There are two calls to USBDCDFeatureSet() in the main() function to set the system clock and PLL freq parameters. The example code does not check the return value of the functions. I modified the code as follows:
bool ok;
ok = USBDCDFeatureSet(0, USBLIB_FEATURE_CPUCLK, &ui32SysClock);
assert(ok);
ok = USBDCDFeatureSet(0, USBLIB_FEATURE_USBPLL, &ui32PLLRate);
assert(ok);
The first assertion fails. I single-stepped into the code for USBDCDFeatureSet(), and discovered that it does not support the value USBLIB_FEATURE_CPUCLK for the ui32Feature parameter.
Is this call no longer needed, or is there something missing from the USBDCDFeatureSet() function?