Pages: [1]   Go Down
Author Topic: Getting the Arduino software running on FC6 Linux  (Read 406 times)
0 Members and 1 Guest are viewing this topic.
Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: June 24, 2007, 04:00:33 pm by mrmeval » Logged

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

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

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:
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

Logged

Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
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

Logged

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

Pages: [1]   Go Up
Jump to: