Go Down

Topic: Getting the Arduino software running on FC6 Linux (Read 538 times) previous topic - next topic

mrmeval

Jun 24, 2007, 10:59 pm Last Edit: Jun 24, 2007, 11:00 pm by mrmeval Reason: 1
I am kind of disappointed this didn't work as expected right from the start.
I loath windows so much I got the Arduino because of the Linux IDE.

I found out that Fedora Core 6 does not work with it without some major pain.
I finally tracked it down to the GNU tools java being called rather
than Sun Microsystems java.

I went to the trouble of ripping out all the GNU java tools and all the software dependent on it with yum. There were probably some important items I lost but at this point I wanted to get it working.

Once I'd installed the avr tools
avr-binutils-2.17-3.fc6
avr-gcc-c++-4.1.2-4.fc6
avrdude-5.3.1-5.fc6
avr-gcc-4.1.2-4.fc6
and manually installed avr-libc as there is no current RPM and the included spec file is broken I could get the software  up.

dmesg will show what port the device is on. In my case it's /dev/ttyUSB0

The first time I tried to verify/compile a sketch it bombed with "could not verify size"
The 2nd time it compiled!

In the software it seems to have autodetected all available com ports and I chose USB0 and it's working.  ;D

I'll now have to pick up the shattered pieces of my system and figure out WHY the stupid thing refused to chose the right java software. Then I'll reinstall what I absolutely need to have installed.

Now I need to find a way to make a MSP430 IDE work on Linux and I can scrub Xtra P off my system.
If it was designed by man it can be repaired by man.

mellis

I believe the Linux version uses whichever version of Java comes first in your path.  A little Googling reveals that you should be able to use /usr/sbin/alternatives to select your default Java implementation with something like:

Code: [Select]
alternatives --config java

BTW, you should consider writing up some notes on getting Arduino to work under Fedora on the playground.  The linux page is at: http://www.arduino.cc/playground/Learning/Linux and you could create a link to a Fedora-specific page.  You can register for the playground at: http://www.arduino.cc/playground/Main/LoginForm


mrmeval

Thanks for the link. I did not even know that feature was in Fedora. I'll have to reinstall all of the packages I removed and use that and see if it works. I probably should restore this system to default or just setup another one to write a howto.


Quote
I believe the Linux version uses whichever version of Java comes first in your path.  A little Googling reveals that you should be able to use /usr/sbin/alternatives to select your default Java implementation with something like:

Code: [Select]
alternatives --config java

BTW, you should consider writing up some notes on getting Arduino to work under Fedora on the playground.  The linux page is at: http://www.arduino.cc/playground/Learning/Linux and you could create a link to a Fedora-specific page.  You can register for the playground at: http://www.arduino.cc/playground/Main/LoginForm


If it was designed by man it can be repaired by man.

Go Up