Hello,
I have several problems when connecting Arduino-boards with the Arduino-IDE on my Mac.
Hardware:
- Apple MacBook Pro 2015
- Arduino UNO board, but same problems with other Arduino boards
- Interfaces reported by the IDE: Bluetooth, SerialPort and USB
Software:
- Arduino-IDE 1.8.13
- Easiest sketch possible:
void setup() {// put your setup code here, to run once:
}
void loop() {// put your main code here, to run repeatedly:
}
Description of the problem:
- the correct Arduino board and the correct port are chosen
- sometimes the first upload is successful. But any attempt to upload this sketch one more time leads to a whole bunch of different error messages, just like:
-
"Beim Hochladen des Sketches ist ein Fehler aufgetreten (error when uploading the sketch)
avrdude: ser_open(): can't open device "/dev/cu.usbmodem14201": Resource busy" -
"avrdude: ser_open(): can't open device "/dev/cu.usbmodem14101": Resource busy"
-
"processing.app.SerialException: Fehler beim Öffnen des seriellen Ports "/dev/cu.usbmodem14101".
at processing.app.Serial.(Serial.java:152)
at processing.app.Serial.(Serial.java:82)
at processing.app.SerialMonitor$2.(SerialMonitor.java:132)
at processing.app.SerialMonitor.open(SerialMonitor.java:132)
at processing.app.AbstractMonitor.resume(AbstractMonitor.java:132)
at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2120)
at processing.app.Editor.access$1300(Editor.java:117)
at processing.app.Editor$UploadHandler.run(Editor.java:2089)
at java.lang.Thread.run(Thread.java:748)
Caused by: jssc.SerialPortException: Port name - /dev/cu.usbmodem14101; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.(Serial.java:141)
... 8 more -
when I want to open the Serial Monitor: 5. Fehler beim Öffnen des seriellen Ports "/dev/cu.usbmodem14101" (Port busy) (Error when opening serial port "/dev/cu.usbmodem14201". (Port busy))
-
"avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem beim Hochladen auf das Board. Hilfestellung dazu unter http://www.arduino.cc/en/Guide/Troubleshooting#upload."
I'm about to give up. But maybe somebody can help me ... Or give me a link to a solution?! A problem about / with the Serial Port; there's no other connected hardware running on my Mac?!
Thanks in advance,
dibujo