You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value specifies it's a dynamic one (and thus should be calculated), but that value is not displayed anywhere in the configuration Options for the USB Device layer, (where as Number of Functions and Number of Endpoints does seem to generate correct):
I removed and re-added the "USB Device Layer" component, but that caused the generated code to instead think it has 0 configurations/functions/endpoints.
Upon removing and re-adding the CDC Function driver, the values seem to have all been correctly re-calculated.
I've not yet been able to reproduce how that value of "75" was generated.
Let me know if there's any other info I could provide for potentially tracking down this issue.
Edit to add:
Upon further exploration, since re-creating the configuration, the number of bytes to describe the configuration generated as '58' instead of the 67 it should have been. Deleting both the USB Device Layer and the CDC Function Driver, and then re-adding them in that order seems to have resolved that particular issue.
The text was updated successfully, but these errors were encountered:
I've configured my project graph as such:
The code generated in
usb_device_init_data.c
that describes the configuration erroneously was set to the number 75, rather than 2, as expected.In my project's
mc3
file, I see the following setting:The value specifies it's a dynamic one (and thus should be calculated), but that value is not displayed anywhere in the configuration Options for the USB Device layer, (where as Number of Functions and Number of Endpoints does seem to generate correct):
I removed and re-added the "USB Device Layer" component, but that caused the generated code to instead think it has 0 configurations/functions/endpoints.
Upon removing and re-adding the CDC Function driver, the values seem to have all been correctly re-calculated.
I've not yet been able to reproduce how that value of "75" was generated.
MPLAB Code Configurator version: v5.1.4
Target device: ATSAMD21G18A (DFP 3.6.144)
Target toolchain: XC32 4.00.
Let me know if there's any other info I could provide for potentially tracking down this issue.
Edit to add:
Upon further exploration, since re-creating the configuration, the number of bytes to describe the configuration generated as '58' instead of the 67 it should have been. Deleting both the USB Device Layer and the CDC Function Driver, and then re-adding them in that order seems to have resolved that particular issue.
The text was updated successfully, but these errors were encountered: