Pages: [1]   Go Down
Author Topic: Mega 1280 only working when set as ADK 2560  (Read 749 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So, I got a Seeeduino Mega from Seeedstudio. I have it in and for some reason, whenever I try to upload a sketch to it with the board set to "Arduino Mega 1280" (the two boards are equivalent save the extra pins on the Seeed variant), I get either an stk500_rcv() error or a timeout error. So I saw this guys post (http://www.seeedstudio.com/forum/viewtopic.php?f=16&t=3869) on how he fixed his and it involved setting up the seeeduino board as a 2560 and then sending your code. Oddly enough, I have simply changed the board type in the arduino IDE to Mega ADK/2560 and it works fine.

So, I imagine this isn't okay, and I need to be working with the ports, which are hardware specific. The serial commands work fine, but I cant use this as a 2560.

I am running Linux 12.04 Arduino IDE 1.0.

If it helps, I can include my boards.txt
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Also, the loopback test works fine (don't know is this is relevant or not). Just throwing it out there
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26374
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't 1280 & 2560 have the same features, but just less memory in the 1280?

Could try updating to 1.0.2, see if that helps.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thats what I thought, but I am going to need to be able access the ports directly (http://www.arduino.cc/en/Reference/PortManipulation), and I believe that the 1280 and the 2560 have different ports (not sure, just assuming). Going to try testing on a Mac today at school.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 518
Posts: 26374
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why would the change in memory affect the ports?
640/1280/2560 all have the same ports

* ATMega2560 Summary.pdf (1034.81 KB - downloaded 4 times.)
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well i'll be damned. Sorry, I was a bit intimidated by the huge PDF xD. Also, for anyone in the future who might see this post, it didn't work on mac or pc. Very peculiar.
Logged

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 8
Posts: 311
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The NEW Seeeduino Mega's ARE 2560's.  Are you certain that you have the older 1280 version?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ohhhh, well, thats a very welcome surprise xD. I will contact the seed guys so they update their tutorials =)
Logged

Pages: [1]   Go Up
Jump to: