Go Down

Topic: Bug with 022 and Linux? (Read 23458 times) previous topic - next topic


I am an archlinux user and I am encountering an annoying bug with the 022 version of arduino. I know I am not the only one given that the same is been reported by other users on the archlinux package page (see:  aur.archlinux.org /  packages.php  ?  ID=8388). Basically, the code seems to compile and upload correctly yet the board won't execute it properly: in fact, it will just execute the first command then crash. The blink example file, for instance, will make the LED turn on and it will never turn off again.

Any idea?

gg@majorana:~$ uname -a
Linux majorana 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 13:16:43 UTC 2011 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
gg@majorana:~$ gcc --version
gcc (GCC) 4.5.2

gg@majorana:~$ arduino
Experimental:  JNI_OnLoad called.
Stable Library
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7


I'm using avr-gcc 4.3.3 without issues so far.

Maybe you can switch to that version as well. There's a 4.5.0 available for openSUSE as well, but as I've had problems with 'cutting-edge' versions before, I've never used it.

Go Up