Skip to content

fix(Examples): Fix 'this device cannot start COM port' error in MAX32665 USB_CDCACM example #729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

karaanil
Copy link
Contributor

@karaanil karaanil commented Sep 14, 2023

Description

COM20; i.e USB serial device, was showing "This device cannot start.(Code 10)" error. Therefore, it was not operating successfully.

Applying the below changes made the example work properly.

  • acm_cfg.out_maxpacket = config_descriptor.endpoint_descriptor_1.wMaxPacketSize = 64
  • acm_cfg.in_maxpacket = config_descriptor.endpoint_descriptor_2.wMaxPacketSize = 64
  • acm_cfg.notify_maxpacket = config_descriptor.endpoint_descriptor_3.wMaxPacketSize = 64

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

@github-actions github-actions bot added the MAX32665 Related to the MAX32665 (ME14) label Sep 14, 2023
@sihyung-maxim sihyung-maxim changed the title fix(Examples): Fix this device cannot start COM port error in MAX32665 USB_CDCACM example fix(Examples): Fix 'this device cannot start COM port' error in MAX32665 USB_CDCACM example Sep 19, 2023
Copy link
Contributor

@ozersa ozersa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@Jake-Carter Jake-Carter merged commit 9279b51 into main Sep 21, 2023
@Jake-Carter Jake-Carter deleted the max32665-usbcdcacm-fix branch September 21, 2023 22:19
EricB-ADI pushed a commit that referenced this pull request Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX32665 Related to the MAX32665 (ME14)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants