Maybe a converter pass through shield would be useful to swap the MEGA I2C pins to the original pins, maybe it could have some dip switches to let the user switch between the original annoying pin spaces and a version with the correct pin spacing as well.
I think I might wait a while for the MEGA, I'm hoping seeedstudio will do a version with mini-usb, and the white power plug adapter (and hopefully all the Pins)
While most pins are the same as an Arduino, the I2C pins have moved (from 4-5 to 20-21). Any Arduino shield, or project, using I2C will require re-work for the MEGA.
There are some other changes that are more subtle.
The timers associated with specific PWM pins have changed, Interrupt 0 and 1 are on pins 20 and 21, Input capture for timer1 is not available, and pins 14 through 19 are no longer shared with the analog pins
There are some other changes that are more subtle.
All of which makes me wonder why the bullet just wasn't bitten (lol) and the shield gap fixed--instead of leaving people thinking shields would be compatible out of the box.
All of which makes me wonder why the bullet just wasn't bitten (lol) and the shield gap fixed--instead of leaving people thinking shields would be compatible out of the box.
Bah, fixing SPI and TWI shields is a software problem; you just have to exchange SW protocol support for HW protocol support. "Fixing" the gap would require a PCB spin for all the shields; MUCH harder. Sort of. (I am reminded of some other HW problems that I have had to fix in software...)
Bah, fixing SPI and TWI shields is a software problem; you just have to exchange SW protocol support for HW protocol support.
Are you volunteering?
Has anyone checked the 1280 to see if the SPI and TWI hardware is driven the same way (register names, etc) so that code for a mega8 SPI shield would work software-wise on the 1280, if the pins were just connected? I just haven't had time to check this yet.
i'm a member at this website, it's portuguese, but has plently of brasilian users aswell, it seems like arduino mega is real, it has it's own IDE but i havent been able to find anything related to buying this, has anyone seen anything related to buying this item?
Hello,
Does someone knows a way to connect a JTAG interface to the Mega ? Even if some addtional wires are needed I would be interested by any solution.
Hello,
Does someone knows a way to connect a JTAG interface to the Mega ? Even if some addtional wires are needed I would be interested by any solution.
It is easy. Follow the following pinout:
TDI = Analog 7
TDO = Analog 6
TMS = Analog 5
TCK = Analog 4
RST = Reset
You need to activate JTAG fuse, and upload your own firmware. You also need a JTAG debugger that works with ATmega1280 (I guess the only one out there is JTAG ICE MKII from Atmel).