Arduino MEGA 2560 REV3, Arduino IDE working software versions
I purchased an Arduino MEGA 2560 REV3 board and couldn't program it using slackware-current and the avr-* and Arduino IDE package versions from slackbuilds.org.
I used the slackbuilds.org slackbuilds as a basis for newer version packages just by changing the version number in the .Slackbuild, downloading newer source from the site of the slackbuilds source link, and building my own package.
Here are the software versions that work for me:
Both an older (but web-recommended) 2.20 version and a newer version of avr-binutils worked, I chose the newer one. I do not believe that I tried the slackbuilds version of this package.
The big key to the whole thing seemed to be the avr-gcc version used. The slackbuilds 4.5.3 would not generate a program that could run on the 2560. There were so many versions of gcc that I simply chose one of the latest and hoped it worked. It did.
Arduino IDE 1.0 works well.
I had confirmed that I did not have a USB serial problem by writing code for the board on a Linux Mint 11 install, verifying that the code ran through the Arduino 0022 IDE Serial Monitor, and then successfully seeing the code running using the Arduino Serial Monitor under slackware even before slackware could compile working programs.
Two things to avoid:
1.) Do not attempt to connect the Arduino board through a USB hub. Timing errors were all I got in this case.
2.) Slackware doesn't automatically add or suggest adding users to the 'dialout' group. arduino.cc suggests some trickery with hal to create /dev/ttyACM0 with global r/w permissions. As root I added myself to the dialout group with 'usermod -a -G dialout james'. This seems to work as well.
I hope that this helps someone. I'll mark the thread as solved. (If I can figure out how to do so.)
EDIT: The version of avrdude that was included in the Arduino IDE 1.0 worked for me with no modifications to the boards.txt or conf files. You'll see a lot of such suggestions for the 2560, none of them helped me.
Thank you for sharing. Off the Zero Reply List.
|All times are GMT -5. The time now is 07:32 PM.|