Go Down

Topic: Bug with 022 and Linux? (Read 8101 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.
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

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