Go Down

Topic: problem with serial port arduino uno and mac os x mavericks (Read 2884 times) previous topic - next topic

imac27

hi everybody.... sorry for my english  :D
i have the same problem with arduino uno board:
Arduino:1.5.5 (Mac OS X), Scheda:"Arduino Uno"

Lo sketch usa 1.116 byte (3%) dello spazio disponibile per i programmi. Il massimo è 32.256 byte.
Le variabili globali usano 11 byte (0%) di memoria dinamica, lasciando 2.037 byte liberi per le variabili locali. Il massimo è 2.048 byte.
avrdude: ser_open(): can't open device "/dev/cu.usbmodemfa131": Resource busy
ioctl("TIOCMGET"): Inappropriate ioctl for device
processing.app.debug.RunnerException
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:129)
   at processing.app.Sketch.upload(Sketch.java:1672)
   at processing.app.Sketch.exportApplet(Sketch.java:1578)
   at processing.app.Sketch.exportApplet(Sketch.java:1550)
   at processing.app.Editor$DefaultExportHandler.run(Editor.java:2399)
   at java.lang.Thread.run(Thread.java:695)
Caused by: processing.app.debug.RunnerException: Problema di caricamento sulla scheda. Guarda http://www.arduino.cc/en/Guide/Troubleshooting#upload per suggerimenti
   at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:113)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:127)
   ... 5 more
processing.app.SerialException: La porta seriale "/dev/cu.usbmodemfa131" è già in uso. Prova ad uscire da tutti i programmi che potrebbero usarla
   at processing.app.Serial.<init>(Serial.java:174)
   at processing.app.Serial.<init>(Serial.java:92)
   at processing.app.SerialMonitor.open(SerialMonitor.java:93)
   at processing.app.Editor.handleSerial(Editor.java:2544)
   at processing.app.Editor$17.actionPerformed(Editor.java:686)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
   at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
   at java.awt.MenuItem.processActionEvent(MenuItem.java:650)
   at java.awt.MenuItem.processEvent(MenuItem.java:609)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:343)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:331)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:720)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:676)
   at java.awt.EventQueue$2.run(EventQueue.java:674)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:690)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  Questo report potrebbe essere più ricco
di informazioni con
  "Mostra un output dettagliato durante la compilazione"
  abilitato in "File > Impostazioni"

How ca i resolve this? thanks

Jafarin

#1
Feb 16, 2014, 02:22 pm Last Edit: Feb 16, 2014, 02:29 pm by Jafarin Reason: 1
Main problem is that some reason Arduino Uno belives that serial port is ready in use.
"avrdude: ser_open(): can't open device "/dev/cu.usbmodemfa131": Resource busy"

Try this first :
Check is there any other software wich using port. If not follow these instructions What if I get a gnu.io.PortInUseException when uploading code or using the serial monitor (on the Mac?)

Jafarin

Go Up