Pages: [1]   Go Down
Author Topic: Whats going wrong here?  (Read 810 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

Today my Adruino Diecimila arrived, i downloaded the software and installed the USB driver (even upgraded it) on my OSX 10.4.11

I hooked up the Arduino, a green led turns on, a couple of fast blinks of the TX/RX leds and the Led (L) blinks all the time.

I started the Arduino - 0010 Alpha programm and there came a bunch of errors and messages!

Uploading is also a problem as it says that the usb port is in use, i must have forgotten something but as far as i can see i done everything as told in the help files!

Anybody who can tell me what i am doing wrong here?

regards Bastiaan
PS: Error codes below!!!!


In file included from /Users/bastiaan/Desktop/arduino-0010/hardware/cores/arduino/WConstants.h:1,
                 from Firmata.cpp:31:
/Users/bastiaan/Desktop/arduino-0010/hardware/cores/arduino/wiring.h:60:1: warning: "abs" redefined
In file included from Firmata.cpp:28:
/Users/bastiaan/Desktop/arduino-0010/hardware/tools/avr/bin/../lib/gcc/avr/4.0.2/../../../../avr/include/stdlib.h:116:1: warning: this is the location of the previous definition
Firmata.cpp: In member function 'int FirmataClass::available()':
Firmata.cpp:70: warning: no return statement in function returning non-void
Firmata.cpp:70: warning: control reaches end of non-void function
In file included from /Users/bastiaan/Desktop/arduino-0010/hardware/cores/arduino/WProgram.h:6,
                 from Stepper.cpp:48:
/Users/bastiaan/Desktop/arduino-0010/hardware/tools/avr/bin/../lib/gcc/avr/4.0.2/../../../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete.  Use <avr/interrupt.h>."
In file included from /Users/bastiaan/Desktop/arduino-0010/hardware/cores/arduino/WProgram.h:8,
                 from Stepper.cpp:48:
/Users/bastiaan/Desktop/arduino-0010/hardware/cores/arduino/wiring.h:60:1: warning: "abs" redefined
In file included from /Users/bastiaan/Desktop/arduino-0010/hardware/cores/arduino/WProgram.h:1,
                 from Stepper.cpp:48:
/Users/bastiaan/Desktop/arduino-0010/hardware/tools/avr/bin/../lib/gcc/avr/4.0.2/../../../../avr/include/stdlib.h:116:1: warning: this is the location of the previous definition
In file included from utility/twi.c:25:
/Users/bastiaan/Desktop/arduino-0010/hardware/tools/avr/bin/../lib/gcc/avr/4.0.2/../../../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete.  Use <avr/interrupt.h>."

Logged

Forum Administrator
Offline Offline
Newbie
*****
Karma: 3
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the first time you run arduino it recompiles all the libraries and that generates a number of warnings and it's normal.


most of first time use issues are covered in.... roll of drums... the FAQ smiley

http://www.arduino.cc/en/Guide/Troubleshooting#toc12

massimo
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the first time you run arduino it recompiles all the libraries and that generates a number of warnings and it's normal.


most of first time use issues are covered in.... roll of drums... the FAQ smiley

http://www.arduino.cc/en/Guide/Troubleshooting#toc12

massimo


Thank you massimo! I will look into that and let you know!

By the way sorry for posting this thread double, there are two troubleshoot places on this website. I made the mistake of posting in one of them and as soon as i pressed the post button i got a 503 error...in the understanding that my post failed i posted again .....i should have looked before i done that anyway sorry about that!

[edit]
I have quit all my programms, closed down the firewall too and still i get a port in use message. Is there a way to fins out what programm, deamon or whatever is using this port?  :-[

below the results:
Binary sketch size: 1108 bytes (of a 14336 byte maximum)

processing.app.SerialException: Serial port '/dev/tty.usbserial-A60049N5' already in use.  Try quiting any programs that may be using it.
      at processing.app.Serial.<init>(Serial.java:140)
      at processing.app.Serial.<init>(Serial.java:72)
      at processing.app.Uploader.flushSerialBuffer(Uploader.java:66)
      at processing.app.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:55)
      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)

« Last Edit: March 27, 2008, 01:23:02 pm by broos » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Humm still no luck! keep getting the message: processing.app.SerialException: Serial port '/dev/tty.usbserial-A60049N5' already in use.  Try quiting any programs that may be using it.

I am just so lost, if i open the activitymonitor i just don't see any processes or programms that would cause a block to interact with this usb device!

I am sure i done the config right in Arduino software.

Board = Arduino Diecimila
serial port = /dev/tty.usbserial-A60049N5

What should is do anybody suggestions?!?!  :-[ :-[ :-[

Thanks in advance


Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have any versions of comm.jar or anything with rxtx in it inside your Java extensions directories?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes i do have something like that! Is that a bad thing?

See below for content of that folder:

Library/Java/Extensions

librxtxSerial.jnilib
OpenBaseJDBC.jar
RXTXComm.jar

[edit]
I just moved those files to another folder and uploaded the blink file to the arduino board! Quess what it works :-)
What file(s) was or were involved in blocking the USB port?

Anyway i am all excited in having my experience with the arduino, i hope i can count on help with future projects in this user forum! Thanks for all the pointers that i just had! I just played around a bit with the blinking led file and made it into a random blinking.

So much fun projects i can think of right now. I have two projects in mind for now one is a LCD (wdc2704m) screen which i wanna wire up to the arduino and i also want to have a play with a VDO Fuel Gauge (12V) that i have as spare for my classic car! Might do something like if your really busy typing or working behind your machine that it will put the pointer towards full and when nobody is doing anything behind the computer it slowely goes to empty (or reverse and when empty shutoff the computer hahahah)
[/edit]
« Last Edit: March 28, 2008, 06:43:44 am by broos » Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Having those other .jars there isn't really a bad thing, but can cause problems.  In particular, many of the non-Arduino versions of rxtx (including the default one, I believe) require you to create and permission a directory for it to create lock files in.  By having the .jars in the Java extensions folder, they get used instead of the Arduino versions.
Logged

Pages: [1]   Go Up
Jump to: