Skip to content
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

Document special upload procedure in UNO R4 WiFi HID tutorial #1246

Merged
merged 2 commits into from
Aug 4, 2023
Merged

Document special upload procedure in UNO R4 WiFi HID tutorial #1246

merged 2 commits into from
Aug 4, 2023

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 4, 2023

What This PR Changes

When an UNO R4 WiFi board is running a sketch that uses the HID capabilities, the port address changes during the upload. Since this change does not occur under other conditions, the platform is not configured to handle such a change. This causes uploads via the standard procedure to fail under these conditions (arduino/ArduinoCore-renesas#73). Since adjusting the configuration to allow reliable uploads under any conditions would have harmful side effects, the decision was made to leave the configuration as it is now:

arduino/ArduinoCore-renesas#74 (comment)

I'd prefer to force using the "manual" procedure (double tap on reset + select the "new" port manually before uploading)

The upload can be accomplished reliably if the user performs the "manual" procedure mentioned above, but this fact is not documented in the tutorial about the board's HID capabilities.

This pull request proposes to add the documentation of this important procedure to the to the tutorial.

Contribution Guidelines

per1234 added 2 commits August 4, 2023 03:32
The sentence doesn't offer anything of value and creates an unnecessary dependence between the section that contains it
and those that follow, making it difficult to add new content.
When an UNO R4 WiFi board is running a sketch that uses the HID capabilities, the port address changes during the
upload. Since this change does not occur under other conditions, the platform is not configured to handle such a change.
This causes uploads via the standard procedure to fail under these conditions. Since adjusting the configuration to
allow reliable uploads under any conditions would have harmful side effects, the decision was made to leave the
configuration as it is now.

The upload can be accomplished reliably if the user performs a double reset before uploading, but this fact was not
documented in the tutorial about the board's HID capabilities. The missing documentation is hereby added to the
tutorial.
@per1234 per1234 added bug Something isn't working arduino Bugs and fixes added by the Arduino Team labels Aug 4, 2023
Copy link
Contributor

@jacobhylen jacobhylen left a comment

Choose a reason for hiding this comment

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

Hi @per1234!
Thank you for this PR. Funny enough, I was just about to make a change addressing the same issue, so I find this very convenient 😄

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arduino Bugs and fixes added by the Arduino Team bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants