Go Down

Topic: Arduino 0011 with Ubuntu 8.04 (AMD64) (Read 726 times) previous topic - next topic


Apr 27, 2008, 09:16 pm Last Edit: Apr 27, 2008, 09:18 pm by Wafeliron Reason: 1
Hello people,

Compiling a sketch works already with this patch ^^

Code: [Select]

Running 64-bit Feisty Fawn. To get Arduino up and running:

- install sun-java5-bin and sun-java5-jdk per instructions from Ubuntu web site https://help.ubuntu.com/7.04/programming/C/java.html
- install avr-gcc, lib-avr and librxtx-java

Note: I installed Java 5 because I didn't want to install Java 6 - personal preference, not a technical one.

- rename or remove the RXTXcomm.jar and librxtxSerial.so from lib directory where you installed arduino-0009

Edit the arduino script:

- change the "lib/RXTXcomm.jar" to "/usr/share/java/RXTXcomm.jar" in the CLASSPATH line
- add ":/usr/lib" to the end of the LD_LIBRARY_PATH line

I get a error with avrdude,

Code: [Select]
Binary sketch size: 1104 bytes (of a 14336 byte maximum)

java.io.IOException: Cannot run program "hardware/tools/avrdude": java.io.IOException: error=2, Bestand of map bestaat niet
     at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
     at java.lang.Runtime.exec(Runtime.java:593)
     at java.lang.Runtime.exec(Runtime.java:466)
     at processing.app.Uploader.executeUploadCommand(Uploader.java:123)
     at processing.app.AvrdudeUploader.avrdude(AvrdudeUploader.java:161)
     at processing.app.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:71)
     at processing.app.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:43)
     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:597)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.io.IOException: java.io.IOException: error=2, Bestand of map bestaat niet
     at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
     at java.lang.ProcessImpl.start(ProcessImpl.java:65)
     at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
     ... 17 more

I would like to have a option(s) in arduino to have custom program paths, because i think some settings are hardcoded into source ( gui-frontend configuration ) for linux and windows.

Bestand of map bestaat niet, is a dutch string for -> File or Directory does not exists




You should be able to create symlinks from hardware/tools/avrdude to the real one (and the same with avrdude.conf).

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131