Hi,
I'm working on a USB driver (for USBTMC) based on the usblib USBDCDC driver in TivaWare. I found what appears to be a bug in usbdcdc.c and I'd appreciate if it could be confirmed as a bug.
I'm using TivaWare 2.1.4.178.
In the HandleRequests(...) function, for USB_CDC_GET_LINE_CODING, USBDCDSendDataEP0() (line 1849) is called with data defined on the stack. The documencation for USBDCDSendDataEP0 says that the data must remain unchanged until pfnDataSent is received. But, since it's sending data on the stack, it seems like it could become corrupted before being sent.
Thanks,
Nathan