I have experienced a number of errors while uploading firmware sketches (scary red warning bar and red error messages in the Arduino IDE), which seem to be largely avoidable by changing the “prog” key press timing slightly from the official docs.
The Edit-A-Keymap page of the GitHub / wiki says:
- While holding down the prog key, click on the right arrow in the sketch window menu bar to compile compile [sic] and install.
If I instead first press the right arrow, and then hold down the prog key, I have a much higher success rate.
This behavior is occurring on a 2013 rMBP running High Sierra. The timing change was suggested by Jesse.
Huh! I had the opposite experience with my macbook pro and Sierra 10.12.6
Just tried both methods and both worked, so I changed the docs. Thanks!
I perhaps should have mentioned that I had initially performed maybe a dozen error-free firmware uploads using the “prog-then-arrow” timing.
No idea why the behavior of my system seems to have changed, but for now it is a highly repeatable preference for “arrow-then-prog”.
Given the variation in my own experience, I didn’t think it correct to suggest a change to the official docs*, but wanted to share this problem and corrective action, in case it might be helpful.
*other than they typo (Also, thanks to you Jennigma for your work on the docs and forum)