Pages: [1]   Go Down
Author Topic: Bug with 022 and Linux?  (Read 6194 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

"The old Europe"
Offline Offline
Edison Member
*
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

• 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!

Pages: [1]   Go Up
Jump to: