Long long time ago, when I got my Metro M0 and M4 Express, I could load Arduino code to the boards indefinitely.
Today I have to double-tap reset after each upload... Which is pretty annoying. Did something change in the firmware for the boards? Can I revert it?
This happens on both Mac OS, Win10 and Win11.
Metro port disappears after uploading Arduino code
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- blnkjns
- Posts: 963
- Joined: Fri Oct 02, 2020 3:33 am
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Metro port disappears after uploading Arduino code
These modern processors are using native USB which is problematic when combined with the an automatic reset coming from the Arduino app. The previous generation of boards had a separate USB controller that could stay connected as the processors was being reset.
- blnkjns
- Posts: 963
- Joined: Fri Oct 02, 2020 3:33 am
Re: Metro port disappears after uploading Arduino code
There isn't anything different physically. So it must be a software issue.
Also after a long day of 100+ uploads, I found it to be a lotterij. Roughly figures:
50% uploads OK
25% uploads halt half way so the upload indication in the command line stops during the upload
25% uploads can't find the board on the selected port at all.
Also after a long day of 100+ uploads, I found it to be a lotterij. Roughly figures:
50% uploads OK
25% uploads halt half way so the upload indication in the command line stops during the upload
25% uploads can't find the board on the selected port at all.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Metro port disappears after uploading Arduino code
I suspect it was a software change either in bootloader or the Arduino IDE trying to prevent devices from native USB from constantly reconnecting to the OS and creating new devices after a fresh code upload (which includes a reset processor reset).
Please be positive and constructive with your questions and comments.