Open pustekuchen91 opened 3 years ago
Please try removing all USB components from the MHC project graph and add them back. Please check if the issue still exists after doing this.
Hello @shijas-mayan,
one of my colleagues had the same problem in another project. He just added the RTOS Module and re-generated the files.
The length of the field was 149 instead of 141 Bytes this time. So it seems its always 8 Bytes too much.
If the µC runs with this error in the code, the µc get stucked in a loop when interpreting the descriptors in _USB_DEVICE_ConfigureDevice()
, because confTotalLength is wrong.
Please fix this bug.
This continues to be a problem in MCC v5.3.0. Deleting the CDC Function Driver and Console sometimes helps. I've found it will continue to grow in 8 byte increments as you make changes. MCC v5.3.0. usb_device_init_data.c USB_DEVICE_16bitTo8bitArrange
Hello,
in my project iam trying to create a usb device with two CDC instances. So as suggested i'am using the Interface Association Desciptor The size field in Configuration Descriptor is calculated wrong, when using Interface Association Descriptor
For the configuration this struct will be generated:
But the length of the whole field is 141 instead of 133. so wTotalLength of Configuration Descriptors should be
USB_DEVICE_16bitTo8bitArrange(141)
in a new project the size of 141 is correct.
Harmony USB 3.7.0