mBot fails to upload to arduino (Inappropriate ioctl for device)


#1

Hello, I’m having trouble getting mBlock to upload code to arduino. I keep getting this code:
Sketch uses 5,824 bytes (18%) of program storage space. Maximum is 32,256 bytes.
Global variables use 983 bytes (47%) of dynamic memory, leaving 1,065 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can’t open device “/dev/tty.wchusbserial1420”: Resource busy
ioctl(“TIOCMGET”): Inappropriate ioctl for device
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Build failed or upload failed

Any ideas? I have tried it on mBlock 3.2.2 and 3.3.0, updated firmware on the mBot, to no avail. I can connect to the mBot over USB in mBlock. I appreciate any ideas!


#2

have you tried an other USB port? each USB port on a mac has its own devicenumber


#3

Thanks for the reply. Yes, I have tried both ports and its the same issue.


#4

I think I figured it out - when I opened network settings there were two items labeled “USB-serial” I removed them it and seems to be working now. Thanks!


#5