0

Metro Mini won't upload sketch (Resource busy)
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Metro Mini won't upload sketch (Resource busy)

by nicknewhouse on Thu Mar 18, 2021 11:15 am

Hi all - I'm trying to test out my new Metro Mini w/ the blink sketch and I'm getting the same error every time I try to upload:

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.14 Hourly Build 2021/03/09 09:34 (Mac OS X), Board: "Arduino Uno"

Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "/dev/cu.usbserial-0209DCB6": Resource busy
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.


I'm on OSX 10.15.7 using a micro USB data cable (I'm positive it's a data cable) connected to a USB hub.

Here's the part: Adafruit Metro Mini 328 - Arduino-Compatible - 5V 16MHz[ID:2590]

I've picked Arduino Uno as the board and the port is
Code: Select all | TOGGLE FULL SIZE
/dev/cu.usbserial-0209DCB6
.

Sorry if this is a basic question, I'm pretty sure I properly installed the SiliconLabs drivers and everything so I'm sort of at a loss.

nicknewhouse
 
Posts: 29
Joined: Wed Apr 16, 2014 1:44 pm

Re: Metro Mini won't upload sketch (Resource busy)

by franklin97355 on Thu Mar 18, 2021 11:32 am

This is a tutorial in case you missed anything. https://learn.adafruit.com/adafruit-metro-mini#arduino-ide-usage

franklin97355
 
Posts: 21863
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Metro Mini won't upload sketch (Resource busy)

by nicknewhouse on Thu Mar 18, 2021 12:02 pm

franklin97355 wrote:This is a tutorial in case you missed anything. https://learn.adafruit.com/adafruit-metro-mini#arduino-ide-usage


Yeah unfortunately there's nothing in here that I haven't already done correctly I'm 99% sure

nicknewhouse
 
Posts: 29
Joined: Wed Apr 16, 2014 1:44 pm

Re: Metro Mini won't upload sketch (Resource busy)

by adafruit_support_carter on Thu Mar 18, 2021 4:49 pm

Did the driver install seem to go OK?
https://learn.adafruit.com/adafruit-met ... -ide-usage

What is the port showing up as in the Mac's System Information?

adafruit_support_carter
 
Posts: 20281
Joined: Tue Nov 29, 2016 2:45 pm

Re: Metro Mini won't upload sketch (Resource busy)

by adafruit2 on Thu Mar 18, 2021 5:29 pm

also - to get ahead of possible bootloader issues: when you press the mini's bootloader button, does the red led flash a couple times?

adafruit2
Site Admin
 
Posts: 20032
Joined: Fri Mar 11, 2005 7:36 pm

Re: Metro Mini won't upload sketch (Resource busy)

by nicknewhouse on Thu Mar 25, 2021 5:00 pm

adafruit2 wrote:also - to get ahead of possible bootloader issues: when you press the mini's bootloader button, does the red led flash a couple times?


yes, the red led flashes a couple times

nicknewhouse
 
Posts: 29
Joined: Wed Apr 16, 2014 1:44 pm

Re: Metro Mini won't upload sketch (Resource busy)

by nicknewhouse on Thu Mar 25, 2021 5:01 pm

adafruit_support_carter wrote:Did the driver install seem to go OK?
https://learn.adafruit.com/adafruit-met ... -ide-usage

What is the port showing up as in the Mac's System Information?



It shows up as:
Code: Select all | TOGGLE FULL SIZE
CP2104 USB to UART Bridge Controller


Sorry for the late reply, I switched to my Windows machine and had better luck there. It might be worth resolving this for future MacOS Catalina users though

nicknewhouse
 
Posts: 29
Joined: Wed Apr 16, 2014 1:44 pm

Please be positive and constructive with your questions and comments.