Welcome! Log In Create A New Profile

Advanced

Sanguino upload fails

Posted by Energetic 
Sanguino upload fails
September 19, 2008 06:20AM
Hi All,

i finally managed to solder my sanguino kit from Zach.
I tried to upload the upload_test sketch to see if everything is ok.

on my Macbook with Arduino12 i get an error message, saying that another device is using the serial port, same on windows, It says COM4 is in use by an other programm. But there is no other programm running in both cases...

The power led is on, but very dimm as soon as i plug in the usb cable, it comes on bright as soon as i switch to USB power on the sanguino.

is here something wrong with the sanguino hardware ( dry solder point?? ) or is this software related?

can please someone help?

cheers,

Torsten

error message:

Binary sketch size: 1422 bytes (of a 63488 byte maximum)

processing.app.SerialException: Serial port '/dev/tty.usbserial-FTALE6IC' already in use. Try quiting any programs that may be using it.
at processing.app.Serial.(Serial.java:140)
at processing.app.Serial.(Serial.java:72)
at processing.app.Uploader.flushSerialBuffer(Uploader.java:66)
at processing.app.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:73)
at processing.app.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:48)
at processing.app.Sketch.upload(Sketch.java:1632)
at processing.app.Sketch.exportApplet(Sketch.java:1701)
at processing.app.Editor$41.run(Editor.java:2004)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Re: Sanguino upload fails
September 19, 2008 07:37AM
ok, i got it working under windows now, osx still resits any comunication attempts...

For Windows it was the sony phone manager, tha, even deactivated, claims COM Ports...
Freeing COM4 did the trick and let me upload the sketch with the "hit upload, wait 1sec and reset sanguino" procedure.

Is there a way to identify which service is claiming /dev.ttyXXXX in OSX?

Cheers,

Torsten, who is enjoying a blinking debug led now
Ru
Re: Sanguino upload fails
September 22, 2008 10:45AM
Quote

Is there a way to identify which service is claiming /dev.ttyXXXX in OSX?

There's a nice *nix command line tool called lsof. It appears to exist under OSX, or so google would suggest; my familiarity with OSX extends to 'Darwin is a little bit like FreeBSD', so I can't provide more detailed advice winking smiley
Re: Sanguino upload fails
September 22, 2008 05:07PM
Hi,

thanks for the hint, This was exactly the tool i was looking for.
Sorry, only registered users may post in this forum.

Click here to login