Metro port disappears after uploading Arduino code

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

Metro port disappears after uploading Arduino code

Post by blnkjns »

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.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Metro port disappears after uploading Arduino code

Post by mikeysklar »

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.

User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

Re: Metro port disappears after uploading Arduino code

Post by blnkjns »

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.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Metro port disappears after uploading Arduino code

Post by mikeysklar »

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).

Locked
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”