Linux 64 bit support

I'm running Fedorda 9 64 bit Linux. I installed version 0013 and ran into a some problems, a couple of which I solved:

  • Wrong architecture for RXTX.

I installed rxtx-2.1-0.2.7r2.fc9.x86_64.rpm and set the CLASSPATH:

CLASSPATH=/usr/share/java/RXTXcom.jar

and renamed lib/librxtxSerial.so. /usr/lib64/rxtx/librxtxSerial.so is used instead.

  • Unable to open USB device.

Added myself to uucp group so I could open /dev/ttyUSB0

This works fine for a moderndevice.com bare bones board.

I have two problems with a Duemilanove board. First, if I select a board type of 'Arduino Diecimilla or Duemilanove', it uses the wrong baud rate. From playing with the 'Serial Monitor, it should be 38400. Instead it uses 19200. I tried setting the rate in ~/.arduino/preferences.txt

serial.download_rate=38400
serial.debug_rate=38400

But it always uses 19200, as seen in the avrdude command line:

hardware/tools/avrdude -Chardware/tools/avrdude.conf -v -v -v -v -pm168 -cstk500v1 -P/dev/ttyUSB0 -b19200 ....

If I set the board type to 'Aruduino w/ ATmega328', I get a link error:

/usr/lib/gcc/avr/4.3.3/../../../../avr/bin/ld: crtm328p.o: No such file: No such file or directory

I have avr-libc-1.6.4-1.fc9.noarch installed. There are no crt328.o files at all.

Any ideas?

I believe you should set the baud rate in the boards.txt file. Path should be pathtoarduinofolder/hardware/boards.txt

Sorry, can't help with the avr-libc bit as I'm using Ubuntu and recompiled the whole avr-gcc toolchain myself to ensure I had the latest versions.

HTH

Ver